S32K344 reset reason

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,201件の閲覧回数
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 解決策
2,042件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Please enable PRTN1_COFB1_CLKEN. REQ56(PLL) 

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
2,094件の閲覧回数
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 件の賞賛
返信
2,060件の閲覧回数
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 件の賞賛
返信
2,043件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Please enable PRTN1_COFB1_CLKEN. REQ56(PLL) 

0 件の賞賛
返信
2,026件の閲覧回数
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 件の賞賛
返信