2024-02-08 11:26 PM - edited 2024-02-08 11:28 PM
Hello everyone,
I will put the device on standby as part of my project. I set the GPIO Pin as SysWakeup1 pin. Can I reconfigure the pin that I configured as SysWakeup1 in the main.c file as external interrupt or gpio input? We can dynamically set GPIO as output when it is input, but is this valid in SysWakeup?
Solved! Go to Solution.
2024-02-09 06:39 AM
Once the chip is awake, yes, you can repurpose the wakeup pin as a GPIO or EXTI or whatever else you want. You'll need to disable it as a wakeup pin first. Before you sleep again you'll need to set it as a wakeup pin.
2024-02-09 06:39 AM
Once the chip is awake, yes, you can repurpose the wakeup pin as a GPIO or EXTI or whatever else you want. You'll need to disable it as a wakeup pin first. Before you sleep again you'll need to set it as a wakeup pin.