2021-12-06 03:43 PM
It says we can measure power consumption of mcu by putting a ammeter at JP6 in page 23(https://www.st.com/resource/en/user_manual/um1724-stm32-nucleo64-boards-mb1136-stmicroelectronics.pdf).
I write a program just detecting button, if button pressed then lighting led.
When i remove JP6 and NO ammeter on it, my program still works (only led dim).
We think the mcu should not work because there is no power at this time.
Why mcu works? Is JP6 the correct position to measure all the power consumption of mcu?
2021-12-07 12:01 AM
Are all other MCU pins except GND and VDD (via JP6) unconnected? Including the SWD debug interface? Otherwise, a high level input could power the MCU.
The board schematics can be found here: https://www.st.com/en/evaluation-tools/nucleo-l010rb.html#cad-resources
hth
KnarfB
2021-12-07 09:12 PM
Check all solder bridges and power source to make sure you can measure power correctly, especially the stlink hw and connection to the target stm32. Sometime the clock is coming from it. Schematic and maybe user manual of the board reading is advised
2021-12-07 09:22 PM
I will check schematic and see want i can disconnect.