Author Topic: USB Typet-C Orientation Detection for Power Delivery  (Read 1484 times)

0 Members and 1 Guest are viewing this topic.

Offline AJolletTopic starter

  • Newbie
  • Posts: 7
USB Typet-C Orientation Detection for Power Delivery
« on: October 19, 2017, 03:47:08 pm »
Hey everyone,
I'm basically trying to make a USB rechargeable device that will be charged through a Type-C connector (purely for ease of use) and possibly by a Type-C hub on the host side.
From what I gathered so far, the power lines are purely symmetrical on the connector so they're not a problem.
I also read that the CC pins are used for cable orientation detection to allow proper routing of the different differential signals.
I for battery charging purposes I don't really care about that but I was wondering if a Type-C hub needed to detect cable orientation in order to supply power to the device.

To put it in more simple words, can I just leave all pins but the power pins floating on the device side and expect any power to be delivered ?
 

Offline Dave

  • Super Contributor
  • ***
  • Posts: 1356
  • Country: si
  • I like to measure things.
Re: USB Typet-C Orientation Detection for Power Delivery
« Reply #1 on: October 19, 2017, 04:18:52 pm »
It depends on the host, but as far as I'm aware, you need the device to be enumerated to get the host to provide power. You're going to need some sort of chip that tells the host: "Hey, I need this much power, feed me!"
<fellbuendel> it's arduino, you're not supposed to know anything about what you're doing
<fellbuendel> if you knew, you wouldn't be using it
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 3033
  • Country: dk
    • Tests
Re: USB Typet-C Orientation Detection for Power Delivery
« Reply #2 on: October 19, 2017, 05:30:51 pm »
To put it in more simple words, can I just leave all pins but the power pins floating on the device side and expect any power to be delivered ?

No, you need a resistor to say you are a downstream device.
Technically this gives you access to lowest power level and by checking the voltage at the resistor you can see if you can draw more power.
You can also look for the usual usb data bus codes.
 
The following users thanked this post: AJollet

Offline lucazader

  • Regular Contributor
  • *
  • Posts: 221
  • Country: au
Re: USB Typet-C Orientation Detection for Power Delivery
« Reply #3 on: October 20, 2017, 07:52:30 am »
Yea all you need is a pull down resistor on on of the two CC lines.

For default usb power (5v 500/900ma) it is a 5.1k pulldown resistor.
I am not sure what the values for the following are, but they are also available power options, using resistors.
5V 1.5A
5V 3A

In testing I have found that most USB wall chargers dont need the resistors to provide power, howver most properly implemented ports do need one of these resistors to start providing power.

For any power levels over 5v or over 3A, you would need to get a Power Delivery chip than can communicate with the power provider to negotiate the higher power levels.
 
The following users thanked this post: AJollet

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 3033
  • Country: dk
    • Tests
Re: USB Typet-C Orientation Detection for Power Delivery
« Reply #4 on: October 20, 2017, 02:31:36 pm »
For default usb power (5v 500/900ma) it is a 5.1k pulldown resistor.
I am not sure what the values for the following are, but they are also available power options, using resistors.
5V 1.5A
5V 3A

It is the power supply that need different resistor, depending on the power level. You check the voltage across the pulldown resistor to see what resistor is in the power supply.

For any power levels over 5v or over 3A, you would need to get a Power Delivery chip than can communicate with the power provider to negotiate the higher power levels.

Not always, today you will often find QuickCharge (or other usb protocol) on usb-c chargers or usb charger with conversion cable.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf