cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4XX PA0 WKUP from STANDBY issue

honestgold
Associate
Posted on November 21, 2016 at 15:42

I am having unreliable behavior with PA0 wakeup the chip from standby. If I just did a cold power cycle, the WKUP works, after I do several cycles of

WKUP--RUN APPLICATION--GOTO STANDBY

the chip does not wakeup or respond to the PA0 pulse anymore. I suspect the chip has gone into a undefined state and I don't know how to reset it. I cannot reset the PWR module which contains the WKUP logic according the spec. 

The watchdog timer works and very reliable. 

I saw an ERRATA on this PA0 WKUP issue and it says clear the PA0 source before going to STANDBY. It is always cleared and I see good pulses on the PA0 on oscilloscope. I am using a jumper to connect the PA0 to 1.8V to wake the chip up.  

#pa0 #standby #stm32f4xx #wkup
1 REPLY 1
slimen
Senior
Posted on November 21, 2016 at 16:50

Hello,

Have you try the ready example under the STM32CubeF4 package?

This firmware package contains a working example shows how to enter the system to STANDBY mode and wake-up using external RESET or WKUP pin. 

Hope this example can help you in your project to identify your issue: 

STM32Cube_FW_F4_V1.13.0\Projects\STM32469I-Discovery\Examples\PWR\PWR_STANDBY

Regards