Datasheet

LPC82x All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
Product data sheet Rev. 1 — 1 October 2014 18 of 81
NXP Semiconductors
LPC82x
32-bit ARM Cortex-M0+ microcontroller
7, 8, or 9 data bits and 1 or 2 stop bits
Synchronous mode with master or slave operation. Includes data phase selection and
continuous clock option.
Multiprocessor/multidrop (9-bit) mode with software address compare. (RS-485
possible with software address detection and transceiver direction control.)
Parity generation and checking: odd, even, or none.
One transmit and one receive data buffer.
RTS/CTS for hardware signaling for automatic flow control. Software flow control can
be performed using Delta CTS detect, Transmit Disable control, and any GPIO as an
RTS output.
Received data and status can optionally be read from a single register
Break generation and detection.
Receive data is 2 of 3 sample "voting". Status flag set when one sample differs.
Built-in Baud Rate Generator.
A fractional rate divider is shared among all UARTs.
Interrupts available for Receiver Ready, Transmitter Ready, Receiver Idle, change in
receiver break detect, Framing error, Parity error, Overrun, Underrun, Delta CTS
detect, and receiver sample noise detected.
Separate data and flow control loopback modes for testing.
Baud rate clock can also be output in asynchronous mode.
Supported by on-chip ROM API.
8.14 SPI0/1
All SPI functions are movable functions and are assigned to pins through the switch
matrix.
8.14.1 Features
Maximum data rates of up to 30 Mbit/s in master mode and up to 18 Mbit/s in slave
mode for SPI functions connected to all digital pins except the open-drain pins.
Data frames of 1 to 16 bits supported directly. Larger frames supported by software.
Master and slave operation.
Data can be transmitted to a slave without the need to read incoming data, which can
be useful while setting up an SPI memory.
Control information can optionally be written along with data, which allows very
versatile operation, including “any length” frames.
One Slave Select input/output with selectable polarity and flexible usage.
Remark: Texas Instruments SSI and National Microwire modes are not supported.
8.15 I2C-bus interface (I2C0/1/2/3)
The I
2
C-bus is bidirectional for inter-IC control using only two wires: a serial clock line
(SCL) and a serial data line (SDA). Each device is recognized by a unique address and
can operate as either a receiver-only device (e.g., an LCD driver) or a transmitter with the