15.11.2012 Views

LPC2131/2132/2138 User Manual - mct.net

LPC2131/2132/2138 User Manual - mct.net

LPC2131/2132/2138 User Manual - mct.net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Philips Semiconductors Preliminary <strong>User</strong> <strong>Manual</strong><br />

ARM-based Microcontroller<br />

BROWN-OUT DETECTION<br />

<strong>LPC2131</strong>/<strong>2132</strong>/<strong>2138</strong><br />

The <strong>LPC2131</strong>/<strong>2132</strong>/<strong>2138</strong> includes 2-stage monitoring of the voltage on the Vdd pins. If this voltage falls below 2.9V, the Brown-<br />

Out Detector (BOD) asserts an interrupt signal to the Vectored Interrupt Controller. This signal can be enabled for interrupt in the<br />

Interrupt Enable Register (VICIntEnable - 0xFFFFF010, Read/Write) on page 65; if not, software can monitor the signal by<br />

reading the Raw Interrupt Status Register (VICRawIntr - 0xFFFFF008, Read Only) on page 64.<br />

The second stage of low-voltage detection asserts Reset to inactivate the <strong>LPC2131</strong>/<strong>2132</strong>/<strong>2138</strong> when the voltage on the V3 pins<br />

falls below 2.6V. This Reset prevents alteration of the Flash as operation of the various elements of the chip would otherwise<br />

become unreliable due to low voltage. The BOD circuit maintains this reset down below 1V, at which point the Power-On Reset<br />

circuitry maintains the overall Reset.<br />

Both the 2.9V and 2.6V threshholds include some hysteresis. In normal operation, this hysteresis allows the 2.9V detection to<br />

reliably interrupt, or a regularly-executed event loop to sense the condition.<br />

But when Brown-Out Detection is enabled to bring the <strong>LPC2131</strong>/<strong>2132</strong>/<strong>2138</strong> out of Power-Down mode (which is itself not a<br />

guaranteed operation -- see page 50), the supply voltage may recover from a transient before the Wakeup Timer has completed<br />

its delay. In this case, the <strong>net</strong> result of the transient BOD is that the part wakes up and continues operation after the instructions<br />

that set Power-Down Mode, without any interrupt occurring and with the BOD bit in the RISR being 0. Since all other wakeup<br />

conditions have latching flags (see the EXTINT register on page 33 and the RTC ILR on page 209), a wakeup of this type, without<br />

any apparent cause, can be assumed to be a Brown-Out that has gone away.<br />

System Control Block 52 November 22, 2004

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!