Skip to content

Final board review: DTR reset simulation, hole keep-outs, stitching vias - #2

Merged
thePunderWoman merged 4 commits into
mainfrom
final-review
Nov 6, 2026
Merged

thePunderWoman merged 4 commits into
mainfrom
final-review

Conversation

@thePunderWoman

@thePunderWoman thePunderWoman commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Summary

Fixes and records from the pre-fab review of the routed board.

  • DTR auto-reset simulation (scripts/spice/dtr_reset.py). It covers 3.3 V and 5 V FTDI adapters, a stiff and a weak DTR driver, and the full range of the NRST internal pull-up. With the BAT54S, every corner passes:

    • 7–27 ms reset pulse;
    • NRST back above VIH in 30–78 ms with DTR still held low;
    • ≤ 0.25 mA into the MCU's own clamp diode;
    • 4.3 V peak when the port closes.

    Without the BAT54S, the 5 V corners fail: NRST reaches 7.9 V (the limit is 7.3 V) and 26 mA flows into the MCU's clamp. So the clamp is needed and works.

  • Hole keep-outs: a 3.5 mm-radius copper keep-out on both layers around each M3 hole, so screws and standoffs sit on bare board instead of the GND pour.

  • GND stitching vias: 26 vias (0.8/0.4 mm) around the perimeter and through open areas, placed only where both pours have room.

  • Silkscreen: "rev A" on the back becomes "V1.0" to match the front, and "SERIAL IN" becomes "SERIAL".

  • TCAN334 bypass cap: U3 moved up and C7 sits beside it. C7 is now 3.0 mm of track from VCC (it was 6.2 mm) and 2.8 mm from GND, and the supply reaches C7 before U3, per TI's guidance (TCAN334 §7.4). The PCB README also records the traced decoupling arrangement of every cap on the board.

  • Silkscreen text size: every board text is now at least 1.0 mm tall, JLC's minimum. The board setup's minimum text height is 1.0 mm, so DRC enforces it. The FTDI pin names are 1.0 × 0.8 mm to fit the pin pitch. The edge labels beside the WAGO and JST pins are now one text per pin, so they stay aligned at the larger size.

  • PCB README: records the review's clean checks, the accepted findings, the simulated NRST numbers, and a caveat for FTDI adapters that supply 3.3 V on VCC.

  • JLC capabilities page: saved with the datasheets as the source for the fab limits.

Checks

  • stackup check --locked: 0 errors, 0 warnings, 0 notes.
  • PCB sync check: the board matches the design.
  • DRC with zones refilled: 0 violations, 0 unconnected pads.
  • Footprint pad numbers match the datasheet pin tables for U1, U2, U3, Q1, D1, D2 and D3.
  • The saved zone fill is identical to a fresh refill.

Still open before ordering

  • Hand-soldered connectors: J1–J8 aren't marked DNP or excluded from position files, so the CPL still lists them. Setting both flags survives the sync check.
  • MCU stock: JLC has only 6 STM32C092FCP6 (Mouser has 3,314).

🤖 Generated with Claude Code

thePunderWoman and others added 4 commits November 5, 2026 22:21
scripts/spice/dtr_reset.py simulates the FTDI DTR auto-reset on NRST
over 3.3 V and 5 V cables, stiff and weak drivers, and the NRST pull-up
range. With the BAT54S every corner passes: a 7-27 ms reset pulse, NRST
back above VIH in 30-78 ms with DTR still low, at most 0.25 mA into the
MCU's own clamp, and a 4.3 V peak on port close. Without it the 5 V
corners fail (7.9 V peak, 26 mA injection), so the clamp is needed.

PCB/README.md records the simulated NRST numbers, the review's clean
checks and accepted findings, and the 3.3 V-VCC FTDI adapter caveat.
JLC's capability page is saved with the datasheets as the source for
the fab limits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
From the final board review:
- 3.5 mm-radius copper keep-outs on both layers around the two M3
  holes, so screws and standoffs sit on bare board rather than the
  GND pour.
- 26 GND stitching vias (0.8/0.4 mm) around the perimeter and through
  open areas, placed only where both pours have room and clear of
  courtyards, labels and the keep-outs.
- Back silkscreen "rev A" becomes "V1.0" to match the front; the UART
  connector's "SERIAL IN" becomes "SERIAL".

DRC with zones refilled: 0 violations, 0 unconnected. The Stackup sync
check still passes. No footprint moved and no existing copper changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
U3 moved up about 2.1 mm and C7 (its 100 nF) now sits beside it, with
the CAN, CAN_TX/RX and +3V3 tracks re-routed around them. C7 is 3.0 mm
of track from VCC (pin 3, was 6.2 mm) and 2.8 mm from GND (pin 2), and
the supply reaches C7 before U3, per TI's guidance to place the 100 nF
"as close to the VCC supply pins as possible" (TCAN334 7.4).

PCB/README.md records the fix and the traced decoupling arrangement of
every cap on the board. DRC with zones refilled: 0 violations, 0
unconnected; the Stackup sync check passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JLC's capabilities state that characters under 1.0 mm (40 mil) tall
"will be unidentifiable". Every board text is now at least 1.0 mm, and
the board setup's minimum text height is 1.0 mm so DRC enforces it.

- Labels that were 0.8 mm are now 1.0 mm; the FTDI pin names are
  1.0 mm tall by 0.8 mm wide to fit the 2.54 mm pin pitch.
- The edge labels that used spaces to line up with the WAGO and JST
  pins ("5V    G", "H  L", "TX  RX") are now one text per pin, placed
  at that pin, so they stay aligned at the larger size.
- The back legend is restacked at 1.0 mm.

DRC with zones refilled: 0 violations, 0 unconnected. No footprint or
copper changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thePunderWoman
thePunderWoman merged commit 819b22d into main Nov 6, 2026
3 checks passed
@thePunderWoman
thePunderWoman deleted the final-review branch November 6, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant