Skip to content

test(rp2040): GPIO, PIO, and LED loopback bring-up after headers are soldered #3631

Closed

Description

@zackees

Context

Parent: #3626

This is the explicitly deferred hardware phase. The attached Pico 1 currently has unsoldered headers, so GPIO, PIO waveform, and LED-output claims cannot yet be proven with jumper wiring or an external receiver.

Phases 1-5 intentionally cover only deployment, USB/serial transport, JSON-RPC, CPU/runtime suites, watchdog recovery, and soak behavior.

Proposal

After headers are soldered, extend the existing examples/AutoResearch harness rather than creating one-off sketches. Bring up physical output incrementally:

  1. Confirm board pin numbering and safe candidate pins against the Pico/RP2040 documentation.
  2. Run AutoResearch pin discovery and basic toggle capture.
  3. Establish a documented TX?RX loopback with shared ground.
  4. Validate raw PIO/clockless timing as supporting evidence.
  5. Validate LED output through the public FastLED API (FastLED.addLeds, show, and the intended controller path), not only a raw peripheral helper.
  6. Record wiring, exact commands, captures/RPC output, and the firmware/merge SHA.

Acceptance criteria

  • Do not begin physical pin testing until the user confirms the headers are soldered and the intended jumper wiring is safe.
  • Pin claims cite the RP2040/Pico documentation and distinguish datasheet capability from observed board wiring.
  • Reuse or augment examples/AutoResearch; do not add a one-off .ino sketch.
  • Basic GPIO toggle/loopback passes first.
  • PIO/clockless timing is measured with a suitable receiver or capture path.
  • At least one representative addressable LED protocol is validated through the public FastLED API.
  • Any raw PIO helper test is supporting evidence only, not the final API acceptance test.
  • Closeout records the exact pin mapping, jumper wiring, board/port identity, command, merge SHA, and decisive output/capture.

Open questions

  • Choose the concrete TX/RX pins and capture/receiver hardware after the headers are soldered and the physical setup is visible.

Activity

  1. zackees commented on Jul 14, 2026

    @zackees
    MemberAuthor

    Pins remain intentionally deferred as requested: the Pico headers/inputs are not soldered. No pin bring-up or closure is claimed until the physical wiring is complete.

  2. zackees commented on Jul 15, 2026

    @zackees
    MemberAuthor

    Physical bring-up is complete on the attached replacement Pico and supersedes the original deferred-header state.

    Board: COM12, Raspberry Pi Pico SDK CDC, USB 2E8A:000A, serial 5303284720C4641C. Wiring: GPIO11 (PIO/SPI1 TX) -> GPIO8 (PIO/SPI1 RX); GPIO10 is SPI1 SCK for the public SPI validation.

    Using fbuild port scan plus bash autoresearch/fbuild/JSON-RPC only, the GPIO pre-test passed; PIO0 and PIO1 each passed exact-byte WS2812B at 1/25/100 LEDs and four patterns; PIO0+PIO1 concurrent resource/show-and-wait passed; public FastLED SPI1 APA102 and SK9822 passed byte-exact loopback at 8 MHz, including 257-LED frames. Phase 8 then passed 100 LEDs x 16 frames x four patterns in 7229 ms and demonstrated structured 101-LED dma_buffer_size rejection followed by immediate 100-LED recovery. Merged evidence: #3675 (779998c) and #3676 (65ef0f9).

    This uses AutoResearch rather than a one-off sketch and distinguishes GPIO, raw/PIO capture, byte-exact, resource, and soak evidence.

  3. 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