Duo256m - wakeup from deep sleep

Hi, all

In my setup, Duo256m is powered from a battery and sleeps most of the time (via linux system sleep) to save energy, then wakeups from PIR sensor signal. The sensor pin is configured as a wakeup source in the device tree.

The wakeup part works perfectly well when using s2idle sleep state, as it is fully handled by os, but fails with s2ram.

Could you please suggest possible options to implement the wakeup from the deep sleep? According to the datasheet (ch 6.4.6.), the RTC subsystem is powered on in this sleep state and can be configured to wakeup system not only using alarm clock, but also using powered gpio as wakeup source, but it lacks details

1 Like