AnsweredAssumed Answered

Entry to Stop mode, and exit from Stop mode.

Question asked by d_bek.mateusz on Oct 28, 2016
Latest reply on Oct 28, 2016 by Nesrine M

Someone does know STM32 L series ? I would like to know something about Low power mode. In my project I use battery. I would like to extend work time on battery. I don't know which low power mode I should  choose?

Features:

As low power consumption as posiible,

In low power mode must work timer,(possibility wake up mcu every fixed time(1s) )

Ability  Wake up by external interrupt.

In my opinion I should use Stop mode. I am beginner in programming STM32.
I use HAL library, but I can  write some code without any library.
When I use this below function:
HAL_PWR_EnterSTOPMode(PWR_MAINREGULATOR_ON, PWR_STOPENTRY_WFI); MCU go to stop mode. How I can wake up MCU from stop mode. If someone have example code, please share here.

Thank you in advance for help me.

 

Outcomes