AnsweredAssumed Answered

S32K144: How to capture all wake-up source when exiting the VLPS mode

Question asked by 伟伟 刘 on Apr 1, 2019
Latest reply on Apr 3, 2019 by Daniel Martynek

Hi, all,

 

I use function INT_SYS_DisableIRQ(xx) to disable all interrupt (IRQ num >=0 && IRQ num <=122) except PORTA_IRQn, PORTB_IRQn, PORTC_IRQn, PORTD_IRQn, PORTE_IRQn before executed function POWER_SYS_SetMode(VLPS, POWER_MANAGER_POLICY_AGREEMENT), and use function PORT_HAL_GetPortIntFlag(xx) to capture the port interrupt flag in ISR of PORTA~PORET.

But, nothing flag (print to uart) can be captured sometimes when exiting VLPS mode.

 

So, how to capture all wake-up source when exiting the VLPS mode?

 

Regards,

Liu

Outcomes