Repository navigation
feat(autoresearch): esp8266 i2sLoopback RPC bench (#4943/#4945) - #4961
Merged
Merged
Conversation
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.
|
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.
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.