// the take
A DMA-driven WS2812B LED driver for STM32F1 (Blue Pill) that controls up to 16 LED strips in parallel using a single GPIO bank. The three-DMA-transfer trick — set-all-high, set-data-bits, set-all-low — is a well-known but tricky technique that offloads all the 800kHz timing from the CPU. For an embedded developer who wants to drive multiple WS2812B strips without bit-banging or per-strip timers, this is a working reference.
The parallel GPIO bank approach is genuinely clever: all 16 strips share one timer and three DMA channels, so adding a strip costs zero CPU and no extra peripherals. The timing diagrams in the docs folder show exactly which timer ticks trigger each DMA event, which makes porting to a different STM32 family straightforward. The code is self-contained — no HAL dependency spaghetti, just CMSIS and the STM32F1 peripheral library, so it compiles cleanly across toolchains. The README honestly tells you what to change (DMA channels/streams) when you move to a different chip.
The repo ships the entire CMSIS DSP test suite as dead weight — nothing in the WS2812B driver uses any of it, and it balloons the repository with hundreds of files that have nothing to do with the stated purpose. There is no API: you get one hardcoded example for 18 LEDs on GPIO A; gamma correction, HSV helpers, or any abstraction above raw RGB bytes are left entirely to you. The IAR project files are included but no Makefile or CMakeLists.txt, so users on GCC/arm-none-eabi have to wire up their own build. Last touched in 2022, 10 stars, zero forks — it works, but it is abandoned and you own it from day one.
We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →