2025-06-08 5:03 AM
Hi,
I'm trying to move stm32WL to a mode it will consume least power but still be usable for me.
I understood this mode is probably STANDBY_MODE with memory retention
I want to do this:
1. [Save Stack For Standby] save the stack and any other needed info to the retention area
2. set an external clock that will wake the CPU
3. go into STANDBY_MODE with memory retention
4. when the time comes - the CPU wake and identify in main that we were in standby
5. [Recover From Standby] - to get into the main loop, right after the standby function
I some very limited function from ST, and they all seem to do the same,
meaning - ignore the RAM retention potential, and starting from scratch.
How can I maximize that potential?
found no example for this.
anyone can help?
2025-07-03 5:45 AM
Hello @aviad
There is not such example on the STM32CubeWL. You may refer to the specifications mentioned on the RM0453 to implement this on your own.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.