AnsweredAssumed Answered

RTC of STM32F1 wakes up from STOP after 1 sec

Question asked by VDM on Oct 8, 2013
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.