Repository navigation
feat(autoresearch): esp8266 spiLoopback HSPI capture bench (#4942) - #4962
Merged
Merged
Conversation
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.
|
Caution Review failedThe pull request is closed. Finishing Touches
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. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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=0without the jumper.