Skip to main content
Kuikui
Associate III
October 8, 2013
Question

RTC of STM32F1 wakes up from STOP after 1 sec

  • October 8, 2013
  • 0 replies
  • 436 views
Posted on October 08, 2013 at 18:29

Hi all,

I use RTC_IT_ALR of STM32F102 to wake up from stop mode. In my IRQ Handler, I do this :

RTC_SetAlarm(RTC_GetCounter()+ 10);

and in main : while(1){ PWR_EnterSTOPMode(PWR_Regulator_LowPower, PWR_STOPEntry_WFI); } But I don't know why, it wakes up after 1 sec, then 10 sec, then 1 sec, then 10 sec, then 1 sec, etc .... Any idea why ? Thanks for help. BR, Vincent.
    This topic has been closed for replies.