2024-10-29 03:14 AM
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?
2024-10-29 03:27 AM
Looks like GPIO should be able to do it:
2024-10-30 08:15 AM
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.