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.

TUSB9261: How to detect the connection between USB2.0 and USB3.0

Part Number: TUSB9261

In my design, I need to know whether the connected signal is USB2.0 or USB3.0, so the firmware version used is v1.03. However, in applications, there will be probabilistic connection failure, Can you tell the way and process of chip detection connection and the basis of judgment. So that I can analyze the problem of USB host or which step in the USB enumeration process is abnormal.

  • Hi, 

    You can use GPIO 6 to understand if USB 2 has enumerated. You can use GPIO 7 to understand if USB 3 has enumerated. These GPIOs will only tell you if it has enumerated and will not give hints at why enumeration may have failed. 

  • Hi:

    Thank you for your reply.

    The following screenshot shows the device(TUSB9261) enumeration process captured by USB monitor. At which step does gpio6 / 7 of the chip indicate that the enumeration is successful?

  • In other words, FW detects which step of enumeration and determines whether the enumeration is successful? The current situation is that the enumeration process monitored by the USB host has been completed, but the GPIO on tusb9261 has not changed its level. Therefore, please tell me how tusb9261 determines the success of enumeration, so that we can check whether the enumeration process is normal and whether any key information has not been sent by the host.

  • Hi,

    Can you try the latest FW on ti.com (V1.06)? GPIOs should operate with this version of the FW. Enumeration is successful once USB descriptors are reported by TUSB9261 on USB 2 or USB 3 (which ever enumerates).

  • Hi,

    As shown in the screenshot above, there are many get descriptors. Do you mean that the enumeration is successful when the first USB descriptor is reported? Or require all descriptors to be reported?

    V1.06 version has been used, but the USB2.0 or USB 3.0 connection cannot be indicated through GPIO status. Therefore, TI's technical support engineer recommends using v1.03 firmware at that time. Please help confirm again.

  • Hi,

    Correct, directly after USB enumeration is successful the USB Host request the USB device descriptors. For USB3, if you are analyzing the links you will see the link enters the U0 state (and descriptors requested) if enumeration is successful. It would probably be more useful to look at the UART debug log output on GPIO 8 and 9. Is this an option for you? Looking at GPIO5 will only indicate USB 3 enumeration success but not give hint at hy USB 3 enumeration has failed. GPIO5 operation should be the same with V1.06 and v1,03. 

  • Hi,

    I have collected the debug log through UART, but I don't see the information about U0 status. How to analyze this log? Can you help explain the meaning of key instructions.

  • HI,

    "Connected at Superspeed" line indicates the TUSB9261 USB 3 link has entered U0.