wake up k70 from VLPS deep sleep by GPIO interrupt

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

wake up k70 from VLPS deep sleep by GPIO interrupt

423 Views
minli
Contributor I

Hi

I can not wake up k70 (Kinetis) from VLPS deep sleep by GPIO interrupt.

This is under uCLinux, where I enabled CONFIG_PM. After that, I can put K70 to deep sleep by "echo mem > /sys/power/state" and wake it up from UART debug console. But I can not wake up by triggering GPIO interrupt. I have confirmed that the interrupt works before and after the sleep by printing from the interrupt handler and I have also confirmed the GPIO pin value changes  from 0 to 1 during sleep after I triggered the GPIO interrupt.

According to the K70 manual, I should be able to wake up VLPS by a GPIO interrupt. Does any have any insight why I could not?

Thanks 

0 Kudos
1 Reply

268 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Min Li,

   Please also post some code of entering VLPS mode, and the GPIO interrupt code on your side.

   I will help you to check it.

  If your K70 really enter VLPS mode, the GPIO must can wakeup it.


Have a great day,
Kerry

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos