Start multiple ADC's DMA
I have tried to get ADC results from 8 different chanels on 3 ADC's using DMA so that the fresh values are always avaliable to me on STM32F303
I used Cube MX to configure the ADC's and DMA's. After initisalization I did:
HAL_ADC_Start_DMA(&hadc1, (uint32_t*)ADC1Buff, 4);
HAL_ADC_Start_DMA(&hadc2, (uint32_t*)ADC2Buff, 2);
HAL_ADC_Start_DMA(&hadc3, (uint32_t*)ADC3Buff, 2);
I only get ADC1 running.
I can't even step into the second line.
If I interchange the lines, it always works for the ADC in the first row, and skips the second and third one.
What am i missing?
