// the take
A bare-metal STM32H7 example that drives up to 16 WS2812B LED strips in parallel using a 3-DMA-transfer trick synchronized to a timer. The trick is clever: one DMA sets all GPIO pins high on timer update, a second sets the data bits at the 9th tick, and a third pulls everything low at the second compare event — no CPU involvement after setup. Aimed squarely at embedded developers who already understand WS2812B timing and need a parallel-output approach on STM32H7.
The parallel GPIO bank approach is the main thing worth stealing here — driving 16 strips with three DMA transfers instead of one per strip is a real win over naive bit-banging or single-strip SPI approaches. The timer + triple-DMA pattern is well-suited to the STM32H7's DMA multiplexer and correctly handles the WS2812B's strict 400ns/800ns timing without a RTOS or spinloop. Protocol timing diagrams are included in the README with actual scope captures, which is more than most embedded example repos bother with. The code is structured so the row/col dimensions are header-file constants, making it easy to reconfigure for different strip lengths without touching driver logic.
This is a single-board IAR project with no abstraction layer — porting to GCC/CubeIDE requires manually mapping DMA streams, timer channels, and GPIO assignments, and there's no guidance on which registers need to change. No HSE/clock configuration documentation; the H743 has a notoriously fiddly clock tree and the example will silently produce wrong timing if your system clock differs from the author's setup. Abandoned since September 2022 with 5 stars and no forks, so you're on your own if something doesn't work on your specific H7 variant. The CMSIS DSP test suite is committed wholesale into the Drivers directory, which inflates the repo with ~200 files completely unrelated to WS2812B control.
We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →