ADC sampling rate is different from the set value
I want to run the ADC using DMA and Dual mode.
The sampling rate was set to 80kS / s using TIM3. The board I am using is Nucleo 64 STM32 F446.
In order to confirm whether the ADC is really running at 80kS / s, I described "HAL_GPIO_TogglePin" in "DMA2_Stream0_IRQHandler (void)" and confirmed it by observing the pulse width with an oscilloscope.
As a result, it was found that the ADC is running at about 660us (1.5kHz in frequency). (According to the data sheet, the STM used can have a maximum sampling rate of 2.4 MS / s.)
Why doesn't my program get the sampling rate I set?
My program only runs the ADC and does nothing else.
Our development environment
win10
STM32CubeIDE Ver1.6.1
Board used: Nucleo64 STM32F446
Thank you for your reply.






