Hi,
The DWD module in the TRM said that it can generate a watchdog reset or NMI under special situation. Then what's the kind of the NMI belong? A group 1 ESM interrupt ? In the example dwwd.c, it generate a esm group2 interrupt , and it reset the watchdog in the notification function. Does the reset in the notification will be the same meaning with the DWD generate reset mode?
Actually, I'm not understand the dwwd.c very much. The compare 0 ,1 ,2,3 interrupt will happen cycling, when the esm2notification will happen? The way to handle the situation is just to reset the watchdog itself? When the watchdog is actived(I mean the program maybe runaway), the usual treatment is to reset the cpu so the program will run at the very beginning from the startup.c? Or you can decide the reset point?
Regards,
yong