Hello
I want to retain some information before performing Functional Reset and read it out after Functional Reset. Looking at RM, I see that SRAM0 is STANDBY mode retention, so can SRAM0 be retained after Functional Reset? Or is there any other RAM that can be retained after Functional Reset?
BestRegards
Simon
Solved! Go to Solution.
Hi @Simon-Liu
Section 31.8 (System RAM retention across functional reset) of the S32K3xx Reference Manual, Rev. 7, describes a procedure performed by S32K3 internal hardware. It means no software code is needed.
Functional resets will keep SRAM data unchanged by a hardware mechanism. Destructive resets cannot guarantee the SRAM data integrity.
For the default startup code of S32DS, the SRAM ECC initialization will be performed no matter what reset source it is. So, the SRAM data is overwritten after each reset.
Note: RAM retention is supported across the functional reset event for system RAMs only and not for HSE_B or peripheral memories.
B.R.
VaneB
Hi @Simon-Liu
Section 31.8 (System RAM retention across functional reset) of the S32K3xx Reference Manual, Rev. 7, describes a procedure performed by S32K3 internal hardware. It means no software code is needed.
Functional resets will keep SRAM data unchanged by a hardware mechanism. Destructive resets cannot guarantee the SRAM data integrity.
For the default startup code of S32DS, the SRAM ECC initialization will be performed no matter what reset source it is. So, the SRAM data is overwritten after each reset.
Note: RAM retention is supported across the functional reset event for system RAMs only and not for HSE_B or peripheral memories.
B.R.
VaneB