This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TUSB8020B: How to let TUSB8020BIPHPR USB Hub enter to compliance host mode?

Part Number: TUSB8020B

Hi, Ti support teams,

In our evaluation board, the hardware design is our SoC USB port connected to USB Hub TUSB8020BIPHPR. Our software is Android and Yocto Linux.

For our SoC part, through software commands to trigger the main SoC enter USB 2.0 and 3.0 compliance mode.

For example: 

cd /sys/devices/platform/soc/xxxxxxxx.usb/xxxxxxxx.xhci
echo -n test.packet 1 > hqa

Then, the scope will show the SoC output test.packet signal before USB hub TUSB8020BIPHPR.

My question is if we want to validate the USB hub TUSB8020BIPHPR to USB connector high-speed eye diagram.

What should we do? Does TI provide any related software patch to achieve USB hub entry into compliance mode (Host)? 

Best  Regards,

Andy Kao

  • Andy

    The hub must receive a specific test mode command issued from the USB host. In this case, the “Set Port Feature: PORT_LINK_STATE = Compliance Mode” is a standard control transfer which is described in the USB3.2 specification. The Command format and required bRequest, wValue, and wIndex values are described through USB3.2 specification.

    Thanks

    David

  • Hi David,

    Thanks for your reply. It is useful. I have more extended questions.

    1. May I know which USB hub hardware bus communicates the test mode command?

    2. When the USB hub enters compliance mode, how do switch the USB hub output ports to do the compliance test? or when the USB hub enters compliance mode, all USB hub output ports will output the test packet signal at the same time?

    Thanks

    Andy

  • Andy

    1. May I know which USB hub hardware bus communicates the test mode command?

    2. When the USB hub enters compliance mode, how do switch the USB hub output ports to do the compliance test? or when the USB hub enters compliance mode, all USB hub output ports will output the test packet signal at the same time?

    The USB host needs to send a SET_FEATURE command to the hub. The SET_FEATURE command also defines a particular port that will be in the compliance mode.

    Thanks

    David