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.
According to the INA219 datasheet:
Bus voltage register:
CNVR | Conversion Ready |
Bit 1 | Although the data from the last conversion can be read at any time, the INA219 Conversion Ready bit (CNVR) indicates when data from a conversion is available in the data output registers. The CNVR bit is set after all conversions, averaging, and multiplications are complete. CNVR will clear under the following conditions: |
1.) Writing a new mode into the Operating Mode bits in the Configuration Register (except for Power-Down or Disable) 2.) Reading the Power Register |
But observed behaviour differs:
When polling the bus voltage register (address 02h), a first poll has the flag bit set, any immediate subsequent polls show a low flag bit. After one conversion cycle time, the flag bit is set again.
I.e.:
- the flag bit is unaffected by any reads of the power register (03h)
- the flag bit is cleared by reads of the bus voltage register (02h)
Can anybody confirm or clarify this observation?
Kind regards, Stefan
Hello Jason,
I did some more testing. Writing 0x399B returned 0x3999. After replacing the device, communication works as expected (returning 0x399B after writing 0x399B). The device was damaged (as it is a prototype this could have happened...) but it did not cease operation, it just 'lost' functionality which first showed itself as the CNVR bit sticking low.
Orginal (defect) device:
Replaced device: