
UM10375
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
User manual
Rev. 3 — 14 June 2011
362 of 368
NXP Semiconductors
UM10375
Chapter 23: LPC13xx Supplementary information
A/D-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Open-drain Mode . . . . . . . . . . . . . . . . . . . . . . 87
C mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Register description . . . . . . . . . . . . . . . . . . . . 87
IOCON_PIO2_6 . . . . . . . . . . . . . . . . . . . . . . . 90
IOCON_PIO2_0 . . . . . . . . . . . . . . . . . . . . . . . 91
IOCON_nRESET_PIO0_0 . . . . . . . . . . . . . . . 92
IOCON_PIO0_1 . . . . . . . . . . . . . . . . . . . . . . . 92
IOCON_PIO1_8 . . . . . . . . . . . . . . . . . . . . . . . 93
IOCON_PIO0_2 . . . . . . . . . . . . . . . . . . . . . . . 93
IOCON_PIO2_7 . . . . . . . . . . . . . . . . . . . . . . . 94
IOCON_PIO2_8 . . . . . . . . . . . . . . . . . . . . . . . 94
IOCON_PIO2_1 . . . . . . . . . . . . . . . . . . . . . . . 95
IOCON_PIO0_3 . . . . . . . . . . . . . . . . . . . . . . . 96
IOCON_PIO0_4 . . . . . . . . . . . . . . . . . . . . . . . 96
IOCON_PIO0_5 . . . . . . . . . . . . . . . . . . . . . . . 97
IOCON_PIO1_9 . . . . . . . . . . . . . . . . . . . . . . . 97
IOCON_PIO3_4 . . . . . . . . . . . . . . . . . . . . . . . 98
IOCON_PIO2_4 . . . . . . . . . . . . . . . . . . . . . . . 98
IOCON_PIO2_5 . . . . . . . . . . . . . . . . . . . . . . . 99
IOCON_PIO3_5 . . . . . . . . . . . . . . . . . . . . . . . 99
IOCON_PIO0_6 . . . . . . . . . . . . . . . . . . . . . . 100
IOCON_PIO0_7 . . . . . . . . . . . . . . . . . . . . . . 100
IOCON_PIO2_9 . . . . . . . . . . . . . . . . . . . . . . 101
IOCON_PIO2_10 . . . . . . . . . . . . . . . . . . . . . 101
IOCON_PIO2_2 . . . . . . . . . . . . . . . . . . . . . . 102
IOCON_PIO0_8 . . . . . . . . . . . . . . . . . . . . . . 102
IOCON_PIO0_9 . . . . . . . . . . . . . . . . . . . . . . 103
IOCON_SWCLK_PIOO_10 . . . . . . . . . . . . . 104
IOCON_PIO1_10 . . . . . . . . . . . . . . . . . . . . . 104
IOCON_PIO2_11 . . . . . . . . . . . . . . . . . . . . . 105
IOCON_R_PIO0_11. . . . . . . . . . . . . . . . . . . 106
IOCON_R_PIO1_0 . . . . . . . . . . . . . . . . . . . 106
IOCON_R_PIO1_1 . . . . . . . . . . . . . . . . . . . 107
IOCON_R_PIO1_2 . . . . . . . . . . . . . . . . . . . 108
IOCON_PIO3_0 . . . . . . . . . . . . . . . . . . . . . . 109
IOCON_PIO3_1 . . . . . . . . . . . . . . . . . . . . . . 109
IOCON_PIO2_3 . . . . . . . . . . . . . . . . . . . . . . . 110
IOCON_SWDIO_PIO1_3. . . . . . . . . . . . . . . . 110
IOCON_PIO1_4 . . . . . . . . . . . . . . . . . . . . . . . 111
IOCON_PIO1_11 . . . . . . . . . . . . . . . . . . . . . . 112
IOCON_PIO3_2 . . . . . . . . . . . . . . . . . . . . . . . 113
IOCON_PIO1_5 . . . . . . . . . . . . . . . . . . . . . . . 113
IOCON_PIO1_6 . . . . . . . . . . . . . . . . . . . . . . . 114
IOCON_PIO1_7 . . . . . . . . . . . . . . . . . . . . . . . 114
IOCON_PIO_3_3 . . . . . . . . . . . . . . . . . . . . . . 115
IOCON_SCK0_LOC . . . . . . . . . . . . . . . . . . . 116
IOCON_DSR_LOC . . . . . . . . . . . . . . . . . . . . 116
IOCON_DCD_LOC . . . . . . . . . . . . . . . . . . . . 116
IOCON_RI_LOC . . . . . . . . . . . . . . . . . . . . . . 117
Chapter 8: LPC13xx Pin configuration
How to read this chapter . . . . . . . . . . . . . . . . 118
LPC134x pin configuration . . . . . . . . . . . . . . 119
LPC131x pin configuration . . . . . . . . . . . . . . 121
Pin description . . . . . . . . . . . . . . . . . . . . . . . 122
LQFP48 packages . . . . . . . . . . . . . . . . . . . . 123
HVQFN33 packages . . . . . . . . . . . . . . . . . . 127
Chapter 9: LPC13xx General Purpose I/O (GPIO)
How to read this chapter . . . . . . . . . . . . . . . . 130
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 130
Register description . . . . . . . . . . . . . . . . . . . 131
GPIO data register . . . . . . . . . . . . . . . . . . . . 131
GPIO data direction register . . . . . . . . . . . . . 132
GPIO interrupt sense register . . . . . . . . . . . . 132
GPIO interrupt both edges sense register . . 133
GPIO interrupt event register . . . . . . . . . . . . 133
GPIO interrupt mask register . . . . . . . . . . . . 133
GPIO raw interrupt status register . . . . . . . . 133
GPIO masked interrupt status register. . . . . 134
GPIO interrupt clear register . . . . . . . . . . . . 134
Functional description . . . . . . . . . . . . . . . . . 135
Chapter 10: LPC13xx USB device controller
How to read this chapter . . . . . . . . . . . . . . . . 136
Basic configuration . . . . . . . . . . . . . . . . . . . . 136
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Fixed endpoint configuration . . . . . . . . . . . . 137
General description . . . . . . . . . . . . . . . . . . . . 138
Analog transceiver . . . . . . . . . . . . . . . . . . . . 138
Serial Interface Engine (SIE) . . . . . . . . . . . . 138
Endpoint RAM (EP_RAM) . . . . . . . . . . . . . . 138
EP_RAM access control . . . . . . . . . . . . . . . . 138
Register interface . . . . . . . . . . . . . . . . . . . . . 139
SoftConnect . . . . . . . . . . . . . . . . . . . . . . . . . 139
Operational overview . . . . . . . . . . . . . . . . . . 139
Pin description . . . . . . . . . . . . . . . . . . . . . . . 140
Clocking and power control . . . . . . . . . . . . . 140
Power requirements . . . . . . . . . . . . . . . . . . . 140
Clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Power management support . . . . . . . . . . . . 141
Remote wake-up . . . . . . . . . . . . . . . . . . . . . 142
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Register description . . . . . . . . . . . . . . . . . . . 142
Device interrupt registers . . . . . . . . . . . . . . . 143