LPC2104_2105_2106_7 © NXP B.V. 2008. All rights reserved.
Product data sheet Rev. 07 — 20 June 2008 7 of 41
NXP Semiconductors
LPC2104/2105/2106
Single-chip 32-bit microcontrollers
5.2 Pin description
Table 3. Pin description
Symbol Pin Type Description
P0.0 to P0.31 I/O Port 0: 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.
P0.0/TXD0/PWM1 13
[1]
I/O P0.0 — Port 0 bit 0.
O TXD0 — Transmitter output for UART 0.
O PWM1 — Pulse Width Modulator output 1.
P0.1/RXD0/PWM3 14
[1]
I/O P0.1 — Port 0 bit 1.
I RXD0 — Receiver input for UART 0.
O PWM3 — Pulse Width Modulator output 3.
P0.2/SCL/CAP0.0 18
[2]
I/O P0.2 — Port 0 bit 2. The output is open-drain.
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 21
[2]
I/O P0.3 — Port 0 bit 3. The output is open-drain.
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. The output is open-drain.
P0.4/SCK/CAP0.1 22
[1]
I/O P0.4 — Port 0 bit 4.
I/O SCK — Serial clock for SPI/SSP
[3]
. Clock output from master or input to slave.
I CAP0.1 — Capture input for Timer 0, channel 1.
P0.5/MISO/MAT0.1 23
[1]
I/O P0.5 — Port 0 bit 5.
I/O MISO — Master In Slave Out for SPI/SSP
[3]
. Data input to SPI/SSP master or
data output from SPI/SSP slave.
O MAT0.1 — Match output for Timer 0, channel 1.
P0.6/MOSI/CAP0.2 24
[1]
I/O P0.6 — Port 0 bit 6.
I/O MOSI — Master Out Slave In for SPI/SSP
[3]
. Data output from SPI/SSP master
or data input to SPI/SSP slave.
I CAP0.2 — Capture input for Timer 0, channel 2.
P0.7/SSEL/PWM2 28
[1]
I/O P0.7 — Port 0 bit 7.
I SSEL — Slave Select for SPI/SSP
[3]
. Selects the SPI/SSP interface as a slave.
O PWM2 — Pulse Width Modulator output 2.
P0.8/TXD1/PWM4 29
[1]
I/O P0.8 — Port 0 bit 8.
O TXD1 — Transmitter output for UART 1.
O PWM4 — Pulse Width Modulator output 4.
P0.9/RXD1/PWM6 30
[1]
I/O P0.9 — Port 0 bit 9.
I RXD1 — Receiver input for UART 1.
O PWM6 — Pulse Width Modulator output 6.
P0.10/RTS1/CAP1.0 35
[1]
I/O P0.10 — Port 0 bit 10.
O RTS1 — Request to Send output for UART 1.
I CAP1.0 — Capture input for Timer 1, channel 0.
LPC2104_2105_2106_7 © NXP B.V. 2008. All rights reserved.
Product data sheet Rev. 07 — 20 June 2008 8 of 41
NXP Semiconductors
LPC2104/2105/2106
Single-chip 32-bit microcontrollers
P0.11/CTS1/CAP1.1 36
[1]
I/O P0.11 — Port 0 bit 11.
I CTS1 — Clear to Send input for UART 1.
I CAP1.1 — Capture input for Timer 1, channel 1.
P0.12/DSR1/MAT1.0 37
[1]
I/O P0.12 — Port 0 bit 12.
I DSR1 — Data Set Ready input for UART 1.
O MAT1.0 — Match output for Timer 1, channel 0.
P0.13/DTR1/MAT1.1 41
[1]
I/O P0.13 — Port 0 bit 13.
O DTR1 — Data Terminal Ready output for UART 1.
O MAT1.1 — Match output for Timer 1, channel 1.
P0.14/DCD1/EINT1 44
[1]
I/O P0.14 — Port 0 bit 14.
I DCD1 — Data Carrier Detect input for UART 1.
I EINT1 — External interrupt 1 input.
P0.15/RI1/EINT2 45
[1]
I/O P0.15 — Port 0 bit 15.
I RI1 — Ring Indicator input for UART 1.
O EINT2 — External interrupt 2 input.
P0.16/EINT0/MAT0.2 46
[1]
I/O P0.16 — Port 0 bit 16.
I EINT0 — External interrupt 0 input.
O MAT0.2 — Match output for Timer 0, channel 2.
P0.17/CAP1.2/TRST 47
[1]
I/O P0.17 — Port 0 bit 17.
I CAP1.2 — Capture input for Timer 1, channel 2.
I TRST — Test Reset for JTAG interface, primary JTAG pin group.
P0.18/CAP1.3/TMS 48
[1]
I/O P0.18 — Port 0 bit 18.
I CAP1.3 — Capture input for Timer 1, channel 3.
I TMS — Test Mode Select for JTAG interface, primary JTAG pin group.
P0.19/MAT1.2/TCK 1
[1]
I/O P0.19 — Port 0 bit 19.
O MAT1.2 — Match output for Timer 1, channel 2.
I TCK — Test Clock for JTAG interface, primary JTAG pin group.
P0.20/MAT1.3/TDI 2
[1]
I/O P0.20 — Port 0 bit 20.
O MAT1.3 — Match output for Timer 1, channel 3.
I TDI — Test Data In for JTAG interface, primary JTAG pin group.
P0.21/PWM5/TDO 3
[1]
I/O P0.21 — Port 0 bit 21.
O PWM5 — Pulse Width Modulator output 5.
O TDO — Test Data Out for JTAG interface, primary JTAG pin group.
P0.22/TRACECLK 32
[4]
I/O P0.22 — Port 0 bit 22.
O TRACECLK — Trace Clock. Standard I/O port with internal pull-up.
P0.23/PIPESTAT0 33
[4]
I/O P0.23 — Port 0 bit 23.
O PIPESTAT0 — Pipeline Status, bit 0. Standard I/O port with internal pull-up.
P0.24/PIPESTAT1 34
[4]
I/O P0.24 — Port 0 bit 24.
O PIPESTAT1 — Pipeline Status, bit 1. Standard I/O port with internal pull-up.
P0.25/PIPESTAT2 38
[4]
I/O P0.25 — Port 0 bit 25.
O PIPESTAT2 — Pipeline Status, bit 2. Standard I/O port with internal pull-up.
Table 3. Pin description
…continued
Symbol Pin Type Description
LPC2104_2105_2106_7 © NXP B.V. 2008. All rights reserved.
Product data sheet Rev. 07 — 20 June 2008 9 of 41
NXP Semiconductors
LPC2104/2105/2106
Single-chip 32-bit microcontrollers
[1] 5 V tolerant pad providing digital I/O functions with TTL levels and hysteresis and 10 ns slew rate control.
[2] Open-drain 5 V tolerant digital I/O pad, compatible with I
2
C-bus 400 kHz specification. It requires external pull-up to provide an output
functionality. Open-drain configuration applies to all functions on this pin.
[3] SSP interface available on LPC2104/2105/2106/01 only.
[4] 5 V tolerant pad with built-in pull-up resistor providing digital I/O functions with TTL levels and hysteresis and 10 ns slew rate control.
The pull-up resistor’s value ranges from 60 k to 300 k.
[5] 5 V tolerant pad providing digital input (with TTL levels and hysteresis) function only.
P0.26/TRACESYNC 39
[4]
I/O P0.26 — Port 0 bit 26.
O TRACESYNC — Trace Synchronization Standard I/O port with internal pull-up.
P0.27/TRACEPKT0/
TRST
8
[4]
I/O P0.27 — Port 0 bit 27.
O TRACEPKT0 — Trace Packet, bit 0. Standard I/O port with internal pull-up.
I TRST — Test Reset for JTAG interface, secondary JTAG pin group.
P0.28/TRACEPKT1/
TMS
9
[4]
I/O P0.28 — Port 0 bit 28.
O TRACEPKT1 — Trace Packet, bit 1. Standard I/O port with internal pull-up.
I TMS — Test Mode Select for JTAG interface, secondary JTAG pin group.
P0.29/TRACEPKT2/
TCK
10
[4]
I/O P0.29 — Port 0 bit 29.
O TRACEPKT2 — Trace Packet, bit 2. Standard I/O port with internal pull-up.
I TCK — Test Clock for JTAG interface, secondary JTAG pin group. This clock
must be slower than 1/6 of the CPU clock (CCLK) for the JTAG interface to
operate.
P0.30/TRACEPKT3/
TDI
15
[4]
I/O P0.30 — Port 0 bit 30.
O TRACEPKT3 — Trace Packet, bit 3. Standard I/O port with internal pull-up.
I TDI — Test Data In for JTAG interface, secondary JTAG pin group.
P0.31/EXTIN0/TDO 16
[4]
I/O P0.31 — Port 0 bit 31.
I EXTIN0 — External Trigger Input. Standard I/O port with internal pull-up.
O TDO — Test Data out for JTAG interface, secondary JTAG pin group.
RTCK 26
[4]
I/O Returned Test Clock output: Extra signal added to the JTAG port. Assists
debugger synchronization when processor frequency varies. Also used during
debug mode entry to select primary or secondary JTAG pins with the 48-pin
package. Bidirectional pin with internal pull-up.
DBGSEL 27 I Debug Select: When LOW, the part operates normally. When HIGH, debug
mode is entered. Input pin with internal pull-down.
RESET 6
[5]
I external reset input; a LOW on this pin resets the device, causing I/O ports and
peripherals to take on their default states, and processor execution to begin at
address 0. TTL with hysteresis, 5 V tolerant.
XTAL1 11 I input to the oscillator circuit and internal clock generator circuits.
XTAL2 12 O output from the oscillator amplifier.
V
SS
7, 19,
31, 43
I ground: 0 V reference.
V
DD(1V8)
5 I 1.8 V core power supply; this is the power supply voltage for internal circuitry.
V
DD(3V3)
17, 40 I 3.3 V pad power supply; this is the power supply voltage for the I/O ports.
n.c. 4, 20,
25, 42
- not connected; these pins are not connected in the 48-pin package.
Table 3. Pin description
…continued
Symbol Pin Type Description

LPC2105FBD48/01,15

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
Microcontrollers - MCU ARM Microcontrollers - MCU 128K FL/32K RAM/2 UART/I2C/SPI
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union