From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

I2C reading when device has multiply internal registers

Hi,

 

I try to connect MPL3115A2 pressure/altitude and temperature sensor (I2C address is 0x60) which has multiply internal registers with addresses from 0x0 to 0x2D. I2C read vi doesn't use register address. Combination of I2C Write which to define address 0xC and I2C read doesn't help. I tried to use I2C read to read many bytes and got all 0.

 

Is it I2C library limitation?

 

P.s. test program with MPL3115A2 libraries under Arduino framework works fine.

0 Kudos
Message 1 of 1
(1,401 Views)