6 years, 8 months ago.

Power consumption??

Hi.

I have an application that requires low power. The lowest I get is about 0.6mA in deepsleep. To my understanding it should be able to achieve a lower level (a few uAmps).

I have found there is a header in the hal library called STM32L1xx_hal_pwr_h, that provides some functions but I don't know how to use them properly...

Does anyone have an example or some info on how to reduce power consumption?

Thanks.

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32L152RET6 microcontroller.

Followings are not direct answer for you but some hints.
https://developer.mbed.org/users/kenjiArai/code/Nucleo_RTC_battery_bkup_pwr_off_okay/
In the SetRTC.lib, you will see void goto_standby(void) function.
You can modify clock on/off control and others.
https://developer.mbed.org/users/kenjiArai/code/SetRTC/file/ef7d2c83034d/SetRTC.cpp
In addition, you can see my BMP180 program at below.
http://www.page.sannet.ne.jp/kenjia/STM32L_w_PN2_baro.html
Sorry this is only Japanese but I have reached 16.5uA. total current at STOP mode.

posted by Kenji Arai 08 May 2015

1 Answer

6 years, 8 months ago.

Also, please have a look at the following application note: AN3193