DRAFT
DRAFT DRAFT DR
DRAFT DRAFT DRAFT
D
RAF
DRAFT DRAFT DRA
FT D
RAFT DR
AFT D
DRA
FT DRAFT DRAFT
D
RAFT
DRAFT
D
RAFT
DRA
UM10601
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Preliminary user manual
Rev. 1.0 — 7 November 2012
101 of 313
NXP Semiconductors
UM10601
Chapter 9: LPC800 Switch matrix
9.3.1 Connect an internal signal to a package pin
The switch matrix connects all internal signals listed in the table of movable functions
through the pin assignment registers to external pins on the package. External pins are
identified by their default GPIO pin number PIO0_n. Follow these steps to connect an
internal signal FUNC to an external pin. An example of a movable function is the UART
transmit signal TXD:
1. Find the function FUNC in the list of movable function in
or in the data sheet.
2. Use the LPC800 data sheet to decide which pin x on the LPC800 package to connect
FUNC to.
3. Use the pin description table to find the default GPIO function PIO0_n assigned to
package pin x. m is the pin number.
4. Locate the pin assignment register for the function FUNC in the switch matrix register
description.
5. Disable any special functions on pin PIO0_n in the PINENABLE0 register.
6. Program the pin number n into the bits assigned to FUNC.
FUNC is now connected to pin x on the package.
9.3.2 Enable an analog input or other special function
The switch matrix enables functions that can only be assigned to one pin. Examples are
analog inputs, all GPIO pins, and the debug SWD pins.
A pin is identified for the purpose of programming the switch matrix by its default GPIO port pin.
Fig 7.
Example: Connect function U0_RXD and U0_TXD to pins 8 and 14 on the SO20 package
/3&
62
3,2B
3,2B
3,2B
3,2B$&03B,7'2
3,2B
3,2B9''&03
5(6(73,2B
3,2B
3,2B:$.(837567
9
66
6:&/.3,2B7&.
9
''
6:',23,2B706
3,2B;7$/,1
3,2B
3,2B;7$/287
3,2B
3,2B$&03B&/.,17',
3,2B
3,2B
3,2B!
SLQQXPEHU
GLVDEOH;7$/,1
3,1(1$%/(ELW
DVVLJQ)81& 8B7;'
3,1$66,*1ELWV [
IXQFWLRQ8B7;'
DVVLJQHGWR62SDFNDJH
SLQ
3,2B!
SLQQXPEHU
DVVLJQ)81& 8B5;'
3,1$66,*1ELWV [
IXQFWLRQ8B5;'
DVVLJQHGWR62SDFNDJH
SLQ