cancel
Showing results for 
Search instead for 
Did you mean: 

Data retention of the internal SRAM in the STM32F769NI.

TN
Associate II

Hi, I have a question about the internal SRAM1 in the STM32F769NI.
Do I need to do anything special to retain the data in SRAM1 on reset?
If data retention is established by default, do you know how it works?

2 REPLIES 2

Unless there is an explicit description in the Reference Manual (RM) of any portion of RAM being cleared upon reset, data are preserved as long as power supply (VDD) is uninterrupted.

However, the C standard requires the translator (compiler and its suite, part of toolchain) to write to initialized variables, and to write zero to uninitialized global and static variables, upon program startup. This happens in the startup code, which is toolchain-dependent.

JW

Thank you for your reply and advice.
I would like to review startup process.