STM32H743ZI2 ADC3 AND DMA
I am using NUCLEO-STM32H743ZI2. I try ADC3 + DMA, but I confuse ADC3 CLOCK, from cubeMx, I found THERE ARE 3 SOURCE (PLL2P,PLL3R,PER_CK) for adc clock, in manual, it mentioned SCLK and HCLK can be clock resource as well. In RCC adc clock selection, only there are PLL2, PLL3, AND PER_CK to select, so how can I figure out what clock I use? so my understanding is if I choose asynchronous divide, my adc clock only chooses PLL2P, PLL3R OR PER_CK, but if I choose synchronous divide, my adc clock only chooses HCLK or SCLK? right?
right now, it is easy for me to use adc interrupt or poll to acquire data from adc3, but I always failed as long as I use DMA to get data, the error always points to overrun or transfer error. I check the demo program in hal library, it is so strange that all adc_dma examples only include adc dma configuration, but it miss dma channel configuration, so the program can't be run as dma mode without adding dma configuration.
does anybody has stm32h743zi2 adc+dma example using HAL LIBRARY?
tHANK YOU.