Reset reasons on S32K312

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

Reset reasons on S32K312

跳至解决方案
623 次查看
jetty_1012
Contributor II

Hi there.
We're using S32K312 chips in the field test.
Unexpectedly, the chips have reset several times during the test.
So far the reset reasons we've read are 15 and 30. But we can't figure out what exactly happened and we're eager to solve the unexpected reset issues.

 

15: MCU_F_EXR_RESET
We know the detection of a falling edge on RESET_B could cause external reset. It is one of the possible reasons but we haven't seen a sign of it yet.
Are there any other reasons that would cause MCU_F_EXR_RESET?

 

30: MCU_MULTIPLE_RESET_REASON
The comment says <More than one reset events are logged except "Power on event">.
Could you explain more about it?

 

Thanks.

 

#reset reasons

标记 (1)
0 项奖励
回复
1 解答
542 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

The driver returns MCU_MULTIPLE_RESET_REASON, but it does not specify which ones.

You can read it directly in the two registers right at the beginning of main() after the reset.

danielmartynek_0-1718699376110.png

danielmartynek_0-1718699485154.png

 

Regards,

Daniel

在原帖中查看解决方案

0 项奖励
回复
3 回复数
560 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @jetty_1012,

Can you read the RGM_FES, RGM_DES registers directly before the Power_Ip_GetResetReason() is called?

danielmartynek_0-1718607070689.png

Is it possible to disconnect the SBC or other devices from the reset_b pin on the PCB?

 

Regards,

Daniel

 

0 项奖励
回复
545 次查看
jetty_1012
Contributor II

Hi @danielmartynek 

Thanks for the reply.

What's the purpose of reading RGM_FES, RGM_DES registers?

And I didn't find their addresses from the reference manual. Could you find them for us?

Thank you.

0 项奖励
回复
543 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

The driver returns MCU_MULTIPLE_RESET_REASON, but it does not specify which ones.

You can read it directly in the two registers right at the beginning of main() after the reset.

danielmartynek_0-1718699376110.png

danielmartynek_0-1718699485154.png

 

Regards,

Daniel

0 项奖励
回复