cancel
Showing results for 
Search instead for 
Did you mean: 

Wake up STM32G030K6T from stop mode using wake up pin

varo1111
Associate II

I could wake up the controller from stand-by mode but I realized I needed to use stop mode. What needs to happen for the controller to wake up from stop mode when using a wake up pin? Do you have some code examples preferably using the HAL functions?

1 ACCEPTED SOLUTION

Accepted Solutions

Solved my problem by switching wake up pin into exti gpio.

View solution in original post

2 REPLIES 2
TDK
Guru

Looks like this does what you're looking for:

https://github.com/STMicroelectronics/STM32CubeG0/tree/be65d071640424445aa265e8b9a058e44b8decb7/Projects/NUCLEO-G070RB/Examples/PWR/PWR_SLEEP

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

Solved my problem by switching wake up pin into exti gpio.