UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor vvilly
Visitor
634 Views
Registered: ‎03-26-2019

usb 3.0 example on zcu106

I am trying to run USB 3.0 device mode example on zcu106 evaluation borad.


I configured and loaded usb mass storage example as below image.

usb3-vivado.PNGusb3-sdk_example.PNG

 

usb3-zcu106.jpg

 

The example code works fine with usb 2.0.

However, I can not run it with usb 3.0.

I cann't get a USB 3.0 descriptor.

usb3-desc.PNG


Simply debugging, despite 'XUSBPSU_DCFG(0xc700) |= XUSBPSU_DCFG_SUPERSPEED', it will be connected to usb2.0 only as below.


usb3-source.PNG

usb3-terminal.PNG

 

What have I missed?
Please tell me how I can connect the example with usb 3.0 in device mode?

 

P.S.  The version of tools are Vivado 2018.3 and SDK 2018.3.

 

Thanks in advance,

Willy

0 Kudos
8 Replies
Xilinx Employee
Xilinx Employee
608 Views
Registered: ‎09-01-2014

Re: usb 3.0 example on zcu106

Maybe this is due to your USB cable/adapter since USB3.0 is senscitive to the cable.
would you please try it in Linux(ZCU106 petalinux BSP)?

And what’s your J110 setting? It looks like in the OFF state.

According to ug1244.
J110 CVBUS select
ON = Device mode (1 µF)
OFF = Host mode (120 µF) and source of bus power
0 Kudos
Visitor vvilly
Visitor
602 Views
Registered: ‎03-26-2019

Re: usb 3.0 example on zcu106

I tried using some different cables, but the result was the same.

For testing on Linux, I have read the following document.

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842410/Zynq+UltraScale+MPSoC+USB+3.0+Mass+Storage+Device+Class+Design

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841729/Zynq+Ultrascale+MPSOC+Linux+USB+device+driver#ZynqUltrascaleMPSOCLinuxUSBdevicedriver-PeripheralMode

But it failed because configfs.ko file was not generated.

Please tell me if there is document for petalinux 2018.3 version.

 

And... according to ug1244 and schematic of zcu106.

J110 CVBUS select

Jumper off: device mode

Jumper on: host mode

It works only with usb 2.0 regardless of jumper status. 

 

Thank you for your reply,

Willy

0 Kudos
Xilinx Employee
Xilinx Employee
587 Views
Registered: ‎09-01-2014

Re: usb 3.0 example on zcu106

maybe that wiki page is not updated. I don't remember ko files are needed when I tried on ZCU102, just need to enable the usb and sent device or host mode in DT is ok from petalinux BSP.
I don't have a USB A to A cable, so cannot try on zcu106.
one thing I forgot, if you are running standalone usb example, you need to run FSBL first, then run it.
0 Kudos
Visitor vvilly
Visitor
560 Views
Registered: ‎03-26-2019

Re: usb 3.0 example on zcu106

This problem is solved.


I have disassembled the usb cables and the usb adapters I have such as usb-a to c.

Some cables and adapters had problems supporting USB 3.0 bacause the tx/rx differencial line is not connected for usb3.0 (despite usb-a plug being blue color).

And I noticed that the usb-c receptacle in the main board(GIGABYTE Z390 AORUS PRO) that I am using does not work according to the direction (despite type c should be non-directional).

As a result, I was able to get the usb 3.0 descriptor by using the appropriate cable and connection method.

 

Thank you for your support.

 

253 Views
Registered: ‎08-07-2019

Re: usb 3.0 example on zcu106

HI,vvilly

Now I met a similar problem, in zcu106 board USB 3.0 is identified as USB 2.0. could you tell me what kind of cable and USB interface I need to make use of ?

 

thanks a lot

 

0 Kudos
Visitor vvilly
Visitor
242 Views
Registered: ‎03-26-2019

Re: usb 3.0 example on zcu106

 

I used Type-A Male to Type-A Male USB 3.0 cable.

When you choose a proper usb 3.0 cable, there are some notices.
There are many substandard usb 3.0 cables in market.
Especially, most below $10 cables are substandard cables.
You need to choose more than $20~30 cables.
And you also take notice of using usb type-c receptacle on the mainboard.
Some usb host chips for usb type-c receptacle didn't work as usb 3.0 on Windows.
You had better use type-a receptacle for testing.

 

0 Kudos
229 Views
Registered: ‎08-07-2019

Re: usb 3.0 example on zcu106

HI,  vvilly

thanks you for your fast reply. could you tell me why  less than $10 cables can work in windows or in ubuntu system, can't work in zcu106 ?

 

thanks a lot

0 Kudos
Visitor vvilly
Visitor
220 Views
Registered: ‎03-26-2019

Re: usb 3.0 example on zcu106

 

Most of the cheaper usb 3.0 cables which I disassembled such as type-a to a, type-a to c did not have tx/rx differencial lines connected to each other.
These cables had D+/D- line only.
The tx/rx differencial lines are needed for usb 3.0 connection.

 

0 Kudos