hardware/schematic/build_schematic.py draws pico-serial.kicad_sch (KiCad 9
format, one A2 sheet) from hardware/netlist/build_netlist.py: parts
grouped into blocks by function, each pin a short wire to a net label or
power symbol, no-connect flags on unused pins, PWR_FLAGs on GND and VBUS.
It refuses to write unless the connectivity read back from the drawing
matches the netlist exactly and nothing overlaps. The SP3238E and
MAX3243E get their own symbol library (KiCad has neither); other
symbols are cached from kicad-symbols 9.0 so it runs offline.
The netlist now targets KiCad 9.0 libraries: pin names as KiCad 9 has
them (SWD, VREG_IN, GPIO26_ADC0 ...) and the USB-C shield pin S1; it is
checked against kicad-symbols and kicad-footprints 9.0.6. Pin numbers and
nets are unchanged.
Not yet opened in KiCad (not available here); parses with kiutils.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013PRsUCpxazyipPn5UGGkF8
hardware/netlist/build_netlist.py defines every part and connection
(SPEC 0.3) and writes a KiCad netlist, a readable net list and a JLC
parts list with LCSC numbers. It refuses to write if a pin is left
unaccounted for, a net has one pin or two outputs, an RS-232 line lacks
one driver and one receiver, or a power pin is off a supply; with KiCad
library checkouts it also checks pin names/numbers against KiCad's
symbols and pads against the footprints. The two RS-232 chips' pin
tables come from their datasheets (KiCad has no symbols for them).
81 parts (69 fitted, 6 LEDs + resistors DNP), 82 nets. Adds a 10k RUN
pull-up. Not yet imported into KiCad (not available here).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013PRsUCpxazyipPn5UGGkF8
- DCE transceiver: MaxLinear SP3238EEA-L/TR (the only 5T/3R with real
LCSC stock); its STATUS works in shutdown, so auto-detect reads each
chip's status output; TI TRS3238E from DigiKey as the fallback if its
off-state leakage disappoints
- DTE: TI MAX3243EIDBR; USB-C: HRO TYPE-C-31-M-12
- DB25 MHDB25SS solder cup and MHDPPK25-K hood from LCSC (qty 1),
hand-fitted; DigiKey parts kept as backups
- LCSC part numbers and stock for every line; samples to buy first
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013PRsUCpxazyipPn5UGGkF8
- both roles on one female DB25: a TRS3238E (DCE) and a MAX3243E (DTE)
on the same pins, one powered at a time, the role auto-detected from
what's attached (ROUT1B / INVALID still work in shutdown); DTE through
a male-male gender changer
- parts checked stocked and buyable at qty 1 (DigiKey/LCSC), with second
sources and the parts avoided and why
- solder-cup DB25 straddling the board, Adam Tech hood, target outline
- LEDs optional, not fitted by default
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013PRsUCpxazyipPn5UGGkF8
Draft spec for a bare-RP2040 board (no Pico module): parts, RP2040
support circuit, USB-C, MAX3238E DCE wiring and DB25 pinout, firmware
signal mapping, dmodem-android compatibility, layout, open questions.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013PRsUCpxazyipPn5UGGkF8