Tool/software:
Hello,
We are using ADS7142-Q1 to detect the high threshold by configuring the device in autonomous mode with pre-alert.
Note: The alert PIN is not connected to the microcontroller.
Here is the flow:
1-Write the following registers:
ABORT_SEQUENCE 0x01
OFFSET_CAL 0x01
CH_INPUT_CFG 0x03
OPMODE_SEL 0x06
AUTO_SEQ_CHEN 0x02
OSC_SEL 0x00
NCLK_SEL 0xff
DATA_BUFFER_OPMODE 0x04
DWC_HTH_CH1_LSB 0x86
DWC_HTH_CH1_MSB 0x05
DWC_HYS_CH1 0x00
ALERT_CHEN 0x02
PRE_ALT_MAX_EVENT_COUNT 0xf0
ALERT_DWC_EN 0x01
2-Write START_SEQUENCE with 0x01
3-Read ALERT_HIGH_FLAGS
4-If alert is HIGH on CH1, clear it by writing 0x03 on ALERT_HIGH_FLAGS using the opcode clear bits 0x20.
5-Go back to step 2
Observation:
The alert is set correctly to high, the I2C clearing command of the alert flag is executed correctly.
Nevertheless, after getting back to normal operation (no high current), the alert flag remains high.
It gets cleared only if we reset the whole board completely (Hard reset).
Could you please let us know if this issue has been observed before or if we need to add extra steps in the sequence?