I try to setup STM32F407ZGT6 chip to work with ADC throught DMA, currently I'm using HAL lib for fast prototype but have some problem. I set up ADC as 3 chanel Scan Continous mode using DMA in circular mode with Peripheral-to-Memory mode with length Word. I checked max freq for ADC (36MHz) and divide my CoreFreq (72MHz) by 4.
In code I create variable uint32_t adc_value[3]
And run ADC HAL_ADC_Start_DMA(&hadc1, (uint32_t *)&adc_value, 3);
before main loop.
For voltage adjustments and tests I use 1kOhm potentiometer, but while I change resistance nothing happeng, and values jump randomly between 2047, 4096 (2 values, I mean I can see only 2 values).
Whats interesting I used the same setup in STM32F103 (BluePill) and all works fine. Maybe I missed something, because F4 chip has more wider settings. Thanks