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

Pausing RTC when device goes to sleep (WFE)

I'm looking into using the RTC on the nRF52840 as a Watchdog timer. The reasons being the increased flexibility that this would provide for saving context information prior to reboot and also to shave power consumption by a few µA.

The issue is that when the nRF52 drops into its low-power mode via __WFE, the calls to feed the watchdog (resetting the RTC) no longer occur, but the RTC continues. Is there a way to pause the RTC when the nRF52 enters the WFE state and start it back up when the Nordic wakes? 

Related