cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L010F4, standby mode how to exit with RTC Alarm A

JBure.1
Associate II

I have Alarm A set on the RTC every minute.
I tried it with the function:

 

void HAL_RTC_AlarmAEventCallback(RTC_HandleTypeDef *hrtc)
{
HAL_GPIO_TogglePin(LED_GPIO_Port, RolDolu_Pin);
}

 

(LED on after one minute and off after one minute)

 

When I switch the processor to StandbyMode:

 

HAL_PWR_EnterSTANDBYMode();

 

after one minute the processor does not wake up? Please what all do I need to set to achieve wake up?
Thank you very much

 

0 REPLIES 0