new pi2ws2812 project

Post date: May 08, 2017 4:49:15 AM

It's been a while, but I've started documenting a new project.

I finally bought a strip of those addressable LEDs. The price was right, even though I don't know what I'll be using them for. While I was waiting for them to arrive, I checked to see what kernel modules were available for driving them. I could only find one that uses the PWM peripheral, and one that uses paced DMA driving the GPIOs. That was kind of disappointing: nobody is using the PCM peripheral. It's perfect for driving them with it's huge FIFO buffer.

So I modified one of my old kernel drivers to do the job. It works great! I even wrote a few demo programs to test it out. The files are posted, but there's no write-up at this point.