slopswap / V6

V6 ChonkBus: bus ends, interlock, row isolation, segments, BOM

2026-10-29 (§6 added 2026-10-31: bus segments). Decision record for the row-switch system now drawn as block B29 (b29_chonkbus) and installed in JumperlessV6/MainBoard/MainBoard.kicad_sch (first install backup MainBoard-backups/pre-v6_MainBoard_2026-10-29_033249.zip; ROW-ISO fitted in a second install the same day, backup pre-v6_MainBoard_2026-10-29_091257.zip; undo with python3 v6gen/install_v6.py --revert). Later the same day: current sense, always-on voltage sense, expansion port and cost cuts are in V6_expansion_port_and_current_sense. Spec: v6gen/BUILD_SPEC.md section 8; write-up for the sheet: docs/V6_SCHEMATIC.md "2026-10-29". Prices: docs/V6_BOM.md (1000 boards).

0. Bottom line

1. What each bus can connect to (sheet b29_busends)

Connection Per bus Mechanism Control Hardware-exclusive?
TOP_RAIL yes ET7460H switch, decoder code 1 SRC_x_S0..2 + SRC_x_EN yes, one of the five
BOTTOM_RAIL yes code 2 〃 yes
GND yes code 3 〃 yes
DAC 0 yes code 4; tapped at R_SENSE+, the L272D U10 output ahead of the 2 Ω R57, so the bus path has no series resistance (the crossbar node DAC_0 keeps R57 and its INA219 U4) 〃 yes
DAC 1 yes code 5 (DAC_1) 〃 yes
nothing — code 0, codes 6–7, or enable low
Extension connector yes ET7460H, BUS_x ↔ BUS_x_EXT (B33 pins 25–28, two pads each) EXT_A / EXT_B no — free bit
Shunt ammeter to the other bus shared BUS_A →SW→ 0R1 →SW→ BUS_B, INA219 across the 0R1 SHUNT (gated) blocked while both buses are sourced
Crossbar node — dropped: a bus is reachable through any of its member rows (their CH446Q Y pins), so a dedicated K/L X-port switch would only duplicate that and spend a scarce port
+5 V — not offered (your 2026-10-02 rule: no fixed user supply); decoder codes 6/7 are free if that changes

Parts: 2 × 74HC238PW (U29098/99), 6 × ET7460H sources (U29091..96, three per bus: TOP/BOTTOM, GND/DAC0, DAC1/EXT), 1 × ET7460H shunt (U29097, both halves), 0R1 1 % 1206 (R29063), INA219 U29102 at 0x44 (A1 = VS, A0 = GND; U3 is 0x41, U4 0x40) with 10 Ω + 10 Ω + 100 nF, 74LVC1G00 + 74LVC1G08 interlock (U29100/101). Totals for the whole block: 67 ET7460H fitted (+3 vs the old option B), 17 × 74HC595, same CH32 pins (PF0/1/5/11/14) and the same chain length (136 bits).

Shunt numbers: INA219 LSB 10 µV → 100 µA per LSB on 0.1 Ω, ±3.2 A full scale at PGA /8, ~0.3 Ω in the path (two switches + shunt). Current A→B reads positive; the INA219 bus-voltage register gives V(BUS_B). Uses: row on A + row on B + shunt = a 0.3 Ω ammeter in series with anything; BUS_A = TOP_RAIL, the circuit's supply rows on BUS_B, shunt closed = supply current with a software fuse (open A_n/B_n on overcurrent, 5 µs). Limit: the INA219 inputs take −0.3…+26 V, so the shunt may only be closed while both buses are at or above 0 V (GND, TOP_RAIL or a DAC set ≥ 0) — the same limit V5's ISENSE has. With both shunt switches open the INA219 floats on its own nodes (internal ~830 kΩ to GND), so a negative bus never reaches it. The limit goes away with a $0.15 INA181-footprint amplifier (3PEAK TP181 / Gainsil GS199 / TI INA199) run with −9V as its ground and REF at +1.65 V (window −9.3…+27 V absolute; INA296A1 at $1.69 reaches −14 V), or with a ground-referenced ST TSC2011 ($1.33, −20…+70 V); output through the 8:1 housekeeping mux into one CH32 ADC channel, with two dividers for an always-on bus voltage read — V6_expansion_port_and_current_sense §1.5–1.6 (2026-10-30); not drawn yet.

Latch bit map (chip 1 = nearest SW_SER): chips 1–15 A_1 B_1 … A_60 B_60; chip 16 SRC_A_S0 S1 S2 EN SRC_B_S0 S1 S2 EN; chip 17 (aux) XB2_SEL0..2 EXT_A EXT_B SHUNT + 2 test points; chips 18–25 (ROW-ISO, fitted) ISO_1..ISO_60 + 4 spare: 200 bits. SW_SER_EXT to the extension board comes through solder jumper JP29001: A (bridged) = U29127 QH′ (chain end), B = aux QH′ (for the ROW-BRIDGE option, 136 bits). 100 kΩ pull-downs on every logic input the chain feeds (decoder address/enable, SHUNT, XB2_SEL0..2) so nothing floats while the latch outputs are Hi-Z at reset: every source off, shunt open, every switch open.

2. Hardware vs firmware: the interlock decision

What goes wrong without any interlock: two sources on one bus (TOP_RAIL and GND, say) is the L272D short-circuit current through 0.2 Ω; the TPS65131 delivers ~0.6–0.8 A at ±9 V before it folds, so the crossbar rails sag, every CH446Q may lose its routing, and the ET7460H (0.8 A continuous) cycles on thermal shutdown. On V5 the equivalent fault runs through 130 Ω of crosspoints and is benign; here it is not. A firmware-only rule would stop the normal case but not a crashed CH32, a corrupted SPI transfer into the chain, or a bit-order mistake while the firmware is young.

So the split is:

In hardware (no override possible) In firmware (bus manager, override flag)
≤ 1 voltage source per bus (74HC238; code 0 = none; enable = second lock and the break-before-make lever) bus = source and extension port (your case: an extension board powered from the rail)
shunt cannot close while both buses are sourced (NAND + AND, $0.11) extension port alone (external supply onto the bus, with the member rows isolated if it exceeds the crossbar range)
reset state = everything open (595 outputs Hi-Z + ET7460H 600 kΩ pull-downs + 100 kΩ pull-downs) a row closed on both buses (bridges them through 0.2 Ω; never by default)
shunt with one sourced bus, both buses ≥ 0 V (INA219 limit)
source change sequence: SRC_x_EN low, latch, new code + EN high, latch
ISO_n closed for every row the matrix routes or senses (option fitted)

The decoder costs $0.40 per board for two and saves two latch bits against five direct source bits per bus; the gates cost $0.11. The rejected alternatives: a fully firmware chain (cheapest, one brown-out away from a bad day), and asymmetric buses (one GND-only) which block two-positive-rail circuits (3V3 logic + 5 V peripheral) for no saving.

3. Row isolation: what the $4.47 buys

Sheet b29_isolation, fitted: one ET7460H switch per row between the breadboard row n and the crossbar side MX_ROW_n (CH446Q Y pin, lane-layer X port, BAT54S clamp), one package per two rows, 60 control bits. To go back (OPTION ROW-BRIDGE): fit the 60 × 0R 0402, leave the 30 switches, 8 latches and 38 capacitors out, move JP29001 to B (136-bit chain). Because the clamps and the lane layer sit on MX_ROW_n, the crossbar side was renamed on your sheet (60 labels at the CH446Q Y pins) so that the option is a pure fit/no-fit choice with no rewiring.

Without (bridges) With ROW-ISO
Idle row CH446Q Y port + BAT54S clamp: anything beyond the crossbar rails (±9.3 V, or +14.3/−4.3 V in the other range) is clamped; a stiff 12 V supply burns the 200 mA BAT54S, then the CH446Q (no series R in the row path, by decision) three open ET7460H, nothing else: −13/+18 V recommended, −15/+20 V abs max, no clamp current at all
Row in use as V5 as V5 (ISO closed; clamp active)
Bus from the extension port at a voltage the CH446Q cannot take (12 V, −12 V) not possible (member rows expose the matrix) possible with the member rows isolated: V6 can distribute an external supply to the breadboard
Jumperless unpowered, circuit externally powered rows clamped at ±0.3 V into dead rails: breadboard unusable works as a plain breadboard if the ET7460H blocks with VCC = 0 (bench test; the datasheet is silent, the AW35331 states it)
Reset / "rows completely passive" rule row always on its Y port row attached to nothing until the firmware closes ISO_n — the rule holds by construction
Per row path — +0.1 Ω, +~40 pF, +≤0.35 µA leakage (85 °C max; nA typical), one more control bit; the lane layer cannot look at an isolated row (by design)
Cost — +$4.47 parts (30 × $0.12 + 8 × $0.061 + 38 × $0.01; the 0R are $0 at Elecrow), ~16 net placements (~$0.25), 30 more WLCSP-12 to route, +5 mA quiescent, chain 136 → 200 bits (20 µs at 10 MHz)

It is fitted; run the two tests that decide whether it stays — (1) S/D blocking with VCC = 0 at −5/+8 V and at −12/+12 V, (2) off-capacitance and leakage of a row with three open switches — and keep it if (1) passes. If (1) fails, the feature shrinks to "idle rows take 18 V while the Jumperless is on" plus the external-supply bus; I would still keep it, but that is the point where the $4.47 is a judgement call rather than obvious.

4. Open items and bench list

5. BOM

Parts, from the schematic (python3 v6gen/bom.py 1000, 1000 boards)

Board Priced Unpriced pieces (my estimate) Notes
Main $56.18 (was $54.12 on 10-18) 27 pieces ≈ $1.6 (TCA9534, 2 × CH217S, crystal, 1.27 mm 2×35 header, 0805 caps, pads) +$2.06 for the bus ends: 2 × 74HC238 $0.40, INA219 $0.47, gates $0.11, 3 more ET7460H $0.36, 74HC238 of B34/B30 now priced $0.60, passives
Wig $18.62 8 pieces ≈ $0.4 unchanged: 480 LEDs $9.02, 9 × TMAG5273 $4.43, 80 clips $4.79
Both $74.80 ≈ $2.0 ≈ $77
ROW-ISO (now fitted: main $60.64) +$4.47 30 × ET7460H, 8 × 74HC595, 38 × 100 nF; 60 × 0R out

Biggest lines: 480 LEDs $9.02 · 12 × CH446Q (yours) $10.80 · 67 × ET7460H $8.04 · display $8.00 (sample price; the 1.47″ TFT at ~$3 would take ~$5 off) · 80 clips $4.79 · 5 × CH446Q lane layer $4.50 · 9 × TMAG5273 $4.43 · CH32H417 $3.30 (estimate) · nav stick $2.34 · 2 × L272D $2.28 · TPS65131 $2.17 · PSRAM $1.42 · MCP4728 $1.38 · encoder $1.30 · 60 × BAT54S $1.04 · 17 × 74HC595 $1.03.

Unit cost, rough (constants from V6pile/bom/bom_model.py, placement count from the schematic)

1k, SLS shell, clip block outsourced 3k, moulded
Parts (above, incl. clips and display socket) 76.8 73.0 (−5 %)
SMT assembly, ~1400 placements at $0.0127 (V5 rate; 480 are one LED) 17.9 16.5
Clip-block marriage (vs $14 hand labour the V5 way) 2.5 2.5
Clip tooling amortised 2.7 0.9
Shell 5.7 (SLS) 2.5 (mould + part)
Probe + cap 6.5 (SLS) 6.1
PCBs (main 4L ~5.5, wig ~2.5, probe ~1) 9.0 8.5
Cable, box, flash/test 2.3 2.3
Ex-works ≈ $123 ≈ $112
+ ROW-ISO +4.7 +4.5
Landed (×1.25 tariff + $1) ≈ $155 ≈ $141

Caveats: the component total is the solid part (every line sourced; see docs/V6_BOM.md for basis and dates); assembly, PCBs and mechanics are scaled from the V5 quotes, not quoted. This is well above the $77 "V6 lean" scenario in README_v6BOM.md because that model predates the display, the lane layer, the magnetometers, the ChonkBus and the CH32: those are ~$35 of the parts. At $339 via Crowd Supply the 1k figure gives ~38 % margin, ~51 % sold direct; the $220 target needs the lean board, not this one. The ROW-ISO decision moves that by under 2 points either way — it is not what decides the price.

6. Bus segments (added 2026-10-31)

Kevin's question: split the ChonkBus into sections that can be joined in various ways, for more flexibility and maybe fewer switches. The count argument first: a row that can be on net X, net Y or nothing is a 3-position selector, which is two SPST switches however it is wired, and isolation is a third switch in a spot no other switch occupies, so 3 switches per row (90 packages) is the floor for "two nets anywhere, every row isolatable, 0.8 A per row". Savings only come from moving the A/B choice to a group of m rows (one switch per row onto a group node P, two per group): m = 2 saves nothing (90), m = 3 → 80, m = 5 → 72, m = 15 → 64; the group shares one 0.8 A switch and one bus choice, the path is 0.2 Ω, and the conflicts land on the commonest patterns (breakout header with VIN and GND on adjacent rows, DIP corner pins). Kept the 90.

What segmentation buys is more nets, and that is now drawn as options (fourth sheet b29_bussplit, installed 2026-10-31):

Costs in the explorer under "Bus segments"; parts list in docs/V6_BOM.md options table. The 90-package per-row structure is untouched, so this is a pure fit/no-fit decision later.

7. Names

ChonkBus, PowerBussy (yours); ChonkRail, FatBus, Beefy Bus, HardBus, Power Lane, HeavyLine. "ChonkBus" is the one that is both descriptive (chunky, bus) and says what it is in the UI ("put row 7 on ChonkBus A"); the latch/net names in the schematic stay BUS_A/BUS_B so nothing depends on the final pick.

8. Files

B29 bus segments sheet: links, 0R bridges, option decoders, option latches
Sheet b29_bussplit (2026-10-31): the links and 0R bridges, the six option decoder sets, the five option latches with their bypass jumpers. Click for full size.

Jumperless V6 design notes, written with Claude; updated 31 October 2026. Prices are LCSC unit prices on the date each section states.