Hello.
Let us ask about title topic for s32k144.
Q1)Can we catch edge interrupt of pin correctly when entering VLPS from run?
Q2)According to S32K1xx-DS_Rev14,
this has below information about edge width spec
"GPIO pin interrupt pulse width (digital glitch filter
disabled, passive filter disabled) — Asynchronous path
"min 50ns"
So, this spec is same as when mcu enters VLPS from RUN too?
If we keep this spec, can we wake up from VLPS by pin edge interrupt?
Solved! Go to Solution.
Sorry I misunderstood your question earlier.
Q: If GPIO interrupt occurred when MCU entering VLPS from RUN (transition 4) is yellow state:
And according to "Table 11. Power mode transition operating behaviors for S32K1xx series" in S32K1xx-DS_Rev14.pdf, the transition time has range 0.3~0.4us.
A: Have a look at 40.4.2.3 Aborted very low power stop mode entry of S32K-RM:
If an interrupt occurs during a stop entry sequence, the SMC can abort the transition early and return to RUN mode without completely entering the stop mode.
Hi Hirofumi,
You can wakeup VLPS by GPIO pin interrupt. The power_mode_switch_s32k144 in S32K1 SDK configure SW3(PTC13) interrupt wakeup MCU from VLPS.
If you want to use GPIO pin interrupt to wake up MCU from VLPS, the pulse width should meet the asynchronous specification "minimum 50ns".
Best Regards,
Robin
Hi Robin.
Thank you for your reply.
Let us confirm below too.
If we keep the pulse width minimum specifications, Can mcu wakeup immediately by interrupt GPIO occurred while MCU is entering VLPS from RUN?
Sorry I misunderstood your question earlier.
Q: If GPIO interrupt occurred when MCU entering VLPS from RUN (transition 4) is yellow state:
And according to "Table 11. Power mode transition operating behaviors for S32K1xx series" in S32K1xx-DS_Rev14.pdf, the transition time has range 0.3~0.4us.
A: Have a look at 40.4.2.3 Aborted very low power stop mode entry of S32K-RM:
If an interrupt occurs during a stop entry sequence, the SMC can abort the transition early and return to RUN mode without completely entering the stop mode.