2013-10-08 9:29 AM
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.