cancel
Showing results for 
Search instead for 
Did you mean: 

Wake up MCU from STOP2 mode

helixembedded
Associate II

Hello

We are working on a product using the STM32WLE5JC MCU. The features a magnetic switch that generates interrupts (specifically a low to high transition) which is meant to wake up the MCU from STOP2 mode. What is the ideal way to do this? We have few free GPIO pins. Could we use any GPIO with an external interrupt or does the switch need to be connected to dedicated wakeup pin? 

2 REPLIES 2

Looks like GPIO should be able to do it:

AndrewNeil_0-1730197614070.png

 

STTwo-32
ST Employee

Hello @helixembedded 

As said @Andrew Neil, you can use the GPIO to wake up the MCU from stop 2 mode. You just have to configure it since it is not a default configuration. If you are using the wireless part of the SMT32WL, the Low power mode settings (set and exit) will be implemented throw the Low Power Manager (LPM) software.

Best Regards.

STTwo-32

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.