Skip to content

Add HIL I2C component spreadsheet generator#338

Open
tyeth-ai-assisted wants to merge 3 commits into
adafruit:add/settings-backported-i2cfrom
tyeth-ai-assisted:add/hil-i2c-generator
Open

Add HIL I2C component spreadsheet generator#338
tyeth-ai-assisted wants to merge 3 commits into
adafruit:add/settings-backported-i2cfrom
tyeth-ai-assisted:add/hil-i2c-generator

Conversation

@tyeth-ai-assisted

Copy link
Copy Markdown

Adds generate_hil_spreadsheet.py, which builds a hardware-in-the-loop (HIL) testing spreadsheet from the components/i2c/*/definition.json definitions.

Output — hil_i2c_components.xlsx (4 sheets)

  • Component Matrix — every I2C component, addresses, vendor, conflicts, jumper info, address matrix
  • HIL Mux Layout — conflict-free channel assignment for the test rig
  • Address Conflicts — per-address overlap summary
  • Test Fixtures — components grouped by measured phenomena

Notes

  • Single TCA9548A @ 0x77 (8ch) by default; the second TCA9544A @ 0x71 (4ch) is opt-in via --dual-mux (two muxes aren't driven at once in practice). With it off, 0x71 is treated as a normal usable address.
  • Per-address jumper actions come from i2c_address_jumper_info.json (drives the "Jumper Setting" column, e.g. A0:1, ADDR:VDD, SDO:GND).
  • The current generated workbook is included.

🤖 Generated with Claude Code

tyeth and others added 3 commits June 25, 2026 15:21
Generate hil_i2c_components.xlsx from Wippersnapper_Components i2c
definitions: component matrix, mux layout, address conflicts, and
test fixtures.

- Single TCA9548A @ 0x77 (8ch) by default; second TCA9544A @ 0x71
  (4ch) is opt-in via --dual-mux.
- Per-address jumper actions sourced from i2c_address_jumper_info.json.
- Includes the current generated workbook.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Give the "NO" Published cell a strong amber fill + bold text so
unpublished components stand out from the faint row tint.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Apply the same amber + bold emphasis to the "no" Published cells in
the HIL Mux Layout linear export table, matching the Component Matrix.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

2 participants