cancel
Showing results for 
Search instead for 
Did you mean: 

Best Practices for Low Power Consumption in STM32 Projects

sarivaaclinic
Associate

I’ve been experimenting with STM32 microcontrollers for a battery-powered IoT project. While I’ve tried different sleep modes, I’m still struggling to balance performance and battery life.
Has anyone here implemented effective strategies for ultra-low power applications? Any tips or code examples would be appreciated.

4 REPLIES 4
TDK
Super User

Go through the reference manual and read about the various low-power modes. Choose the lowest power mode that still allows full functionality of your program. Then, go to the CubeMX examples to see an example program that puts the processor into that mode.

If you feel a post has answered your question, please click "Accept as Solution".
Imen.D
ST Employee

Hello @sarivaaclinic ,

Please have a look at these articles that will help you on getting started with low power modes:

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

@sarivaaclinic wrote:

I’m still struggling to balance performance and battery life..


The two are, of course, fundamentally opposed!

Perhaps tell us what you've tried, and where you're stuck...

 


@sarivaaclinic wrote:

 effective strategies for ultra-low power applications? .


Not specific to STM32, but a general principle is to sleep as deeply as possible for as long as possible.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Pavel A.
Super User

Does the STM32C0 family feature lower current in sleep mode and battery friendliness than U0 or other new family? Or is it mainly low cost and replacement of STM8?