I am using INA226 with a 0.2 ohm current sense resistor to monitor the current on LED strings. All the settings are default. No change on the configure register. However, the issue is the shunt voltage register read back is not always zero. It is about 25-30% of times the read back is 0x1C05 (~90mA) or some number close. The rest of times, the read back is correct close to zero mA. There was no current flowing through the sense resistor while all the read backs were done.
The read process is done in two steps (~1ms wait/delay in between):
(1) set the register pointer to shunt register.
(2) read two bytes from INA226.
In the datasheet, the default mode is continuous running conversion. I am not sure if the read back occurs during conversion update would cause errors. But 30% is kind of too high.
Any help or suggestions are greatly appreciated.