Bus Debugging
Diagnose SPI, UART, CAN and I2C protocol failures using transaction evidence and electrical const…
by wedsamuel1230 · MIT
The skill
Diagnose SPI, UART, CAN and I2C protocol failures using transaction evidence and electrical constraints. Use when requests involve corrupt bytes, wrong SPI mode, framing, bus-off, chip-select timing or DMA transfers; use I2C bring-up for basic discovery.
Bus Debugging
Read the shared embedded contract and keep source/build, device and physical evidence separate.
Read protocol branches. Identify exact controller, peripheral, voltage domain, pins/mux, clock, transfer mode, payload and capture point. Separate electrical, framing, driver and application interpretation. Do not assume a decoded analyzer trace proves voltage margin or signal quality.
Choose a minimal transaction with a datasheet-defined response. Compare the
actual wire capture with the requested byte order, edges, framing and timeout.
For I2C discovery/pull-ups route to i2c-bringup-diagnostician; use this skill
for transaction framing and cross-layer diagnosis. Scans/transfers can write
or trigger devices, so keep attached actuators in the required safe state.
For DMA inspect buffer lifetime, alignment/cache coherency where applicable, completion/error path and concurrent ownership before adding arbitrary delays. Compare a bounded polling transfer to DMA only when the test is appropriate and authorized. Keep the failing configuration and change one causal variable.
Deliver annotated expected/observed transaction, evidence location and next check. Distinguish MCU peripheral errors, analyzer decoding assumptions and what remains electrically unmeasured.
See platform coverage for the exact tested combination. A source procedure is not a claim that every target was tested.
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: wedsamuel1230/bus-debugging-67209378474.
Details
- Publisher
- wedsamuel1230
- Category
- Software Development › Misc
- License
- MIT
- Updated
- 2026-10-15
References
More from wedsamuel1230
- Arduino Cli Skill Use when users need Arduino CLI commands for board discovery, library installation, compilation,…
- Arduino Code Generator Generate Arduino and embedded C++ snippets for sensors, actuators, buses, state machines, timing,…
- Arduino Project Builder Build complete Arduino and embedded projects across Arduino IDE, Arduino CLI, PlatformIO, and ven…
- Arduino Serial Monitor Read and analyze Arduino or embedded serial output for structured runtime debugging across Arduin…