RAM Initialization

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

RAM Initialization

Jump to solution
1,282 Views
SreejithN
Contributor I

Hi,

I am using s32k146 in my current project. In that i have a requirement to initialize the RAM except a particular section on every reset other than Power On Reset. (On Power On Reset all data should be initialized) . Is there any wat to do this?

Thanks

 

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

Hi @SreejithN 

The following link is for an example of SRAM retention, which may help clarify how this works on the S32K1.

View solution in original post

0 Kudos
Reply
3 Replies
1,241 Views
SreejithN
Contributor I

Hi @VaneB 

Thanks for your information. 

By using SRAM retention, it is possible to save either the entire SRAM_U or SRAM_L data. However, is there any other option to retain only a particular section on reset? For example, can we retain only the data between '0x2000EC00 to 0x2000EFFF' on SRAM_U while initializing all other data?

0 Kudos
Reply
1,234 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @SreejithN 

The following link is for an example of SRAM retention, which may help clarify how this works on the S32K1.

0 Kudos
Reply
1,272 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @SreejithN 

Take a look at section 31.3.4 (SRAM retention: power modes and resets) of the S32K1xx Series Reference Manual, Rev. 13.

 

B.R.

VaneB

0 Kudos
Reply