Tool/software:
I'm using a HD3SS3220 between a CPU with USB3.1 host capability and a standard USB type-C female connector. Here is the schematics:
HD3SS3220 is setup in DFP role. I plug a USB 3.1 dongle male (also sometimes called a key chain) in the female connector. I get on each side:
[ 2488.150629] usb 5-1: new SuperSpeed USB device number 17 using xhci-hcd [ 2488.172203] usb 5-1: New USB device found, idVendor=05dc, idProduct=a833, bcdDevice=11.00 [ 2488.172209] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2488.172212] usb 5-1: Product: USB Flash Drive [ 2488.172215] usb 5-1: Manufacturer: Lexar [ 2488.172217] usb 5-1: SerialNumber: AAZX1ZH78GMYMZH8 [ 2488.173503] usb-storage 5-1:1.0: USB Mass Storage device detected [ 2514.298445] usb 4-1: new high-speed USB device number 11 using xhci-hcd [ 2514.440032] usb 4-1: New USB device found, idVendor=05dc, idProduct=a833, bcdDevice=11.00 [ 2514.440039] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2514.440043] usb 4-1: Product: USB Flash Drive [ 2514.440045] usb 4-1: Manufacturer: Lexar [ 2514.440048] usb 4-1: SerialNumber: AAZX1ZH78GMYMZH8 [ 2514.442257] usb-storage 4-1:1.0: USB Mass Storage device detected
So on one side, the dongle is recognized as USB3.1, on the other side, it's only recognized as USB 2.0. The dongle works on both sides as super-speed on my PC.
Where is the problem and what am I missing? How can I make it work as USB3.1 on both sides? For the records, PIN 11 as DIR is always high on both sides. There are more decoupling capacitors on 5V and VBUS is generated with AP22652.
Regarding the AC coupling capacitors, there are two caps close to the CPU, so before USBS_TX_N/P. My understanding is that the muxes inside HD3SS3220 are just gates without any logic so the part doesn't interfere with the need or not of AC coupling capacitors. As for the caps on the RX lines, "my understanding' is that it should be the dongle that should implement them (not completely sure about that: there is a similar question here but it doesn't help me).