2018-02-26 08:34 AM
I'm measuring the current on JP6 (IDD) and I see 4mA at the lowest when running the Power_Management sample or even holding the MCU in reset. I am powering the board via the USB connector. Is this incorrect?
I've tried using SLEEP_MODE, STANDBY_MODE, and STOP_MODE defined, and they all show around 4mA
Nucleo-F411RE
Solved! Go to Solution.
2018-02-26 10:53 AM
Look at the table 26 (I guess we are talking about Sleep Mode), check the frequency to see if what you see is far from what is expected:
2018-02-26 08:37 AM
Have you disconnected everything else from the microcontroller - ST-Link, LEDs, Buttons, etc, etc, ... ?
See:
- and follow the links ,,,2018-02-26 09:09 AM
VDD is used only for target MCU.
ST-LINK uses 3.3V directly - VDD is delivered through the JP6. So it seems that the ST-LINK current is not counted into total current consuption.
Button uses pull-up resistor (when pressed 3.3V/4.7k =0.7mA ) and LED ((3.3-1.6)/0.51k = 3.3mA) if enabled adds its current. I believe that the LED is off during the test and the button was not pressed.
Not sure what board you use to see the relevant datasheet data
2018-02-26 10:11 AM
The schematic shows these details:
2018-02-26 10:14 AM
Bogdan Golab wrote:
ST-LINK current is not counted into total current consumption.
But there will be leakage from the target MCU back through the connections.
2018-02-26 10:18 AM
This would be bad design....
2018-02-26 10:22 AM
3.3V is used for st-link, VDD for target MCU. The current flows from 3.3V toward VDD through JP6, and finally to the target MCU.
2018-02-26 10:49 AM
I've updated the question with the board (Nucleo-F411RE) You're correct in assuming the LED is off and the button is not pressed. I see 23mA when the application is launched (flashing LED) and 4 after going to sleep. I also see 4 if I hold the reset button
2018-02-26 10:53 AM
Look at the table 26 (I guess we are talking about Sleep Mode), check the frequency to see if what you see is far from what is expected:
2018-02-26 10:55 AM
No I haven't disconnected anything. The user manual for the board indicates that simply measuring IDD should give the STM32 current consumption. Do I need to remove components? That seems like a really ineffective feature if that's the case.