2025-07-10 1:19 AM - last edited on 2025-07-10 2:49 AM by Andrew Neil
Follow-on from STM32L433RCT6 - Which external interrupt GPIO pin can I used for wakeup ?
I am using the STM32L433RCT6 with a WKUP pin (GPIO PC13) to wake the MCU from shutdown mode.
Does it matter which edge I used (rising or falling) ?
I am currently using a switch to ground (i.e. falling edge)...
Also, once the MCU is awake and running, am I still able to read this pin as a digital input ?
Because the switch will also be used to put the MCU back into standby, so I need to be able to monitor the state of the WJUP pin.
2025-07-10 2:47 AM
@freeflyer wrote:Does it matter which edge I used (rising or falling) ?
See the Datasheet; eg,
@freeflyer wrote:once the MCU is awake and running, am I still able to read this pin as a digital input ?
Yes.
2025-07-10 2:53 AM
Thanks Andrew, I did see that the edge is configurable.
I was just wondering if there is an advantage to using one edge compared to another, such as power consumption etc