In carrier-work: delete the existing H1 and H2 headers. Add H1 (2x18), H2 (2x18) and H3 (2x12), omitting pin 1 on each for keying. Rewire all existing header nets onto the matching pins of the new headers using the pin map: H1/H2 pins 1-6 power, 7-10 lighting, 11-14 high-side, 15-18 triggers, 19-24 CAN (two channels), 25-26 I2C, 27-28 spares, 29 nRST, 30-36 GND. Commit "headers".
I’ll treat this as a separate header change in carrier-work, leaving the current safety review undisturbed. Before deleting headers, I need the exact net-to-pin assignments: the ranges don’t distinguish individual power rails, signals, or the two CAN channels, and H3 has no mapping yet.
Exact BIGTREETECH TMC5160T Pro V1.0 manual specifies operating/communication mode SPI. Manufacturer wiki likewise supplies SPI Marlin/Klipper setup, not a documented UART conversion procedure. Direct UART on this exact assembled module is not established/supported by the retrieved module instructions; do not wire UART onto current SPI sockets. Important correction: the underlying TMC5160/TMC5160A chip DOES support SPI and CRC single-wire UART, selected using SPI_MODE/SD_MODE. Therefore do not tell the user that the silicon lacks UART; exact module strap access/routing and conversion remain unverified.
Minimal proposed UART alternative, NOT installed: ESP32 UART command/status link to an external microcontroller with UART and SPI; that controller owns module SPI configuration/motion, local limit handling, timeout/default-disabled hardware enable and local protected motor supply/regeneration circuitry. A transparent UART-to-SPI register adapter alone does not supply motion scheduling or fail-safe enable. Direct carrier SPI avoids the extra controller/protocol but needs safe pin allocation, exact module mode verification, hardware disable and protected VM resolved. Architecture selection remains with lead/user; no bridge/daughterboard added, no motor net/pin changes. User-measured nominal 2.54 mm pitch and 15.24 mm row spacing preserved, not manufacturer-certified tolerances.
Safe motor checkpoint unchanged: R145–R150 DNP; modules physically uninserted; VM open/unpowered; GPIO43/44 not configured as motor outputs. New U16/U17 analog brownout supervisors do not constitute a motor reset/watchdog fix. See existing Analog Collapse and ERC Repair for actual analog changes and fresh 16:29:48.951Z ERC30/6; no PCB mutations/export.
Completed: replaced direct STEP/DIR/expander-EN paths with six normally-open DNP0 Ω0603 assembly links. R145 STEP-A, R146 DIR-A, R147 EN-A; R148 STEP-B, R149 DIR-B, R150 EN-B. All six have explicit DNP/DO NOT FIT Role Details and Exclude from BOM=true / Exclude from Pick & Place=true. They remain footprint-bearing optional links, not populated0 Ω resistors. Schematic/simulation tools may treat a0 Ω component as conducting; physical open state depends on the required DNP assembly variant. Do not confuse netlist connectivity with populated assembly.
Readback: each link P1 connects ONLY its host pin (J2/J22:02 GPIO43, :03 GPIO44, or U10/U11 IO2); P2 connects ONLY the corresponding socket signal and bias resistor. Socket STEP retains R139/R143 to GND, DIR retains R140/R144 to GND, EN retains R137/R141 to local3.3 V. No direct same-net path remains from GPIO43/44 or expander IO2 to socket7/8/1. An expander latched-LOW output cannot reach module EN when R147/R150 are absent. Host GPIO44 could still contend with its own internal USB-UART bridge if firmware makes it output, therefore GPIO43/44 motor-output configuration is forbidden in this checkpoint.
Failed to establish: exact removable-board USB-UART connections, bridge disconnection and reset behavior. Inspected existing exact-board socket-map evidence: it explicitly derives from a seller graphic, not a controlled bridge/reset schematic. No generic devboard schematic substituted. Also failed to establish a defensible reset/watchdog EN interlock; chosen fallback is the absent EN links with retained socket HIGH bias, not a claimed watchdog.
Safe checkpoint condition: R145–R150 all UNPOPULATED; BOTH MOTOR MODULES PHYSICALLY UNINSERTED; VM UNPOWERED/open at J51:1/J53:1. Logic sequencing and backfeed remain UNVERIFIED; SPI/VIO paths still exist, so merely opening VM is insufficient justification for inserting modules. No motion-ready, power-off-safe or fabrication-ready claim. Module top-view/bottom-view mating viewpoint, onboard SPI_MODE/SD_MODE/EN mapping, exact devboard bridge/reset and independent reset/watchdog enable solution remain precise release blockers. User nominal2.54 mm pitch/15.24 mm rows accepted; no PCB positioning or mating geometry authored in this phase.
Unattempted intentionally: VIN protection finalization, regeneration-envelope selection, motor/supply selection, PCB placement/routing/export. No new VIN assumptions introduced. Earlier52 V/4 A planning examples are hypothetical—not selected supply guarantees.
Verification: read-only property readback of all six DNP links and all12 host/socket nets matches mapping;12 introduced floating pins resolved. Fresh ERC 2026-10-10T11:09:17.249Z remains baseline30 U5/U6 Errors /6 diode metadata Warnings, no new findings. Commits: b0ace99c(add links),9eb1c968(A isolation),e84f4661(B isolation). Socket-map GPIO43/44 labels and firmware restrictions updated. This bounded repair batch is complete; motor expansion overall remains incomplete.
Motor schematic progress — 2026-10-10, supersedes earlier no-motor-parts entries
User supplied nominal mating pitch 2.54 mm and row centers 15.24 mm; these are accepted user measurements, not manufacturer tolerances. Exact BIGTREETECH TMC5160T Pro V1.0 only. Added J50/J51 (A control/power rows), J52/J53 (B), Harwin M20-7820842; J54/J55 Phoenix Contact 1715747 four-pole motor connectors; R137–R144 10 kΩ 1% 0.1 W 0603 bias resistors; C44/C45 100 nF 25 V X7R 0603 VIO bypass. No PCB placement, routing, outline, stackup or rules mutations; additions generate unplaced/staging footprints outside the board. Existing routing is not complete for these additions.
Status by scope item
Table
Item
Status
Actual sockets and motor-output logical wiring
Completed schematic objects and pin mapping; physical pair placement and exact top/bottom mating orientation verification remain unattempted/blocked pending diagram inspection
SPI, STEP/DIR, enable bias and VIO bypass
Completed logical wiring; exact module EN-to-DRV_ENN continuity and onboard mode straps still unverified, therefore operation not released
Failed to complete; unbuilt. J51:1/J53:1 VM left electrically open, NOT marked NC
Existing limits/analog/digital/functions
Preserved; expander IO2 previously reserved now used for motor enable; IO3 remains NC
Current-envelope selection
Provisional bounded interface planning below; no motor requirement or thermal qualification claimed
Full power budget/simulation
Unattempted beyond bounded planning analysis; no power circuitry installed
PCB/export
Unattempted by instruction
Verified pin mapping and allocated GPIOs
Exact module manual control row pin1–8: EN, SDI, SCK, CSN, SDO, CLK, STEP, DIR; power row pin1–8: VM, GND, A2, A1, B2, B1, VIO, GND.
For BOTH MCUs: GPIO1 MOSI (J2/J22:04), GPIO2 SCK (:05), GPIO47 CSN (:17), GPIO38 MISO (:10), GPIO43 STEP (:02), GPIO44 DIR (:03). GPIO43/44 allocation consumes UART0 debug; use native USB GPIO19/20, which are unchanged. GPIO39/40 digital expansion, all LED/CAN/high-side/trigger/I2C pins and memory/strap reservations remain unchanged. Seller socket map still requires physical continuity qualification.
U10/U11 IO2 drives EN_N with R137/R141 pullup to local3.3 V. R138/R142 pull CSN high; R139/R143 STEP and R140/R144 DIR pull down. CLK pins J50/J52:6 go GND. J51/J53:7 VIO goes respective local3.3 V, bypassed C44/C45. Chip DRV_ENN high disables all motor outputs; VCC_IO is3.3–5 V, and CLK should be tied GND for internal oscillator.
These chip facts do not prove hidden module routing or strap state. Exact manual and wiki advertise SPI but do not establish SD_MODE strap in retrieved evidence. Do not borrow Plus/V1.1 jumpers. Before energizing, verify module EN continuity to DRV_ENN and SPI_MODE/SD_MODE logic appropriate for SPI plus external STEP/DIR; full off-power backfeed and sequencing remain unqualified.
J54/J55 pins1–4 are A1,A2,B1,B2; correspond to power sockets pins4,3,6,5. Both socket GND pins2/8 share GND; later placement must keep motor return loops at power entry and away from MCU/ADC paths. Never hot-plug module or motor.
Footprint readback, not PCB placement
J50 library footprint readback: eight pads, pitch2.54 mm, pin1 at local(+8.89,0) mm, pins2–8 decrement x by2.54 mm; square pin1, pad1.508 mm, drill1.00 mm. Harwin drawing specifies2.54 mm pitch and recommended hole1.02±0.05 mm. Library drill lies within that interval. Two separate single rows must later be placed at user nominal15.24 mm, with matching pin1 ends after top/bottom diagram verification; current automatic staging locations do NOT implement mating row spacing. No combined custom footprint authored.
Conservative interface planning and power blocker
Harwin socket rating is3 A maximum per contact. Select provisional 1 A RMS/phase,1.414 A sinusoidal peak, below socket3 A; maximum absolute phase peak remains limited to1.5 A. This is an interface admission ceiling, not selected motor current or qualified cooling. Start lower and qualify socket/module temperature with module heatsink/airflow and mechanical retention. VM input separately limited to proposed 2 A per module,4 A aggregate; never infer supply current equals phase current. These are imposed limits, not calculated motor demand. Power-path parts are not selected until demand, inrush and regeneration bounds are established. VIO added bias draw is at most about1.32 mA/domain if all four10 kΩ biases are opposed, excluding IC IO switching and module leakage; existing rail headroom and sequence require verification.
48 V source at+5% reaches50.4 V, leaving5.6 V below published56 V ceiling before cable overshoot/regeneration. Proposed engineering terminal ceiling is52 V including every tolerance/transient, retaining4 V margin; no guarantee currently exists. Local bulk only absorbs finite energy: E=0.5C(Vmax²−Vinitial²). Example—not installed—470 µF at−20%=376 µF absorbs only0.03080 J from50.4 to52 V. Therefore arbitrary braking cannot be solved by calling an ordinary TVS48 V protection. OV input cutoff alone does not absorb downstream generated energy.
Precise requirement blocking VIN: either an external regenerative/sinking supply that guarantees module-terminal voltage<=52 V at4 A aggregate forward load plus declared reverse-energy/power, including leads and fault behavior, OR maximum simultaneous regenerative joules, peak power, repetition period and supply tolerance sufficient to design an independent bus brake/shunt and OV cutoff. 24 V initial operation also needs the energy bound and fault protection; it is not inherently qualified. No truck12 V boost or truck/load-rail connection made, no unsuitable TVS installed. Protected VIN remains unbuilt rather than falsely safe.
Read-only verification
Full motor-object metadata readback confirmed22 new signal/coil nets, separate VIO domains, both common grounds, all eight coil pairings and every bias/bypass connection. Twenty introduced passive floating pins plus two IO2 and eight motor-connector floating findings were resolved. Fresh ERC 2026-10-10T10:48:38.905Z remains baseline 30 U5/U6 Errors /6 diode metadata Warnings; no new ERC Error/Warning shown. Connector-passive pin types mean checker does not flag open VM or prove mode/logic/power safety. Batch is partial, not coherent powered motor completion or fabrication release.
Latest follow-up — 2026-10-10
Completed production MPN metadata for58 expansion passives, retained values/packages/connectivity, corrected C32–C39 upstream-filter role details; see Production Passive Selection. Stored-cap collapse topology repair is now completed (R129–R136 and upstream C32–C39), superseding the earlier direct-ADC-cap hazard statement below; full active ramp/rail-backfeed protection qualification remains failed to establish. Analog chains are installed, so older unbuilt entries are historical.
Exact TMC5160T Pro V1.0 manual/wiki/repository were re-searched. Published control/power pin mapping was corroborated, but no new authoritative mating row-spacing/datum/orientation or SD_MODE/logic-limit evidence was established. Results referencing different V1.1 hardware were not substituted. Motor socket/control and motor power implementation: failed to complete, blocked by exact geometry/strap evidence plus phase-current, connector/harness ampacity and VIN/regenerative-envelope requirements. No motor parts or nets added.
Fresh ERC08:46:19.998Z remains30 U5/U6 Errors and6 terminal metadata Warnings. Manufacturing/passive-rating check requests yielded no matching reviews, not a pass. Current follow-up was metadata-only: no wires/nets/PCB copper, placement, outline, stackup or rules edited. Overall expansion and fabrication release remain incomplete.
Superseding analog checkpoint — 2026-10-10
Eight analog chains are now installed: U12/U13 ADS1115, U14/U15 TMUX1511, J46–J49, R105–R128/C32–C43. Fixed4.53 kΩ/1 kΩ attenuation plus100 kΩ downstream loading replaces the historical hardware-selector/buffer/clamp proposal below; range selection is firmware-only. Passive simulation and full new-net readback completed. Protection completion FAILED: stored ADC capacitor charge during rapid VDD collapse, connector ESD, negative inputs/overvoltage, active-device loading and current budgeting remain open. Disconnect external analog sources before supply transitions. The analog-unbuilt and simulation-unattempted entries below are superseded history. Fresh ERC at06:13:46.752Z reports30 U5/U6 Errors and6 diode metadata Warnings; earlier zero-error review does not control. Motor remains unbuilt; no PCB edits. Full item dispositions and evidence: analog-expansion-checkpoint.
Current checkpoint — 2026-10-10
This supersedes the earlier TMC2209/Teyleten assumptions. The requested driver is BIGTREETECH TMC5160T Pro V1.0, with external regulated 24–48 V motor power. Requested additions per controller: one motor interface, four analog inputs with individually selectable 0–3.3/0–5/0–10 V ranges, two dry-contact limits, and digital expansion. Work is schematic-only; no added component placement, routing, fabrication or export approval.
Item-level disposition
Table
Scope item
Status
Evidence / remaining work
Digital expansion per controller
Completed, schematic only
J42/J43 mirror existing protected GPIO39/40 and local I2C; no existing function repurposed.
Two dry-contact limits per controller
Completed functional schematic; protection qualification open
U10/U11 PCA9536 at local bus address 0x41; J44/J45, RC networks, D23/D24 connector ESD, D25–D28 secondary steering. Not a safety interlock.
Exact motor socket / control
Failed to complete; blocked
Exact module row-center spacing, mating datum/face, logic thresholds and SD_MODE configuration remain unresolved. No sockets/control circuitry installed.
Motor power interface
Failed to complete; blocked
Need bounded input tolerance/regenerative excursion and carrier/socket/harness current envelope. 48 V nominal is only 8 V below published 56 V ceiling. No power components installed.
Eight selectable analog inputs
Failed to complete
Candidate architecture researched, but source buffering, full-temperature clamp bounds, negative-input protection and calibration error budget not finalized; no analog parts installed.
Analog simulation
Unattempted
No finalized analog circuit; do not treat estimates as simulated evidence.
Documentation/checkpoint
Completed for installed scope
Specification, firmware and bring-up notes updated; complete expansion remains unfinished.
PCB placement/routing/export
Unattempted, intentionally excluded
Preserve existing 130 × 130 mm outline and existing PCB; new parts unplaced.
Installed digital headers
J42 = MCU A, J43 = MCU B. Samtec TSW-103-07-G-D, 2×3, 2.54 mm pitch.
Table
Pin
Signal
1
Existing current-limited sensor 3.3 V
2
GND
3
Existing protected GPIO39
4
Existing protected GPIO40
5
Local SDA / GPIO42
6
Local SCL / GPIO41
These are custom expansion pinouts, not a generic plug-and-play hobby-module standard. J42 shares the existing ≤90 mA total sensor budget with J18; J43 shares it with J37. Do not externally power or back-drive these pins when the carrier/domain supply is off. No new sensor supply capacity was added. Keep the two I2C buses separate and avoid address 0x41 on external modules.
Installed dry-contact limits
J44 = MCU A, J45 = MCU B. Pins 1/2 = LIM1/GND; pins 3/4 = LIM2/GND; pins 5/6 intentionally NC. U10/U11 IO0/IO1 read the limits; IO2/IO3 are NC, reserved but not wired to any motor enable. Each filtered input has 1 kΩ connector series resistance, 10 kΩ local 3.3 V pull-up and 100 nF to ground. C28/C31 are 100 nF expander bypasses. Nominal closed level is approximately 0.33 V including the typical internal 100 kΩ pull-up; actual thresholds/leakage and contact resistance must be measured. NO/NC selection is firmware-only. Polling and debounce are required; no encoder, fast edge capture, safety-stop or emergency-stop capability is claimed.
D23/D24 TPD2E2U06 provide connector-side ESD suppression, not continuous-overvoltage protection. Their quoted 9.7 V positive and 1.9 V negative clamps at 1 A are typical TLP, 10 ns rise /100 ns width, not guaranteed 8/20 µs maxima. PCA9536 IO absolute range is −0.5 to 5.5 V; its ±20 mA entry is input current, not an assurance that an internal clamp safely fixes excessive voltage. Therefore D25–D28 BAT54S-TP were added after the series resistors: pin 1 GND, pin 2 local 3.3 V, pin 3 filtered input. The series midpoint and diode directions were verified against the exact datasheet. Maximum forward voltage is 0.32 V at 1 mA /0.40 V at 10 mA at 25°C; full-temperature/transient clamp coordination and local rail energy absorption remain unqualified. No powered sensors, injected voltages, raw automotive wiring or off-power drive are allowed. ESD testing is a later bench qualification, not established by ERC.
Exact motor research and blockers
The exact manufacturer manual pin table gives control row EN, SDI/CFG1, SCK/CFG2, CSN/CFG3, SDO/CFG0, CLK, STEP, DIR; power row VM, GND, A2, A1, B2, B1, VIO, GND. Its dimensions page specifies envelope 20.4 ×15.3 ×23.2 mm but does not dimension row-center spacing. Do not derive mating geometry from photographs or silently substitute older TMC5160 Pro/other StepStick versions. The official repository inspected was bigtreetech/BIGTREETECH-Stepper-Motor-Driver, pinned commit 9f9680040e7f.
Exact module envelope drawing
Exact module pin map
Provisional remaining native GPIO pool is 1/2/38/47/43/44 for SPI four plus STEP/DIR; this is not finalized or wired. GPIO43/44 use would consume default UART debug access. Existing GPIO39/40 remain digital expansion, not reassigned to limits/motor. Reserve GPIO35–37 memory, GPIO19/20 USB, GPIO48 RGB and GPIO0/3/45/46 straps. An expander enable needs independently verified safe boot bias; no enable assignment exists yet. Motor current, terminal/socket ampacity, fuse/inrush coordination, off-state behavior, local bulk rating and regeneration management must be resolved before placing the power path.
Analog research handoff — provisional, not built
Candidate ADS1115IDGSR (938182b1-39f7-3142-f1a1-5c4b3111753c) per local bus, address 0x48 with ADDR at GND; ±2.048 V PGA, low-speed polling and 100 nF supply bypass. Input operating voltage stays between GND and VDD regardless of selected full-scale range; absolute limits are −0.3 to VDD+0.3 V. Datasheet recommends input RC resistance below 1 kΩ and considering source buffering; do not directly release a several-kΩ divider into the ADC based only on typical input impedance.
Candidate per-channel fixed 10 kΩ top plus selected bottom 13.7 kΩ /5.96 kΩ /2.24 kΩ targets approximately 1.8 V at the three range endpoints only when the intended 100 kΩ downstream pulldown loading is included. This is not a released value selection. Use a buffer after powered-off isolation and before the ADC; OPA2333AQDGKRQ1 (794627e5-333a-5c6f-f149-e38910a2890f) is a library candidate, not yet queried/selected. TMUX1511PWR (35b756f1-9de1-41ba-9e21-508657f94c1c) offers powered-off isolation, but budget ±2 µA leakage and 0–3.6 V off-state signal limit; 100 kΩ gives 0.2 V nominal worst leakage bound. Check pulldown tolerance and every power-off ramp case.
A continuously biased shared LM4040A20IDBZR clamp rail with per-input upper diodes and supply anti-backfeed diode was considered. It avoids unspecified below-knee leakage of a shunt directly across each signal. LM4040 full-range minimum cathode current max is 80 µA; 2.048 V error max ±15 mV over −40…85°C. However the researched 1N4148WS maximum Vf0.855 V at10 mA is specified at25°C only, so this does not establish full-temperature clamp bounds. Negative clamps, simultaneous wrong-selector faults, reference sink-current budget, source-impedance limit, missing/multiple jumper behavior, error budget, filters and simulation all remain open. Do not add this provisional circuit without finishing those checks.
Verification record
Final secondary-clamp readback confirmed all four midpoint/ground/local-rail connections. Final targeted review at2026-10-10T05:17:06.095Z returned no Errors and six Unspecified Pin Type warnings: four new D25–D28 plus pre-existing D5/D11. Component-level Pin Type=Passive did not satisfy this terminal-level check; do not suppress it or claim clear ERC. Exact BAT54S terminal functions/polarity are independently datasheet-verified above. Terminal-level library metadata remediation remains open; no other Error/Warning appeared in the selected ERC/passive/legibility checks. This review excludes full PCB DRC.
Before secondary clamps, fresh full net read covered all 22 added components and 21 touched nets: separate 3.3 V and I2C domains, four RC input networks and eight intended NC pins matched the design. Fresh targeted ERC/passive/selected schematic-legibility review at 2026-10-10T05:07:02.920Z returned no Error/Warning for floating pins, NC conflict, shorts, power pins, driver conflict, single-pin nets, decoupling, resistor power, capacitor voltage, symbol collision or visible connectivity. This is not full PCB DRC or protection qualification. D25–D28 subsequently added four parts, with all 12 introduced floating pins resolved by wiring; final read-only review follows this checkpoint. Expected new total:225 components /130 nets (199 /122 baseline plus26 parts /8 nets). New passives R97–R104/C26–C31 still need production MPN selection; old all-passives-selected claim applies only to baseline.