logo
Kurashizu Blogwhere ideas flow
  • Home
  • News
  • Blog
  • About
  • Home
  • News
  • Blog
  • About

© 2026 Kurashizu. All rights reserved.

Admin·New Post·Service Status
Powered by Cloudflare·01.11.26
← Back to news

An Engineer's Guide to USB Typе-С (2024)

Original article
ti.com|269 points|55 comments|by gregsadetsky|Jul 10, 2026

An Engineer's Guide to USB Type-C (2024)

USB Type-C (USB-C) is frequently misunderstood as merely a "reversible connector." To an engineer, however, it represents a complex intersection of physical layer symmetry, dynamic power negotiation, and multiplexed high-speed data signaling. This guide breaks down the technical architecture required to implement USB-C in modern hardware.


1. The Physical Layer & Pinout

The USB-C connector consists of 24 pins arranged in a mirrored configuration to allow reversibility. Unlike previous iterations, the "host" and "device" are not determined by the physical shape of the plug, but by the electrical state of the Configuration Channel (CC) pins.

Pin Mapping Table

Pin NameSymbolCountFunctionDescription
VBUSVBUSV_{BUS}VBUS​4PowerMain power rail (up to 48V in EPR)
GNDGNDGNDGND4GroundCommon return path
TX/RXTX±/RX±\text{TX} \pm / \text{RX} \pmTX±/RX±8High-Speed DataDifferential pairs for USB 3.2/USB4
D+/D-D+/D−D^+ / D^-D+/D−2Legacy DataUSB 2.0 backward compatibility
CCCC1 / CC22ConfigurationOrientation, Role, and PD negotiation
SBUSBU1 / SBU22Sideband UseAuxiliary signals (e.g., DisplayPort AUX)

Engineer's Note: The symmetry is achieved because the CC1 and CC2 pins are not mirrored; they are unique. The cable only contains one CC wire, and the orientation is detected based on which pin (CC1 or CC2) sees the termination resistor.


2. The Logic of the Configuration Channel (CC)

The CC pins are the "brains" of the connection. They handle three primary tasks: Orientation Detection, Role Detection, and Power Negotiation.

Role Definitions

  • DFP (Downstream Facing Port): The source of power (e.g., a wall charger).
  • UFP (Upstream Facing Port): The sink of power (e.g., a smartphone).
  • DRP (Dual Role Port): A port that can be either a source or a sink (e.g., a laptop).

Orientation Logic

When a cable is plugged in, the DFP pulls up CC1 and CC2 to 3.3V or 5V via resistors (RpR_pRp​). The UFP pulls these pins down to ground via RdR_dRd​.

VCC=Vsource×RdRp+RdV_{CC} = V_{source} \times \frac{R_d}{R_p + R_d}VCC​=Vsource​×Rp​+Rd​Rd​​

The port that detects the voltage drop on a specific CC pin determines the orientation of the high-speed lanes.


3. USB Power Delivery (USB-PD)

While basic USB-C provides 5V, USB-PD allows for much higher power levels through a sophisticated digital handshake over the CC line using Biphase Mark Coding (BMC).

Power Profiles

  1. Standard Power Range (SPR): Up to 100W (20V @ 5A).
  2. Extended Power Range (EPR): Up to 240W (48V @ 5A).

The Negotiation Flow

The following diagram illustrates the simplified handshake between a Source and a Sink:


4. Data Protocols & Alternate Modes

USB-C is a "tunnel" that can carry multiple protocols. Through Alternate Mode (Alt Mode), the high-speed TX/RX lanes are repurposed.

  • USB 2.0: Always available via the dedicated D+/D−D^+/D^-D+/D− pins.
  • USB 3.1 →\rightarrow→ USB 3.2 Gen 2x2: Uses all four high-speed lanes for data (up to 20Gbps).
  • DisplayPort Alt Mode: Reassigns lanes to carry video signals.
  • Thunderbolt 4 / USB4: Uses a complex packet-based tunneling system to mix PCIe, DisplayPort, and USB data.

Implementation Example: Lane Mapping

If a device enters DP_Alt_Mode_C (2 lanes for DP, 2 for USB 3.2), the mapping looks like this: Lane 0 →\rightarrow→ DP Lane 0 Lane 1 →\rightarrow→ DP Lane 1 Lane 2 →\rightarrow→ USB TX1 Lane 3 →\rightarrow→ USB RX1


5. Hardware Design Checklist

When designing a PCB for USB-C, follow these critical constraints:

  • Impedance Matching: Ensure differential pairs are matched to 90Ω±10%90\Omega \pm 10\%90Ω±10%.
  • ESD Protection: Place TVS diodes as close to the connector as possible.
  • VBUS Decoupling: Use high-voltage rated capacitors for EPR (48V) support.
  • CC Termination: Correct RpR_pRp​ and RdR_dRd​ values based on the desired role.
  • EMI Shielding: Ensure the connector shell is tied to chassis ground.

Sample Configuration Code (Pseudo-C)

// Initialize USB-C Port as DRP
void init_usb_port() {
    USB_C_REG_CONFIG |= (1 << ROLE_DRP); 
    USB_C_REG_PD_ENABLE = 1;
    
    if (detect_orientation() == CC1_ACTIVE) {
        set_mux_state(Symmetry_A);
    } else {
        set_mux_state(Symmetry_B);
    }
}

Summary Table: Evolution of the Standard

FeatureUSB 2.0 (Type-A)USB 3.2 (Type-C)USB4 / TB4
Max Speed480 Mbps20 Gbps40-80 Gbps
Max Power2.5W - 4.5W100W240W
ReversibleNoYesYes
Alt ModesNoYesYes (Tunneling)