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

setExternalPowerEnabled(false) in Standby mode #16

Open
felipecookh opened this issue Jan 1, 2025 · 1 comment
Open

setExternalPowerEnabled(false) in Standby mode #16

felipecookh opened this issue Jan 1, 2025 · 1 comment
Assignees

Comments

@felipecookh
Copy link

Hi, I’m using an Arduino Portenta H7 rev1, and when using the function setExternalPowerEnabled(false) in setup() it correctly turns off the 3.3V pin.

But then going into Standby mode, standByUntilWakeupEvent with enableWakeupFromRTC after setExternalPowerEnabled(false), the 3.3V pin goes ON again.

Am I doing something wrong? It would be very useful if the function setExternalPowerEnabled(false) could extend into Standby mode, in order to preserve battery due to peripherals consumption when 3.3V is on, and eliminate the need for an external transistor or MOSFET as a switch.

Regards,

@alrvid
Copy link
Member

alrvid commented Jan 7, 2025

We'll have a look at it. I'm the author of a library that this library uses underneath, so I have to consult a bit with @cristidragomir97 about it since he wrote this library, and see what we can come up with together.

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

3 participants