cancel
Showing results for 
Search instead for 
Did you mean: 

RTC of STM32F1 wakes up from STOP after 1 sec

Kuikui
Associate III
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.
0 REPLIES 0