| KNOWLEDGE BASE

A rich source of expert knowledge

Learn from experts in the world of embedded systems

STM32 + RGB LEDs Firmware Tutorial (TIM + DMA) - Phil's Lab #136

How to control addressable RGB LEDs (SK6805, WS2812) using PWM timers with DMA in C using STM32 MCUs.
Chapters:
  • 00:00Introduction
  • 01:42Hardware & Schematic Overview
  • 06:06Datasheet
  • 07:25Data Structure & Timing
  • 13:34CubeIDE Set-Up
  • 15:16Timer Set-Up
  • 18:26DMA Set-Up
  • 20:15Driver Header Code
  • 27:04Driver Source Code
  • 30:10main.c
  • 31:57Scope Measurement & Demo
  • 34:47Outro