Hello all,
I'm facing weird issue that when I setup s32k144 into VLPS mode, sometimes it will be waken up with no reason, which means it cannot successfully enter VLPS mode.
The only interrupt I setup is by using following code:
PINS_DRV_SetPinIntSel( PORTA, PTA0_WAKE_PIN, PORT_INT_LOGIC_ONE );
then
POWER_SYS_SetMode( VIMSM_MCU_STATE_VLPS, POWER_MANAGER_POLICY_AGREEMENT );
So I'm wondering if there's some internal interrupt being triggered that cause this issue.
Are there any register I can check further to confirm which wakeup source/interrupt from VLPS mode is being triggered?
Thanks,
Kenny