
UM10237_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 19 December 2008
783 of 792
NXP Semiconductors
UM10237
Chapter 36: LPC24XX Supplementary information
OTG Timer Register (OTGTmr -
0xFFE0 C114). . . . . . . . . . . . . . . . . . . . . . . . 403
OTG Clock Status Register (OTGClkSt -
0xFFE0 CFF8) . . . . . . . . . . . . . . . . . . . . . . . 404
I2C Receive Register (I2C_RX -
0xFFE0 C300) . . . . . . . . . . . . . . . . . . . . . . . 405
I2C Transmit Register (I2C_TX -
0xFFE0 C300) . . . . . . . . . . . . . . . . . . . . . . . 405
I2C Status Register (I2C_STS -
0xFFE0 C304) . . . . . . . . . . . . . . . . . . . . . . . 405
I2C Control Register (I2C_CTL -
0xFFE0 C308) . . . . . . . . . . . . . . . . . . . . . . . 407
I2C Clock High Register (I2C_CLKHI -
0xFFE0 C30C) . . . . . . . . . . . . . . . . . . . . . . . 408
I2C Clock Low Register (I2C_CLKLO -
0xFFE0 C310) . . . . . . . . . . . . . . . . . . . . . . . 409
Interrupt handling . . . . . . . . . . . . . . . . . . . . . 409
HNP support . . . . . . . . . . . . . . . . . . . . . . . . . 410
B-device: peripheral to host switching . . . . . . 411
Remove D+ pull-up . . . . . . . . . . . . . . . . . . . . 413
Add D+ pull-up . . . . . . . . . . . . . . . . . . . . . . . . 414
A-device: host to peripheral HNP switching. 414
Set BDIS_ACON_EN in external OTG transceiver
417
Clear BDIS_ACON_EN in external OTG trans-
ceiver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Discharge V
. . . . . . . . . . . . . . . . . . . . . . . 417
Clocking and power management . . . . . . . . 418
Device clock request signals . . . . . . . . . . . . 419
Host clock request signals . . . . . . . . . . . . . . 420
Power-down mode support . . . . . . . . . . . . . 420
USB OTG controller initialization . . . . . . . . 420
Chapter 16: LPC24XX Universal Asynchronous Receiver/Transmitter (UART) 0/2/3
Basic configuration . . . . . . . . . . . . . . . . . . . . 422
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 422
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 422
Register description . . . . . . . . . . . . . . . . . . . 423
16.4.10.1 Auto-baud . . . . . . . . . . . . . . . . . . . . . . . . . . 434
16.4.10.2 Auto-baud modes. . . . . . . . . . . . . . . . . . . . . 434
4.11
Baudrate calculation . . . . . . . . . . . . . . . . . . 438
Example 1: PCLK = 14.7456 MHz,
BR = 9600 . . . . . . . . . . . . . . . . . . . . . . . . . . 440
Example 2: PCLK = 12 MHz, BR = 115200 . 440
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 441
Chapter 17: LPC24XX Universal Asynchronous Receiver/Transmitter (UART) 1
Basic configuration . . . . . . . . . . . . . . . . . . . . 443
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
Pin description . . . . . . . . . . . . . . . . . . . . . . . 444
Register description . . . . . . . . . . . . . . . . . . . 444