Is there an app-note, tutorial, or example of how to use the watchdog timer to reset the MCU if the application hangs?
Is there an app-note, tutorial, or example of how to use the watchdog timer to reset the MCU if the application hangs?
The watchdog timer doesnt work on my nrf51822! I set the timer and started as in the example just like that but thje system doesnt reset or do a interrupt (for ISR i enable the interrupt).
I also use the RTC for a simple timer in my system and use as source the RC.
This would probably have been better as a separate question. :-)
A quick guess is however that you haven't done a pin reset after enabling the watchdog. The watchdog doesn't run as long as the debugger is enabled, and the debug interface stays enabled till a power-cycle or a pin-reset (which can be done with for example nrfjprog -p).
This would probably have been better as a separate question. :-)
A quick guess is however that you haven't done a pin reset after enabling the watchdog. The watchdog doesn't run as long as the debugger is enabled, and the debug interface stays enabled till a power-cycle or a pin-reset (which can be done with for example nrfjprog -p).