s32k144, Can we catch edge interrupt of pin correctly when entering VLPS?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

s32k144, Can we catch edge interrupt of pin correctly when entering VLPS?

Jump to solution
1,002 Views
Hirofumi
Contributor II

 

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

コメント 2023-06-28 192610.jpg

"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?

0 Kudos
Reply
1 Solution
906 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Sorry I misunderstood your question earlier.

Q: If GPIO interrupt occurred when MCU entering VLPS from RUN (transition 4) is yellow state:

Robin_Shen_2-1688344601000.jpeg

Robin_Shen_0-1688344601557.jpeg

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.

Robin_Shen_1-1688344601152.jpeg


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.

40.4.2.3 Aborted very low power stop mode entry.jpg39.6 Shutdown sequencing for power modes.jpg

View solution in original post

0 Kudos
Reply
3 Replies
964 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

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".

Table 16. General switching specifications.jpg


Best Regards,
Robin

0 Kudos
Reply
939 Views
Hirofumi
Contributor II

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?

0 Kudos
Reply
907 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Sorry I misunderstood your question earlier.

Q: If GPIO interrupt occurred when MCU entering VLPS from RUN (transition 4) is yellow state:

Robin_Shen_2-1688344601000.jpeg

Robin_Shen_0-1688344601557.jpeg

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.

Robin_Shen_1-1688344601152.jpeg


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.

40.4.2.3 Aborted very low power stop mode entry.jpg39.6 Shutdown sequencing for power modes.jpg

0 Kudos
Reply