ADC multiple channel with DMA gives 0 on the output of STM32-NUCLEO-H7A3ZI-Q
Hi there;
I have been trying to get analog signal from three channels on my STM32 for 2 days. I could get the signal from each potentiometer using polling with single channel conversion, but when I try to use multiple channels with DMA, all I get is zeros.
NOTE1: I debugged the program to check for any deadlocks but the code was working perfectly with no deadlocks
NOTE2: I have checked the order of MX_DMA_Init() and MX_ADC1_Init(), the DMA comes before the ADC as you can see in my code below
NOTE3: the clock speed of CPU is 280MHz Max, and the clock speed of ADC is 32MHz
Any suggestion is very much appreciated ......
The whole code is attached in the main.c file :backhand_index_pointing_down::
.
