Hello,
we are about to use a TPS65381 (SPI Mode) with an RM48 MCU.
In the SPNA176 PDF for theTPS65381 at
"3 Software Flowchart / 6. Synchronize the MCU Watchdog triggers on the Watchdog timer"
it says to wait for the TPS65381 watchdog timeout before periodically serving the watchdog.
The example source code is like this:
while (ecmpIfGetBit(ECMP_WDG_STATUS, 2) == 1);
If I am correct, this checks for bit 2 (D2) in the WDT_STATUS Register witch is the SEQ_ERR flag.
Is this sufficient for sync or should the TIME_OUT flag ( bit 1 / D1) be checked (as alternative or additionally) like this ?:
while (ecmpIfGetBit(ECMP_WDG_STATUS, 1) == 1);
Thanks and Regards