Loading files
# usb-c-data — USB-C power + USB 2.0 data
**Function:** power entry **and** the USB 2.0 full-speed data pair. A
**superset of `usb-c-power`**: same receptacle, same 5.1k CC pulldowns, same
VBUS bulk, same default refdes — plus both connector orientations of D+/D−
tied together, run through the USBLC6's two ESD channels, then through 27Ω
series resistors to the MCU-side nets. **Never place both blocks** on one
board; pick this one the moment the MCU speaks USB.
**Status:** v1. Compile-verified against tscircuit@0.0.2279; not yet
hardware-verified (first article pending).
## Pin contract (what the block exposes)
| Net | Meaning |
|---|---|
| `net.V5` (default; `vbusNet` prop overrides) | 5V VBUS rail out |
| `net.GND` | ground (both GND pins and all four shell tabs) |
| `net.USB_DP` (default; `dpNet` prop overrides) | MCU-side D+, after the series resistor |
| `net.USB_DM` (default; `dmNet` prop overrides) | MCU-side D−, after the series resistor |
Internal to the block: `USB_DP_CONN` / `USB_DM_CONN` are the connector-side
nets between the receptacle, the ESD array, and the series resistors. Do not
trace to them from the board — they exist so the testbench can prove the series
resistors really separate the connector from the MCU. SBU1/SBU2 are marked
do-not-connect. Pairs directly with `rp2040-core`, which drives the same
`USB_DP`/`USB_DM` net names.
## Rail budget
Same as `usb-c-power`: 5V at up to 3A advertised by the 5.1k/5.1k Rd sink pair
(USB-C spec §4.5.1.2); budget conservatively **5V @ 1.5A** for JLC 1oz 2-layer
boards and feed `ldo-3v3` for logic. VBUS bulk stays at 10uF (USB 2.0 inrush
limit). The data pair carries no meaningful current — its budget is impedance,
not amps.
## Parts (pinned; verified 2026-08-10 via jlcsearch)
| Refdes | Part | LCSC | Package | Basic | Note |
|---|---|---|---|---|---|
| J1 | TYPE-C-31-M-12 | C165948 | SMD+TH hybrid | no | $0.16, 336k stock |
| R1, R2 | 0402WGF5101TCE, 5.1kΩ ±1% | C25905 | 0402 | yes | $0.0004, 8.45M stock — CC pulldowns |
| R3, R4 | 0402WGF270JTCE, 27Ω ±5% | C25100 | 0402 | **no** | $0.0005, 273k stock — D± series |
| U1 | USBLC6-2SC6 | C2687116 | SOT-23-6 | no | $0.035, 231k stock |
| C1 | CL21A106KAYNNNE, 10uF X5R | C15850 | 0805 | yes | $0.009 — VBUS bulk |
**Cost flag:** C25100 is an *extended* part — a sub-cent resistor that drags a
~$3 loading fee onto the BOM. A Basic 27Ω 0402 substitute would pay for itself
on any run; finding one is a `parts-book --lookup` job, and swapping it is a
block edit (same 0402 footprint, so layout survives).
## Design-rule notes
- **27Ω vs 27.4Ω:** the RP2040 hardware design guide specifies 27.4Ω
(`circuitlib.tables.USB_DP_DM_SERIES_OHMS`); this block ships the E24 27Ω
part. Inside tolerance for full-speed USB, and a deliberate sourcing choice —
recorded here so the delta is never mistaken for a transcription error.
- Both orientations of the pair are tied at the connector (DP1+DP2, DM1+DM2) —
that is what makes the cable reversible; it is not a short.
- ESD channel mapping here differs from `usb-c-power`: channel 1 (IO1/IO1B)
protects D+, channel 2 (IO2/IO2B) protects D−, because the data lines are the
exposed pins that matter once the port carries data.
- The D± pair should be routed as a differential pair of matched length with
the series resistors close to the MCU; the netlist cannot express that, so it
belongs to the craft pass on `_pcb.png`.
- Default refdes J1, R1, R2, U1, C1 are shared with `usb-c-power` (the two are
mutually exclusive) plus R3, R4 for the series pair.
- The receptacle carries a routing keepout over its own belly (it comes with
the shared `UsbCConnector` footprint, so it moves and rotates with J1). See
`usb-c-power/BLOCK.md` — that keepout is what keeps GND off the alignment
drills, and the same note explains why a board with a copper pour must go
through `GndPour`/`POUR_CUTOUT_MARGIN_MM` from `blocks/glue` instead of a
copied margin.
## Provenance
- Connector and ESD components are imported verbatim from
`blocks/usb-c-power/usb-c-power.tsx` (`UsbCConnector`, `Usblc6`) — one land
pattern, one pin map, one place to fix.
- Land pattern for C165948: exact EasyEDA footprint imported 2026-08-10 via
`tscircuit-cli import C165948 --jlcpcb` (best footprinter match was 81.35%
IoU, so the exact pattern was kept), committed inline.
- Series-resistor value and the ESD-then-series ordering follow the RP2040
hardware design guide's minimal USB device example (r5 recon read the
`seveibar/rp2040-module` port of it as reference; nothing is imported).
62869109eThis file is pinned to the selected release. Download the original to open it in your design tool.