RAM Initialization

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

RAM Initialization

跳至解决方案
2,187 次查看
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 项奖励
回复
1 解答
2,138 次查看
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 项奖励
回复
3 回复数
2,146 次查看
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 项奖励
回复
2,139 次查看
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 项奖励
回复
2,177 次查看
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 项奖励
回复