Hello,
I am working on a nrf52833 custom board. Most of the time, the system stays in sleep mode, and periodically sends bursts of data via SoftDevice.
I try to configure the WDT to pause during long sleep for this system. However, it seems like doing so would disable the watchdog timer reset functionality. I intended to let the application run without reloading the WDT and the reset never happens.
However, if I configure the WDT to run during CPU sleep (NRF_WDT->CONFIG = 1), then the WDT raises reset as expected if it is not serviced.
Is there any extra configuration I have missed out from the nrf52833 documentation that would cause such behavior? Thank you for your help. Phil.
NRF_WDT->CONFIG = 0; // Set WDT to pause during CPU sleep
NRF_WDT->CRV = 32768;
NRF_WDT->RREN = 0x01; //enables RR[0] only
NRF_WDT->TASKS_START = 1;