i have found a trick.
from pdf for lpc2138 - preliminary release of 22 november 2004
Table 9: Interrupt Wakeup Register (INTWAKE - 0xE01FC144)
EXTWAKE Function Description
Reset
Value
0 EXTWAKE0 When one, assertion of EINT0 will wake up the processor
from Power Down mode. 0
1 EXTWAKE1 When one, assertion of EINT1 will wake up the processor
from Power Down mode. 0
2 EXTWAKE2 When one, assertion of EINT2 will wake up the processor
from Power Down mode. 0
3 EXTWAKE3 When one, assertion of EINT3 will wake up the processor
from Power Down mode. 0
13:4 Reserved
Reserved, user software should not write ones to reserved bits. The
value read
from a reserved bit is not defined.
0
14 BODWAKE When one, BOD interrupt will wake up the processor from
Power Down mode.
15 RTCWAKE
When one, assertion of an RTC interrupt will wake the processor from
Power Down
mode.
using
INTWAKE = 0x8000;
RTC do not wake up the processor
using
INTWAKE = 0x80; // one of reserved bits 4..13
RTC wakeup the processor
do i have misunderstand somthing??
ok, for today i'm happy and go on .
thank's to all
Artur
====================================================================
--- In lpc2000@yahoogroups.com, "arturo tramontini" <a.t@t...> wrote:
Show quoted textHide quoted text
>
> hello folk's (excuse me for my english mistakes, please :)
>
> i have a problem in wakeup from powerdown using RTC.
>
> i set INTWAKE = 0x8002
>
> (i use also EINT1 (p014 -boot) to wakeup, and this is running ok)
>
> i use the 32Khz quartz for RTC and during normal operation RTC
> interrupt is running correctly, but putting in powerdown (PCON = 2)
> RTC interrupt
> do not wakeup the processor.
>
> i'm search my mistake , but for now i have not found the solution.
>
> Someone have suggestion idea?
>
> thank's to all.
> Artur