RAM Initialization

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,210件の閲覧回数
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,161件の閲覧回数
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,169件の閲覧回数
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,162件の閲覧回数
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,200件の閲覧回数
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 件の賞賛
返信