cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F100: Problem with Stopmode

thanhnk
Associate
Posted on May 29, 2015 at 19:09

Hi, 

I'm having problem with stopmode.

I want to wake up uC with RTC Alarm in EXTI17.

But when i use stopmode with statement PWR_EnterSTOPMode(PWR_Regulator_LowPower, PWR_STOPEntry_WFI), it didn't wait to RTC Alarm Event, it jumped in next to statements immediately. 

I'm using debug mode with Jtag.

Could you help me to resolve that !

Thank you so much !a

#stm32 #stopmode
2 REPLIES 2
Posted on May 29, 2015 at 22:19

What other interrupts do you have running? SysTick? WFI doesn't care where the interrupt came from.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
thanhnk
Associate
Posted on May 30, 2015 at 03:24

Hi Clivel,

Thank you for your support.

I fixed it. My wake up pin has another interrupt. 

Thank you so much !