Skip to content

RP2040: Deep sleep until alarm without reset #8771

Open
@rgov

Description

@rgov

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions