S32K344 reset reason

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

S32K344 reset reason

跳至解决方案
1,656 次查看
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 项奖励
回复
1 解答
1,497 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Please enable PRTN1_COFB1_CLKEN. REQ56(PLL) 

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,549 次查看
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 项奖励
回复
1,515 次查看
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 项奖励
回复
1,498 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Please enable PRTN1_COFB1_CLKEN. REQ56(PLL) 

0 项奖励
回复
1,481 次查看
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 项奖励
回复