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

RTC hangs after a while, Watchdog does not reset

I'm using RTC to wakeup every 500ms,
I have Watchdog enabled but after a while (about half.. or an hour...) it will not wakeup anymore and watchdog will not reset.

I measured the current on that hang state and it consumes about 2.90uA (this matches the expected 1.5uA RTC + 1.5uA Watchdog consumes )

I was expecting, whatever happen, that Watchdog will reset the MCU.

Some more details:

- I'm not using any SoftApp
- I'm using internal LFRC
- It is feeding the Watchdog before going to sleep
- I tested with an hardware fault, the Watchdog works

Is there something that could make the Watchdog not work ? and RTC stop to work?


I found some similar topics:

https://devzone.nordicsemi.com/f/nordic-q-a/43961/nrf52832-in-sleep-after-a-period-of-operation-the-watchdog-of-the-equipment-did-not-work/172299

https://devzone.nordicsemi.com/f/nordic-q-a/14321/wdt-halts-rtc-after-nvic_systemreset/54658

https://devzone.nordicsemi.com/f/nordic-q-a/64765/rtc-fails-to-wake-chip-from-systemon-sleep-nrf52840

https://devzone.nordicsemi.com/f/nordic-q-a/68666/app-timer-stops-working---need-a-power-cycle-to-fix-issue/281629

https://devzone.nordicsemi.com/f/nordic-q-a/51559/nrf52-wdt-lfclk-sourcing

Some more details:

Every time I go to sleep I set the LFCLK: nrf_clock_task_trigger( NRF_CLOCK_TASK_LFCLKSTART );
I init the RTC before go to sleep and uninit it after return.
I'm using nrf_pwr_mgmt_run(); to enter in sleep.

Parents Reply Children
No Data
Related