62. USB_EHCI/USB_OHCI high/full-speed link controller (USBH)
62.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).
62.2 USBH main features
- • Two physical ports supported using an on-chip 2-port high-speed PHY
- • Supports OHCI model for full- and low-speed operation
- • Supports EHCI model for high-speed operation
- • LPM (link power management) support
- • DMA engine with local 512 Byte packet buffer
The standards supported are:
- • Enhanced Host Controller Interface Specification for Universal Serial Bus, Revision 1.0, Intel Corp., March 12, 2002
- • EHCI 1.1 Addendum, Version 1.1, Intel Corp., August 2008
- • Open Host Controller Interface Specification for USB, Release 1.0a, Compaq, Inc., Microsoft Corp., National Semiconductor Corp., September 14, 1999
- • Universal Serial Bus Specification, Revision 2.0, USB Implementers Forum, Inc., April 27, 2000
- • USB 2.0 Transceiver Macrocell Interface (UTMI) Specification, Revision 1.05, Intel Corp., March 29, 2001
- • UTMI+ Specification, Revision 1.0, Philips Semiconductor, February 25, 2004
62.3 USBH functional description
62.3.1 USBH block diagram
The USBH block diagram is shown below:
Figure 770. USBH block diagram

The diagram illustrates the USBH block structure. On the left, four AHB buses (two master, two slave) interface with the USBH block. The USBH block contains an EHCI controller (USB2) and an OHCI controller (USB1.1). The EHCI controller includes SOF generation, registers (EHCI capability, operational, and implementation), a list processor, a packet buffer (128*32 bits), and a root hub. The OHCI controller includes registers (OHCI operational and implementation). A dashed box labeled USBPHYC contains a UTMI switch controlled statically by the EHCI root hub. This switch connects to two HS PHY ports. HS PHY port #1 is connected to USBH_HS_DP1 and USBH_HS_DM1. HS PHY port #2 is connected to USBH_HS_DP2/OTG_HS_DP. Clocks from the RCC enter the USBH block. The diagram is labeled MSv47457V1.
62.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 61: 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.
62.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.
62.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.
62.4 USBH interrupts
Independent interrupts are generated from each controller:
- • OHCI: usbh_ohci_it
- – HCI bus general interrupt (covers all 9 interrupt conditions covered by standard OHCI register HcInterruptStatus)
- • EHCI: usbh_ehci_it
- – Interrupt async address
- – Host system error
- – Frame list rollover
- – Port change
- – USB error
- – USB interrupt
62.5 USBH registers
Note that USBH has two physical AHB slaves:
- • USBH_OHCI (mapped to USBH_OHCI_BASE)
- • USBH_EHCI (mapped to USBH_OHCI_BASE + 0x1000 offset)
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).
62.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 489: 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.
- • [0x0000]: USBH_OHCI_HCREVISION
- • [0x0004]: USBH_OHCI_HCCONTROL
- • [0x0008]: USBH_OHCI_HCCOMMANDSTATUS
- • [0x000C]: USBH_OHCI_HCINTERRUPTSTATUS
- • [0x0010]: USBH_OHCI_HCINTERRUPTENABLE
- • [0x0014]: USBH_OHCI_HCINTERRUPTDISABLE
- • [0x0018]: USBH_OHCI_HCHCCA
- • [0x001C]: USBH_OHCI_HCPERIODCURRENTED
- • [0x0020]: USBH_OHCI_HCCONTROLHEADED
- • [0x0024]: USBH_OHCI_HCCONTROLCURRENTED
- • [0x0028]: USBH_OHCI_HCBULKHEADED
- • [0x002C]: USBH_OHCI_HCBULKCURRENTED
- • [0x0030]: USBH_OHCI_HCDONEHEAD
- • [0x0034]: USBH_OHCI_HCFMINTERVAL
- • [0x0038]: USBH_OHCI_HCFMREMAINING
- • [0x003C]: USBH_OHCI_HCFMNUMBER
- • [0x0040]: USBH_OHCI_PERIODICSTART
- • [0x0044]: USBH_OHCI_HCLSTHRESHOLD
- • [0x0048]: USBH_OHCI_HCRHDESCRIPTORA
- • [0x004C]: USBH_OHCI_HCRHDESCRIPTORB
- • [0x0050]: USBH_OHCI_HCRHSTATUS
- • [0x0054]: USBH_OHCI_HCRHPORTSTATUS1
- • [0x0058]: USBH_OHCI_HCRHPORTSTATUS2
62.5.2 USBH OHCI implementation register #6
(USBH_OHCI_INSNREG06)
Address offset: 0x0098
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AHB_ECAP | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | HBURST[2:0] | EXP_BEATS[4:0] | SUC_BEATS[3:0] | |||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | ||||
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.
62.5.3 USBH OHCI implementation register #7
(USBH_OHCI_INSNREG07)
Address offset: 0x009C
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| AHB_MST_ERR[31:16] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| AHB_MST_ERR[15:0] | |||||||||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | r | r | r | r |
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.
62.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 489: 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.
- • EHCI capability registers:
- – [0x1000]: USBH_EHCI_HCICAPLENGTH
- – [0x1004]: USBH_EHCI_HCSPARAMS
- – [0x1008]: USBH_EHCI_HCCPARAMS
- • EHCI functional registers
- – [0x1010]: USBH_EHCI_USBCMD
- – [0x1014]: USBH_EHCI_USBSTS
- – [0x1018]: USBH_EHCI_USBINTR
- – [0x101C]: USBH_EHCI_FRINDEX
- – [0x1024]: USBH_EHCI_PERIODICLISTBASE
- – [0x1028]: USBH_EHCI_ASYNC_LISTADDR
- – [0x1050]: USBH_EHCI_CONFIGFLAG
- – [0x1054]: USBH_EHCI_PORTSC1
- – [0x1058]: USBH_EHCI_PORTSC2
62.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
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | OUT_THRESHOLD[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | IN_THRESHOLD[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
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 wordsThe 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 wordsThe 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.
62.5.6 USBH EHCI implementation register #2
(USBH_EHCI_INSNREG02)
Programmable packet buffer depth.
Address offset: 0x1098
Reset value: 0x0000 0080
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PKT_BUF[7:0] | |||||||
| rw | rw | rw | rw | rw | rw | rw | rw | ||||||||
Bits 31:8 Reserved, must be kept at reset value.
Bits 7:0 PKT_BUF[7:0] : Programmable packet buffer depthProgrammable packet buffer depth.
The value specified here represents the number of 32-bit words.
Maximum valid packet buffer depth is 128 (32-bit words).
62.5.7 USBH EHCI implementation register #3 (USBH_EHCI_INSNREG03)
Address offset: 0x109C
Reset value: 0x0001 2001
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ENABLE_LS_GLITCH |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | EN_CLK256_CHECK | TESTSE_NAK | TX_TRA_DELAY[2:0] | FRM_LST_FETCH | TIME_AVAIL_OFF[7:0] | BRK_MEM_TRANS | |||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | rw | r | |
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.
62.5.8 USBH EHCI implementation register #4 (USBH_EHCI_INSNREG04)
Address offset: 0x10A0
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | SUSPE ND_SI GNAL | Res. | Res. | Res. | HCCPA RAMS_ WRT | HCSPA RAMS_ WRT |
| rw | rw | rw |
Bits 31:6 Reserved, must be kept at reset value.
Bit 5 SUSPEND_SIGNAL: Suspend signal
- 0: By default, the automatic feature is enabled. The suspend signal is de-asserted (logic level 1) when run/stop is reset by software, but the HCH (hchalted) bit is not yet set.
- 1: Disables the automatic feature, which takes all ports out of suspend when software clears the run/stop bit. This is for backward compatibility.
For systems where the host is halted without waking up all ports out of suspend, the port can become stuck because the clock coming from the PHY is not running when the halt is programmed. To avoid this, the EHCI automatically pulls ports out of suspend when the host is halted by software. This bit is used to disable this automatic function.
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.
62.5.9 USBH EHCI implementation register #5 (USBH_EHCI_INSNREG05)
Address offset: 0x10A4
Reset value: 0x0000 1000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VBUSY | VPORT [3] |
| r | rw | ||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| VPORT[2:0] | VCONTROL_LDM | VCONTROL[3:0] | VSTATUS[7:0] | ||||||||||||
| rw | rw | rw | rw | rw | rw | rw | rw | r | r | r | r | r | r | r | r |
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.
62.5.10 USBH EHCI implementation register #6 (USBH_EHCI_INSNREG06)
Address offset: 0x10A8
Reset value: 0x0000 0000
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| AHB_ECAP | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. |
| rw | |||||||||||||||
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| Res. | Res. | Res. | Res. | HBURST[2:0] | EXP_BEATS[4:0] | SUC_BEATS[3:0] | |||||||||
| r | r | r | r | r | r | r | r | r | r | r | r | ||||
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.
62.5.11 USBH EHCI implementation register #7 (USBH_EHCI_INSNREG07)
Address offset: 0x10AC
Reset value: 0x0000 0000
| USB_EHCI/USB_OHCI high/full-speed link controller (USBH) | RM0436 |
|---|---|
| 31 30 29 28 27 26 25 24 23 | 22 21 20 19 18 17 16 |
| r r r r r r r r r | r r r r r r r |
| 15 14 13 12 11 10 9 8 7 | 6 5 4 3 2 1 0 |
| r r r r r r r r r | r 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 18 | 17 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. | |
| 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. | |
| 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. | |
| 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 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. | |
| 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 O C[1:0] | |
| Reset value | 0 0 0 0 0 0 |
| S C R H | |
| O F N | |
| O C | U 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. | |
| 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 0 0 0 0 |
| S C R H | |
| O F N | |
| MIE O C | U 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. | |
| 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 F S O | |
| Reset value 0 0 | 0 0 0 0 0 0 0 |
| S C R H | |
| O F N | |
| MIE O C | U 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. | |
| 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 F S O | |
| Reset value 0 0 | 0 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.
62.5.12 USBH register map
Table 489. USBH register map and reset values

Table 489. USBH register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x018 | USBH_OHCI_HCHCCA | HCCA[23:0] | Res | Res | Res | Res | Res | Res | Res | Res | ||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||
| 0x01C | USBH_OHCI_HCPERIOD_CURRENTED | PCED[27:0] | Res. | Res. | Res. | Res. | ||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||
| 0x020 | USBH_OHCI_HCCONTROL_HEADED | CHED[27:0] | Res. | Res. | Res. | Res. | ||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||
| 0x024 | USBH_OHCI_HCCONTROL_CURRENTED | CCED[27:0] | Res. | Res. | Res. | Res. | ||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||
| 0x028 | USBH_OHCI_HCBULK_HEADED | BHED[27:0] | Res. | Res. | Res. | Res. | ||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||
| 0x02C | USBH_OHCI_HCBULK_CURRENTED | BCED[27:0] | Res. | Res. | Res. | Res. | ||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||
| 0x030 | USBH_OHCI_HCDONE_HEAD | DH[27:0] | Res. | Res. | Res. | Res. | ||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||
| 0x034 | USBH_OHCI_HCFM_INTERVAL | Res. | FSMPS[14:0] | Res. | Res. | FI[13:0] | ||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | ||
| 0x038 | USBH_OHCI_HCFM_REMAINING | FRT | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FR[13:0] | |||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||||||||||||||||||
| 0x03C | USBH_OHCI_HCFM_NUMBER | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | FN[15:0] | |||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||
| 0x040 | USBH_OHCI_PERIODIC_START | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | PS[13:0] | |||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||
| 0x044 | USBH_OHCI_HCLS_THRESHOLD | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | LST[13:0] | |||||||||||||||
| Reset value | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||||||||||||||
Table 489. USBH register map and reset values (continued)
| Packet type | Hardware | IP header checksum checking |
|---|---|---|
| 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 18 | 17 | 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0 |
| HCRH 0x048 | O C P M | |
| O C N P | ||
| S P M | ||
| S N 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. | ||
| POTPGT[7:0] | D T NDP[7:0] | |
| HCRH PPCM[15:0] 0x04C B C RWE | DR[15:0] D RWE | |
| CIC | S C 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. | ||
| HCRH | R e s. O CI | |
| S L P | ||
| Reset value 0 | 0 0 0 | 0 0 |
| S C P R CIC | ||
| S S C P | ||
| S C P E | ||
| S L D A | ||
| O CI P | ||
| C S C | ||
| C C S | ||
| S P R | ||
| S P P | ||
| S S P | ||
| S P E | ||
| 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 0 | 0 0 0 0 0 0 0 | |
| S C P R CIC | ||
| S S C P | ||
| S C P E | ||
| S L D A | ||
| O CI P | ||
| C S C | ||
| C C S | ||
| S P R | ||
| S P P | ||
| S S P | ||
| S P E | ||
| 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 0 | 0 0 0 0 0 0 0 | |
| C E A P A H B _ | H SUC_ | |
| 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. | ||
| 0x0098 INSNREG06 | [4:0] [2:0] [3: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. | ||
| HCICAP HCIVERSION[15:0]. | CAPLENGTH[7:0] | |
| 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 0 | 0 0 0 0 1 0 0 1 0 0 1 0 0 1 0 | |
| C L P M | ||
| S C A P | ||
| S C FA | ||
| P F 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. | ||
| R e s. | ||
| R e s. | ||
| R e s. | ||
| Reset value | 1 | 1 0 1 0 0 0 0 0 0 0 1 0 1 1 0 |
| ASP | ||
| S[1:0] F L | ||
| S A P M E | ||
| C L H R | ||
| IA A D | ||
| C H R | ||
| S P E | ||
| S A E S R | ||
| 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. | ||
| HIRD[3:0] ITC[7:0] | MC | |
| Reset value 0 0 0 0 0 0 0 0 1 0 0 0 | 1 1 1 0 0 0 0 0 0 0 0 |
Table 489. USBH register map and reset values (continued)
| RM0436 Offset Register name | column_2 | USB_EHCI/USB_OHCI high/full-speed link controller (USBH) |
|---|---|---|
| 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 18 17 16 | 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 0 | |
| S U BIN T | ||
| S U B E R RIN T | ||
| C R E | ||
| S H E | ||
| C P D | ||
| S S P | ||
| C H H | ||
| 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. | ||
| S S A | ||
| Reset value | 0 0 0 1 0 0 0 0 0 0 | |
| IA A E | ||
| S U B E R RIN T E | ||
| S H E E | ||
| S U BIN T E | ||
| F LR E | ||
| 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. | ||
| 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. | ||
| 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. | ||
| 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. | ||
| F P R | ||
| O C A | ||
| C P E D | ||
| P E D | ||
| O P P P | ||
| R[6:0] D E V A D D | ||
| O C C | ||
| C S C | ||
| C[3:0] P T | ||
| S S U P E N D | ||
| C C S | ||
| S C WK D N N T _E | ||
| C WK N N T _E | ||
| O C WK _E | ||
| S S U P L1 _ | ||
| F P R | ||
| O C A | ||
| P E D | ||
| C P E D | ||
| O P P P | ||
| R[6:0] D E V A D D | ||
| C S C | ||
| S S U P E N D | ||
| C[3:0] P T | ||
| O C C | ||
| C C S | ||
| S C WK D N N T _E | ||
| C WK N N T _E | ||
| O C WK _E | ||
| S S U P L1 _ | ||
| USBH_EHCI_ OUT_THRESHOLD | IN_THRESHOLD | |
| 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. | ||
| 0x1094 INSNREG01 [7:0] | [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. | ||
| 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. |
Table 489. USBH register map and reset values (continued)
| Offset | Register name reset value | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x109C | USBH_EHCI_INSNREG03 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | ENABLE_LS_GLITCH | Res. | EN_CLK256_CHECK | TESTSE_NAK | TX_TRA_DELAY[2:0] | FRM_LST_FETCH | TIME_AVAIL_OFF[7:0] | BRK_MEM_TRANS | |||||||||
| Reset value | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | |||||||||||||||||
| 0x10A0 | USBH_EHCI_INSNREG04 | 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. | SUSPEND_SIGNAL | Res. | Res. | Res. | HCCPARAMS_WR | HCSPARAMS_WRT |
| Reset value | 0 | 0 | 0 | ||||||||||||||||||||||||||||||
| 0x10A4 | USBH_EHCI_INSNREG05 | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | Res. | VBUSY | VPORT [3:0] | VCONTROL_LDM | VCONTROL[3:0] | VSTATUS[7:0] | |||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||
| 0x10A8 | USBH_EHCI_INSNREG06 | AHB_ECAP | 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 value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||
| 0x10AC | USBH_EHCI_INSNREG07 | AHB_MST_ERR[31:0] | |||||||||||||||||||||||||||||||
| Reset value | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Refer to Section 2.5 on page 159 for the register boundary addresses.