element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Test & Tools
  • Technologies
  • More
Test & Tools
Blog Measure the Low Power Mode currents of a ST Micro Nucleo microcontroller
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Test & Tools to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 25 Jul 2020 3:30 PM Date Created
  • Views 3181 views
  • Likes 6 likes
  • Comments 2 comments
  • stmicro
  • nucleo
Related
Recommended

Measure the Low Power Mode currents of a ST Micro Nucleo microcontroller

Jan Cumps
Jan Cumps
25 Jul 2020

I have a ST Micro Nucleo board with a low power microcontroller. The STM32F030R8

I'm going to measure its power consumption, to see how well it would do in low power designs.

image

ST has a good power measurement example; called PWR_CurrentConsumption. It allows to measure power in SLEEP, STOP and STANDBY mode. This blog shows the power in the different modes.

 

Probe Point

 

The Nucleo 64 boards have a jumper called IDD. It's in the direct current path to the controller.

You can replace the jumper with a current meter. Take care that the shunt resistance isn't too high, or the controller won't start up.

 

I couldn't get a precise measurement with my handheld meters. I had to use the high current input because the low current one had too high resistance.

And with the high current input, I lost too much precision in the lower sleep mode ranges (below 1 mA).

What did work, was measuring it with a DMM and a µCurrent in mA mode, and a Keithley DMM6500 with the 3A input. Both setups agreed on the current.

 

Power Mode Example

 

The code comes with the Nucleo board resoource pack: PWR Current Consumption example.

You can configure it for any of the 3 power save modes, then measure current.

You can't use a debugger for this example, because the connection breaks when a low power mode is activated.

 

Normal mode

 

All examples start up in this mode.

The board blinks an LED in normal mode, so there's more than just the controller consuming power.

You could disable the LED code, but I used the graph mode here to show what's happening. You clearly see the current when the LED is on or off.

I'm interested in the controller current. So that's the current when the LED is off. Approx 13.2 mA.

 

image

 

Stop Mode

 

In that low power mode, I measure a little more than 7 µA.

 

image

Stand-by Mode

 

In this mode, I get just below 700 µA.

The program behaves slightly different than explained in the readme. It stays in low power mode as long as I push the user button down.

When I release it, the controller resets. It doesn't wait for a next push.

image

 

Sleep Mode

 

The controller takes 4 mA in sleep.

 

image

 

The measurements are in line with the datasheet. See 6.3.5 Supply current characteristics.

  • Sign in to reply

Top Comments

  • DAB
    DAB over 4 years ago +1
    Nice update Jan. DAB
  • genebren
    genebren over 4 years ago

    Interesting blog.  Working with all the various low power modes of a processor is a challenge.  The results don't always match your expectations, but with a little work and patience you can achieve some very impressive efficiency.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 4 years ago

    Nice update Jan.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube