This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

INA219: INA219 monitor shows zeroes in current and power registers

Part Number: INA219

I've developed a device with multiple chips exchanging on I2C bus. Seven INA219 are connected to this I2C too. I also connected LED display to the bus. At start, all works perfect. Currents and powers are measured properly. The problem is 1 minute later all INA219 (or rarely 1-2) have shown 0 current and 0 power.

Does this bug has software or hardware nature? What can cause this bug?

Software is OpenWrt GNU/Linux, driver is ina2xx-adc.c. Hardware is NXP i.MX 6ULL based on the ARM Cortex-A7 core.

INA219

  • Hello Artem,

    I have not heard of this bug before, so it could be software related. However, I am not familiar with the code for the driver you are using, so I cannot say much for the software.

    That being said, if you are still able to read the shunt voltage, then it is possible that the calibration register was overwritten back to 0. This would make is to that the current and power registers read 0. So, I recommend checking that register (0x05), has a written value in it when you read a 0 value result for current and power.

    Regards,

    Mitch

  • Thanks, Mitch!

    I'll try this.