rushabhcodes/usb-c-e-paper-display

USB-C powered RP2354B controller board with protected power regulation, EPD display interface and charge-pump rails, crystal timing, user/boot switches, status LEDs, and SWD test points.

Version
1.4.1
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone rushabhcodes/usb-c-e-paper-display  # download the package files into ./usb-c-e-paper-display
tsci add rushabhcodes/usb-c-e-paper-display    # add it to your project as @tsci/rushabhcodes.usb-c-e-paper-display

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

docs/USB-POWER.md

# Rev D USB power entry

USB-C VBUS feeds F1, then **U6 TPS22918DBVR**, before reaching VSYS. The MCU LDO, panel LDO and core buck inputs all connect to VSYS. No regulator input capacitor bypasses U6.

Only C1 (1 µF), C2 (100 nF), and U6's local input bypass C37 (1 µF) are upstream: **2.1 µF nominal, 2.31 µF at +10% tolerance**. The old board exposed 13.1 µF nominal through only the resettable fuse. The regulator bulk capacitors are retained downstream.

U6 uses the physical pin assignment in the [TI TPS22918 datasheet](https://www.ti.com/lit/ds/symlink/tps22918.pdf): VIN=1, GND=2, ON=3, CT=4, QOD=5, VOUT=6. ON is tied to fused USB power. QOD is tied to VOUT, enabling discharge of VSYS on shutdown. C38 is **10 nF, X7R, 50 V, ±10%** from CT to ground. TI recommends at least 20 V for this capacitor on a 5 V supply.

The datasheet's typical relationship is `SR = 0.55 × CT[pF] + 30` in µs/V. At 10,000 pF and 5 V this gives a calculated **27.65 ms**; TI's typical measured table gives **26.55 ms**. This controlled rise separates the host's initial charging of the small input bypass from charging the board's downstream reservoirs. The 12 µF nominal VSYS input capacitors alone contribute roughly 2.3 mA of charging current over a 26.55 ms rise; regulator startup and operating load add current.

TPS22918 controls slew rate; it is **not a constant-current limiter**. F1 remains the sustained overcurrent protection. The switch must not be used as a substitute for measuring startup and load current.

[NXP's full-speed USB guidance, section 2.5](https://www.nxp.com/docs/en/application-note/AN11392.pdf), explains the 10 µF / 44 Ω reference load and includes capacitance visible through regulators. Reducing one bypass capacitor without accounting for those loads would not establish inrush compliance.

`scripts/validate-circuit.py` checks every U6 pin, input/output rail isolation, the timing capacitor SKU/value and the complete set of directly connected input capacitors. The firmware pinout and existing RP2354B UF2 remain compatible. The panel stays off during MCU reset through its existing enable pull-down.

Physical USB inrush charge/current, VBUS droop, power-rail startup and enumeration still need measurement on the first assembled prototype. The timing figures above are datasheet calculations, not bench results or USB certification.

The three assembly fiducials use exposed native circular pads with 0.5 mm mask pullback and no paste. The artwork gate verifies their mask openings as well as the legend.

An explicit native `PANEL_GROUND_BRIDGE` trace joins the C24/C25 bypass ground region to the main ground through the panel-ground via. `scripts/check-fabrication-connectivity.py` reconstructs the exported copper and plated drills to detect physically disconnected same-net regions.