Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

/PDBOD=1 on entry to Power Down mode

2005-06-01 by relentless_6995

Hi everyone,

Any ideas why it appears that in the PCON register if I have 
the /PDBOD bit set when I set the PD bit, the processor does not 
wakeup and resume execution as expected. This happens if I write an 
0x06 to PCON ... OR first write a 0x04 followed by a 0x02 (the 0x02 
finally putting into power down mode). Setting the /PDBOD bit along 
with the PD is suppose to disable brown out detect during power down 
mode.

- using EINT1 to generate wakeup condition (this part seems to work 
fine)

- if both bits are set seems wake up and appears to start code 
execution at 0x0 (like a complete reset happened) - but this 
complete reset behavior isn't consistent

- if only the PD bit is set when entering power down the EINT1 wakes 
up and code execution resumes as expected

- have shown the behavior whether EINT1 generates an actual IRQ that 
the VIC services or if I just have code resume on the next 
instruction

Anybody know what I'm missing?

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.