Skip to main content
Visitor
Nov 5, 2026 3:45 AM UTC
Question

How to determine how much current an MCU will draw?

How do I calculate how much current the MCU will draw? Or can I find the IDD value in the datasheet?

4 replies

LCE
Principal III
Nov 5, 2026 7:56 AM UTC

There’s usually info in the datasheet under several conditions.

And then CubeMX has a tool for checking this, depending on the clocks, peripherals, ...

AScha.3
Super User
Nov 5, 2026 8:27 AM UTC

see ds:

 

If you feel a post has answered your question, please click on " Best Answer ".
Ozone
Principal
Nov 5, 2026 8:46 AM UTC

By measuring.

The datasheet will give a range and average numbers, depending on certain parameters like VDD, temperature, clock, and peripheral usage.

Andrew Neil
Super User
Nov 5, 2026 10:31 AM UTC

As already said, the datasheet gives figures on which to base an initial estimate.

Then you can measure with an actual device and actual code -  (most?) ST boards provide a test point for this very purpose.

Note that a multimeter is unlikely to give a useful reading, as the current will vary depending on what your code is doing.

There are many devices which are specifically designed for this kind of measurement; eg, from ST:

X-NUCLEO-LPM01A STM32 Power shield;

STLINK-V3PWR Debugger with power measurement

 

Many 3rd-party devices are also available.

 

PS:

For the ST tools, see also:

STM32CubeMonPwr Graphical tool displaying power data 

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.