Skip to main content
Candra SN.
Associate III
Nov 18, 2021 8:30 AM UTC
Solved

Save data variable without loss after reset with STM32WLE5CBU6

Hi,

I want to save my data calculation in internal memory or flash memory without loss after reset. But, I dont know how to do that. Because in the STM32WL MCU dont have memory bank.

Any assistance would be greatly appreciated

This topic has been closed for replies.
TDK
TDKBest answer
Nov 18, 2021 1:31 PM UTC

You can use a page of flash to act as EEPROM memory storage. Need to erase before you write.

"If you feel a post has answered your question, please click ""Accept as Solution""."

4 replies

TDK
TDKBest answer
Nov 18, 2021 1:31 PM UTC

You can use a page of flash to act as EEPROM memory storage. Need to erase before you write.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Candra SN.
Associate III
Feb 17, 2022 9:08 AM UTC

Thank you. It works well.

Muhammed Güler
Senior III
Nov 18, 2021 3:02 PM UTC

If you only want data not to be lost when you reset, you can use Backup ram in RTC.

Candra SN.
Associate III
Feb 17, 2022 9:09 AM UTC

Thank you. This can be another reference