S32K311 has any software reset APIs keep ram value?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K311 has any software reset APIs keep ram value?

1,016件の閲覧回数
EvaKi
Contributor I

I want to use software reset function to reset MCU(not watchDOG timeout), 

After the reset, I want to keep the values in the RAM array.

I use 

Power_Ip_MC_ME_SocTriggerResetEvent(POWER_IP_FUNC_RESET_MODE); or
Power_Ip_MC_ME_SocTriggerResetEvent(POWER_IP_DEST_RESET_MODE);
 
RAM array loss value
0 件の賞賛
返信
3 返答(返信)

989件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @EvaKi,

Functional resets will keep SRAM data unchanged by the hardware mechanism. Destructive resets cannot guarantee the SRAM data integrity.

In the default startup code for S32DS SRAM ECC initialization will be performed regardless of the reset source, so the SRAM data is overwritten after each reset. This is why you see the RAM array lose its values.

Julin_AragnM_0-1724435272916.png

Best regards,
Julián

0 件の賞賛
返信

967件の閲覧回数
EvaKi
Contributor I

Hi @Julián_AragónM 

Does NXP have any demo codes for solving this startup code for S32K3 SRAM ECC initialization?

RAM retention across functional reset

0 件の賞賛
返信

950件の閲覧回数
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @EvaKi,

I'm not aware of any example, but please take a look at the following community post: SRAM ECC Initialization for S32K344 - NXP Community.

Best regards,
Julián

0 件の賞賛
返信