I am sorry, i dont quite get the question, i dont see any obvious connection between the clearing of a timer and the watchdog, if the NMI asserts that means that your code remains idle and no sleeping for more that approximatelly 3.6 seconds, you should check if clearing the timer causes this kind of behaviour to your fw. If you just disable the watchdog, your code will remain stuck at that specific point for more than 2.6 seconds, is that what you want ?
while, I find the answer: I forget to close the WATCHDOG!
Hi liyang,
I am sorry, i dont quite get the question, i dont see any obvious connection between the clearing of a timer and the watchdog, if the NMI asserts that means that your code remains idle and no sleeping for more that approximatelly 3.6 seconds, you should check if clearing the timer causes this kind of behaviour to your fw. If you just disable the watchdog, your code will remain stuck at that specific point for more than 2.6 seconds, is that what you want ?
Thanks MT_dialog