Hello,
I would like to test Fast Standby on the S32K358. I created an IP-layer demo in S32DS where the program enters Fast Standby 5 seconds after startup and is woken up by RTC-API after 3 seconds. This works without any issues.
Then I referred to this project and configured an EB project to create an MCAL-layer demo, but it failed. After 3 seconds in Fast Standby, the current increased, which suggests the device woke up, but it never entered the main function. After attaching with PE Micro, the error messages are as follows:
Interrupt command received. Halting execution.
UsageFault: An instruction executed with an invalid EPSR.T or EPSR.IT field.
BusFault: An imprecise (asynchronous) data access error has occurred.
HardFault: A fault has been escalated to a hard fault.
The vector table after wake-up is shown below:

The PC register is 0x0. Checking the stack contents, I can see that FastWkup_EntryAddress was entered, and the HardFault occurs after jumping to the Reset_Handler.



If I add a while(1) loop in FastWkup_EntryAddress, the HardFault still occurs.

If I enter standby mode, it word.
In the project, PMIC_PGOOD_HNDSHK_BYP is enabled. Since the board does not have an external crystal oscillator, FIRC is used as the core clock.
S32K358
RTD6.0.0
S32DS3.6.3
EB29.0
BR,
Jason