Question
STM32F302 DMA to GPIO
Posted on July 09, 2015 at 22:17
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?