PXA270 resume from GPIO
- From: PaoloC <PaoloC@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 6 Sep 2008 10:01:04 -0700
Hi all,
I am working on suspend/resume function on WinCE 5.0.
Currently I am able to resume from sleep or deep sleep states using RTC,
just setting PWER[WERTC] bit and programming an alarm in RTC.
I am in trouble with GPIO1 & keyboard resume (keyboard from sleep state only).
I set the following bits in power manager registers:
PKWR[WE93-102] keyboard wakeup enable register for my keypad input GPIOs
PWR[WE1], PRER[RE1] for GPIO1 raising edge wakeup
PWER[WERTC] for RTC wakeup
PCFR[RO] to enable all GPIO receivers in [deep]sleep state
Then enter sleep power mode (0x03).
RTC wakes me after the configured delay, no way to wakeup before RTC alarm
with GPIO or keypress :-(
Any suggestion about some other required bit will be highly appreciated.
Best regards,
PaoloC
.
- Follow-Ups:
- RE: PXA270 resume from GPIO
- From: C.L
- RE: PXA270 resume from GPIO
- Prev by Date: Using the debug zones with a SD Client Driver
- Next by Date: Re: System halt
- Previous by thread: Using the debug zones with a SD Client Driver
- Next by thread: RE: PXA270 resume from GPIO
- Index(es):
Relevant Pages
|