Pin.irq() keyword args not accepted - Cannot wake from deepsleep with GPIO falling edge #11230
Unanswered
davidmcnabnz
asked this question in
RP2040 / Pico
Replies: 2 comments 2 replies
-
Perhaps the constants from the stm32 can be used? |
Beta Was this translation helpful? Give feedback.
0 replies
-
bro, i want to know whether you solve this question or not, I meet this problem too |
Beta Was this translation helpful? Give feedback.
2 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.
-
Hi,
With the Pi Pico W, I want to enter deep sleep (aka 'dormant'), where the device wakes when it sees a falling edge on a given pin.
Pin.irq() documentation gives:
For the RP2040 port, the Pin.irq() method does not accept the 'wake' and 'hard' keywords. I was hoping to use these to enable the interrupt handler to wake the Pico.
Also, the constants machine.DEEPSLEEP, machine.SLEEP And machine.IDLE are not defined in the RP2040 port.
Can anyone offer any advice, for getting a Pico to wake out of deep sleep with a falling-edge GPIO input?
Cheers
David
Beta Was this translation helpful? Give feedback.
All reactions