how can store different channels of ADC in a array of two dimension used on DMA ?
I am using stm32F030R8 Nucleo, my program reads three adc channels. Below I am showing the image. I don't find how to set ADC or DMA to get every ADC channels converted directly in a array like this uint16_t adcData[ADC_CHANNELS] BUFFER_SIZE]
ie:
adcData[0] [32] = 32 values of channel 0
adcData[1] [32] = 32 values of channel 1
adcData[1] [32] = 32 values of channel 1
I would like to know if there is any way to do this split of adc conversions by ADC or DMA configuration, otherwise I should process later all values in this sequence to split them in different arrays
could anyone help me on this question? Thanks in advance for helping me