-
Notifications
You must be signed in to change notification settings - Fork 443
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
Add LowPower library #2620
base: master
Are you sure you want to change the base?
Add LowPower library #2620
Conversation
Powering it from the actual 3V3 pin with my power meter gets the current to 869µA @ 3.3V, which is less Watt than 750µA @ 5V (3750µW vs 2870µW).. so bypassing the regulator gives good savings, too, if it can be done. |
Very neat! Do any clocks or subsystems need to be reinitialized after the sleep modes? I'm thinking of things like USB or UARTs, PWM, DMA, etc.? Or do they just preserve their state and freeze clocks so that they just jump back to life afterwards? |
So looking forward to seeing this released :) |
Same here. I have a RAK11300 based project and the OEM's Arduino Framework does not seem to support any power saving measures. Thanks for all your efforts! I'm really excited to see the new features in a new release. I'm going to set up my |
@maxgerhardt is this still a draft? I'll be releasing a minor update next week... |
Still a draft, need to test the sleep mode (instead of dormant) plus testing on RP2350. Also fixing the CI (the copy of the board jsons from Arduino-Pico into the platform-raspberrypi folder blocked the |
No worries, just wanted to double check since I saw you merging master recently. Thx! |
My attempt at making a nice low power library, that works for RP2040 and RP2350. Will close #2528, related to #345.
Adds a modified version of
pico_sleep
that removes some stuff (like STDIO reinit) that we can't just do in this core.Currently working on RP2040 with a Pico board, work in progress.
Current state:
gpio_set_input_enabled(p, false)
) : 1.87mAINPUT
mode instead: 1.58mAToDo and notes: