ZHCSKK3B December 2019 – February 2022 TPS6594-Q1
PRODUCTION DATA
The watchdog includes a watchdog fail counter WD_FAIL_CNT[3:0] that increments because of bad events or decrements because of good events. Furthermore, the watchdog includes two configurable thresholds:
When the WD_FAIL_CNT[3:0] counter value is greater than the configured Watchdog-Fail threshold (WD_FAIL_CNT[3:0] > WD_FAIL_TH[2:0]), the device sets the error-flag WD_FAIL_INT, and pulls the nINT pin low.
When the WD_FAIL_CNT[3:0] counter value is greater than the configured Watchdog-Fail plus Watchdog-Reset threshold (WD_FAIL_CNT[3:0] > (WD_FAIL_TH[2:0] + WD_RST_TH[2:0])) and the watchdog-reset function is enabled (configuration bit WD_RST_EN=1), the device generates a WD_ERROR trigger in the state machine and sets the error-flag WD_RST_INT, and pulls the nINT pin low.
The device clears the WD_FAIL_CNT[3:0] each time the watchdog enters the Long Window. The status bits WD_FAIL_INT and WD_RST_INT are latched until the MCU writes a ‘1’ to these bits.
Overview of Watchdog Fail Counter Value Ranges and Corresponding Device Status gives an overview of the Watchdog Fail Counter value ranges and the corresponding device status.
Watchdog Fail Counter value WD_FAIL_CNT[3:0] | Device Status |
---|---|
WD_FAIL_CNT[3:0] ≤ WD_FAIL_TH[2:0] | no other error-flags are set |
WD_FAIL_TH[2:0] < WD_FAIL_CNT[3:0] ≤ (WD_FAIL_TH[2:0] + WD_RST_TH[2:0]) | The device sets error-flag WD_FAIL_INT and pulls the nINT pin low |
WD_FAIL_CNT[3:0] > (WD_FAIL_TH[2:0] + WD_RST_TH[2:0]) | If configuration bit WD_RST_EN=1, device generates WD_ERROR trigger in the state machine and reacts as defined in the PFSM, sets the error-flag WD_RST_INT, and pulls the nINT pin low. See Summary of Interrupt Signals for the interrupt handling of WD_RTS. |
The WD_FAIL_CNT[3:0] counter responds as follows:
Refer to Watchdog Trigger Mode and Watchdog Q&A Related Definitions respectively for definitions of good events and bad events.