Forum Discussion

amolkumar's avatar
amolkumar
Icon for Occasional Contributor rankOccasional Contributor
3 months ago
Solved

Reg Agilex5 A5ED028BM16AE5S SoC - USB3.0

Team,

I like to use USB3.0 block from HPS and like to know how much mini data rate is transferred for USB3.0 from Agilex5, any information on benchmark.

Regards

amol

  • Hi Amol

    As  there are no further inquiries during this period and the answer already been provided, I will step back and allow the community to assist with any future follow-up questions.

    Thank you for engaging with us!

    Best regards,
    Altera Technical Support

8 Replies

  • KianHinT_altera's avatar
    KianHinT_altera
    Icon for Frequent Contributor rankFrequent Contributor

    Hi Amol,

    Is there any further question related to this case, otherwise I would like to revert this thread to community support for future discussion.

     

    Thanks

    Regards

    Kian

    • amolkumar's avatar
      amolkumar
      Icon for Occasional Contributor rankOccasional Contributor

      Hi Kian,

      Customer want to use HPS for USB3.0 implementation

      so want to know if can transmit 5Gbps or less speed.

      Regards

      amol

      • KianHinT_altera's avatar
        KianHinT_altera
        Icon for Frequent Contributor rankFrequent Contributor

        Just to recap:


        The Agilex 5 HPS fully supports USB 3.0/3.1 Gen 1 at 5 Gbps and all lower speeds. Here's the full picture:


        USB Controller Overview

        The Agilex 5 HPS includes one USB 3.1 Gen 1 controller in addition to a separate USB 2.0 OTG controller. Agilex™ 5 FPGAs and SoCs Device OverviewThe USB 3.1 Gen 1 controller is a Synopsys IP, version 1.90a. Hard Processor System Technical Reference Manual


        Supported Speeds

        The USB 3.1 controller supports the following speeds:

        • SuperSpeed (SS) — 5 Gbps
        • High Speed (HS) — 480 Mbps
        • Full Speed (FS) — 12 Mbps
        • Low Speed (LS) — 1.5 Mbps

        In host mode, all speeds are supported. However, in device mode, low speed is not supported. Hard Processor System Technical Reference Manual


        PHY Interface for SuperSpeed

        The USB 3.1 Gen 1 controller supports up to 5 Gbps when configured for USB 3.1 Gen 1 and interfaced with the transceiver, and up to 480 Mbps when configured for USB 2.0 and interfaced with HPS I/O. Agilex™ 5 FPGAs and SoCs Device OverviewThe USB 3.1 controller uses a ULPI interface to the PHY for USB 2.0 operations and a PIPE3 interface to the GTS transceiver for SuperSpeed mode. Hard Processor System Technical Reference ManualThe GTS transceiver situated closest to the HPS is specifically reserved for the USB 3.1 protocol. The USB 3.1 controller is implemented within the HPS subsystem while the PCS and PHY portions are implemented within the GTS transceiver. Hard Processor System Technical Reference Manual


        Host vs. Device Mode Concurrency

        In host mode, both USB 2.0 and USB 3.1 operations can be simultaneously active to concurrently support USB 2.0 and USB 3.1 devices. However, in device mode, because the controller connects as either a USB 2.0 device or a USB 3.1 device, only one of these operations is active at a given time. Hard Processor System Technical Reference Manual


        Real-World Throughput (Agilex 5 Premium Development Kit)

        The attached performance data measured on the Agilex 5 Premium Development Kit with a USB thumb drive shows real-world throughput well within the 5 Gbps envelope:

        • Host mode average: ~314.7 MB/s write, ~366.2 MB/s read
        • Device mode average: ~327.0 MB/s write, ~394.0 MB/s read

        The note on that data states the maximum theoretical speed is 625 MB/s and real-world speeds are typically in the 300–450 MB/s range — consistent with SuperSpeed USB overhead.


        System Bus Bandwidth

        The USB 3.1 controller's system bus bandwidth is (2.43 × 1 + 0.5 × 1) Gbps = 2.93 Gbps total (combining the SuperSpeed and High-Speed bus instances). Hard Processor System Technical Reference Manual


        Boot Note

        In HPS Boot First mode, the USB 3.1 controller can only be used after "Phase 2 configuration." Hard Processor System Technical Reference Manual Make sure the customer's boot flow accounts for this if they are using HPS Boot First mode.

        Bottom line: the Agilex 5 HPS USB 3.1 Gen 1 controller fully supports 5 Gbps SuperSpeed operation, as well as all lower USB speeds, in both host and device modes.

    • KianHinT_altera's avatar
      KianHinT_altera
      Icon for Frequent Contributor rankFrequent Contributor

      Hi Amol,

      From the result it is in megabytes format on USB3, so USB theoretical max speed  is 625MB/s (5000Gbps). From the test result (in previous post) we conducted with our removeable USB thumb drive is around ~300MB/s (~2.4 Gbps) speed.

       

      Real-world speed is typically in the 300–450 MB/s range due to USB overheads (Line encoding, Protocol & Packet etc) and also depending on the device connected to the USB. In our test using removeable USB, thus write speed is always slower than the read speed for USB media.

       

      Thanks

      Regards

      Kian

       

  • KianHinT_altera's avatar
    KianHinT_altera
    Icon for Frequent Contributor rankFrequent Contributor

    Hi Amol, 

    Sorry for the wait, currently we are waiting for our team to finalize the review and publish the reference data in our github page. Will update you again after the page is published out.

    Thanks

    Regards

    Kian