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
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
214 of 571
1.
How to read this chapter
The USB device controller is available in
LPC2927/29,
LPC2930, and LPC2939
only.
Note that the host controller is
not
implemented on the
LPC2927
and
LPC2929
.
Depending on the LPC29xx part, different USB port configurations are available.
2.
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 (Master only) controls an external OTG transceiver.
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.
3.
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
.
4.
Architecture
The architecture of the USB OTG controller is shown below in the block diagram.
The host, device, OTG, and I2C controllers can be programmed through the register
interface. The OTG controller enables dynamic switching between host and device roles
through the HNP protocol. One port may be connected to an external OTG transceiver to
support an OTG connection. The communication between the register interface and an
external OTG transceiver is handled through an I
2
C interface and through the external
OTG transceiver interrupt signal.
UM10316
Chapter 15: LPC29xx USB OTG interface
Rev. 00.06 — 17 December 2008
User manual
Table 184. LPC29xx USB port configurations
Part
Port 1 device
Port 1 host
Port 1 OTG
Port 2 host
Port 2 device
LPC2921/23/25 yes
no
no
-
-
LPC2917/19/01 -
-
-
-
-
LPC2927/29
yes
no
yes
-
-
LPC2930
no
yes
yes
yes
yes
LPC2939
no
yes
yes
yes
yes