8 years, 6 months ago.

Low power ?

Mr STM, any chance of some low power? Ideally deep sleep with timer wake up in the order of 5uA or less, allowing RTC running on vBAT. This really applies for all the STM platforms.

Question relating to:

The 32L476GDISCOVERY helps users to develop and share applications with the STM32L4 ultra-low-power microcontrollers.

1 Answer

8 years, 6 months ago.

Hello Paul,

As you've seen, the mbed 2 API does not offer any function to handle low power capabilities offered by a MCU. However, as the mbd API for all STM32 devices is based on the corresponding STM32 HAL, it is possible to mix both mbed standard API with the STM32Cube HAL one. By doing this, you can easily make use of the low power capability of the STM32L4.

You can find here (https://developer.mbed.org/teams/ST/code/DISCO_L476VG_Sleep/) a small example showing this.

I hope that it will help you.

Best Regards,

Thierry,

The mbed 2 API does not offer any function to handle low power capabilities offered by a MCU.

Can you be more specific? As Paul indicated above, I assume he would like to get around 5uA if the platform goes into deepsleep() with RTC running as a wakeup source.

posted by Martin Kojtal 22 Oct 2015

Now working with Erik Olieman's WakeUp library:

https://developer.mbed.org/users/Sissors/code/WakeUp/

SystemClockConfig and LowPowerConfiguration functions are not required with deepsleep, it achieves 17.5uA with with the LCD drive active, around 8uA without.

posted by Paul Staron 22 Oct 2015