Skip to main content
engenharia2
Associate III
February 1, 2016
Question

RTC_ALARM configure fail sometimes (STM32F042)

  • February 1, 2016
  • 1 reply
  • 668 views
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.
    This topic has been closed for replies.

    1 reply

    engenharia2
    Associate III
    February 1, 2016
    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.