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
feat(rp2040): phase 3 — production PIO RX with DMA #3656
Implementation Phase 3 of #3648. Depends on Phase 2 (qualified non-DMA PIO RX oracle).
Scope
Add bounded 32-bit DMA from the PIO RX FIFO using the RX DREQ; join the FIFO where appropriate; decode outside IRQ context; report overflow distinctly; and handle RP2040-E13 abort ordering safely.
Acceptance criteria
Unit tests assert exact DREQ, FIFO direction/width, transfer count, abort ordering, and simulated FIFO activity.
The non-DMA same-signal control and DMA path decode identically.
Timeout preserves valid partial frames and a retry works without a replug.
Attached-board gate
Through fbuild-backed AutoResearch only, sustain WS2812-rate capture and long seeded streams without unexplained FIFO loss. Record capacity, overflow, selected PIO/SM/DMA, and exact JSON-RPC evidence. This phase produces the production RX oracle used by later TX phases.
Completed by #3664 (merged as 2fda0c6): PIO RX FIFO is drained through a DMA-paced one-word-per-edge buffer with sentinel overflow detection and safe abort/release ordering. Hardware compilation/bench evidence remains tracked separately in fbuild#1040 and #3631.
Activity
zackees commentedon Jul 15, 2026
Completed by #3664 (merged as 2fda0c6): PIO RX FIFO is drained through a DMA-paced one-word-per-edge buffer with sentinel overflow detection and safe abort/release ordering. Hardware compilation/bench evidence remains tracked separately in fbuild#1040 and #3631.