LPC2131_32_34_36_38 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet Rev. 5.1 — 29 July 2011 10 of 45
NXP Semiconductors
LPC2131/32/34/36/38
Single-chip 16/32-bit microcontrollers
P0.11/CTS1/
CAP1.1/SCL1
37
[3]
I CTS1 — Clear to Send input for UART1. Available in LPC2134/36/38.
I CAP1.1 — Capture input for Timer 1, channel 1.
I/O SCL1 — I
2
C1 clock input/output. Open drain output (for I
2
C-bus compliance)
P0.12/DSR1/
MAT1.0/AD1.3
38
[4]
I DSR1 — Data Set Ready input for UART1. Available in LPC2134/36/38.
O MAT1.0 — Match output for Timer 1, channel 0.
I AD1.3 — ADC 1, input 3. This analog input is always connected to its pin. Available in
LPC2134/36/38 only.
P0.13/DTR1/
MAT1.1/AD1.4
39
[4]
O DTR1 — Data Terminal Ready output for UART1. Available in LPC2134/36/38.
O MAT1.1 — Match output for Timer 1, channel 1.
I AD1.4 — ADC 1, input 4. This analog input is always connected to its pin. Available in
LPC2134/36/38 only.
P0.14/DCD1/
EINT1/SDA1
41
[3]
I DCD1 — Data Carrier Detect input for UART1. Available in LPC2134/36/38.
I EINT1 — External interrupt 1 input.
I/O SDA1 — I
2
C1 data input/output. Open drain output (for I
2
C-bus compliance).
P0.15/RI1/
EINT2/AD1.5
45
[4]
I RI1 — Ring Indicator input for UART1. Available in LPC2134/36/38.
I EINT2 — External interrupt 2 input.
I AD1.5 — ADC 1, input 5. This analog input is always connected to its pin. Available in
LPC2134/36/38 only.
P0.16/EINT0/
MAT0.2/CAP0.2
46
[2]
I EINT0 — External interrupt 0 input.
O MAT0.2 — Match output for Timer 0, channel 2.
I CAP0.2 — Capture input for Timer 0, channel 2.
P0.17/CAP1.2/
SCK1/MAT1.2
47
[1]
I CAP1.2 — Capture input for Timer 1, channel 2.
I/O SCK1 — Serial Clock for SSP. Clock output from master or input to slave.
O MAT1.2 — Match output for Timer 1, channel 2.
P0.18/CAP1.3/
MISO1/MAT1.3
53
[1]
I CAP1.3 — Capture input for Timer 1, channel 3.
I/O MISO1 — Master In Slave Out for SSP. Data input to SPI master or data output from
SSP slave.
O MAT1.3 — Match output for Timer 1, channel 3.
P0.19/MAT1.2/
MOSI1/CAP1.2
54
[1]
O MAT1.2 — Match output for Timer 1, channel 2.
I/O MOSI1 — Master Out Slave In for SSP. Data output from SSP master or data input to
SSP slave.
I CAP1.2 — Capture input for Timer 1, channel 2.
P0.20/MAT1.3/
SSEL1/EINT3
55
[2]
O MAT1.3 — Match output for Timer 1, channel 3.
I SSEL1 — Slave Select for SSP. Selects the SSP interface as a slave.
I EINT3 — External interrupt 3 input.
P0.21/PWM5/
AD1.6/CAP1.3
1
[4]
O PWM5 — Pulse Width Modulator output 5.
I AD1.6 — ADC 1, input 6. This analog input is always connected to its pin. Available in
LPC2134/36/38 only.
I CAP1.3 — Capture input for Timer 1, channel 3.
P0.22/AD1.7/
CAP0.0/MAT0.0
2
[4]
I AD1.7 — ADC 1, input 7. This analog input is always connected to its pin. Available in
LPC2134/36/38 only.
I CAP0.0 — Capture input for Timer 0, channel 0.
O MAT0.0 — Match output for Timer 0, channel 0.
Table 3. Pin description
…continued
Symbol Pin Type Description
LPC2131_32_34_36_38 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet Rev. 5.1 — 29 July 2011 11 of 45
NXP Semiconductors
LPC2131/32/34/36/38
Single-chip 16/32-bit microcontrollers
P0.23 58
[1]
I/O General purpose digital input/output pin.
P0.25/AD0.4/
AOUT
9
[5]
I AD0.4 — ADC 0, input 4. This analog input is always connected to its pin.
O AOUT — DAC output. Not available in LPC2131.
P0.26/AD0.5 10
[4]
I AD0.5 — ADC 0, input 5. This analog input is always connected to its pin.
P0.27/AD0.0/
CAP0.1/MAT0.1
11
[4]
I AD0.0 — ADC 0, input 0. This analog input is always connected to its pin.
I CAP0.1 — Capture input for Timer 0, channel 1.
O MAT0.1 — Match output for Timer 0, channel 1.
P0.28/AD0.1/
CAP0.2/MAT0.2
13
[4]
I AD0.1 — ADC 0, input 1. This analog input is always connected to its pin.
I CAP0.2 — Capture input for Timer 0, channel 2.
O MAT0.2 — Match output for Timer 0, channel 2.
P0.29/AD0.2/
CAP0.3/MAT0.3
14
[4]
I AD0.2 — ADC 0, input 2. This analog input is always connected to its pin.
I CAP0.3 — Capture input for Timer 0, channel 3.
O MAT0.3 — Match output for Timer 0, channel 3.
P0.30/AD0.3/
EINT3/CAP0.0
15
[4]
I AD0.3 — ADC 0, input 3. This analog input is always connected to its pin.
I EINT3 — External interrupt 3 input.
I CAP0.0 — Capture input for Timer 0, channel 0.
P0.31 17
[6]
O General purpose digital output only pin.
Important: This pin MUST NOT be externally pulled LOW when RESET pin is LOW or
the JTAG port will be disabled.
P1.0 to P1.31 I/O Port 1: Port 1 is a 32-bit bidirectional I/O port with individual direction controls for each
bit. The operation of port 1 pins depends upon the pin function selected via the pin
connect block. Pins 0 through 15 of port 1 are not available.
P1.16/
TRACEPKT0
16
[6]
O TRACEPKT0 — Trace Packet, bit 0. Standard I/O port with internal pull-up.
P1.17/
TRACEPKT1
12
[6]
O TRACEPKT1 — Trace Packet, bit 1. Standard I/O port with internal pull-up.
P1.18/
TRACEPKT2
8
[6]
O TRACEPKT2 — Trace Packet, bit 2. Standard I/O port with internal pull-up.
P1.19/
TRACEPKT3
4
[6]
O TRACEPKT3 — Trace Packet, bit 3. Standard I/O port with internal pull-up.
P1.20/
TRACESYNC
48
[6]
O TRACESYNC — Trace Synchronization. Standard I/O port with internal pull-up. LOW
on TRACESYNC while RESET
is LOW enables pins P1.25:16 to operate as Trace port
after reset.
P1.21/
PIPESTAT0
44
[6]
O PIPESTAT0 — Pipeline Status, bit 0. Standard I/O port with internal pull-up.
P1.22/
PIPESTAT1
40
[6]
O PIPESTAT1 — Pipeline Status, bit 1. Standard I/O port with internal pull-up.
P1.23/
PIPESTAT2
36
[6]
O PIPESTAT2 — Pipeline Status, bit 2. Standard I/O port with internal pull-up.
P1.24/
TRACECLK
32
[6]
O TRACECLK — Trace Clock. Standard I/O port with internal pull-up.
P1.25/EXTIN0 28
[6]
I EXTIN0 — External Trigger Input. Standard I/O with internal pull-up.
Table 3. Pin description …continued
Symbol Pin Type Description
LPC2131_32_34_36_38 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet Rev. 5.1 — 29 July 2011 12 of 45
NXP Semiconductors
LPC2131/32/34/36/38
Single-chip 16/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] 5 V tolerant pad providing digital I/O functions with TTL levels and hysteresis and 10 ns slew rate control. If configured for an input
function, this pad utilizes built-in glitch filter that blocks pulses shorter than 3 ns.
[3] Open drain 5 V tolerant digital I/O I
2
C-bus 400 kHz specification compatible pad. It requires external pull-up to provide an output
functionality.
[4] 5 V tolerant pad providing digital I/O (with TTL levels and hysteresis and 10 ns slew rate control) and analog input function. If configured
for an input function, this pad utilizes built-in glitch filter that blocks pulses shorter than 3 ns. When configured as an ADC input, digital
section of the pad is disabled.
[5] 5 V tolerant pad providing digital I/O (with TTL levels and hysteresis and 10 ns slew rate control) and analog output function. When
configured as the DAC output, digital section of the pad is disabled.
[6] 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.
[7] 5 V tolerant pad providing digital input (with TTL levels and hysteresis) function only.
[8] Pad provides special analog functionality.
[9] When unused, the RTCX1 pin can be grounded or left floating. For lowest power leave it floating.
The other RTC pin, RTCX2, should be left floating.
P1.26/RTCK 24
[6]
I/O RTCK — Returned Test Clock output. Extra signal added to the JTAG port. Assists
debugger synchronization when processor frequency varies. Bidirectional pin with
internal pull-up. LOW on RTCK while RESET
is LOW enables pins P1.31:26 to operate
as Debug port after reset.
P1.27/TDO 64
[6]
O TDO — Test Data out for JTAG interface.
P1.28/TDI 60
[6]
I TDI — Test Data in for JTAG interface.
P1.29/TCK 56
[6]
I TCK — Test Clock for JTAG interface.
P1.30/TMS 52
[6]
I TMS — Test Mode Select for JTAG interface.
P1.31/TRST
20
[6]
I TRSTTest Reset for JTAG interface.
RESET
57
[7]
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 62
[8]
I Input to the oscillator circuit and internal clock generator circuits.
XTAL2 61
[8]
O Output from the oscillator amplifier.
RTCX1 3
[9]
I Input to the RTC oscillator circuit.
RTCX2 5
[9]
O Output from the RTC oscillator circuit.
V
SS
6, 18,
25, 42,
50
I Ground: 0 V reference.
V
SSA
59 I Analog ground: 0 V reference. This should nominally be the same voltage as V
SS
, but
should be isolated to minimize noise and error.
V
DD
23, 43,
51
I 3.3 V power supply: This is the power supply voltage for the core and I/O ports.
V
DDA
7IAnalog 3.3 V power supply: This should be nominally the same voltage as V
DD
but
should be isolated to minimize noise and error. This voltage is used to power the
on-chip PLL.
VREF 63 I ADC reference: This should be nominally the same voltage as V
DD
but should be
isolated to minimize noise and error. Level on this pin is used as a reference for A/D
and D/A convertor(s).
VBAT 49 I RTC power supply: 3.3 V on this pin supplies the power to the RTC.
Table 3. Pin description
…continued
Symbol Pin Type Description

LPC2131FBD64,151

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC MCU 32BIT 32KB FLASH 64LQFP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union