Hello,
I'm using S32K312. When I pulled down PTA5 (RESET_b), the program reset and I checked the reset reason through Power_Ip_GetResetReason.
I found I got different reset reasons in different times and I want to make sure if I got the right results here.
When it was in standby mode, I pulled down PTA5, the reset reason I got was 28 (MCU_WAKEUP_REASON).
And when it was running, I pulled down PTA5, the reset reason I got was 15 (MCU_F_EXR_RESET).
So why was it 15? What does MCU_F_EXR_RESET mean?
PS: I checked Power_Ip_ResetType table, it seems that the contents and comments are not matched.
Thanks.
Solved! Go to Solution.
Hi @jetty_1012,
When the Power_Ip_GetResetReason() returns 15, it means the MC_RGM_FES[F_EXR] = 1 and MC_RGM_DES[F_POR] = 0.
Let me report the documentation issue.
Thank you for pointing it out,
Regards,
Dnaiel
Hi @jetty_1012,
When the Power_Ip_GetResetReason() returns 15, it means the MC_RGM_FES[F_EXR] = 1 and MC_RGM_DES[F_POR] = 0.
Let me report the documentation issue.
Thank you for pointing it out,
Regards,
Dnaiel