cancel
Showing results for 
Search instead for 
Did you mean: 

Stop mode, wake up questions

david lion
Associate II
Posted on February 08, 2017 at 11:29

Hi ! I am using an STM32l0xx and I have some questions about stop mode. First can I choose by software  which exti line are going to wake up the STM. Then can I have a timer interrupt each minute for example but only wake up the STM each 60 minutes, I do 

#low-power-stop-mode #stm32l0
2 REPLIES 2
Ashley Duncan
Associate II
Posted on March 15, 2017 at 22:51

You can do this by using the RTC in stop mode.  There is an example in the STM32 Cube library.

Imen.D
ST Employee
Posted on March 16, 2017 at 11:11

Hi,

I suggest you to have a look to this example under the STM32CubeL0 firmware package:

STM32Cube_FW_L0_V1.8.0\Projects\STM32L073Z_EVAL\Examples\PWR\PWR_STOP_RTC

It shows how to enter Stop mode and wake up from this mode by using the RTC wakeup timer event connected to an interrupt.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen