S32K312-RAM retention across functional reset

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K312-RAM retention across functional reset

Jump to solution
1,210 Views
Simon-Liu
Contributor V

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

0 Kudos
Reply
1 Solution
1,172 Views
VaneB
NXP TechSupport
NXP TechSupport

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

View solution in original post

2 Replies
1,173 Views
VaneB
NXP TechSupport
NXP TechSupport

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

1,148 Views
Simon-Liu
Contributor V

Hi @VaneB 

Thank you for your answer.

BestRegards

Simon

0 Kudos
Reply