|
Hi David,
yes that's possible.
To do that, you have use the IDLE mode of the processor (core clock stopped) also to save more power than just only stopping all of the periperal clocks. To wake up the core, only an enabled IRQ at AIC level can do that ( the AIC is always clocked). So, you will have to turn off all of the periperal clocks that you do not need, and keep the PIO controller clocked with an input change interrupt enabled at PIO level, so that when you press a key of the keyboard, the PIO will detect it and will send an IRQ to the core which will wake it up. You can do the same with the USART. Keep it running, waiting a char with IRQ enabled on RX receive.
Hope this helps.
|