USB 3.1 adds a full-duplex SuperSpeed link (one TX pair and one RX pair) beside the legacy USB 2.0 D+/D− pair. Gen 1 runs at 5 Gb/s with 8b/10b coding; Gen 2 runs at 10 Gb/s with 128b/132b. Unlike PCIe there is no shared reference clock: each end runs from its own crystal with spread spectrum, across a detachable cable that may be plugged in either way up. This page follows a host SoC driving an external USB-C SSD over a 1 m cable: the connector and its flip, every signal, attach and link training, equalization, the board constraints, and a 4 KB read at the level of individual packets.
Specifications: USB 3.1 / USB 3.2 [1], USB Type-C [2], xHCI [3], USB Mass Storage BOT and UAS [4].
| Marketing name | Spec names | Signalling | Encoding | Lanes | Usable (approx.) | Connector |
|---|---|---|---|---|---|---|
| SuperSpeed USB 5Gbps | USB 3.0 = USB 3.1 Gen 1 = USB 3.2 Gen 1 | 5 Gb/s NRZ, UI 200 ps, Nyquist 2.5 GHz | 8b/10b | 1 × (TX + RX) | ≈ 400–450 MB/s | Type-A, B, micro-B, C |
| SuperSpeed USB 10Gbps | USB 3.1 Gen 2 = USB 3.2 Gen 2 | 10 Gb/s NRZ, UI 100 ps, Nyquist 5 GHz | 128b/132b | 1 × (TX + RX) | ≈ 1.0–1.1 GB/s | Type-A, C |
| SuperSpeed USB 20Gbps | USB 3.2 Gen 2x2 | 2 × 10 Gb/s | 128b/132b | 2 × (TX + RX) | ≈ 2.0 GB/s | Type-C only |
The OSI model splits any communication system into seven layers, each solving one problem and handing a unit of data to the layer below. USB 3.1 defines a Physical layer, a Link layer and a Protocol layer for SuperSpeed, plus the device framework and class specifications (here mass storage) above them. The mapping below is the conventional one; USB was not written against OSI, so the edges are approximate. Click a layer to see what it does in this system and where this page covers it. Every section below carries the same layer tags.
The 24-pin receptacle is rotationally symmetric: row A and row B carry the same functions in reverse order, so a plug inserted either way finds VBUS, GND and D+/D− in the same places. SuperSpeed and CC are not symmetric in use: the plug connects only one CC line through the cable, and that tells the host which SuperSpeed pair set the plug's active pairs landed on. Change the orientation and the source's Rp to see what the host measures.
| Signal (receptacle pins) | Direction (host view) | Electrical | Function | What to get right |
|---|---|---|---|---|
| SSTXp1/n1 (A2/A3), SSTXp2/n2 (B2/B3) | Out | Differential NRZ, 10 Gb/s, ≈ 0.8–1.2 Vpp,diff, AC-coupled | SuperSpeed transmit; one pair active per orientation | 90 Ω diff, caps 75–265 nF on the board, mux loss, ≤ 5 mil intra-pair skew |
| SSRXp1/n1 (B11/B10), SSRXp2/n2 (A11/A10) | In | Differential, CTLE + DFE + CDR in PHY | SuperSpeed receive | No caps on the board: the far transmitter carries them. Keep separated from TX (NEXT) |
| D+/D− (A6/A7, B6/B7) | Bidirectional | USB 2.0: 480 Mb/s HS current-mode, 400 mV; FS/LS 3.3 V | Mandatory USB 2.0 path; also used before SuperSpeed is up on some hosts | Short the A and B rows on the board with minimal stubs; 90 Ω diff |
| CC1 (A5), CC2 (B5) | Bidirectional | Rp pull-up on host, Rd 5.1 kΩ on device; PD BMC at 300 kb/s if Power Delivery is used | Attach detect, orientation, current advertisement; VCONN on the unused CC | ESD rated for VBUS-short (adjacent pins); low capacitance if PD is used |
| VBUS (A4, A9, B4, B9) | Out | 5 V (vSafe5V); 0.9 A for USB 3.x default, 1.5 or 3 A advertised by Rp, more with PD | Device power | Cold socket: only switched on after Rd is seen; turn off on detach; current limit |
| GND (A1, A12, B1, B12) | — | Return and shield | Return current for every pair | Stitch shell and GND pins straight into the reference plane |
| SBU1/SBU2 (A8/B8) | — | Sideband use | Alternate modes (DisplayPort AUX, etc.) | Unused by USB 3.1; leave open or as the alt-mode needs |
A USB-C port carries several signaling systems at once, each with its own encoding: SuperSpeed on the high-speed pairs, low-frequency bursts on the same pairs when the link is idle, USB 2.0 on D+/D−, and DC levels plus Power Delivery messages on CC. Signaling is how a symbol becomes a voltage; encoding is how bits become symbols.
| Where | Signaling (electrical) | Encoding / coding | Why it was chosen |
|---|---|---|---|
| SuperSpeed Gen 1 (5 Gb/s) | NRZ (PAM2), differential, AC-coupled, −3.5 dB de-emphasis | 8b/10b, 16-bit scrambler, K-symbol framing | DC balance, bounded run length, distinct framing symbols; 20 % overhead |
| SuperSpeed Gen 2 (10 Gb/s, this page) | NRZ (PAM2), 3-tap FIR (2.2 dB preshoot, −3.1 dB de-emphasis) | 128b/132b: 4-bit block header + 128 scrambled bits, 23-bit scrambler | 3 % overhead; the header bits are protected well enough to survive single-bit errors |
| Gen 2x2 (20 Gb/s) | Two NRZ lanes in each direction (both Type-C pair sets) | 128b/132b per lane, data striped | Double the bandwidth over the same passive cable |
| LFPS | Bursts of a 10–50 MHz square wave on the SS pairs; electrical idle between | None for wake/polling; LBPM (pulse-width modulation: burst length = bit value) for Gen 2 capability messages | Detectable with a squelch circuit before any PLL or CDR is running |
| USB 2.0 High Speed (D+/D−) | 480 Mb/s current-mode differential, ≈ 400 mV (17.78 mA into 22.5 Ω effective) | NRZI + bit stuffing (a 0 after six 1s), SYNC and EOP patterns | No coding overhead on average; stuffing bounds the run length for the receiver DLL |
| USB 2.0 Full/Low Speed | Single-ended 3.3 V levels: J, K and SE0 states | NRZI + bit stuffing | Simple, cheap transceivers |
| CC: attach and current | DC levels from Rp/Rd dividers (see the connector section) | None | Orientation and current advertisement without any data link |
| CC: USB Power Delivery | ≈ 1.1 V single-ended, 300 kb/s | BMC (biphase mark code) + 4b5b symbols, CRC-32 | DC-free and self-clocking on one wire that also carries DC detection levels |
| USB4 (for contrast) | Gen 3: NRZ 20 Gb/s per lane; v2 Gen 4: PAM3 at 80 Gb/s | 128b/132b + RS-FEC; PAM3 packs 11 bits into 7 three-level symbols | More bits per symbol where the channel cannot take a higher Nyquist frequency |
A Gen 2 channel is host board + receptacle + 1 m cable + receptacle + device board, roughly 20–23 dB at 5 GHz end to end. The transmitter's fixed FIR does part of the work and the receiver's CTLE and DFE the rest. The simulation runs PRBS7 through the transmitter setting and a lossy channel, with no receiver equalization.
Attachment is detected on CC, then the SuperSpeed link trains with LFPS and training sequences, then software enumerates the device over the default control endpoint. Click a stage.
The host reads one 4 KB block (eight 512-byte LBAs from LBA 1000h). Bulk-Only Transport wraps each SCSI command in three bulk transfers: a 31-byte Command Block Wrapper (CBW) on the bulk OUT endpoint, the data on the bulk IN endpoint, and a 13-byte Command Status Wrapper (CSW) on bulk IN. Unlike NVMe on PCIe, the host schedules every packet: the device only transmits when the host has asked with an ACK transaction packet carrying a packet count (NumP). Max packet size is 1024 bytes and the endpoint's MaxBurst is 4 or more.
| USB 3.1 Gen 2 | PCIe Gen 4 x4 | |
|---|---|---|
| Rate | 10 Gb/s × 1 lane | 16 GT/s × 4 lanes |
| Encoding | 128b/132b | 128b/130b |
| Usable bandwidth | ≈ 1.0–1.1 GB/s | ≈ 7.0–7.2 GB/s |
| Reference clock | None: independent clocks + SSC on each side | Shared 100 MHz REFCLK (common clock) |
| Channel | Detachable cable, flippable plug | Fixed board + slot or M.2 |
| Who moves data | Host schedules every transaction (ACK TP with NumP) | Device masters DMA into host memory |
| Flow control | NRDY / ERDY, packet counts | Credits (UpdateFC DLLPs) |
| TX equalization | Fixed normative setting | Negotiated presets and coefficients |
| Start-up signalling | LFPS bursts, then TSEQ/TS1/TS2 | Receiver detect, TS1/TS2 at 2.5 GT/s, then speed change |
| Hot-plug | Native (CC detect) | Possible but not typical for M.2 |
| Symptom | Likely cause | Check / fix |
|---|---|---|
| Device works in one plug orientation only | Mux select wrong or one receptacle pair set broken | Check the CC orientation signal driving the mux; continuity of the second pair set |
| Enumerates as USB 2.0 (High Speed) only | SuperSpeed link failed: no far-end termination seen, LFPS not detected, training failed | xHCI port status (link state stuck in Rx.Detect or Polling); TX/RX swapped; missing AC caps |
| Links at Gen 1 instead of Gen 2 | Cable not Gen 2 capable, or Gen 2 capability exchange (LBPM) failed on a marginal channel | Try a known Gen 2 cable; check loss budget including mux |
| Disconnects under load or with long cables | Marginal eye, link-level retries, recovery loops; VBUS droop | Error counters, protocol analyser; VBUS at the device during write bursts |
| No VBUS when plugged in | Rd not detected: CC miswired, Rp missing, dead-battery logic | Measure CC voltage: 0.25–0.61 V with default Rp and Rd |
| Wi-Fi or GNSS degraded when the drive is busy | Broadband radiation from the USB 3 link (2.4 GHz region) | Shielded cable and receptacle, good shell grounding, keep antennas away |
Rows A and B carry D+/D− in symmetric positions, and the board shorts them together, so either orientation lands on the same pair. The SuperSpeed pairs are not duplicated in the cable for Gen 1/Gen 2: the plug's single TX/RX set lands on TX1/RX1 in one orientation and TX2/RX2 in the other.
The receiver recovers the clock from the data (CDR). The rate mismatch, up to ±300 ppm plus SSC, is absorbed by elastic buffers that add or drop SKP symbols the transmitter inserts regularly.
5 × 5.1 / 61.1 ≈ 0.42 V, within the 0.25–0.61 V window for "Default USB power".
The host stops polling that endpoint (the link may drop to U1/U2 to save power). When the data is ready the device sends ERDY, and the host reschedules the IN transaction. No bandwidth is spent polling.
BOT allows one command at a time and adds a CBW and CSW round trip to each, so the link idles during flash latency. UAS queues many commands with streams, keeping the link busy while the NAND works.