You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ESP32-S3: AutoResearch RX loopback capture stops at 200 edges, failing RMT and SPI decode #4903
Found while validating the USB console under LED activity for #4893. On a physical ESP32-S3 (Arduino 3.3.11 / IDF 5.5.5, GPIO1 → GPIO2 jumper, loopbackMode: JUMPER WIRE, rxBackend: PLATFORM_DEFAULT, 96,100 B decode buffer), every AutoResearch loopback decode fails: the RX capture always ends after 200 edges (13 of 300 bytes for 100 LEDs).
The captured edges are valid WS2812 timings (H575 L650 / H225 L1000), so the TX drivers and the wiring work; capture just stops early. 200 edges is exactly the 100-symbol size used by the GPIO baseline capture (gpioBaseline symbols:100), which suggests the RX channel stays sized for the baseline and is not resized for the LED test.
On the same host and harness, the ESP32-C6 passes (TEST RMT lanes=1 leds=100 PASS), so this is S3-specific.
Acceptance criteria
RED: the S3 --rmt decode failure above. GREEN: bash autoresearch esp32s3 --rmt and --spi pass on the same jumper.
Identify why the capture is limited to 200 edges (RX channel sizing versus the baseline, symbol memory, or wait/stop logic), and fix it without shrinking the test.
Keep the C6 passing.
Related: #4669 (P4 LCD_RGB capture truncating at 256 edges; possibly the same class of bug).
Additional loopback-decode evidence from the same session. ESP32-C6, GPIO0 → GPIO1 jumper, USB Serial/JTAG, runSingleTest {driver: RMT, laneSizes: [100], pattern: MSB_LSB_A, timing: WS2812B-V5} repeated six times on one boot:
iterations: 1: runs 0–3 pass; runs 4–5 fail (every pattern passed: false), and minFree drops from 123,360 to 112,016.
iterations: 3: all six runs fail.
Heap is stable across runs (131,084 / 131,072 oscillation), so this is not a leak; the decode degrades over repeated or multi-iteration captures. The single-shot canonical bash autoresearch esp32c6 --rmt passes, which is why CI-style runs don't show it. The S3 under the same loop fails every run (the 200-edge cap above), with heap steady at 34,280 B.
Activity
zackees commentedon Oct 22, 2026
Additional loopback-decode evidence from the same session. ESP32-C6, GPIO0 → GPIO1 jumper, USB Serial/JTAG,
runSingleTest {driver: RMT, laneSizes: [100], pattern: MSB_LSB_A, timing: WS2812B-V5}repeated six times on one boot:iterations: 1: runs 0–3 pass; runs 4–5 fail (every patternpassed: false), and minFree drops from 123,360 to 112,016.iterations: 3: all six runs fail.Heap is stable across runs (131,084 / 131,072 oscillation), so this is not a leak; the decode degrades over repeated or multi-iteration captures. The single-shot canonical
bash autoresearch esp32c6 --rmtpasses, which is why CI-style runs don't show it. The S3 under the same loop fails every run (the 200-edge cap above), with heap steady at 34,280 B.Merge pull request #4906 from FastLED/fix/rmt-rx-buffer-resize-4903
fix(esp32,rmt-rx): S3 loopback capture stopped at 200 edges (FastLED#…