S32K3 : Request for Support on Wakeup and Reset Behavior

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K3 : Request for Support on Wakeup and Reset Behavior

ソリューションへジャンプ
550件の閲覧回数
NewbieNerd
Contributor III

Dear S32K3 Team,

I am currently working with the S32K358 MCU, where I am attempting to transition the MCU into standby mode and then wake it up into run mode via a WAKEUP input. On the S32K344 reference board, simply configuring the WAKEUP signal and switching the MCU mode correctly outputs the reset reason. However, I am encountering issues with the same process on my board using the S32K358.

Current Status:

  1. I have enabled the low-power mode on the MCU.
  2. All peripheral clocks have been disabled.
  3. The mode change is being handled through the Mcu_SetMode function.
  4. I have confirmed that the MCU enters standby mode, with power consumption dropping by over 25%.

Reset behavior on the S32K344:

  • On WAKEUP input:
    • GetResetRawValue = 0
    • GetResetReason = 28
  • On Power-On Reset (POR):
    • GetResetRawValue = 0
    • GetResetReason = 0

Reset behavior on the S32K358:

  • On WAKEUP input:
    • GetResetRawValue = 0x8000
    • GetResetReason = 0
  • On POR:
    • GetResetRawValue = 0x8000
    • GetResetReason = 0
  • On Functional Reset:
    • GetResetRawValue = 0x800
    • GetResetReason = 26

Questions:

  1. During the wakeup on the S32K358, the GetResetRawValue = 0x8000 is observed from the DES register, which corresponds to a System clock dividers alignment failure. Could you please provide guidance on the possible cause of this issue and what I should check further?

  2. During the Functional Reset, the GetResetRawValue = 0x800 was found in the FES register, but I am unclear about the meaning of this value. Could you please clarify its significance?

  3. I am curious if the fact that the reset reason is not showing 28 during the wakeup on the S32K358 is related to the DES register value of 0x8000. Any insights on this would be greatly appreciated.

I would greatly appreciate your support and guidance on resolving these issues.

Thank you.
Best regards,

タグ(4)
0 件の賞賛
返信
1 解決策
504件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @NewbieNerd,

The S32K358 part supports a PMIC handshake.

RM rev9, Section 41.9 PMIC Handshake with MCU (applicable for S32K328, S32K338, S32K348, S32K358,
S32K388, and S32K389)

If you don't use the handshake, please set this bit in DCMRWF1

danielmartynek_0-1725610312942.png

 

Thank you,

BR, Daniel

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
466件の閲覧回数
NewbieNerd
Contributor III

Thanks to your answer, I was able to implement it correctly.
Best Regard,

0 件の賞賛
返信
505件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @NewbieNerd,

The S32K358 part supports a PMIC handshake.

RM rev9, Section 41.9 PMIC Handshake with MCU (applicable for S32K328, S32K338, S32K348, S32K358,
S32K388, and S32K389)

If you don't use the handshake, please set this bit in DCMRWF1

danielmartynek_0-1725610312942.png

 

Thank you,

BR, Daniel

0 件の賞賛
返信