SLVA528D September 2012 – August 2021 TPS65381-Q1 , TPS65381A-Q1
The watchdog timer monitors proper function of the external MCU. The watchdog has two modes of operation: trigger mode or question and answer (Q&A) mode.
The watchdog configuration is controlled by the WD_CFG bit the SAFETY_FUNC_CFG register. The default configuration is trigger mode.
Actions are taken based on a watchdog failure counter, WD_FAIL_CNT[2:0]. Good events in both modes decrement the WD_FAIL_CNT[2:0] counter and bad events increment the counter. When the WD_FAIL_CNT[2:0] counter is less than five, the ENDRV pin can be asserted high by setting the ENABLE_DRV bit. If the MCU responds incorrectly or not at all, bad events, or time-out, are detected and the WD_FAIL_CNT[2:0] counter increment. When the WD_FAIL_CNT[2:0] counter is five or greater, the ENDRV pin is not able to be asserted high, even if the ENABLE_DRV bit is set high. If the MCU does not recover and the WD_FAIL_CNT[2:0] counter reaches 7 + 1 (the next bad or time-out event after the fail counter reaches 7) while the WD_RST_EN bit is 1 the device transitions to the RESET state and the NRES pin is pulled low. If the NRES pin is connected to the reset input circuits of the MCU, the MCU is also reset.