cancel
Showing results for 
Search instead for 
Did you mean: 

RTC_ALARM configure fail sometimes (STM32F042)

engenharia2
Associate II
Posted on February 01, 2016 at 18:57

 

 

The original post was too long to process during our migration. Please click on the attachment to read the original post.
1 REPLY 1
engenharia2
Associate II
Posted on February 01, 2016 at 19:33

I tested without going into STOP_MODE (I commented the line:

HAL_PWR_EnterSTOPMode(PWR_MAINREGULATOR_ON, PWR_SLEEPENTRY_WFE); //~3mA -> ~0.30mA

) and the alarm is set up correctly. I think I'm forgetting some routine to handle returning from STOP_MODE.