Datasheet

LPC2109_2119_2129_5 © NXP B.V. 2007. All rights reserved.
Product data sheet Rev. 05 — 7 March 2007 5 of 35
NXP Semiconductors
LPC2109/2119/2129
Single-chip 16/32-bit microcontrollers
5.2 Pin description
Table 3. Pin description
Symbol Pin Type Description
P0.0 to P0.31 I/O Port 0 is a 32-bit bidirectional I/O port with individual direction controls for each bit.
The operation of port 0 pins depends upon the pin function selected via the Pin
Connect Block. Pins 26 and 31 of port 0 are not available.
P0.0/TXD0/
PWM1
19 O TXD0 — Transmitter output for UART0.
O PWM1 — Pulse Width Modulator output 1.
P0.1/RXD0/
PWM3/EINT0
21 I RXD0 — Receiver input for UART0.
O PWM3 — Pulse Width Modulator output 3.
I EINT0 — External interrupt 0 input
P0.2/SCL/CAP0.0 22 I/O SCL — I
2
C-bus clock input/output. Open drain output (for I
2
C-bus compliance).
I CAP0.0 — Capture input for Timer 0, channel 0.
P0.3/SDA/
MAT0.0/EINT1
26 I/O SDA — I
2
C-bus data input/output. Open drain output (for I
2
C-bus compliance).
O MAT0.0 — Match output for Timer 0, channel 0.
I EINT1 — External interrupt 1 input.
P0.4/SCK0/
CAP0.1
27 I/O SCK0 — Serial clock for SPI0. SPI clock output from master or input to slave.
I CAP0.1 — Capture input for Timer 0, channel 1.
P0.5/MISO0/
MAT0.1
29 I/O MISO0 — Master In Slave OUT for SPI0. Data input to SPI master or data output
from SPI slave.
O MAT0.1 — Match output for Timer 0, channel 1.
P0.6/MOSI0/
CAP0.2
30 I/O MOSI0 — Master Out Slave In for SPI0. Data output from SPI master or data input
to SPI slave.
I CAP0.2 — Capture input for Timer 0, channel 2.
P0.7/SSEL0/
PWM2/EINT2
31 I SSEL0 — Slave Select for SPI0. Selects the SPI interface as a slave.
O PWM2 — Pulse Width Modulator output 2.
I EINT2 — External interrupt 2 input.
P0.8/TXD1/
PWM4
33 O TXD1 — Transmitter output for UART1.
O PWM4 — Pulse Width Modulator output 4.
P0.9/RXD1/
PWM6/EINT3
34 I RXD1 — Receiver input for UART1.
O PWM6 — Pulse Width Modulator output 6.
I EINT3 — External interrupt 3 input.
P0.10/RTS1/
CAP1.0
35 O RTS1 — Request to Send output for UART1.
I CAP1.0 — Capture input for Timer 1, channel 0.
P0.11/CTS1/
CAP1.1
37 I CTS1 — Clear to Send input for UART1.
I CAP1.1 — Capture input for Timer 1, channel 1.
P0.12/DSR1/
MAT1.0
38 I DSR1 — Data Set Ready input for UART1.
O MAT1.0 — Match output for Timer 1, channel 0.
P0.13/DTR1/
MAT1.1
39 O DTR1 — Data Terminal Ready output for UART1.
O MAT1.1 — Match output for Timer 1, channel 1.
P0.14/DCD1/
EINT1
41 I DCD1 — Data Carrier Detect input for UART1.
I EINT1 — External interrupt 1 input.
Note: LOW on this pin while RESET is LOW forces on-chip bootloader to take
control of the part after reset.