SNVSC07A June 2021 – September 2022 LP876242-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 less than or equal to the configured Watchdog-Fail threshold (WD_FAIL_TH[2:0]) and bit =1, the MCU can set the ENABLE_DRV bit when no other error-flags are set.
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 clears the ENABLE_DRV bit, sets the error-flag , 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 (see PFSM Trigger Selections) and sets the error-flag , 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 and 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] | MCU can set the ENABLE_DRV bit if =1 and 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 clears the ENABLE_DRV bit, sets error-flag 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 , 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.