Skip to content

FastLED on Teensy 4.1 doesn't support software-emulated SPI (aka bitbanging) for APA102 chipsets #1579

Closed

Description

@pabloxid

Teensy 4.1 + FastLED + APA102 + regular pins (no-hardware-enabled SPI) = FAIL

Activity

  1. JonasVorwerk commented on Feb 7, 2024

    @JonasVorwerk

    Works with slow data rates

  2. zackees commented on Aug 31, 2024

    @zackees
    Member

    I'm open to a fix if anyone wants to make a pull request to fix this. Follow the development instructions on the Readme.md to get up and running in a test environment quickly.

  3. added
    type: feature
    platform: teensy
    area: drivers
    status: stale
    status: triage
    on Apr 16, 2026
  4. zackees commented on Apr 20, 2026

    @zackees
    Member

    Research note against current repo head as of 2026-04-20: the current Teensy 4.x APA102 path is wired to Teensy4HardwareSPIOutput, so there is no automatic per-controller software-bitbang fallback when the pin pair is not a valid LPSPI route. SPIDeviceProxy handles hardware routing, but it does not transparently switch single-device Teensy 4 APA102 output to software SPI.

    So today the reliable path is using valid SPI / SPI1 / SPI2 pin sets, or forcing software SPI globally if bit-banging is acceptable. If graceful fallback is still desired, that would need a Teensy-specific change that detects invalid hardware pin pairs and explicitly instantiates the software-SPI path.

  5. moved this from Triage to Done in FastLED Trackeron Aug 31, 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

    area: driversplatform: teensystatus: stalestatus: triagetype: feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions