cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32 standby

sami
Associate II
Posted on January 25, 2013 at 13:50

Hello

In my application I need to use wakup(PA0) to exit standby mode ;but i could find how to configure pa0 as wakeup ; could you guide?

My application is battery power; so i could not find in the datasheet data about the standby current consumption of stm32f407.

Thank you
1 REPLY 1
Amel NASRI
ST Employee
Posted on February 20, 2013 at 09:57

''i could not find in the datasheet data about the standby current consumption of stm32f407.''

Really? What is about table 23 in the datasheet file?

Now, these are the main steps to configure wakeup pin PA0:

  1. Configure the GPIO pin PA0 as input floating
  2. Enable the EXTI line 0 in rising edge
  3. Enable the wakeup pin in PWR_CSR register or use the function ''PWR_WakeUpPinCmd(ENABLE)'' from the standard library.

Hoping this will be helpful for you.

ST.MCU

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.