STM32L4 ADC Channel De-interleaving using DMA
I am using DMA to acquire eight ADC channels, and would like to get the DMA to de-interleave a capture of 768x8 channels so that in memory:
channel 1 data is at address A, A+0, A+1, ... A+767
channel 2 data is at address A+768, A+768 + 1, A+ 768 + 2, ... A+768 + 767
channel 3 data is at address A+2*768, A+2*768 + 1, A+2*678 + 2, ... A+2*768 + 767
and so on. In other words, the data from each ADC channel is in a contiguous section of memory. I've been able to do that with other DMA controllers, but it looks like you can't with the STM32L4 DMA engines? I'm just not getting how that could be set up from the manual. Has anyone done something like this?