You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the RP2040 preserves RAM when in the dormant (deep sleep) state, is it not possible to resume the program after an alarm, without resetting the board? This would make it significantly easier to preserve state while dropping into lower power modes.
@rgov: you could test the artifact of PR #10023. This will use dormant mode without reset for lightsleep like you suggested. According to my measurements, we are now in the same range as the blog-post claims for MicroPython.
Since the RP2040 preserves RAM when in the dormant (deep sleep) state, is it not possible to resume the program after an alarm, without resetting the board? This would make it significantly easier to preserve state while dropping into lower power modes.
@ghubcoder's blog post describes how to recover from the dormant state after an RTC alarm. This was implemented for MicroPython in modpicosleep.c (accompanying blog post).
The text was updated successfully, but these errors were encountered: