Hi, I got a problem with S32K344, I learned sleep wake-up will trigger a function reset, But I don't know how to Distinguish between initial power-on and sleep wake-up states. Hope to get your help, thanks a lot.
Solved! Go to Solution.
Hi @KerryJ,
Read the MODE_STAT[PREV_MODE] bit.
If you use RTD, there is this API of the POWER_IP driver: Power_Ip_GetPreviousMode().
BR, Daniel
Hi @KerryJ,
Read the MODE_STAT[PREV_MODE] bit.
If you use RTD, there is this API of the POWER_IP driver: Power_Ip_GetPreviousMode().
BR, Daniel