I'm trying to make our product to go into any of the low power modes of the STM32 microcontroller. That part of the code works, only I can't get the microcontroller to wake-up on the wake-up pin (PA.0). According to the datasheet the only requirement is that the pin is enabled in the 'Power control/status register (PWR_CSR)'. I've made a simple program on a development board STM3210B-EVAL. There the wake-up pin also doesn't wake the microcontroller. I've tried to use the standby example wich is supplied with the STM library, and it also will not wake-up the microcontroller.
The following code is the way I go into standby.
PWR_WakeUpPinCmd(ENABLE); PWR_EnterSTANDBYMode();
What can be the reason that the microcontroller doesn't exit the low power modes with the wake-up pin?