2016-10-28 03:09 AM
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.
#stm32 #hal #stop-mode #lowpower2016-10-28 04:22 AM
Hi d_bek.mateusz,
Welcome to STM32 community.Someone does know STM32 L series? I would like to know something about Low power mode.1/ could you please precise which STM32L series you expect to use? •••2/To have idea about low power modes you have first to read carefully the Power control (PWR) chapter in your related reference manual, then a set of application notes are provided to help you to start with STM32 power features also I recommend you to get trained watching thehttp://www.st.com/content/st_com/en/support/learning/stm32l4-online-training.html
3/If I suppose that you use STM32L4 series:•You find a set of examples for low power modes under this path: STM32Cube_FW_L4_V1.5.0\Projects\STM32L476RG-Nucleo\Examples\PWR•Also you can have a look to these application note witch help you to start : & -Syrine-