Microcontrollers User manual

UM10237_2 © NXP B.V. 2008. All rights reserved.
User manual Rev. 02 — 19 December 2008 176 of 792
1. How to read this chapter
The LPC2400 parts have different pin configurations depending on the number of pins.
See Table 9–126
for the PINSEL registers needed to configure the different LPC2400
parts:
Only LPC2470 and LPC2478 have an LCD controller.
LPC2420/60 and LPC2470 are flashless and requite boot pins (see Table 9–138).
LPC2458 has an 16-bit external memory controller, LPC2460/68/70/78 have 32-bit
external memory controller.
All parts can have ETM functions enabled or disabled.
Ethernet and CAN interface are not available on LPC2420.
2. Description
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.
Selecting a single function on a port pin completely excludes all other functions otherwise
available on the same pin.
UM10237
Chapter 9: LPC24XX Pin connect
Rev. 02 — 19 December 2008 User manual
Table 126. LPC2400 PINSEL register use
PINSEL
register
LPC2458 Functions
not
available
LPC2420 Functions
not
available
LPC2460/68 Functions
not
available
LPC2470/78 Functions
not
available
PINSEL0 Table 9–130
- Table 9–130 CAN Table 9–130 - Table 9–130 -
PINSEL1 Table 9–131
- Table 9–131 Table 9–131 - Table 9–131 -
PINSEL2 Table 9–132
LCD Table 9–132 Ethernet,
LCD
Table 9–132 LCD Table 9–132 -
PINSEL3 Table 9–133
LCD Table 9–133 LCD Table 9–133 LCD Table 9–133 -
PINSEL4 Table 9–134
LCD Table 9–135 CAN, LCD Table 9–135 LCD Table 9–135 -
PINSEL5 Table 9–136
- Table 9–137 - Table 9–137 - Table 9–137 -
PINSEL6 Table 9–138
- Table 9–138 - Table 9–138 - Table 9–138 -
PINSEL7 Table 9–139
- Table 9–140 - Table 9–140 - Table 9–140 -
PINSEL8 - - Table 9–141
- Table 9–141 - Table 9–141 -
PINSEL9 Table 9–142
LCD Table 9–143 LCD Table 9–143 LCD Table 9–143 -
PINSEL10 Table 9–144
- Table 9–144 - Table 9–144 - Table 9–144 -
PINSEL11 - - - - - - Table 9–145
-