Timing issue with machine.deepsleep #12919
Unanswered
mu88
asked this question in
RP2040 / Pico
Replies: 2 comments 15 replies
-
Interesting update: I've doubled the sleep time, i. e. now calling |
Beta Was this translation helpful? Give feedback.
0 replies
-
Looking at the code, the sleep time should range up to 2**32/1000, which is ~4200 seconds. Is WiFi enabled in your tests? |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone,
I'm facing a strange issue: after calling
machine.deepsleep(300000)
(sleep for 5 min), the Pico awakes after approx. 3 min.I also checked
machine.wake_reason()
which returns3
.Is there any explanation why the Pico wakes up two minutes early?
Here's the complete code if necessary.
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions