USB-1 Type-C without 5k1¶
| Severity | Status | Implementation |
|---|---|---|
| error | runs in better_erc | easy, depends on NET-5, IMP-6 |
Data it needs: graph, part classes, values, rails.
Looks at. Type-C connector, CC pins, resistors to ground.
What it catches. A Type-C receptacle on a sink (a device that takes power) whose CC1 and CC2 have no 5.1 kΩ to ground and go to no CC/PD controller that could present Rd itself.
Why it matters. A Type-C source keeps VBUS off until it sees Rd on a CC pin: that is how it knows a sink is attached and which way the plug is turned. Without Rd a C-to-C cable from a laptop or a Type-C charger gives no power at all. The board still "works" on the bench with a C-to-A cable, whose A end always has VBUS and whose C plug carries its own 56 kΩ Rp, so the mistake survives until the first customer with a modern laptop.
Example. B200A (rePort) does it right: CC1 and CC2 of J1601 each have their own 5K1 to GND (R1603, R1604), a USB 2.0 sink with default power and no PD. Leave them out and the rePort is dead on every C-to-C host.
How to check. Find Type-C receptacles by symbol or pin names (CC1/CC2, A5/B5), follow each CC net: a resistor of 5.1 kΩ (±20 %, or ±10 % if the sink reads the advertised current) to a ground net, or a pin of a part that terminates CC itself, must be there.
Fix. One 5.1 kΩ to GND per CC pin (never one shared, see USB-9), or a PD controller or port protector with dead-battery Rd.
References. Type-C Table 4-28 (Sink CC termination Rd), §4.5.1.2.1 (detecting a valid source-to-sink connection), Table 4-10 (source perspective); AN5225 §11.3.1 (dead-battery Rd on STM32 UCPD); Wikipedia, USB-C "USB 2.0/1.1".
Settings¶
Set them in the project file under [checks."USB-1"], or for one run with --set USB-1.NAME=VALUE.
| Setting | Default | Meaning |
|---|---|---|
USB-1.rd |
5100 ohm | the sink termination Rd on each CC pin |
USB-1.tolerance |
0.2 | how far Rd may be from its value, as a fraction (±20 %; ±10 % for a sink that reads the advertised current) |
Test schematics¶
Each schematic below is in test_schematics/sources. The block under it is what berc check --only USB-1 reports on it.
usb-1_no_rd¶
error USB-1 #nbd Type-C receptacle J1: J1.A5 (CC1) on /CC1_J1 has no resistor to ground and goes to no CC controller: a Type-C source never turns VBUS on
net /CC1_J1, part J1, pin J1.A5
rd = 5.1 kΩ (derived USB-1 default)
tolerance = 0.2 (derived USB-1 default)
fix: one 5.1 kΩ to GND per CC pin, or a PD controller or port protector with dead-battery Rd
error USB-1 #63m Type-C receptacle J1: J1.B5 (CC2) on /CC2_J1 has only R1 10 kΩ to ground, not 5.1 kΩ and goes to no CC controller: a Type-C source never turns VBUS on
net /CC2_J1, part J1, pin J1.B5
rd = 5.1 kΩ (derived USB-1 default)
tolerance = 0.2 (derived USB-1 default)
fix: one 5.1 kΩ to GND per CC pin, or a PD controller or port protector with dead-battery Rd