Timo Juhani Lindfors wrote: > I'd like my freerunner to wake on touchscreen activity. Should I just modify [...] > PCF50633_INT3_ADCRDY = 0x40, /* ADC conversion finished */
The touch screen isn't connected to the PMU, so that won't work. The touch screen interface in the CPU can generate an interrupt, but as far as I can tell from the manual, that interrupt can't wake the CPU from CPU.SLEEP. What should work is to wire one of the touch screen signals to a wakeup-capable interrupt (EINT0 through 15), set the internal pull-down, output a H on the other axis, and trigger on a rising edge. - Werner
