Skip to content

feat(rp2040): phase 4 — UART clockless TX and first RX byte match #3657

Closed

Description

@zackees

Parent and phase

Implementation Phase 4 of #3648. Depends on Phase 3 (qualified production PIO RX oracle).

Scope

Generalize the reusable wave10/wave4 encoder; implement ChannelEngineRpUart and an injectable RP UART peripheral; bind UART0/UART1 to Bus::UART; feed the correct TX DMA DREQ; and implement full two-queue READY/BUSY/DRAINING/ERROR plus ChannelData::isInUse. DMA completion is FIFO-fed only: READY requires UART wire-idle (BUSY clear).

Acceptance criteria

  • Host tests cover all 256 values, baud quantization/symbol margin, both UARTs, queue lifecycle, concurrency, error injection, and cleanup.
  • Selected TX pins are validated against the selected UART and hardware UART is not confused with USB CDC/RPC transport.

Attached-board gate

Use the Phase 3 RX oracle on unchanged wiring. UART TX must exact-byte match 00, FF, AA, 55, walking bits, seeded random data, and multi-LED WS2812 frames for 4/4 runs per pattern. Record actual timing, symbol separation, wire idle, and resources.

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