Tang Console 60K: is there a USB 3.0 (SuperSpeed) example, or has USB 3.0 been verified on this board?

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
43/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Domain
embedded-iot

Research direction

Start by checking this repository's existing FPGA examples and the USB 2.0 HID host example mentioned in the issue. Determine whether a USB 3.0 SuperSpeed example or verification details for the Tang Console 60K ports are available, including the SerDes and PHY settings. Done means providing a confirmed example or verification status and, if available, the relevant signal path details.

Written by the indexing model from the issue text.

Description

Hi Sipeed team,

I am trying to bring up USB 3.0 SuperSpeed on the Tang Console 60K (GW5AT-LV60PG484AC1/I0, Console board Rev 1.3), using the Gowin USB 3.0 PHY IP (PIPE interface) on the USB-A port 1 (SerDes Q0 Lane2, REFCLK1 from the MS5351) with my own link layer and above.

So far the link never comes up:

  • The host hub sees the receiver termination and goes Rx.Detect -> Polling -> SS.Inactive.
  • No LFPS from the hub is ever detected by the PHY, and the hub never responds to the LFPS we send.
  • The same RTL (link layer, protocol layer, device) is working at 5 Gbps on another GW5AT board (Q0 Lane0, 125 MHz REFCLK0), so I believe the design itself is OK.
  • Cables, lanes (port 1 / port 2), link partners, reference clock frequency (125 MHz and 100 MHz) and IDE versions have been tried without any change.

This repository has examples for PCIe, HDMI, SDRAM, I2S, etc., but I could not find one for USB 3.0, and the 138K example repository only has a USB 2.0 HID host.

Questions:

  1. Is there a USB 3.0 example design for the Tang Console / Mega 60K (even an unpublished or internal one)? If yes, could you share it, or at least the SerDes / PHY IP settings used (lane, reference clock source and frequency, QPLL selection)?
  2. If no example exists, has USB 3.0 SuperSpeed actually been verified by Sipeed on the Console 60K's USB-A ports? Or are those ports only validated for USB 2.0 so far?

Any hint about the SuperSpeed signal path on the board (AC coupling, trace length, anything that would limit 5 Gbps on Lane2/Lane3) would also be appreciated.

Thanks!

Dominant language
Verilog
Stars
24
Forks
4
Avg merge
7h 19m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sipeed/TangMega-60K-example

All issues in sipeed/TangMega-60K-example

Similar issues

More Embedded & IoT issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.