STM32H743XI ADC DMA speed problem.
I am using STM32H743XI to capture a image sensor signal by using ADC and DMA.
The image sensor signal is an analog signal following a 2.5MHz clock.
I planed to use ADC and DMA to capture an image frame in a memory buffer.
The size of the buffer is 268x180 half-words with only one image frame.
When I setup Timer8 in 2.5MHz in order to trigger the ADC sampling and DMA,
the result is a 4 images in one DMA image buffer.
It seems to be caused by slower ADC sampling rate.
After I reduce the 2.5MHz image signal clock to 1.25MHz,
there will be only one image in the DMA image buffer (ADC is still set in2.5MHz).
In the above case, I used 8-bit ADC resolution. If I used 16-bit or 14-bit,
the situation become worse. There will be more small images in one DMA buffer.
According to AN5354 (Getting started with the STM32H7 Series MCU 16-bit ADC) Application note,
the max sampling rate in 14-bit is 3.1MHz at least.
I do not know how to reach this max speed of ADC. Is there any one can
give me a hint or example code? Any suggestion will be welcomed.
Thank you in advance.
Chih-Wei Chang
