60. USB_EHCI/USB_OHCI high/full-speed link controller (USBH)

60.1 Introduction

Portions Copyright (c) Synopsys, Inc. All rights reserved. Used with permission.

The USBH is a USB host controller supporting the standard registers used for full-speed (OHCI controller) and high-speed (EHCI controller).

60.2 USBH main features

The standards supported are:

60.3 USBH functional description

60.3.1 USBH block diagram

The USBH block diagram is shown below:

Figure 731. USBH block diagram

Figure 731. USBH block diagram. The diagram shows the internal structure of the USBH block, which includes the EHCI controller (USB2) and the OHCI controller (USB1.1). The EHCI controller contains SOF generation, Registers (USBH_EHCI_xxx) (EHCI capability registers, EHCI operational registers, EHCI implementation registers), a List processor, a Packet buffer (128*32 bits), and a Root hub. The OHCI controller contains Registers (USBH_OHCI_xxx) (OHCI operational registers, OHCI implementation registers). The USBH block is connected to four AHB buses (two master, two slave) and receives clocks from the RCC. It connects to two HS PHY ports via UTMI+ and UTMI- lines. The HS PHY ports are connected to USBH_HS_DP1, USBH_HS_DM1, and USBH_HS_DP2/OTG_HS_DP. A USBPHYC block contains a UTMI switch and UTMI switch control (static), which is connected to the HS PHY ports.

The diagram illustrates the USBH block structure. On the left, four AHB buses (32-bit AHB master bus and 32-bit AHB slave bus) are connected to the USBH block. The USBH block contains the EHCI controller (USB2) and the OHCI controller (USB1.1). The EHCI controller includes SOF generation, Registers (USBH_EHCI_xxx) (EHCI capability registers, EHCI operational registers, EHCI implementation registers), a List processor, a Packet buffer (128*32 bits), and a Root hub. The OHCI controller includes Registers (USBH_OHCI_xxx) (OHCI operational registers, OHCI implementation registers). The USBH block is connected to two HS PHY ports via UTMI+ and UTMI- lines. The HS PHY ports are connected to USBH_HS_DP1, USBH_HS_DM1, and USBH_HS_DP2/OTG_HS_DP. A USBPHYC block contains a UTMI switch and UTMI switch control (static), which is connected to the HS PHY ports.

Figure 731. USBH block diagram. The diagram shows the internal structure of the USBH block, which includes the EHCI controller (USB2) and the OHCI controller (USB1.1). The EHCI controller contains SOF generation, Registers (USBH_EHCI_xxx) (EHCI capability registers, EHCI operational registers, EHCI implementation registers), a List processor, a Packet buffer (128*32 bits), and a Root hub. The OHCI controller contains Registers (USBH_OHCI_xxx) (OHCI operational registers, OHCI implementation registers). The USBH block is connected to four AHB buses (two master, two slave) and receives clocks from the RCC. It connects to two HS PHY ports via UTMI+ and UTMI- lines. The HS PHY ports are connected to USBH_HS_DP1, USBH_HS_DM1, and USBH_HS_DP2/OTG_HS_DP. A USBPHYC block contains a UTMI switch and UTMI switch control (static), which is connected to the HS PHY ports.

60.3.2 USBH reset and clocks

USB requires both a functional AHB bus clock and functional USB clocks. The USB clocks are generated in USBPHYC (programming and enabling HS PHY's dedicated PLL). The RCC (reset and clock controller) controls clock gating and some multiplexing options. Refer to Section 59: USB HS PHY controller (USBPHYC) and Section 10: Reset and clock control (RCC) for full details on clock and reset control.

Note: In order to access USBH_OHCI registers it is necessary to activate the USB clocks by enabling the PLL controlled by USBPHYC.

60.3.3 Description of USBH packet buffer

The packet buffer provides storage and control for IN/OUT data. During OUT transactions, the system memory controller (inside the root hub) fetches data from the system memory and writes it here. During IN transactions, the root hub block writes the data. The packet buffer has a maximum depth of 512 bytes.

Packet buffer depth selection influences the system latency and bandwidth allocated to the EHCI host controller. For example, if the packet buffer depth is set to the maximum possible value i.e. 512 bytes, then for an IN transfer with USB packet size of 1024 bytes, there will be two (1024/512) data transfers on the AHB bus.

60.3.4 Description of USBH root hub

The USBH root hub propagates Reset and Resume signals to downstream ports and handles port connections and disconnections. In addition, the root hub is implemented with port router functionality to route the ports to either the EHCI host controller or OHCI host controller. The root hub operates on the local PHY clock, which operates on a free-running 60 MHz clock, and the clock source from each physical port, which operate at 60 MHz with an 8-bit interface.

60.4 USBH interrupts

Independent interrupts are generated from each controller:

60.5 USBH registers

Note that USBH has two physical AHB slaves:

USBH described here covers both slaves and to simplify, all offsets are defined here relative to the lowest system address base (i.e. that of the USBH_OHCI slave).

60.5.1 USBH OHCI standard registers

The OHCI core is implemented according USB 1.1 specification, release 1.0a. The standard OHCI operational registers are listed hereafter and in Table 474: USBH register map and reset values however their detailed description has been omitted in this document. Please refer to the standard documentation for the register description. In the following list of

registers, the prefix represents the address offset with respect to USBH_OHCI base address.

60.5.2 USBH OHCI implementation register #6
(USBH_OHCI_INSNREG06)

Address offset: 0x0098

Reset value: 0x0000 0000

31302928272625242322212019181716
AHB_ECAPRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
rw
1514131211109876543210
Res.Res.Res.Res.HBURST[2:0]EXP_BEATS[4:0]SUC_BEATS[3:0]
rrrrrrrrrrrr

Bit 31 AHB_ECAP: AHB error captured

Indicator that an AHB error was encountered and values were captured. To clear this field the application must write a 0 to this register.

Bits 30:12 Reserved, must be kept at reset value.

Bits 11:9 HBURST[2:0]: HBURST value of the control phase at which the AHB error occurred

Bits 8:4 EXP_BEATS[4:0]: Number of expected beats

Number of beats expected in the burst where the AHB error occurred. Valid values are 0 and 4.

0: When no error, 0 is written to EXP_BEATS[4:0].

4: When INCR4 and an error has occurred, 4 is written to EXP_BEATS[4:0].

Other values except 4 are not written to EXP_BEATS[4:0].

Bits 3:0 SUC_BEATS[3:0]: Number of successful beats

Number of successfully completed beats in the current burst before the AHB error has occurred.

60.5.3 USBH OHCI implementation register #7 (USBH_OHCI_INSNREG07)

Address offset: 0x009C

Reset value: 0x0000 0000

31302928272625242322212019181716
AHB_MST_ERR[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
AHB_MST_ERR[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 AHB_MST_ERR[31:0]: AHB master error address

AHB address of the control phase at which the AHB error has occurred.

60.5.4 USBH EHCI standard registers

The EHCI core is implemented according USB 1.1 specification release 1.0a, and EHCI Addendum 1.1. The standard EHCI registers are listed hereafter and in Table 474: USBH register map and reset values however their detailed description has been omitted in this document. Please refer to the standard documentation for the register description. In the following list of registers, the prefix represents the address offset with respect to USBH_OHCI base address.

60.5.5 USBH EHCI implementation register #1 (USBH_EHCI_INSNREG01)

This register controls the programmable packet buffer OUT/IN thresholds. The value specified here is the number of 32-bit words.

The OUT threshold is used to start the USB transfer as soon as the OUT threshold amount of data is fetched from system memory. It is also used to disconnect the data fetch, if the required space to hold the threshold amount of data is not available in the packet buffer.

The IN threshold is used to start the memory transfer as soon as the IN threshold amount of data is available in the packet buffer. It is also used to disconnect the data write, if the threshold amount of data is not available in the packet buffer.

The minimum OUT and IN threshold amount that can be programmed through INSN registers is 16 bytes. The minimum threshold amount that can be programmed is the highest possible INCRX burst value i.e. INCR16. The minimum OUT and IN threshold value should be 64 bytes (16×32-bit words).

OUT and IN threshold values can be equal to the packet buffer depth only when isochronous/interrupt transactions are not initiated by the host controller.

Note: The break memory transfer bit is always enabled.

Note: Depending on packet buffer depth settings, the most significant bits may be unused.

Note: Power on reset sets these registers to reset values, soft reset does not affect these registers.

Address offset: 0x1094

Reset value: 0x0020 0020

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.OUT_THRESHOLD[7:0]
rwrwrwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.IN_THRESHOLD[7:0]
rwrwrwrwrwrwrwrw

Bits 31:24 Reserved, must be kept at reset value.

Bits 23:16 OUT_THRESHOLD[7:0] : The value specified here is the number of 32-bit words

The OUT threshold is used to start the USB transfer as soon as the OUT_THRESHOLD amount of data is fetched from system memory. It is also used to disconnect the data fetch, if the required space to hold the threshold amount of data is not available in the packet buffer.

Bits 15:8 Reserved, must be kept at reset value.

Bits 7:0 IN_THRESHOLD[7:0] : The value specified here is the number of 32-bit words

The IN threshold is used to start the memory transfer as soon as the IN_THRESHOLD amount of data is available in the packet buffer. It is also used to disconnect the data write, if the threshold amount of data is not available in the packet buffer.

60.5.6 USBH EHCI implementation register #2
(USBH_EHCI_INSNREG02)

Programmable packet buffer depth.

Address offset: 0x1098

Reset value: 0x0000 0080

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.PKT_BUF[7:0]
rwrwrwrwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:0 PKT_BUF[7:0] : Programmable packet buffer depth

Programmable packet buffer depth.

The value specified here represents the number of 32-bit words.

Maximum valid packet buffer depth is 128 (32-bit words).

60.5.7 USBH EHCI implementation register #3
(USBH_EHCI_INSNREG03)

Address offset: 0x109C

Reset value: 0x0001 2001

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ENABLE_LS_GLITCH
rw
1514131211109876543210
Res.EN_CLK256_CHECKTESTSE_NAKTX_TRA_DELAY[2:0]FRM_LST_FETCHTIME_AVAIL_OFF[7:0]BRK_MEM_TRANS
rwrwrwrwrwrwrwrwrwrwrwrwrwrwr

Bits 31:17 Reserved, must be kept at reset value.

Bit 16 ENABLE_LS_GLITCH: Enable/disable enhancement for line state glitch

By default this enhancement is enabled.

0: disabled

1: enabled

Bit 15 Reserved, must be kept at reset value.

Bit 14 EN_CLK256_CHECK: Enable 256 clock checking

This bit controls the end of resume sequence of the EHCI host controller. By default, the value of this bit is 0 and during the end of resume sequence, the host controller waits for SE0 on the linestate before switching the PHY to high-speed.

When set to 1, during the end of resume sequence, the controller waits for SE0 or 256 clocks before switching the PHY to high-speed.

Setting this bit to 1, enables the 256 clock checking. Some of the UTMI PHYs do not present SE0 on the linestate during the end of resume sequence. For such PHYs, this bit should be set, so that the core does not wait forever for SE0.

This bit should be set only during initialization.

Bit 13 TESTSE_NAK: TestSE NAK

Ignore linestate during TestSE0 Nak

When set to 1 (default), the core ignores the linestate checking when transmitting SOF during the SE0_NAK test mode.

When set to 0, the port state machine disables the port if it does not find the linestate to be in SE0 when transmitting SOF during the SE0_NAK testing. While doing impedance measurement during the SE0_NAK testing, the linestate could go to non SE0 forcing the core to disable the port. This bit is used to control the port behavior during this state.

Bits 12:10 TX_TRA_DELAY[2:0]: Tx-Tx turnaround delay add on

This field specifies the extra delays in phy_clks to be added to the "Transmit to Transmit turnaround delay" value maintained in the core. The default value of this register field is 0. This default value of 0 is sufficient for most PHYs. But for some PHYs that put wait states during the token packet, it may be required to program a value greater than 0 to meet the transmit to transmit minimum turnaround time. The recommendation is to use the default value of 0 and change it only if there is an issue with minimum transmit-to-transmit turnaround time. This value should be programmed during core initialization and should not be changed afterwards.

Bit 9 FRM_LST_FETCH:

Setting this bit will force the host controller to fetch the periodic frame list in every microframe of a frame. If not set, then the periodic frame list will be fetched only in microframe 0 of every frame.

The default is 0 (not set). This bit can be changed only during core initialization and should not be changed afterwards.

Bits 8:1 TIME_AVAIL_OFF[7:0]: Time available offset

This value indicates the additional number of bytes to be accommodated for the time-available calculation.

The USB traffic on the bus can be started only when sufficient time is available to complete the packet within the EOF1 point. Refer to the USB 2.0 specification for details of the EOF1 point.

This time-available calculation is done in the hardware, and can be further offset by programming a value in this location.

Note: Time-available calculation is added for future flexibility. The application is not required to program this field by default.

Bit 0 BRK_MEM_TRANS: Break memory transfer

Used in conjunction with EHCI_H_INSNREG01 to enable breaking memory transactions into chunks once the OUT/IN threshold value is reached. Value is fixed to 1.

60.5.8 USBH EHCI implementation register #4 (USBH_EHCI_INSNREG04)

Address offset: 0x10A0

Reset value: 0x0000 0000

60.5.8column_2Bits 12:10 Bit 9 Bits 8:1 Bit 0frame. point.column_5column_6column_7column_8column_9column_10column_11column_12column_13column_14column_15RM0442
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
SUSPEHCCPAHCSPA
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ND_SIRes.Res.Res.RAMS_RAMS_
GNALWRTWRT
rwrwrw

Bits 31:6 Reserved, must be kept at reset value.

Bit 5 SUSPEND_SIGNAL: Suspend signal

Bits 4:2 Reserved, must be kept at reset value.

Bit 1 HCCPARAMS_WRT:

When this bit is 1, the USBH_EHCI_HCCPARAMS register bits 17, 15:4, and 2:0 become writable.

Bit 0 HCSPARAMS_WRT:

When this bit is 1, the USBH_EHCI_HCSPARAMS register becomes writable.

60.5.9 USBH EHCI implementation register #5
(USBH_EHCI_INSNREG05)

Address offset: 0x10A4

Reset value: 0x0000 1000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VBUSYVPOR[T]
[3]
rrw
1514131211109876543210
VPORT[2:0]VCONTROL_LDMVCONTROL[3:0]VSTATUS[7:0]
rwrwrwrwrwrwrwrwrrrrrrrr

Bits 31:18 Reserved, must be kept at reset value.

Bit 17 VBUSY: UTMI VBUSY

VBusy (read only). Hardware indicator that a write to this register has occurred and the hardware is currently processing the operation defined by the data written. When processing is finished, this bit is cleared.

Bits 16:13 VPORT[3:0]: UTMI VPORT

VPort (read write). Valid values for write are only 1 and 2. No other values should be written to this field. Supposing an illegal value, say 4, is written, any subsequent writes to this register are ignored and the read value will always be the initial illegal value written (in this case 4).

Bit 12 VCONTROL_LDM: UTMI VCONTROLLoad (vendor control load)

Refer to the UTMI specification for detailed usage.

0: Load

1: NOP

Bits 11:8 VCONTROL[3:0]: UTMI VCONTROL (vendor control)

Vendor defined 4-bit parallel input bus. Refer to the UTMI specification for detailed usage.

Bits 7:0 VSTATUS[7:0]: UTMI VStatus (vendor status)

Refer to the UTMI specification for detailed usage.

60.5.10 USBH EHCI implementation register #6
(USBH_EHCI_INSNREG06)

Address offset: 0x10A8

Reset value: 0x0000 0000

31302928272625242322212019181716
AHB_ECAPRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
rw
1514131211109876543210
Res.Res.Res.Res.HBURST[2:0]EXP_BEATS[4:0]SUC_BEATS[3:0]
rrrrrrrrrrrr

Bit 31 AHB_ECAP: AHB error captured

Indicator that an AHB error was encountered and values were captured. To clear this field the application must write a 0 to this bit.

Bits 30:12 Reserved, must be kept at reset value.

Bits 11:9 HBURST[2:0]: HBURST value of the control phase at which the AHB error occurred

Bits 8:4 EXP_BEATS[4:0]: Number of expected beats

Number of beats expected in the burst at which the AHB error has occurred. Valid values are 0 to 16.

0: When no error, 0 is written to EXP_BEATS[4:0].

4: When INCR4 and error has occurred, 4 is written to EXP_BEATS[4:0]

8: When INCR8 and error has occurred, 8 is written to EXP_BEATS[4:0]

16: When INCR16 and error has occurred, 16 is written to EXP_BEATS[4:0]

Other values except 4, 8, and 16 are not written to EXP_BEATS[4:0]

Bits 3:0 SUC_BEATS[3:0]: Number of successful beats

Number of successfully-completed beats in the current burst before the AHB error has occurred.

60.5.11 USBH EHCI implementation register #7
(USBH_EHCI_INSNREG07)

Address offset: 0x10AC

Reset value: 0x0000 0000

RM0442column_2USB_EHCI/USB_OHCI high/full-speed link controller (USBH)
31 30 29 28 27 26 25 24 2322 21 20 19 18 17 16
r r r r r r r r rr r r r r r r
15 14 13 12 11 10 9 8 76 5 4 3 2 1 0
r r r r r r r r rr r r r r r r
Bits 31:0 AHB_MST_ERR[31:0] : AHB master error address
reset value 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 1817 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
B L E
P L E
C S[1:0] H F
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
C S R[1:0] B
C H R
O C R
B L F
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S O C[1:0]
Reset value0 0 0 0 0 0
S C R H
O F N
O CU E R D S O
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 00 0 0 0 0 0 0
S C R H
O F N
MIE O CU E R D
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S F S O
Reset value 0 00 0 0 0 0 0 0
S C R H
O F N
MIE O CU E R D
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Re s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S F S O
Reset value 0 00 0 0 0 0 0 0

Bits 31:0 AHB_MST_ERR[31:0]: AHB master error address

AHB address of the control phase at which the AHB error has occurred.

60.5.12 USBH register map

Table 474. USBH register map and reset values

Table 474. USBH register map and reset values (continued)

OffsetRegister name
reset value
313029282726252423222120191817161514131211109876543210
0x018USBH_OHCI_HCHCCAHCCA[23:0]ResResResResResResResRes
Reset value000000000000000000000000
0x01CUSBH_OHCI_HCPERIOD_CURRENTEDPCED[27:0]Res.Res.Res.Res.
Reset value00000000000000000000000000000
0x020USBH_OHCI_HCCONTROL_HEADEDCHED[27:0]Res.Res.Res.Res.
Reset value00000000000000000000000000000
0x024USBH_OHCI_HCCONTROL_CURRENTEDCCED[27:0]Res.Res.Res.Res.
Reset value00000000000000000000000000000
0x028USBH_OHCI_HCBULK_HEADEDBHED[27:0]Res.Res.Res.Res.
Reset value00000000000000000000000000000
0x02CUSBH_OHCI_HCBULK_CURRENTEDBCED[27:0]Res.Res.Res.Res.
Reset value00000000000000000000000000000
0x030USBH_OHCI_HCDONE_HEADDH[27:0]Res.Res.Res.Res.
Reset value00000000000000000000000000000
0x034USBH_OHCI_HCFM_INTERVALRes.FSMPS[14:0]Res.Res.FI[13:0]
Reset value00000000000000001011101101111111
0x038USBH_OHCI_HCFM_REMAININGFRTRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FR[13:0]
Reset value0000000000000000
0x03CUSBH_OHCI_HCFM_NUMBERRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FN[15:0]
Reset value0000000000000000
0x040USBH_OHCI_PERIODIC_STARTRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PS[13:0]
Reset value0000000000000000
0x044USBH_OHCI_HCLS_THRESHOLDRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LST[13:0]
Reset value0001100010100000

Table 474. USBH register map and reset values (continued)

Offsetcolumn_2column_3
reset value 31 3 0 2 9 2 8 2 7 2 6 2 5 2 4 2 3 2 2 21 2 0 19 181716 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0
POTPGT[7:0]D T NDP[7:0]
O C N P
S N P
S P M
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
HCRH 0x048O C P M
HCRH PPCM[15:0] 0x04C B C RWEDR[15:0] D RWE
CICS C L P
S L P
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s. O CI
Reset value 00 0 00 0
S L D A
S S C P
S C P E
S C P R CIC
S P R
S P P
S S P
S P E
C S C
C C S
O CI P
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 0 0 0 0 00 0 0 0 0 0 0
S L D A
S S C P
S C P E
S C P R CIC
S P R
S P P
S S P
S P E
C S C
C C S
O CI P
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
Reset value 0 0 0 0 00 0 0 0 0 0 0
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
C E A P A H B _H SUC_
0x0098 INSNREG06[4:0] [2:0] [3:0]
HCICAP HCIVERSION[15:0].CAPLENGTH[7:0]
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
DIC O _IN A T R P
P R R
C P P
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
0x1004 HCSPARAMS[3:0] [3:0]
Reset value 0 0 0 00 0 0 0 1 0 0 1 0 0 1 0 0 1 0
C L P M
P F L F
S C FA
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S C A P
Reset value11 0 1 0 0 0 0 0 0 0 1 0 1 1 0
HIRD[3:0] ITC[7:0]MC
C H R
C L H R
IA A D
S P E
S[1:0] F L
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
R e s.
S A P M E
S A E S R
Reset value 0 0 0 0 0 0 0 0 1 0 0 01 1 1 0 0 0 0 0 0 0 0

Table 474. USBH register map and reset values (continued)

OffsetRegister name
reset value
313029282726252423222120191817161514131211109876543210
0x1014USBH_EHCI_
USBSTS
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ASSPSSRECHCHRes.Res.Res.Res.Res.Res.IAAHSEFLRPCDUSBERRINTUSBINT
Reset value0001000000
0x1018USBH_EHCI_
USBINTR
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.IAAEHSEEFLREPCIEUSBERRINTEUSBINTE
Reset value000000
0x101CUSBH_EHCI_
FRINDEX
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.FRINDEX[13:0]
Reset value00000000000000
0x1024USBH_EHCI_
PERIODICLIST
BASE
PERIODICLISTBASE[31:12]Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
Reset value00000000000000000000
0x1028USBH_EHCI_
ASYNCLIST
ADDR
LPL[31:5]Res.Res.Res.Res.Res.
Reset value000000000000000000000000000
0x1050USBH_EHCI_
CONFIGFLAG
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CF
Reset value0
0x1054USBH_EHCI_
PORTSC1
DEVADDR[6:0]SS[1:0]WKOC_EWKDSCNNT_EWKCNNT_EPTC[3:0]PIC[1:0]POPPLS[1:0]SUSP_L1PRSUSPENDFPROCCOCAPEDCPEDCSCCCS
Reset value00000000000000000010000000000000
0x1058USBH_EHCI_
PORTSC2
DEVADDR[6:0]SS[1:0]WKOC_EWKDSCNNT_EWKCNNT_EPTC[3:0]PIC[1:0]POPPLS[1:0]SUSP_L1PRSUSPENDFPROCCOCAPEDCPEDCSCCCS
Reset value00000000000000000010000000000000
0x1094USBH_EHCI_
INSNREG01
Res.Res.Res.Res.Res.Res.Res.Res.OUT_THRESHOLD
[7:0]
Res.Res.Res.Res.Res.Res.Res.Res.IN_THRESHOLD
[7:0]
Reset value00000000001000000000000000100000
0x1098USBH_EHCI_
INSNREG02
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PKT_BUF[7:0]
Reset value00000000
ST logo
ST logo

Table 474. USBH register map and reset values (continued)

OffsetRegister name
reset value
313029282726252423222120191817161514131211109876543210
0x109CUSBH_EHCI_INSNREG03Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ENABLE_LS_GLITCHRes.EN_CLK256_CHECKTESTSE_NAKTX_TRA_DELAY[2:0]FRM_LST_FETCHTIME_AVAIL_OFF[7:0]BRK_MEM_TRANS
Reset value1010000000000001
0x10A0USBH_EHCI_INSNREG04Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SUSPEND_SIGNALRes.Res.Res.HCCPARAMS_WRHCSPARAMS_WRT
Reset value000
0x10A4USBH_EHCI_INSNREG05Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VBUSYVPORT [3:0]VCONTROL_LDMVCONTROL[3:0]VSTATUS[7:0]
Reset value000001000000000000
0x10A8USBH_EHCI_INSNREG06AHB_ECAPRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.HBURST[2:0]EXP_BEATS[4:0]SUC_BEATS[3:0]
Reset value00000000000000
0x10ACUSBH_EHCI_INSNREG07AHB_MST_ERR[31:0]
Reset value00000000000000000000000000000000
Refer to Section 2.5 on page 153 for the register boundary addresses.