RE: PXA270 resume from GPIO

Tech-Archive recommends: Speed Up your PC by fixing your registry



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
.



Relevant Pages

  • Re: Register RTC COM Components ( rtcclient.dll , dxmrtp.dll )
    ... required for your RTC app (they may be, I'm just not sure off the top of my ... what exactly is brought in when SYSGEN_VOIP (the RTC SYSGEN) is set. ... >> HMODULE hLib = NULL; ... >> but i could not register rtcclient.dll but i can register dxmrtp.dll. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Register RTC COM Components Win CE.NET
    ... You get the err bc RTC API is not package by ... >> could not register as you say. ... >> so i have to install any components in my pocket pc ...
    (microsoft.public.pocketpc.developer)
  • [PATCH 7/7] Blackfin RTC driver: convert sync wait to use the irq write complete notice
    ... -/* Wait for the previous write to a RTC register to complete. ... * always gets updated regardless of the interrupt being enabled. ... static void bfin_rtc_release(struct device *dev) ...
    (Linux-Kernel)
  • PXA270 resume from GPIO
    ... Currently I am able to resume from sleep or deep sleep states using RTC, ... I am in trouble with GPIO1 & keyboard resume. ... PKWRkeyboard wakeup enable register for my keypad input GPIOs ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [patch 2.6.20-rc3 1/3] rtc-cmos driver
    ... ARMs tend to integrate some other RTC on-chip. ... if it's got additional alarm registers, ... RTC using this register API. ... So no sleep states and therefore no wakeup. ...
    (Linux-Kernel)