Skip to content

Finish the parallel implementations using the PIO hardware on Pi Pico to drive multiple strips with one PIO program #3620

Closed

Description

@eelstretching

Problem

The current implementations that are meant to use a single PIO program and associated resources to output to multiple consecutive pins are incomplete.

Proposed solution

I've been working on completing the implementation myself, basing it on work that I've been doing on a project of my own using just the Pico C SDK. I'm missing all the rest of the FastLED goodness, so here I am, but I don't want to give up my parallel output. My goal is to drive 6400 LEDs from a single Pi Pico 2 for my MegaTree this year.

So far I've abstracted out the resource allocation and PIO programming into a single class that clockless_rp_pio.h and clockless_rp_pio_parallel can share, and I'm getting ready to tackle the auto version, which is clearly the one we really want.

My project (http://github.com/eelstretching/PicoLEDs) actually has something very similar to the auto version (collects consecutive pins, etc.), but mine does parallel output for any pin group size (i.e., not limited to 2, 4, or 8).

Not sure of the rules of the road, but shall I simply proceed and then we can discuss when it's ready for a PR, which will hopefully be in the next couple of weeks.

Alternatives considered

No response

Platform relevance

RP2040

Additional context

No response

Activity

  1. added
    status: triage
    type: feature
    on Jul 13, 2026
  2. zackees commented on Jul 13, 2026

    @zackees
    Member

    I've got an auto research tool that will setup the board completely and fix all the drivers by soldering two pins together and letting the ai spin on it. I've just ordered pico and pico2 boards and the pico arrives tomorrow. It's possible that the pico will be fully implemented tomorrow night. It's possible that the pico2 will be implemented by wednesday night, however I'm supposed to go to a festival so no promises on the pico2 impl this week.

  3. eelstretching commented on Jul 13, 2026

    @eelstretching
    ContributorAuthor

    OK, wow! As far as the Pico 2 is concerned, aside from the pin base problem (which you won't have with a standard Pico 2), it should be basically exactly the same for both.

  4. moved this from Triage to Done in FastLED Trackeron Jul 16, 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

    status: triagetype: feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions