cancel
Showing results for 
Search instead for 
Did you mean: 

SYS_WKUP PA0 pin on STM32F103RBT6 Nucleo under CubeMX and Keil

john1389
Associate II
Posted on July 21, 2016 at 19:37

I am using above hardware, HAL STM32CubeMX and Keil.

In datasheet DocID13587 Rev 17 page 29 and also CubeMX, pin 17 PA0 is specially marked as SYS-WKUP.

What is special about this pin?  What can it do 'specially' while many other pins can be configured to wake up in many different manner? 

I searched info on web and manuals but no success yet. Pointer to info on how to configure in various 'sleep/standby/stop modes' is appreciated. 

The application is battery device. Wake up to work for, says 1ms,  then sleep with low uA, until next scheduled wake up or 'interrupt' on external pin (user keypad)

#sys_wkup-pa0-stm32f103rbt6nucleo
2 REPLIES 2
Walid FTITI_O
Senior II
Posted on July 22, 2016 at 16:33

Hi john.john.002,

The wakeup pins of STM32 hardware are related to a wakeup logic inside a standby circuitry of VDD domain through their EXTI lines, to be able to wakeup the CPU form low powe modes.

PA0 is a common wakeup pin between almost all STM32 devices wich can wakeup from all power modes cia EXTI line 0.

You can have a look to the ''PWR-STANDBY'' in

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef1.html

example where PA0 wakeup the device from standby. At this path:

STM32Cube_FW_F1_V1.4.0\Projects\STM32F103RB-Nucleo\Examples\PWR\PWR_STANDBY

-Hannibal-
john1389
Associate II
Posted on July 22, 2016 at 22:22

Hi Hannibal,

Thanks for advises. It was great help in narrowing the document search which yields the result below.

The PA0 SYS_WKUP 'special pin' allow waking up from 'deeper' standby mode (2uA for STM32F103RB).

The other 'normal' pins allow waking up from 'less deep' stop mode (20uA)

Regards

John