Skip to content

rp2040 using a PIO state machine for each "strip." #329

Open
@WestfW

Description

@WestfW

Currently on rp2040, a PIO state machine is allocated for each strip.
This limits the number of strips that can be supported to 8, and consumes PIO SMs that may be needed for other purposes.
Since the show() implementation is still synchronous (waits until the full bit stream has been written to the strip), there doesn't seem to be much benefit to the separate SMs, and I think the time needed to set up the PIO is small compared to the time required for show()...

(Ideally, I guess it would be nice if the PIO program could have its pin definitions updated on the fly without having to completely reconfigure it. I don' know whether that's possible.)

https://forum.arduino.cc/t/problem-when-using-neopixels-and-pdm-mic-on-rp2040/1030886/1
https://forums.adafruit.com/viewtopic.php?t=194183

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions