AnsweredAssumed Answered

STM32F334 HAL DMA ADC Scan conversion not working

Question asked by Richard Stefun on Oct 9, 2017
Latest reply on Oct 26, 2017 by Philippe Cherbonnel



In my project, I use the ADC configured in scan mode, as seen on this screenshot from STM32CubeMX:

and the DMA configured as follows:


The problem is that I can't get any data transferred from ADC to memory, when I call

volatile uint32_t ADC1ConvertedValues[2];

HAL_ADC_Start_DMA(&hadc1, (uint32_t*)ADC1ConvertedValues, 2);

When I open the peripheral view on Keil uVision I can see that the ADC is working properly and the conversions are happening.


Can you tell me where's the problem?