This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

I am using the WDT as a timer, I need stop it from performing a system reset.Is it possible?

I am using the nRF52832 Soc, and have a requirement of using a timer with a large timeout value, hence I want to use the watchdog timer.But as I get TIMEOUT interrupt the system resets, is there a way to stop the system from resetting? Or please provide me with an alternative to the watchdog timer

Parents
  • No you can't use the watchdog timer as a timer - the entire point of the watchdog timer is to reset the chip if it times out. If you want a timeout longer than the 20 days you can get with a normal RTC counter you can either configure yourself to wake up once every 20 days and continue the count, or use PPI to hook one timer to another one so every 20 days (or whatever timeout you want) one counter increments the next. Doing that, using two RTCs you can get up to 48 bits of timer.

Reply
  • No you can't use the watchdog timer as a timer - the entire point of the watchdog timer is to reset the chip if it times out. If you want a timeout longer than the 20 days you can get with a normal RTC counter you can either configure yourself to wake up once every 20 days and continue the count, or use PPI to hook one timer to another one so every 20 days (or whatever timeout you want) one counter increments the next. Doing that, using two RTCs you can get up to 48 bits of timer.

Children
No Data
Related