8 years, 8 months ago.

Nucleo STM32F302 Low power mode

Hi,

I'm trying to put my Nucleo in deep sleep mode with the deepsleep() function. I'm using the sample code from the library that toggles the LED.

I've measured the power consumption of the board and got the following: LED OFF: 50mA LED ON: 70mA

This is miles away from what was written in the docs. What is the reason the board don't go into deep sleep? There is very little information to be found on the internet.

Thanks for the help.

Question relating to:

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

1 Answer

8 years, 8 months ago.

How are you measuring power consumption? The correct way is program the device, toggle the power using the IDC measurement header (one of the pins with one of those small connectors pushed onto them), and then measure the current to just the MCU using this same connector.

If you are measuring board power consumption, there are many other devices which also use power. And you need to toggle the power first because if it boots together with the interface part it will enter a debug state which cannot enter deepsleep.

Eric is right it's JP6 IDD connector you can monitor the Current for the F401RE there with nothing connected to the board with no I/O configured I can measure 450uA with correct setting up of ports I'm sure it will go lower

posted by Martin Simpson 11 Aug 2015