#Change state of GPIO on sleep/wake

1 messages · Page 1 of 1 (latest)

sick narwhal
#

I want to power another PCB using a buck converter from the battery, the DC-DC converter has an Enable pin to save power.

How can I set a GPIO to low on deep sleep and then set it to high on wake? so basically the PCB turns on/off with the keyboard.

simple pecan
#

There's no "easy" way right now, but I suspect a GPIO power domain instance tied to the pin, along with PM_DEVICE_RUNTIME would work.