
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
245 of 808
1.
How to read this chapter
The USB OTG controller is available in the LPC1768, LPC1766, LPC1765, LPC1758,
LPC1756, and LPC1754. On these devices, the USB controller can be configured for
device, Host, or OTG operation.
2.
Basic configuration
The USB controller is configured using the following registers:
1. Power: In the PCONP register (
), set bit PCUSB.
Remark:
On reset, the USB block is disabled (PCUSB = 0).
2. Clock: The USB clock can generated using the dedicated USB PLL (PLL1) or with the
Main PLL (PLL0). See
.
3. Pins: Select USB pins and their modes in PINSEL0 to PINSEL5 and PINMODE0 to
).
4. Wake-up: Activity on the USB bus port can wake up the microcontroller from
5. Interrupts: Interrupts are enabled in the NVIC using the appropriate Interrupt Set
Enable register.
6. Initialization: see
.
3.
Introduction
This chapter describes the OTG and I
2
C portions of the USB 2.0 OTG dual role device
controller which integrates the (OHCI) host controller, device controller, and I
2
C. The I
2
C
interface that is part of the USB block is intended to control an external OTG transceiver,
and is not the same as the I
2
C peripherals described in
USB OTG (On-The-Go) is a supplement to the USB 2.0 specification that augments the
capability of existing mobile devices and USB peripherals by adding host functionality for
connection to USB peripherals. The specification and more information on USB OTG can
be found on the USB Implementers Forum web site.
4.
Features
•
Fully compliant with On-The-Go supplement to the
USB 2.0 Specification, Revision
1.0a
.
•
Hardware support for Host Negotiation Protocol (HNP).
•
Includes a programmable timer required for HNP and SRP.
•
Supports any OTG transceiver compliant with the
OTG Transceiver Specification
(CEA-2011), Rev. 1.0
.
UM10360
Chapter 13: LPC17xx USB OTG controller
Rev. 00.06 — 5 June 2009
User manual