2018-09-13 03:07 AM
Hello,
I'm using ADC with DMA of STM32F7 MCU. I want to calculate the ADC Sampling Rate. Is there a formula that I can use ?
With 12Bit resolution, Is it possible to reach 2.4MSPS ?
I'm using CubeMX for code generation.
2018-09-13 05:37 AM
The ADCCLK is derived from APB bus by prescaler /2, ... The conversion takes n bits + sample time as a simple sum, calculated in ADCCLKs. The resolution can be reduced from 12 to 10, 8 and 6 bits, reducing conversion time. Sampling time needs to be adjusted according to the source impedance (see datasheet).
Simple example is in RM, chapter 15.5.
2018-09-13 05:43 AM
The Reference Manual used to give a nice timing diagram in the ADC section, and the available timing values in the respective config register description.
The datasheet gives max. timing limits.
I don't mess with Cube, not sure what you can make there ...