I am developing through S32k144 device.
The MCU enters VLPS mode and wakes up through GPIO interrupt.
Currently, when VLPS is completed and Wakeup is performed, Power_init and Clock_init are performed.
The problem comes from Power init.


DEV_ASSERT((CLOCK_SYS_GetFircFreq() != 0U) || (sysClkConfig->src != FIRC_CLK));
I can't get out of the above statement.
After checking the problem, it seems that the problem is caused by the FIRC of FIRCCSR being disabled.
The question here is the setup order after VLPS wakeup.
1. POWER_SYS_Init - POWER_SYS_SetMode - CLOCK_SYS_Init - CLOCK_SYS_SetConfiguration
2. CLOCK_SYS_Init - CLOCK_SYS_SetConfiguration - POWER_SYS_Init - POWER_SYS_SetMode
3. don't care
In which order should I set it 1, 2, 3?