cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F030 standby mode cannot wakeup it

rokasjsutkus
Associate II
Posted on July 21, 2016 at 12:33

Hello,

I want to try to wake up the F030 out of the standby mode. I enabled HAL_PWR_EnableWakeUpPin, then put the chip into low power mode with HAL_PWR_EnterSTANDBYMode. I know that to wake it up i should make a rising edge to it. I made a pushbutton to give a current to it. For an indication i use blinking LED that so i know if anything is moving, but upon standby mode the led lights up and doesn't come blink after i push the button that should wake up the PA0 pin. 

Can someone give any advice on what maybe I'm doing wrong or some info on where to move? Would be helpfull, thank you.

#- #standby #pwr #stm32f030
1 REPLY 1
Nesrine M_O
Lead II
Posted on July 21, 2016 at 15:57

Hi sutkus.rokas, 

I suggest you to have a look to this example under the STM32F0 cube firmware package:

STM32Cube_FW_F0_V1.6.0\Projects\STM32072B_EVAL\Examples\PWR\PWR_STANDBY   

It shows how to enter the system to STANDBY mode and wake-up from this mode using: external RESET, RTC Alarm A or WKUP pin.

-Syrine-