2020-04-27 12:49 PM
Hello. I have stm32f407 MCU. I need read 6 ADC channels by timer (2 Khz) and store adc data to 6 circular buffers. What is better way do this?
2020-04-27 03:16 PM
If you need 6 individual circular buffers, you'll need to postprocess the data to split them up. Results will be returned in a single buffer for each ADC, not for each channel.
2020-04-28 06:25 AM
Is it possible split by hardware (dma)?
2020-04-28 06:32 AM
Nope.
2020-04-28 06:40 AM
No DMA will fill array in 6 word bursts. You'll need your processing task to step over as required (ie ptr += 6 rather than ptr++), or you'll need to deinterleave into arrays as you want them.