STM32WLE RAM Retention Only Functional in Debug Mode
Hi there,
I am using an STM32WLE and putting it into Standby mode for extended periods of time. I am trying to retain SRAM2 while in Standby mode, and it is working while the DBGMCU_CR_DBG_STANDBY bit is set. However, when I clear the bit SRAM2 is no longer retained.
I have set the PWR_CR3_RRS bit, the option byte SRAM_RST is set by default, and I have set my linker to not initialise the portion of SRAM2 that I wish to retain.
Does anyone have any ideas as to why debug mode could have such an impact on RAM retention?
Thanks,
Rebecca
