Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

ID 814346
Date 4/01/2024
Public
Document Table of Contents

5.7.3. USB 2.0 OTG Controller Features

The USB-specific features of the USB OTG controller are:
  • Complies with both revision 1.3 and revision 2.0 of the On-the-go and Embedded Host Supplement to the USB revision 2.0 specification
  • Supports software-configurable modes of operation between OTG 1.3 and OTG 2.0
  • Can operate in Host or Device mode
  • Supports multi-point applications with hub and split support
  • Supports all USB 2.0 speeds:
    • High speed (HS, 480-Mbps)
    • Full speed (FS, 12-Mbps)
    • Low speed (LS, 1.5-Mbps)
      Note: The host mode supports all speeds. The device mode supports only high speed and full speed.
  • Integrated scatter-gather DMA supports moving data between memory and the controller
  • Supports USB 2.0 in ULPI mode
  • Supports all USB transaction types:
    • Control transfers
    • Bulk transfers
    • Isochronous transfers
    • Interrupts
  • Supports automatic ping capability
  • Supports Session Request Protocol (SRP) and Host Negotiation Protocol (HNP)
  • Supports suspend, resume, and remote wake
  • Supports up to 16 host channels
    Note: In host mode, when the number of device endpoints is greater than the number of host channels, software can reprogram the channels to support up to 127 devices, each having 32 endpoints (in + out), for a maximum of 4,064 endpoints.
  • Supports up to 16 bidirectional endpoints, including control endpoint 0
    Note: Only seven periodic device IN endpoints are supported.
  • Supports a generic root hub
  • Supports the external hub connection in Host Buffer DMA mode, Target mode, and External DMA mode.
  • Performs transaction scheduling in hardware
On the USB PHY layer, the USB OTG controller supports the following features:
  • ULPI PHY support for unidirectional or bidirectional 8-bit SDR bus interface
  • A single USB port connected to each OTG controller
  • Software-controlled access, supporting vendor-specific or optional PHY registers access to ease debug
  • The OTG 2.0 support for Attach Detection Protocol (ADP) only through an external (off-chip) ADP controller
On the integration side, the USB OTG controller supports the following features:
  • Different clocks for system and PHY interfaces
  • Dedicated TX FIFO buffer for each device IN endpoint in direct memory access (DMA) mode
  • Packet-based, dynamic FIFO memory allocation for endpoints for small FIFO buffers and flexible, efficient use of RAM that can be dynamically sized by software
  • Ability to change an endpoint's FIFO memory size during transfers
  • Clock gating support during USB suspend and session-off modes
  • PHY clock gating support
  • System clock gating support
  • Data FIFO RAM clock gating support
  • Local buffering with error correction code (ECC) support
Note: The USB OTG controller does not support the following protocols:
  • Enhanced Host Controller Interface (EHCI)
  • Open Host Controller Interface (OHCI)
  • Universal Host Controller Interface (UHCI)

The USB OTG controller only supports USB 2.0 ULPI PHYs.