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