Hi NXP Team,
I am currently implementing standby (low-power) mode and wake-up functionality on the S32K344 MCU.
I am able to successfully enter standby mode and wake up from it. However, after wake-up, the execution always restarts from the main() function instead of resuming from the point where it entered standby mode.
My requirement is to resume execution from the exact point where the MCU entered standby mode, rather than restarting from main().
To address this, I referred to multiple community posts and the following NXP documentation:
“S32K3 Low Power Management AN and demos”
https://community.nxp.com/t5/S32K-Knowledge-Base/S32K3-Low-Power-Management-AN-and-demos/ta-p/152772...
I also studied the example project S32K344_RTC_StandbyRAM_Wkup_S32DS_3_4_RTD_LLD_2_0
From this, I understand that:
- Up to 32KB of Standby RAM can be configured.
- This Standby RAM is retained during standby mode.
- It can be used to store variables or data across standby cycles.
However, my goal is to resume execution flow from where it left off before entering standby, not just restore variables from Standby RAM. I could not find any clear guidance or solution for this requirement.
Could you please clarify:
- Is it possible to resume execution from the exact point where the MCU entered standby mode on S32K344?
- If not, what is the recommended approach to achieve similar behavior?
Any guidance or references would be very helpful.
Thank you.