RM0082
HS_USB2.0 host
Doc ID 018672 Rev 1
415/844
Figure 37.
USB Host controller (UHOSTC) block diagram
22.5.1
HCI master block
The HCI master block is the interface between HCI master interface logic block and the HCI
bus. It converts all the cycles initiated by different blocks of the list processor through HCI
master inteface logic block into HCI bus cycles according to the protocol defined for HCI
bus. In addition to that it implements a state machine to read/ write from/to DFIFO. When it
is transferring the data returned by endpoint, it reads the data from DFIFO and merges into
DWORD and then send it to the application’s internal FIFO. Similarly when reading the
endpoint data from the system memory, after reading every DWORD from the application’s
FIFO it splits the DWORD into 4 individual bytes and then sends it to the DFIFO. It also
implements byte-alignment logic, that is when a write cycle is initiated by FML block at the
odd boundary (not the DWORD boundary), it reads only the lower 2 bit of the address (ties
them to 0), so that the application always writes at DWORD boundary, and manipulates the
byte-enables accordingly.
22.5.2 HCI
slave
block
The HCI slave block is the slave on HCI bus. This is basically an interface between OHCI
operational register internal to the Host Controller and the application. It updates the
registers on writes and provides the register data on reads. All the slave accesses should be
DWORD aligned. Therefore, byte enables are not used in slave accesses.
HC
I B
us
APB_SADR(6)
APB_SData(32)
HCI_Data(32)
Control
APP_MData(32)
HCM_ADR/
Data(32)
Control
Ext.FIFO Status
HCI
Slave
block
HCI
Master
block
OHCI
Regs
-
-
-
-
-
-
-
-
-
-
-
-
Ctrl
Ctrl
ED/TD_Data(32)
ED/TD_Status(32)
HC_Data(8)
DF_Data(8)
RCFG_RegData(32)
Ctrl
Ctrl
Ctrl
DF_Data(8)
RH_Data(8)
USB
State
Control
List
Processor
Block
ED &TD
Regs
64 x 8
FIFO
Ctrl
FIFO
64 x 8
Cntl
Status
HC
F_
D
ata
(8)
Ad
dr
(6
)
F
IF
O
_D
at
a (
8)
Root Hub
&
Host SIE
Clock
MUX
12/1_5
HSIE
S/M
DPLL
TxEnL
TxDpls
TxDmns
RcvData
RcvDpls
RcvDmns
Root
Hub
Config
Block
OHCI
Regs
Port
S/M
Port
S/M
Port
S/M
X
V
R
X
V
R
X
V
R
1
2
15
USB
USB
USB