9 years, 8 months ago.

Principle to generate the serial protocol with DMA?

Hi Ned,

great work, thanks. I'd like to have my students use this for a student project. I was successfull runing the WS2812B using a small PIC controller, but the team would like to use the Freescale controller. Unfortunately, I've not been able to understand the core of how DMA is used to generate the special timing. You set up the 1/3 and 2/3 PWM but how does the data value / PWM and DMA interact to generate the output?

I don't expect a full explanation, but maybe you could hint me and my students to some documentation or the general concept. Thank you very much.

Best regards

Peter

Question relating to:

Test program for my Multi_WS2811 library that started out as a fork of heroic/WS2811. My library uses hardware DMA on the FRDM-KL25Z to drive up to 16 strings of WS2811 … DMA, FRDM-KL25Z, KL25z, led, WS2811, WS2812

I've added more explanation at https://developer.mbed.org/users/bikeNomad/code/Multi_WS2811/ .

posted by Ned Konz 07 Jun 2015
Be the first to answer this question.