UM10462
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 5.5 — 21 December 2016
517 of 523
NXP Semiconductors
UM10462
Chapter 25: Supplementary information
USART FIFO Control Register (Write Only) . 248
USART Line Control Register. . . . . . . . . . . . 249
USART Modem Control Register . . . . . . . . . 250
12.5.8.1 Auto-flow control . . . . . . . . . . . . . . . . . . . . . . 251
12.5.8.1.1 Auto-RTS . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
12.5.8.1.2 Auto-CTS . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
12.5.9
USART Line Status Register (Read-Only) . . 253
USART Modem Status Register . . . . . . . . . 255
USART Scratch Pad Register . . . . . . . . . . . 255
USART Auto-baud Control Register . . . . . . 256
12.5.12.1 Auto-baud . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
12.5.12.2 Auto-baud modes . . . . . . . . . . . . . . . . . . . . . 257
12.5.13
IrDA Control Register . . . . . . . . . . . . . . . . . 258
USART Fractional Divider Register . . . . . . . 260
12.5.14.1 Baud rate calculation . . . . . . . . . . . . . . . . . . 261
12.5.14.1.1 Example 1: UART_PCLK = 14.7456 MHz, BR =
9600 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
12.5.14.1.2 Example 2: UART_PCLK = 12.0 MHz, BR =
115200 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
USART Oversampling Register . . . . . . . . . . 263
USART Transmit Enable Register . . . . . . . 264
UART Half-duplex enable register . . . . . . . . 265
Smart Card Interface Control register . . . . . 265
USART RS485 Control register . . . . . . . . . 266
USART RS-485 Address Match register . . . 267
USART RS-485 Delay value register . . . . . . 267
USART Synchronous mode control register 268
Functional description . . . . . . . . . . . . . . . . . 270
RS-485/EIA-485 modes of operation . . . . . . 270
RS-485/EIA-485 Normal Multidrop Mode . . . 270
RS-485/EIA-485 Auto Address Detection (AAD)
mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
RS-485/EIA-485 Auto Direction Control. . . . . 271
RS485/EIA-485 driver delay time. . . . . . . . . . 271
RS485/EIA-485 output inversion . . . . . . . . . . 271
Smart card mode . . . . . . . . . . . . . . . . . . . . . 271
12.6.2.1 Smart card set-up procedure . . . . . . . . . . . . 272
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 273
Chapter 13: LPC11U3x/2x/1x SSP/SPI
How to read this chapter . . . . . . . . . . . . . . . . 275
Basic configuration . . . . . . . . . . . . . . . . . . . 275
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
General description . . . . . . . . . . . . . . . . . . . . 275
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 276
Register description . . . . . . . . . . . . . . . . . . . 276
Register 0 . . . . . . . . . . . . . 277
Register 1 . . . . . . . . . . . . . 278
SSP/SPI Data Register . . . . . . . . . . . . . . . . 279
SSP/SPI Status Register . . . . . . . . . . . . . . . 280
SSP/SPI Clock Prescale Register . . . . . . . . 280
SSP/SPI Raw Interrupt Status Register . . . . 281
Interrupt Status Register . 281
SSP/SPI Interrupt Clear Register . . . . . . . . 282
Functional description . . . . . . . . . . . . . . . . . 282
SPI frame format . . . . . . . . . . . . . . . . . . . . . 283
13.7.2.1 Clock Polarity (CPOL) and Phase (CPHA)
control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
13.7.2.2 SPI format with CPOL=0,CPHA=0. . . . . . . . 284
13.7.2.3 SPI format with CPOL=0,CPHA=1. . . . . . . . 285
13.7.2.4 SPI format with CPOL = 1,CPHA = 0. . . . . . 285
13.7.2.5 SPI format with CPOL = 1,CPHA = 1. . . . . . 287
13.7.3
Semiconductor Microwire frame format . . . . 287
13.7.3.1 Setup and hold time requirements on CS with
respect to SK in Microwire mode . . . . . . . . . 289
Chapter 14: LPC11U3x/2x/1x I2C-bus controller
How to read this chapter . . . . . . . . . . . . . . . . 290
Basic configuration . . . . . . . . . . . . . . . . . . . 290
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 290
General description . . . . . . . . . . . . . . . . . . . . 290
C Fast-mode Plus . . . . . . . . . . . . . . . . . . . 291
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 292
Register description . . . . . . . . . . . . . . . . . . . 292
C Control Set register (CONSET) . . . . . . . 293
C Status register (STAT). . . . . . . . . . . . . . . 295
C Data register (DAT). . . . . . . . . . . . . . . . . 295
C Slave Address register 0 (ADR0) . . . . . . 296
C SCL HIGH and LOW duty cycle registers
(SCLH and SCLL). . . . . . . . . . . . . . . . . . . . . 296
14.7.5.1 Selecting the appropriate I
2
C data rate and duty
cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
C Control Clear register (CONCLR). . . . . . 297
2
C Monitor mode control register (MMCTRL) 297
14.7.7.1 Interrupt in Monitor mode. . . . . . . . . . . . . . . 298
14.7.7.2 Loss of arbitration in Monitor mode . . . . . . . 299
14.7.8 I
2
C Slave Address registers (ADR[1, 2, 3]) . 299
2
C Data buffer register (DATA_BUFFER) . . 299
2
C Mask registers (MASK[0, 1, 2, 3]) . . . . . 300
Functional description . . . . . . . . . . . . . . . . . 300
Input filters and output stages . . . . . . . . . . . 301
Address Registers, ADR0 to ADR3 . . . . . . . 302
Comparator . . . . . . . . . . . . . . . . . . . . . . . . . 302
Shift register, DAT . . . . . . . . . . . . . . . . . . . . 302
Arbitration and synchronization logic . . . . . . 302
Serial clock generator . . . . . . . . . . . . . . . . . 303
Timing and control . . . . . . . . . . . . . . . . . . . . 304
Control register, CONSET and CONCLR . . 304
Status decoder and status register. . . . . . . . 304
2
C operating modes . . . . . . . . . . . . . . . . . . . 304