2023-04-13 06:24 AM
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!
2023-04-13 07:32 AM
Can't it read multiple bytes? Address will auto-increment in the slave