--- In lpc2000@yahoogroups.com, "nedeljkomiljevic" <nedeljkomiljevic@y...> wrote: > Hi all, > > has anybody tried to put the LPC in power down mode? > What would be the proper sequence of putting it into power down mode > and wake on external interrupt? > I have done the following: > > (will use EINT2 for wakeup, the program starts with EINT2 mapped to IRQ) > > ............ > > power down: > > - disable EINT2 interrupt > - EXTWAKE = 4 > - PCON = 2 > (here the processor stops) > > but on triggering EINT2 the processor does not continue running, > have to reset the controller instead (undesirable). > > Any ideas/hints? > > Thank you > > Nedeljko Hi, I'm doing the same thing and I'm still trying to figure out how to wake the unit up. I think you maybe missing something. My sequence in powering down is this: set EINT0 to port 16 (PINSEL1) (I'm using EINT0) EXTWAKE = 1 PCONP = 0 (all peripherals off) PCON = 2 I already tried generating a low on EINT0 to wake up and nothing's happening. I'd be glad to know your progress. :) jpsg123
Message
Re: Power down mode & wakeup
2004-07-21 by jpsg123
Attachments
- No local attachments were found for this message.