Hi There,
We are using TUSB7340 in our PCB. When we plug in USB2.0 device it works but USB3.0 device does not work.
Could you please let me know how to debug?
Thanks
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.
Hi There,
We are using TUSB7340 in our PCB. When we plug in USB2.0 device it works but USB3.0 device does not work.
Could you please let me know how to debug?
Thanks
What operating system are you running? Can you get any information on what state the port is in? If it doesn't drop to USB 2.0, it may have gone to compliance mode. Have you tried removing it and reinserting it? Do you see this with multiple USB 3.0 flash drives? Can you confirm that the port is providing enough current on VBUS? 1A is recommended.
Regards,
JMMN
Later on we found out it works fine if we use an external USB3.0 connector but it does not work with the on board connection between TUSB7340 and a Cypress chip CYUSBZ3014. Is there possible the chips are too close and amplitude too big?
Ok, it sounds like the link is going to compliance mode rather than a signal quality issue. Can you confirm that when you directly connect the host and the device and it doesn't appear, if you do a hard reset of the device, it will then connect at USB 3.0 speeds? If so, this indicates you may need to adjust the power on reset timing of the host and device to avoid compliance mode entry.
Regards,
JMMN
More description of what we are seeing now.
Out of four ports of TUSB7340, we have three ports connected to three CYUSBZ3014 on the same board, and have one port connected to an USB connector.
If we do a hard reset of device (CYUSBZ3014/TUSB7340), it does not help. Even if power cycle the whole thing and it only works for one or two out of ten times if not less.
Later on, we changed the two AC caps of the three onboard ports to 50ohm resistor, then most of the time works fine now. But still there are some times does not work, e.g., one out of ten times does not work.
However, for the port connected to a USB connector, it always work well (We tested it many times with an external USB3.0/2.0 device).
It looks the the host and the device are getting out of sync during power on and one side is going to compliance mode. The green signals look like Polling.LFPS (can you confirm the time base in the scope shot?), but the TUSB7340 has not started polling yet. Since adding 50 ohm resistors impacts the behavior it is likely an issue with the receiver termination detect where the device is detecting the disabled terminations of the TUSB7340 as enabled.
Can you provide a scope plot from 1-2 minutes after a device fails to enumerate?
The time base is 10ms/div.
Could you elaborate this "Since adding 50 ohm resistors impacts the behavior it is likely an issue with the receiver termination detect where the device is detecting the disabled terminations of the TUSB7340 as enabled."?
We will try to collect waveform 1-2min after the device fails t enumerate.
What other things we can do to further debug whether it's a out of sync issue and something else?
That is very strange, the LFPS.polling should be 10 us, not10 ms.
Please provide more scope plots. Can you issue a software reset to see if it fixes the issue - sometimes this can be done by disabling and enabling the driver in Device Manager.
Hi JMMN,
We also bought a TI tusb7340evm board. It works well. Below is its waveform for your reference. The main difference is after it goes into the high frequecy signaling, it stays there.
Regarding your question, what our problematic borad's waveform looks like after 2min, it looks like below
And regarding the software reset, it does not help.
Lastest update, Besides replacing AC coupling cap with 50 ohm resistor, shorting the AC coupling cap also greatly increases the successful rate.
BTW, could you please change the status of this issue to Not Solved, right now is "TI thinks it solved" which is not true
Hello Junhua,
Which AC coupling cap pair is being shorted? TX from 7340 or TX from the device? TUSB7340 has been used in embedded designs in the past without any issues, but it appears that something about this device is causing the link training to fail. Without high frequency scope probes and compliance testing, it will be difficult to determine root cause.
Regards,
JMMN
Hi JMMN,
Yes, we just tried what you suggested. We only need to short one pair of the AC caps to get big impovement, which is the AC caps at TUSB7340's TX.
And we also measure the resistance look into the TX of TUSB7340 and the cypress's RX at power down. It turns out TUSB7340 has ~120 ohm in RX during power down, while the cypress chip's RX has >1Mohm resistance at power down.
Is this abnormal?
Thanks
Update. If we measure with power, cypress chip's RX also has ~100 ohm resistance. So the input resistance should be OK. Not a suspecious point.