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.

INA226: When Conversion Ready Flag is set and clear at the same timing

Part Number: INA226


I would like to Conversion Ready Flag to acquire the converted value without missing it.

I have a question about the following description of the INA 226 data sheet

=============================================================

Conversion Ready Flag
Although the device can be read at any time, and the data from the last conversion is available, the Conversion
Ready Flag bit is provided to help coordinate one-shot or triggered conversions. The Conversion Ready Flag bit is
set after all conversions, averaging, and multiplications are complete. Conversion Ready Flag bit clears under the
following conditions:
1.) Writing to the Configuration Register (except for Power-Down selection)
2.) Reading the Mask/Enable Register

==============================================================

・The Conversion Ready Flag bit is set after all conversions, averaging, and multiplications are complete.

・2.) Reading the Mask/Enable Register

f the above two points occur at the same time, are the timing shifted inside the INA 226?

I am concerned that the Conversion Ready Flag will not be cleared.

Please reply as soo as possible.

Best Regards,

  • Hello user4959393,

    Thanks for considering to use Texas Instruments.  When you transmit to/read the mask enable  register of the INA226, the conversion ready flag bit is fixed until the bit from the master acknowledging data from the INA226 is sent.   So if the conversion completes while sending the request to read that register,  you will only see the results of the previous conversion.

  • Dear Patrick Simmons

    Thank you for your quick response.

    >When you transmit to/read the mask enable  register of the INA226, the conversion ready flag bit is fixed until the bit from the master acknowledging data from >the INA226 is sent.

    I understand that it will be fixed.

    Please tell me about question 1 and question 2 in the figure below.

    Best Regards,

  • Hello user4959393,

    The design engineer said that if you manage to sync the conversion completion with the master acknowledge, the conversion flag will never be set high. The conversion ready flag is intended for one shot measurements to indicate that you can grab the measurement result. For a continuous measurement, clearing this flag will not clear the measurements stored in the registers. Ideally to avoid such a scenario as posted above, we recommend you read every 1.5 conversion cycles.
  • Hello Patrick Simmons,

    Thank you for your reply

    When conversion completion is synchronized with master acknowledge,

    I understand that Conversion Ready Flag is never set high.

    Will Conversion Ready Flag be set to high unless it is synchronized with

    master acknowledge at the next conversion completion?

    Best Regards,

  • Hello user4959393,

    Yes it will be set to high.
  • Hello Patrick Simmons,

    Thank you, I solved it.
    I wanted to detect Alert Pin with a falling edge interrupt,so when conversion completion synchronized with master acknowledge on initial clearing, I was relieved that Alert Pin did not become a fixed level.