UM10429
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2010. All rights reserved.
User manual
Rev. 1 — 20 October 2010
253 of 258
NXP Semiconductors
UM10429
Chapter 20: LPC1102 Supplementary information
10.5.13.1.2 Example 2: UART_PCLK = 12 MHz, BR =
115200 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
UART Transmit Enable Register . . . . . . . . . . 85
UART RS485 Control register . . . . . . . . . . . . 86
UART RS-485 Address Match register
(U0RS485ADRMATCH - 0x4000 8050) . . . . . 87
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Chapter 11: LPC1102 SPI0 with SSP
How to read this chapter . . . . . . . . . . . . . . . . . 90
Basic configuration . . . . . . . . . . . . . . . . . . . . . 90
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
General description . . . . . . . . . . . . . . . . . . . . . 90
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 91
Register description . . . . . . . . . . . . . . . . . . . . 91
SPI/SSP Control Register 0 . . . . . . . . . . . . . . 92
SPI/SSP0 Control Register 1 . . . . . . . . . . . . . 93
SPI/SSP Data Register . . . . . . . . . . . . . . . . . 94
SPI/SSP Status Register . . . . . . . . . . . . . . . . 94
SPI/SSP Clock Prescale Register . . . . . . . . . 95
SPI/SSP Raw Interrupt Status Register . . . . . 96
SPI/SSP Masked Interrupt Status Register . . 96
Interrupt Clear Register . . . . . . . . . 97
Functional description . . . . . . . . . . . . . . . . . . 97
format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
SPI frame format . . . . . . . . . . . . . . . . . . . . . . 98
11.7.2.1 Clock Polarity (CPOL) and Phase (CPHA)
control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
11.7.2.2 SPI format with CPOL=0,CPHA=0. . . . . . . . . 99
11.7.2.3 SPI format with CPOL=0,CPHA=1. . . . . . . . 100
11.7.2.4 SPI format with CPOL = 1,CPHA = 0. . . . . . 100
11.7.2.5 SPI format with CPOL = 1,CPHA = 1. . . . . . 102
11.7.3
Semiconductor Microwire frame format . . . . 102
11.7.3.1 Setup and hold time requirements on CS with
respect to SK in Microwire mode . . . . . . . . . 104
Chapter 12: LPC1102 16-bit counter/timers (CT16B0/1)
How to read this chapter . . . . . . . . . . . . . . . . 105
Basic configuration . . . . . . . . . . . . . . . . . . . . 105
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 106
Register description . . . . . . . . . . . . . . . . . . . 106
Interrupt Register (TMR16B0IR and
TMR16B1IR). . . . . . . . . . . . . . . . . . . . . . . . . 108
Timer Control Register (TMR16B0TCR and
TMR16B1TCR) . . . . . . . . . . . . . . . . . . . . . . . 108
Timer Counter register . . . . . . . . . . . . . . . . . 108
Prescale Register . . . . . . . . . . . . . . . . . . . . 109
. . . . . . . . . . . . . . 109
Match Control Register . . . . . . . . . . . . . . . . 109
Match Registers 0 to 3 . . . . . . . . . . . . . . . . . . 111
External Match Register. . . . . . . . . . . . . . . . . 111
PWM Control register (TMR16B0PWMC and
TMR16B1PWMC) . . . . . . . . . . . . . . . . . . . . . 113
Example timer operation . . . . . . . . . . . . . . . . 115
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Chapter 13: LPC11102 32-bit counter/timers (CT32B0/1)
How to read this chapter . . . . . . . . . . . . . . . . 117
Basic configuration . . . . . . . . . . . . . . . . . . . . 117
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 118
Register description . . . . . . . . . . . . . . . . . . . 118
Interrupt Register (TMR32B0IR and
TMR32B1IR). . . . . . . . . . . . . . . . . . . . . . . . . 120
Timer Control Register (TMR32B0TCR and
TMR32B1TCR) . . . . . . . . . . . . . . . . . . . . . . . 121
0x4001 4008 and TMR32B1TC - address
0x4001 8008) . . . . . . . . . . . . . . . . . . . . . . . . 121
Match Control Register (TMR32B0MCR and
TMR32B1MCR) . . . . . . . . . . . . . . . . . . . . . . 122
Match Registers (TMR32B0MR0/1/2/3 and
TMR32B1MR0/1/2/3) . . . . . . . . . . . . . . . . . . 123
Capture Control Register (TMR32B1CCR) . 123
External Match Register (TMR32B0EMR and
TMR32B1EMR) . . . . . . . . . . . . . . . . . . . . . . 124
Count Control Register (TMR32B0CTCR and
TMR32B1TCR) . . . . . . . . . . . . . . . . . . . . . . 126