Nucleo - STM32L412RB-P: How to measure IDD only through STM32 Microcontroller?
I have generated minimal code using cubeMX that i enter stop2 mode and never wake up.
i added some functions to decrease power consumption and tried to combine between them in order to see how the idd measurements changes.
among the functions:
killing the debugger
disable systick interrupt
disable RTC
deinit all ios and thier ports
disabling all ios clocks
define ios as analog pull down
disabling HCLK,PCLK1,PCLK2,HSI CLK,MSI CLK,LSE CLK
no matter what, i always see above 150uA while in the datasheet i see that the MCU should support arround 1uA in STOP2 mode.
In the board datasheet UM2206 Rev 3 about the IDD measurement it is written:
that the IDD measurement is used to measure the STM32 microcontroller, the level shifter and the SMPS consumptions.
i would like to know how can i measure only the MCU current consumption and see really arround 1uA when on STOP2 mode?
quote from the board datasheet:
"The jumper JP6, labeled IDD, is used to measure the STM32 microcontroller, the level shifter and the SMPS consumptions (depending on solder-bridge configuration), by removing the jumper and by connecting a multimeter:
• Jumper ON: directly powered (default)
• Jumper OFF: a multimeter or an external 3.3 V power source must be connected to
measure the consumption
Note: The STM32 Nucleo-64-P board LEDs are connected before the jumper. The LED consumptions do not impact the V
DD_MCU
power measurement."
Thanks