I was wondering if anyone has played much with the DMAC or DTC set ups on these boards?
Yesterday I was playing some more with the Neopixel code, which appears to be working, but the timings are not as accurate as I would like. I have some fudging that I have not uploaded which is closer, but still varies. I see similar variances in the FastLED timings as well.
So was thinking of experimenting with maybe trying to do it using PWM and vary the duty, for each bit. Using GPT timer... Probably the buffered GTPBR but might be the unbuffered GTPR with the high timing value for each bit.
Am curious to see how hard it would be to setup a DMA operation, where the destination is the register, source is something like a Ring buffer, where maybe the buffer is large enough for two leds (either 24 or 32 bits per LED), and maybe have the main code keep filling in the buffer with the next leds bits...
But was curious if anyone else has already played with DMA. Did you use the fsp functions, like the stuff in r_dmac.h or roll your own or ???
Thanks
Kurt