cancel
Showing results for 
Search instead for 
Did you mean: 

How to slove the problem which the register's storage space of the ASM330LHHX is smaller than external sensor 's connected?

SWu.6
Associate

I connected the ASM330LHHX(STM sensor featuring a 3-axis digital accelerometer and a 3-axis digital gyroscope) and INA228(one of the TI sensors measuring the current and voltage) via the I2C interface.

What's more, I want to read the data from the ASM330LHHX registers(e.g. Sensor hub registers) which are for external sensors. However, I have noticed that the data stored in the INA228 registers is in the format of 16 bits or more, whereas the registers in the ASM330LHHX for the external sensor only have 8 bits of storage space.

So is there any solutions that can help me to slove the problem?

Thank you very much!

1 REPLY 1

Can't it read multiple bytes? Address will auto-increment in the slave

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..