Skip to main content
Visitor II
November 29, 2024
Question

Low power modes for STM32G0 series

  • November 29, 2024
  • 1 reply
  • 1050 views

Hi everyone,

I’m working on a project with the STM32G031 Microcontroller, part of the STM32G0 series, and I’m trying to utilize its low-power modes (e.g., Sleep, Stop, and Shutdown) to reduce overall current consumption. However, I’ve noticed that the current consumption in low-power modes is the same as in active mode during my measurements.

Here’s a summary of my setup and observations:

  1. Microcontroller: STM32G031 on the Nucleo-G031K8 board.
  2. Testing Low-Power Modes: I’ve tried entering Sleep, Stop, and Shutdown modes
    • When transitioning to low-power modes, the measured current does not decrease and remains same as active mode levels.
  3. Below API I have used to enter in stop mode :
    • HAL_SuspendTick();
       /* Enter the STOP mode */
      HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);

Questions:

  1. Low-Power Mode Support: Does the STM32G0 series fully support transitioning to low-power modes, and are there specific limitations or considerations for this series?
  2. Debugging Tips: What factors should I verify to ensure that the microcontroller properly transitions to low-power modes?

 

 

    This topic has been closed for replies.

    1 reply

    Super User
    November 29, 2024

    Check these knowledge base articles:

    https://community.st.com/t5/stm32-mcus/tips-for-using-stm32-low-power-modes/ta-p/621007?search-action-id=38522136277&search-result-uid=621007

    https://community.st.com/t5/stm32-mcus/how-to-minimize-the-power-consumption-in-low-power-mode-an/ta-p/49801

    https://community.st.com/t5/stm32-mcus/increased-consumption-in-low-power-modes/ta-p/49558

    etc ...

     

    Show your full code - instructions here:

    https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

     

    How are you measuring the current? You really need something like STLINK-V3PWR or X-NUCLEO-LPM01A to properly see what's going on

    https://www.st.com/en/development-tools/stlink-v3pwr.html

    https://www.st.com/en/evaluation-tools/x-nucleo-lpm01a.html 

    https://www.st.com/en/development-tools/stm32cubemonpwr.html 

     

    Do you have the debugger active during your test? An active debug session will prevent the Target from truly entering low power.

     

    When you do start getting to really low powers, you well have to watch very carefully to leakage in the rest of the hardware - including the ST-Link...