S32K344 reset reason

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

S32K344 reset reason

Jump to solution
1,348 Views
YL005
Contributor III

Hi,

I am trying to get the reset reason of s32k344 on the s32k344evb by using Mcu_GetResetReason.

When I use MCU_PerformReset to reset the controller with functional reset, I'd expect to see the return value be a category that is functionally reset. But the value returned was power on reset.

What is the problem? Could this problem be related to FS26?

0 Kudos
1 Solution
1,189 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please enable PRTN1_COFB1_CLKEN. REQ56(PLL) 

View solution in original post

0 Kudos
4 Replies
1,241 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

1st. Could you please check the state of PRTN1_COFB1_CLKEN. BLOCK53(FXOSC) and PRTN1_COFB1_CLKEN. BLOCK56(PLL) before calling Mcu_PerformReset()?

2nd. Did you configure PLL CLK or not? These two bits may impact the reset reason after the functional reset is triggered when either of the two bits are disabled and PLL is enabled.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
1,207 Views
YL005
Contributor III

Hi

Do you mean PRTN1_COFB1_CLKEN. REQ53(FXOSC) and PRTN1_COFB1_CLKEN. REQ56(PLL)?

The status of PRTN1_COFB1_CLKEN. REQ53(FXOSC) and PRTN1_COFB1_CLKEN. REQ56(PLL) is as below

YL005_0-1690536649536.png

And the PLL is configured as below

YL005_0-1690536910296.png

 

 

 

0 Kudos
1,190 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Please enable PRTN1_COFB1_CLKEN. REQ56(PLL) 

0 Kudos
1,173 Views
YL005
Contributor III

Hi Robin,

I turned on the PRTN1_COFB1_CLKEN. REQ56(PLL) bit then the reset reason return MCU_SW_FUNC_RESET as expect.

The solution is really helpful, thanks a lot.

Could you please let me know how this bit relates to the reset reason?

 

YL005_0-1691026017580.png

0 Kudos