USB Power Delivery
Upstream and Downstream Ports
USB has several methods of distributing power between hosts (Downstream Facing Ports (DFPs)) and devices (Upstream Facing Ports (UFPs)).
- Default Power
- USB Type-C® Current Mode
- Negotiated Power Using Power Delivery 2.0 Protocol
The USB specification also provides for a battery charging specification to allow a USB host the ability to charge the battery of a device.
Default Power
The USB specification calls for 2.0-compliant hosts to deliver 500 mA at 5V to an enumerated device. USB 3.0 and 3.1 hosts offer 5V at 900 mA. Product manufacturers must design their applications to be compliant with these specifications. USB-certified hosts must be capable of delivering this amount of power. Certified USB devices must likewise limit their power draw from the host to these limits.
Bus-powered devices will begin to enumerate at a power level lower than the default power. During the enumeration process, the device informs the host of how much power it will consume on a configuration-by-configuration basis. The host analyzes the available power before the enumeration process is completed and a device configuration is activated. It is the device's responsibility to control its current usage and keep it in compliance with the host's capabilities. A key restriction of USB compliance is that a device will not consume more power than it has told the host during enumeration.
Type-C Current Mode
Type-C systems are capable of supplying more power than the default power of 2.0 / 3.x systems. The amount of power delivered by Type-C systems can vary from system to system. Using the pull-up resistors (Rp) connected to the CC1 and CC2 signals, Type-C DFPs advertise to UFPs their ability to supply current in excess of the USB default power.
DFP Capability | Rp for 5V signal | Rp for 3.3V | Current source |
---|---|---|---|
1.5A @ 5V | 22 kΩ | 12 kΩ | 180 μA |
3.0A @ 5V | 10 kΩ | 4.7 kΩ | 330 μA |
Power Delivery Protocol
USB Power Delivery 2.0 (PD) refers to the protocol used between a DFP, an electronically marked cable, and a UFP. PD commands are transmitted through a cable's CC line. Despite its name, PD is not limited to just power negotiations. Alternate mode and data role switching (swapping of UFP and DFP roles) are achieved through PD.
At start-up, the DFP is the power provider and the UFP is the power consumer.
PD provides for the power provider to inform the power consumer what current and voltage levels can be provided. The power consumer will inform the power provider of which profile it wants to use and which voltage level is required. The power provider then sets the appropriate voltage level. There are five standard protocol profiles available from the PD:
Profile # | ~5V | ~12V | ~20V |
---|---|---|---|
1 | 2A (10W) | n/a | n/a |
2 | 2A (10W) | 1.5A (18W) | n/a |
3 | 2A (10W) | 3.0A (36W) | n/a |
4 | 2A (10W) | 3.0A (36W) | 3A (60W) |
4 | 2A (10W) | 5.0A (60W) | 5A (100W) |
PD allows the provider and the consumer roles to be switched at any time.