Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pico freezes due to hello_sleep.c and hello_dormant.c #18

Open
ms1963 opened this issue May 12, 2021 · 1 comment
Open

Pico freezes due to hello_sleep.c and hello_dormant.c #18

ms1963 opened this issue May 12, 2021 · 1 comment

Comments

@ms1963
Copy link

ms1963 commented May 12, 2021

Entering sleep/dormant mode will work a couple of times, but then the Pico gets frozen. There must be configurations which are not recovered after wake-up. Saving and then restoring the clock registers solves only some issues, but does not prevent the system from getting stuck. Reenabling the ROSC does not help either: rosc_write(&rosc_hw->ctrl, ROSC_CTRL_ENABLE_BITS);

@RayNieport
Copy link

I have the same problem. I can enter dormant mode a handful of times but then the Pico freezes up. Not sure what's causing this issue.
I need to wake up and perform actions every few minutes but the majority of the time I need to be in dormant mode to conserve power since I am running off battery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants