Skip to content

feat(rp2040): phase 3 — production PIO RX with DMA #3656

Closed

Description

@zackees

Parent and phase

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.

Activity

  1. zackees commented on Jul 15, 2026

    @zackees
    MemberAuthor

    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.

  2. moved this from Triage to Done in FastLED Trackeron Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions