Hi,
We were planning to implement a Dual role port operation through USB type C.
was planning to use PTN5150A in the reference design of LS1028A.
had some doubts regarding the working of PTN5150A.
-- 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..?
--- How the USB 2.0 Communication is initiated from the processor side..?
---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.
--- 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.
Please respond .
---
Thanks & regards,
Akshay V
Hardware Dept.
Kalki Communication Technologies pvt Ltd.
Hi Jose,
Thanks For the reply.
Some more clarifications to be attained.
How does that work. RX is not connected to PTN.
Sorry for the tremendous amount of doubts.
The product design is to be finalized by clearing these bottlenecks.
Response ASAP will be appreciated.
---
Thanks & Regards,
Akshay V
Hi Akshay V,
Please see below answers to the questions.
I also attached 3 schematics, this is our EVM design, which convers USB-A (receptacle) to a Type-C (Receptacle). I think customer can quickly reference to this design. You can think about the USB-A receptacle as USB-A plug. This is similar application design as your use case.
Let me know if you prefer to want to have a call with the Applications Engineer to clarify these questions. If Yes, please propose a date/time for the call (Apps Engineer is located in Bay Area, CA, USA).
Regards,
Jose
Hi,
Answering your questions:
[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 |
[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
[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
[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