Nrf52 XIAO keeping track of time in deep sleep?

Is it possible to enter deep sleep, but keep track of the time?

sd_power_system_off();

I’m using the arduino framework where you can get millis() since start-up. Is there a way to get millis the device was shut down for without any additional hardware like an RTC?

Hi there,
I would use RTC for most reliable and accurate* But others have used the SAMD-21
like in this link.https://forum.arduino.cc/t/low-power-sleep-how-to-keep-track-of-time/1091051

LowPower.deepSleep(milliseconds);

HTH
GL :slight_smile: PJ

Can the Nrf52 XIAO wake up from deep sleep at specific time intervals? If so, how is this achieved?

Hello,
Have a LQQK at this, The Xiao Nija Msfujino’s excellent work and research on it

HTH
GL :slight_smile: