PXA270 resume from GPIO



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: PXA270 resume from GPIO
    ... Below is my register setting for you ... Currently I am able to resume from sleep or deep sleep states using RTC, ... 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)
  • RE: 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: waking system up using RTC (was Re: rtcwakeup.c)
    ... In my experience, ACPI wakeup ... at last, albeit just with the RTC, on every system I tried. ... So you're sure it didn't actually suspend, ... progname, optarg); ...
    (Linux-Kernel)
  • rtcwakeup.c
    ... if your system actually supports RTC wakeup correctly: ... persistent media that are appropriate for such suspend modes. ... progname, optarg); ...
    (Linux-Kernel)