RE: PXA270 resume from GPIO
- From: C.L <CL@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 7 Sep 2008 18:54:01 -0700
I did suspend/resume with GPIO0 before. Below is my register setting for you
reference.
PWRRegs->PWER = 0x80000001;
PWRRegs->PRER = 0x00000001;
PWRRegs->PFER = 0x00000001;
PWRRegs->PKWR = 0x0;
PWRRegs->PCFR = 0x000010A1;
PWRRegs->PSLR = 0xFF000004;
By the way, did you also set GPDR0, GAFR0_L, GFER0/GRER0 and IMCR for GPIO1
to wakup system?
"PaoloC" wrote:
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: econ_Ranjit
- RE: PXA270 resume from GPIO
- References:
- PXA270 resume from GPIO
- From: PaoloC
- PXA270 resume from GPIO
- Prev by Date: Re: Using the debug zones with a SD Client Driver
- Next by Date: RE: Accessing memory filled by a DMA process
- Previous by thread: PXA270 resume from GPIO
- Next by thread: RE: PXA270 resume from GPIO
- Index(es):
Relevant Pages
|