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
212 of 571
NXP Semiconductors
UM10316
Chapter 14: LPC29xx USB Host controller
3.1.1 USB host usage note
Both ports can be configured as USB hosts. For details on how to connect the USB ports,
see the USB OTG chapter,
3.2 Software interface
The software interface of the USB host block consists of a register view and the format
definitions for the endpoint descriptors. For details on these two aspects see the OHCI
specification. The register map is shown in the next subsection.
3.2.1 Register map
The following registers are located in the AHB clock ‘cclk’ domain. They can be accessed
directly by the processor. All registers are 32 bit wide and aligned in the word address
boundaries.
U2PWRD2
I
Port power status
Host power switch
USB_OVRCR2
I
Over-current status
Host power switch
USB_HSTEN2
O
Host enabled status
Control
Table 182. USB OTG port pins
Pin name
Direction
Description
Pin category
Table 183. USB Host register address definitions
Name
Address
R/W
Function
Reset value
HcRevision
0xE010 C000
R
BCD representation of the version of the HCI
specification that is implemented by the Host Controller.
0x10
HcControl
0xE010 C004
R/W
Defines the operating modes of the HC.
0x0
HcCommandStatus
0xE010 C008
R/W
This register is used to receive the commands from the
Host Controller Driver (HCD). It also indicates the status
of the HC.
0x0
HcInterruptStatus
0xE010 C00C
R/W
Indicates the status on various events that cause
hardware interrupts by setting the appropriate bits.
0x0
HcInterruptEnable
0xE010 C010
R/W
Controls the bits in the HcInterruptStatus register and
indicates which events will generate a hardware
interrupt.
0x0
HcInterruptDisable
0xE010 C014
R/W
The bits in this register are used to disable
corresponding bits in the HCInterruptStatus register and
in turn disable that event leading to hardware interrupt.
0x0
HcHCCA
0xE010 C018
R/W
Contains the physical address of the host controller
communication area.
0x0
HcPeriodCurrentED
0xE010 C01C
R
Contains the physical address of the current isochronous
or interrupt endpoint descriptor.
0x0
HcControlHeadED
0xE010 C020
R/W
Contains the physical address of the first endpoint
descriptor of the control list.
0x0
HcControlCurrentED
0xE010 C024
R/W
Contains the physical address of the current endpoint
descriptor of the control list
0x0
HcBulkHeadED
0xE010 C028
R/W
Contains the physical address of the first endpoint
descriptor of the bulk list.
0x0
HcBulkCurrentED
0xE010 C02C
R/W
Contains the physical address of the current endpoint
descriptor of the bulk list.
0x0