Skip to content

feat(autoresearch): esp8266 i2sLoopback RPC bench (#4943/#4945) - #4961

Merged
zackees merged 1 commit into
masterfrom
feat/i2s-loopback-fix
Oct 28, 2026
Merged

zackees merged 1 commit into
masterfrom
feat/i2s-loopback-fix

Conversation

@zackees

@zackees zackees commented Oct 28, 2026

Copy link
Copy Markdown
Member

On-device I2S TX->RX loopback bench for the ESP8266 (encode -> stream -> capture -> decode -> compare).

On-device (NodeMCU/D1 mini, /dev/ttyUSB0): compiles, flashes, runs over RPC. TX hardware-verified: s0 = 0x888C == encodeByte(0x1B)[0] from the host codec. RX reads 18 samples for 18 sent, all zero — the ESP8266 I2S has no internal TX->RX loopback, so a jumper between the I2S data-out and data-in pins is required (same contract as the UART bench's GPIO2->rxPin jumper). Diagnostics returned: s0/g0/g1/dec0.

Adds an RPC bench that drives the I2S TX->RX loopback on an ESP8266:
encode a pattern with the I2S codec, stream it out of the I2S peripheral,
capture it back through the I2S RX path, decode, and compare.

On-device result (NodeMCU/D1 mini, /dev/ttyUSB0): the bench compiles, flashes
and runs over RPC. The TX side is hardware-verified -- s0 = 0x888C, exactly
encodeByte(0x1B)'s first sample (matched against the host codec). The RX reads
18 samples for 18 sent but all-zero: the ESP8266 I2S has no internal TX->RX
loopback, so a jumper between the I2S data-out and data-in pins is required
(same as the UART bench's GPIO2->rxPin jumper). Diagnostics (s0/g0/g1/dec0) are
returned so the jumper path is one read away from confirmation.

Refs #4943, #4945, #4949.
@zackees
zackees merged commit c4c2f47 into master Oct 28, 2026
88 of 90 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Oct 28, 2026
@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 from Triage to Done in FastLED Tracker Oct 28, 2026
@zackees
zackees deleted the feat/i2s-loopback-fix 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