-
Notifications
You must be signed in to change notification settings - Fork 131
Update pico_sleep #79
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
Conversation
Fixed to work for RP2040 and RP2350 using pico_aon_timer.
6be4f47
to
6d90c4d
Compare
Is there any chance that this update fixes the problem with locking up the pico after repeatedly calling stdio_init_all(); or stdio via USB that stops working after waking up? |
I'm going to merge this... |
Many thanks for looking into this!! |
They worked for me! I pushed an update to pico_playground - can you check you have this change? commit 3b2267d539738a36c054b93fad0715c3b2ee456f
|
OK, just saw your reply a moment ago. I will check it out and let you know. Thanks for the answer! |
I think I have used the latest update, but still no luck with pico2. I succeeded with switching it off completely using powman and it wakes up again, which is also solving my problem. |
@Lecostarius There are a few sleep examples, sleep and dormant, are none of them waking up? They should wake up when an interrupt goes off - it's odd that this wouldn't happen. Usually they don't go to sleep. |
They work on Pico. On Pico2, no wakeup. I could get the powman based example in pico-examples to work on the Pico2 though - shutdown and wakeup both work. Probably the problem sits in front of the computer... if I find the time I will write an update here, but for now, I will go with the powman based shutdown. |
Fixed to work for RP2040 and RP2350 using pico_aon_timer.