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
已解决! 转到解答。
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.
Regards,
Daniel
Hi @jetty_1012,
Can you read the RGM_FES, RGM_DES registers directly before the Power_Ip_GetResetReason() is called?
Is it possible to disconnect the SBC or other devices from the reset_b pin on the PCB?
Regards,
Daniel
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.
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.
Regards,
Daniel