Hi I like to read out 4 ADC Channels of ADC1 on every edge-change of Timer4. With Interrupt Mode its working, with DMA no restart.
I have Timer4 configured as a OC timer, the trigger Out event should trigger every rising and falling edge the ADC1 to read 4 channels (CH1-CH4). The trigger event to the ADC runs, when I don't use the DMA. I tried to use the Interrupt function with HAL_ADC_Start_IT(&hadc1); With this function its working, but I can't read in the different channels with the function "HAL_ADC_GetValue" in the IRQ-Function "void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc)"
Because of this I tried to use the DMA and like to trigger the ADC like before and read out the values after converting the 4 Channels. But the DMA is not getting getriggered and the values are incorrect. How could this be so difficult to set-up, this is a really basic function. Please help me.
Thanks
