Skip to content

feat(autoresearch): esp8266 spiLoopback HSPI capture bench (#4942) - #4962

Merged
zackees merged 1 commit into
masterfrom
feat/esp8266-spi-loopback
Oct 28, 2026
Merged

zackees merged 1 commit into
masterfrom
feat/esp8266-spi-loopback

Conversation

@zackees

@zackees zackees commented Oct 28, 2026

Copy link
Copy Markdown
Member

ESP8266 SPI capture bench (the harness only had ESP32/RP SPI capture). Drives HSPI MOSI (GPIO13), reads MISO (GPIO12) back via SPI1W0 (verified against core SPI.cpp transfer()). Jumper D7→D6. On-device: compiles/flashes/runs; last_got=0 without the jumper.

The harness had SPI capture for ESP32 (spi_provider.py) and RP (--rp-spi-loopback)
but nothing for ESP8266. Add an RPC bench that drives the HSPI (SPI1) engine out
of MOSI (GPIO13) and reads MISO (GPIO12) back through the SAME register -- the
ESP8266 HSPI puts the received byte in SPI1W0 after SPIBUSY clears (verified
against the core SPI.cpp transfer()).

Wiring: jumper D7 (GPIO13) -> D6 (GPIO12). No console conflict (uses 13/14).

On-device (D1 mini, /dev/ttyUSB0): compiles, flashes, runs over RPC. Without the
jumper last_got=0 (MISO undriven), as expected.

Refs #4942, #4949.
@zackees
zackees merged commit 9ea14a2 into master Oct 28, 2026
84 of 86 checks passed
@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Oct 28, 2026
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Oct 28, 2026
@zackees
zackees deleted the feat/esp8266-spi-loopback branch November 5, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant