I'm currently working on bi-directional I2S data transfer with DMA which I'm having pretty good luck with and will be posting shortly.
I do want to do the same with APA102 Ledstrip... and update my Android App : https://www.youtube.com/watch?t=1&v=zr7ZrnF-bfM
But seems difficult under arduino firmware ? and SPI ?
sfranzyshen wrote:What is the maximum number of LEDs that can be driven by this method? Since the ram (memory) is the limiting factor ...
Apparently the DMA has a max buffer size of 4kB, but by rotating buffers I've been able to get more.
Right now, I'm controlling SK6812 RGBW, with 32 bit per led instead of 24, in 4 I2S bit per LED data bit period, up to 367 LEDs. As a 5M strip is 300 leds, I'm good with that.
Also on SK6812RGBW, the tolerances on the timing are awesome. I could reliably get the clock to 1333Khz instead of the specified 800Khz and all is fine (given 5V power is adequately distributed at various points in the strip).