Skip to main content
Associate
February 9, 2024
Solved

Wakeup pin assignment

  • February 9, 2024
  • 1 reply
  • 1377 views

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?

Best answer by TDK

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.

1 reply

TDK
TDKAnswer
Super User
February 9, 2024

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.

"If you feel a post has answered your question, please click ""Accept as Solution""."