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
100 of 313
9.1 How to read this chapter
The switch matrix is identical for all LPC800 parts. The USART2 and SPI1 functions are
only available on parts
LPC812M101FDH20 and LPC812M101FDH16 and the corresponding
switch matrix select bits are reserved for all other parts.
9.2 Features
•
Flexible assignment of digital peripheral functions to pins
•
Enable/disable of analog functions
9.3 Basic configuration
Once configured, no clocks are needed for the switch matrix to function. The system clock
is needed only to write to or read from the pin assignment registers. After the switch matrix
is configured, disable the clock to the switch matrix block in the SYSAHBCLKCTRL
register.
Before activating a peripheral or enabling its interrupt, use the switch matrix to connect the
peripheral to external pins.
The boot loader assigns the SWD functions to pins PIO0_2 and PIO0_3. If the user code
disables the SWD functions through the switch matrix to use the pins for other functions,
the SWD port is disabled.
Remark:
For the purpose of programming the pin functions through the switch matrix,
every pin except the power and ground pins is identified in a package-independent way by
its GPIO port pin number.
UM10601
Chapter 9: LPC800 Switch matrix
Rev. 1.0 — 7 November 2012
Preliminary user manual