Electrical – How to make this USB-C connector as a host

usbusb-cusb-host

I want to make a USB 2.0 Cable for some gadgets with a USB-C to USB-C connection.
I want to intentionally make connector end = host, and the other connector end = device. I've read around that I can do this using resistors, without the need of attaching another wired connection to both ends, but I am not sure how.

Any guidance on how I can achieve this? The connectors I am using are the ones below.

Thanks!

connectors

Best Answer

You need to use a pin which is called the ''CC pin'' see in the type-c pinout figure below:

enter image description here

since the USB type C connector allows the use of several pins, it enables the device to find out in what role to be in based on the CC Pin. it is pulled up and down via resistors on each termination, enabling the establishment of data roles between the ports.

For further info, check this link:

https://www.silabs.com/community/mcu/8-bit/knowledge-base.entry.html/2016/09/26/what_s_the_role_ofc-kQYe