You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FastLED on Teensy 4.1 doesn't support software-emulated SPI (aka bitbanging) for APA102 chipsets #1579
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.
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.
Activity
JonasVorwerk commentedon Feb 7, 2024
Works with slow data rates
zackees commentedon Aug 31, 2024
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.
zackees commentedon Apr 20, 2026
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.SPIDeviceProxyhandles 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/SPI2pin 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.fix(teensy4): fallback to software SPI for invalid pins (#1579) (#4087)