AnsweredAssumed Answered

STM32F302 DMA to GPIO

Question asked by bujak.dan on Jul 9, 2015
Latest reply on Jul 15, 2015 by Clive One
Hi All,

I'm trying to drive some WS2812 LEDs which require a (400ns high + 800ns low) or (800ns high + 400ns low) signal to indicate a 1 or a 0.

So esentially I'm trying to take an array of data and output it directly to a GPIO at about 2.5MHz. I've never used the DMA before but from what I understand it should be able to ouput data straight from memory to a GPIO.

How should I try to accomplish this using the DMA, or are there any better ways of outputting data on a GPIO at a consistent clock?

Outcomes