LPC2104_2105_2106_7 © NXP B.V. 2008. All rights reserved.
Product data sheet Rev. 07 — 20 June 2008 13 of 41
NXP Semiconductors
LPC2104/2105/2106
Single-chip 32-bit microcontrollers
[1] Available on LPC2104/2105/2106/01 only.
6.6 Pin connect block
The pin connect block allows selected pins of the microcontroller to have more than one
function. Configuration registers control the multiplexers to allow connection between the
pin and the on chip peripherals. Peripherals should be connected to the appropriate pins
prior to being activated, and prior to any related interrupt(s) being enabled. Activity of any
enabled peripheral function that is not mapped to a related pin should be considered
undefined.
The Pin Control Module contains two registers as shown in Table 5.
6.7 Pin function select register 0 (PINSEL0 - 0xE002 C000)
The PINSEL0 register controls the functions of the pins as per the settings listed in
Table 6. The direction control bit in the IODIR register is effective only when the GPIO
function is selected for a pin. For other functions, direction is controlled automatically.
Settings other than those shown in Table 6 are reserved, and should not be used
UART 1 Rx Line Status (RLS)
Transmit Holding Register empty (THRE)
Rx Data Available (RDA)
Character Time-out Indicator (CTI)
Modem Status Interrupt (MSI)
Auto-Baud Time-Out (ABTO)
[1]
End of Auto-Baud (ABEO)
[1]
7
PWM0 Match 0 to 6 (MR0, MR1, MR2, MR3, MR4, MR5, MR6) 8
I
2
C-bus SI (state change) 9
SPI and SSP
[1]
SPIF, MODF (SPI)
TXRIS, RXRIS, RTRIS, RORRIS (SSP)
[1]
10
- reserved 11
PLL PLL Lock (PLOCK) 12
RTC RTCCIF (Counter Increment), RTCALF (Alarm) 13
System Control External Interrupt 0 (EINT0) 14
System Control External Interrupt 1 (EINT1) 15
System Control External Interrupt 2 (EINT2) 16
Table 4. Interrupt sources
…continued
Block Flag(s) VIC channel #
Table 5. Pin control module registers
Address Name Description Access
0xE002 C000 PINSEL0 Pin function select register 0 Read/Write
0xE002 C004 PINSEL1 Pin function select register 1 Read/Write
LPC2104_2105_2106_7 © NXP B.V. 2008. All rights reserved.
Product data sheet Rev. 07 — 20 June 2008 14 of 41
NXP Semiconductors
LPC2104/2105/2106
Single-chip 32-bit microcontrollers
Table 6. Pin function select register 0 (PINSEL0 - 0xE002 C000)
PINSEL0 Pin name Value Function Value after reset
1:0 P0.0 0 0 GPIO Port 0.0 0
0 1 TXD (UART 0)
1 0 PWM1
3:2 P0.1 0 0 GPIO Port 0.1 0
0 1 RXD (UART 0)
1 0 PWM3
5:4 P0.2 0 0 GPIO Port 0.2 0
0 1 SCL (I
2
C-bus)
1 0 Capture 0.0 (Timer 0)
7:6 P0.3 0 0 GPIO Port 0.3 0
01SDA (I
2
C-bus)
1 0 Match 0.0 (Timer 0)
9:8 P0.4 0 0 GPIO Port 0.4 0
0 1 SCK (SPI/SSP)
1 0 Capture 0.1 (Timer 0)
11:10 P0.5 0 0 GPIO Port 0.5 0
0 1 MISO (SPI/SSP)
1 0 Match 0.1 (Timer 0)
13:12 P0.6 0 0 GPIO Port 0.6 0
0 1 MOSI (SPI/SSP)
1 0 Capture 0.2 (Timer 0)
15:14 P0.7 0 0 GPIO Port 0.7 0
0 1 SSEL (SPI/SSP)
1 0 PWM2
17:16 P0.8 0 0 GPIO Port 0.8 0
0 1 TXD (UART 1)
1 0 PWM4
19:18 P0.9 0 0 GPIO Port 0.9 0
0 1 RXD (UART 1)
1 0 PWM6
21:20 P0.10 0 0 GPIO Port 0.10 0
0 1 RTS (UART 1)
1 0 Capture 1.0 (Timer 1)
23:22 P0.11 0 0 GPIO Port 0.11 0
0 1 CTS (UART 1)
1 0 Capture 1.1 (Timer 1)
25:24 P0.12 0 0 GPIO Port 0.12 0
0 1 DSR (UART 1)
1 0 Match 1.0 (Timer 1)
LPC2104_2105_2106_7 © NXP B.V. 2008. All rights reserved.
Product data sheet Rev. 07 — 20 June 2008 15 of 41
NXP Semiconductors
LPC2104/2105/2106
Single-chip 32-bit microcontrollers
6.8 Pin function select register 1 (PINSEL1 - 0xE002 C004)
The PINSEL1 register controls the functions of the pins as per the settings listed in
Table 7. The direction control bit in the IODIR register is effective only when the GPIO
function is selected for a pin. For other functions direction is controlled automatically.
Remark: The primary JTAG port and the trace port can be selected only through the
DBGSEL pin at reset (Debug mode). Function control for the pins P0[31:17] is effective
only when the DBGSEL input is pulled LOW during reset.
27:26 P0.13 0 0 GPIO Port 0.13 0
0 1 DTR (UART 1)
1 0 Match 1.1 (Timer 1)
29:28 P0.14 0 0 GPIO Port 0.14 0
0 1 DCD (UART 1)
1 0 EINT1
31:30 P0.15 0 0 GPIO Port 0.15 0
0 1 RI (UART 1)
1 0 EINT2
Table 6. Pin function select register 0 (PINSEL0 - 0xE002 C000)
…continued
PINSEL0 Pin name Value Function Value after reset
Table 7. Pin function select register 1 (PINSEL1 - 0xE002 C004)
PINSEL1 Pin name Value Function Value after
reset
1:0 P0.16 0 0 GPIO Port 0.16 0
0 1 EINT0
1 0 Match 0.2 (Timer 0)
3:2 P0.17 0 0 GPIO Port 0.17 0
0 1 Capture 1.2 (Timer 1)
5:4 P0.18 0 0 GPIO Port 0.18 0
0 1 Capture 1.3 (Timer 1)
7:6 P0.19 0 0 GPIO Port 0.19 0
0 1 Match 1.2 (Timer 1)
9:8 P0.20 0 0 GPIO Port 0.20 0
0 1 Match 1.3 (Timer 1)
11:10 P0.21 0 0 GPIO Port 0.21 0
0 1 PWM5
13:12 P0.22 0 0 GPIO Port 0.22 0
15:14 P0.23 0 0 GPIO Port 0.23 0
17:16 P0.24 0 0 GPIO Port 0.24 0
19:18 P0.25 0 0 GPIO Port 0.25 0
21:20 P0.26 0 0 GPIO Port 0.26 0
23:22 P0.27 0 0 GPIO Port 0.27 0
0 1 TRST

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