Low power modes for STM32G0 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-11-29 2:48 AM
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:
- Microcontroller: STM32G031 on the Nucleo-G031K8 board.
- 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.
- 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);
- HAL_SuspendTick();
Questions:
- 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?
- Debugging Tips: What factors should I verify to ensure that the microcontroller properly transitions to low-power modes?
- Labels:
-
STM32G0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-11-29 3:15 AM
Check these knowledge base articles:
https://community.st.com/t5/stm32-mcus/increased-consumption-in-low-power-modes/ta-p/49558
etc ...
Show your full code - instructions here:
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...
A complex system designed from scratch never works and cannot be patched up to make it work.
