Skip to main content
thanhnk
Associate
May 29, 2015
Question

STM32F100: Problem with Stopmode

  • May 29, 2015
  • 2 replies
  • 580 views
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
This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
May 29, 2015
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
thanhnk
thanhnkAuthor
Associate
May 30, 2015
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 !