cancel
Showing results for 
Search instead for 
Did you mean: 

maximizing power save of stm32WL STANDBY_MODE

aviad
Associate

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?

0 REPLIES 0