Min Li

wake up k70 from VLPS deep sleep by GPIO interrupt

Discussion created by Min Li on May 1, 2017
Latest reply on May 9, 2017 by Kerry Zhou



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?