S32K3 : Request for Support on Wakeup and Reset Behavior

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

S32K3 : Request for Support on Wakeup and Reset Behavior

Jump to solution
115 Views
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,

0 Kudos
Reply
1 Solution
69 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
31 Views
NewbieNerd
Contributor III

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

0 Kudos
Reply
70 Views
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 Kudos
Reply