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: How to clear alert fucntion flag

Other Parts Discussed in Thread: INA226

Hi

I have a problem on clearing alert function flag on ina226.
I found that there are two ways to clear alert function flag (alert pin) in the inadatasheet page 13 and 26.
Carolus is saying same thing in the forum below.
e2e.ti.com/.../1986776

With my board, the alert function flag remains high even after writing Configuration Register (00h) and reading Mask/Enable Register (06h). The only way I found to clear the alert function flag is setting Alert Latch Enable to Transparent mode (0). I am not sure this is the right way to clear.

I encountered the problem with these two sequence case below:

Case 1 (initial sequence):
1. Power on
2. Set 0x0005 to Configuration Register (00h)
3. Set 0x3D2A to Calibration Register (05h)
4. Set 0x8001 to Mask/Enable Register (06h)
5. Set 0x2200 to Alert limitation Register (07h)

Case 2:
1. After initial sequence, set transparent mode and set latch mode manually.
    Alert function flag is cleared.
2. Burdening to V shunt register exceed the alert limitation. Alert function flag is set
3. Reducing burdening to V shunt register such like 0 V

Writing Configuration Register (00h) and reading Mask/Enable Register (06h) doesn't clear the alert function flag after case 1 or 2.


Do I have anything misunderstood? Any tips are welcome!