Skip to main content
Explorer
February 18, 2025
Question

High power consumption in Stop mode with STLINKV3 connected

  • February 18, 2025
  • 1 reply
  • 380 views

I noticed that for STM32L010F4 in stop mode (“HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);”) the power consumption is around 330µA when the STLINK is connected to the MCU. When I disconnected the STLINK debugger wires, the power consumption dropped to the expected 0.6µA. Interestingly, the high power consumption happens even when the STLINK itself is disconnected from my computer (its USB cable unplugged), as long as it’s still connected to the MCU. 

Is this expected?

Thanks!

    This topic has been closed for replies.

    1 reply

    Super User
    February 18, 2025

    @nemtsov wrote:

    Is this expected?


    Yes.

    You will get leakage currents into the ST-Link - or any other connected equipment.

    For accurate current measurements, you must always remove all extraneous connections and leakage paths.

    In particular, a debugger can prevent the core from actually sleeping at all.