Power consumption measured in IDD
Im testing the power consumption in my Nucleo-l412kb board while running and stop2 mode.
I found huge discrepancies when I measure current in the IDD pins, powered from the USB host, respect to powering the board with an external power supply and measuring the current in series to the power supply.
Running on HSI at 16MHz, with 9 GPIOs outputs set high and 7 GPIOs in input mode pulled down, and a uart communication, gives me 2.3 mA power consumption, as measured in the IDD pins on board. When entering STOP2 mode I get 0.3 mA (probably I need to reconfigure the GPIOs before entering STOP2 in order to minimize power).
But, with an external power supply at 7V on Vin, I get around 60 mA power consumption, with no change at all entering in STOP2 mode.
What is making such a huge difference? I suspect that the IDD is giving the net power consumption, without the power LED (red), and the st-link, but couldnt find any documentation. Is it also something related to Voltage regulators?
If I would like to profit from the low power I see in the IDD pins, could I power the board through the 3V3 pin and expect that power consumption?
Also, in order to power the board with the 3V3 pin, the documentation says I need to remove the SB14 and SB9 bridges. The SB9 is used for the NRST, so another question is. Would I be still able to program my board If I remove the solder bridges?
