cancel
Showing results for 
Search instead for 
Did you mean: 

Standby mode with RTC

ibrahim
Associate II
Posted on April 11, 2017 at 14:32

Hello

I would like to perform a standby mode at the start of my microcontroller and return to normal mode with RTC Alarm A.

But for now I can't find a reliable documentation or example to get a result.

I work with CubMx and keil and STM32L031K6

Thank you for your reply.

#rtc #rtc-hal #stm32l031 #hal
2 REPLIES 2
Nesrine M_O
Lead II
Posted on April 11, 2017 at 14:51

Hi

ENEDIS.ibrahim

,

Please refer to the following example under the STM32cubeL0 package:

STM32Cube_FW_L0_V1.8.0\Projects\STM32L031K6-Nucleo\Examples\PWR\PWR_STANDBY_RTC

This example shows how to enter the system in STANDBY mode and wake-up from this mode using external RESET or RTC Wake-up Timer.

-Nesrine-

Posted on April 11, 2017 at 16:07

Thank you nesrine for your answer,

But in this project the led blinks due to the Systick but I would like to check that every time there is a Wakeup the LED lights up and goes off at the next WakeUp how I can do?

Do I have to include the callback function of WakeUp as the StopMode examples.

Thank you very much.