cancel
Showing results for 
Search instead for 
Did you mean: 

Wakeup pin assignment

acerd1
Associate II

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?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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".

View solution in original post

1 REPLY 1
TDK
Guru

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".