Hi,
Answering your questions:
- We are planning to connect the Type C port to a USB 2.0 Laptop port for communication with the help of a USB Type c to USB 2.0 connector. In such a stage, How the processor will be able to detect the connected port is USB 2.0..?
[A1] Upon connection, the CC line will identify if your system will be either a USB2 host, or device. If you are a USB2 host, you will see the ID pin output of PTN5150 to go down to 0. And for USB2 device role, ID pin will stay high. Also, upon a valid connection, the CON_DET pin will go high. When disconnect, CON_DET will go low.
|
|
No Connection
|
When PTN5150 is connected as DFP (host mode)
|
When PTN5150 is connected as UFP (device mode)
|
|
CON_DET
|
0
|
1
|
1
|
|
ID (external pull up)
|
1
|
0
|
1
|
- How the USB 2.0 Communication is initiated from the processor side..?
[A2] You can use CON_DET output to identify there is a connection established, and based on ID output state, you can initialize your process as host or device
- PTN 5150A acts on the basis of CC pins. in the case of Type C to USB2.0 cable, there wont be any CC connections from the USB2.0 side.
[A3] That is correct. However, just like a USB OTG cable, you have a ID pin to identify if this port will be a host or device role. And based on the role, your device will need to either provide 5V power (if ID pin is 0), or sink 5V power if ID pin is 1.
Upon USB2 connection, I think there is pull up resistor on D- line to identify that there is a connection. So this will serve as the connection indication
- Same issue comes in the case of USB 3.0 Type A to USB 3.0 Type C connector. If the USB type C port is connected to USB Type A port, there wont be any CC configuration in the USB Type A side. Hence, How will we able to detect the Highspeed Communication channel from the Cable is connected to the TX1,RX1 differential pair of the receptacle, or the TX2,RX2 pair of the receptacle.
[A4] For USB3, there is a mechanism called RX detect to detect if there is any far end termination (basically to check if a device is connected on the other side of the cable). If there is nothing detected, then it will keep trying to do the RX detect until terminations are found, then it will start the high speed communication.
Regards,
Jose