Reset reasons on S32K312

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

Reset reasons on S32K312

Jump to solution
307 Views
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

Tags (1)
0 Kudos
Reply
1 Solution
226 Views
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

View solution in original post

0 Kudos
Reply
3 Replies
244 Views
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 Kudos
Reply
229 Views
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 Kudos
Reply
227 Views
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 Kudos
Reply