Hello,
DM644x have an Watchdog timer,
How do I know this device reset cause of WDT timeout?
Because when device reset occur(cause WDT timeout), WDFLAG bit is also cleared after device reset.
How to use WDFLAG bit?
Thank you for advance.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
DM644x have an Watchdog timer,
How do I know this device reset cause of WDT timeout?
Because when device reset occur(cause WDT timeout), WDFLAG bit is also cleared after device reset.
How to use WDFLAG bit?
Thank you for advance.
Unfortunately, there is no good way to use WDFLAG. Our designer said it is a matter of nanaseconds between WDFLAG set and device reset.
What I'd suggest you to do is poll the count register periodically. When it reaches certain value, do what you would do as if you've seen WDFLAG set.