2012-10-11 12:31 AM
Hi everyone!
I'm new to the world of microcontrollers. After some research, I bought my first ARM based Microcontroller; the STM32F4 Discovery.
Now, I have a few questions for the community, hopefully someone can answer me.
how is it calculated the sampling frequency when use multiple channels of the same ADC? #fc-stm32f4-discovery2012-10-11 12:57 AM
How about you find yourself a datasheet and search for sampling time or sampling frequency?
With my F2 under section 10, subsection 5 (so 10.5 on page 212 in pdf while multiple ADCs is described in lower subsections) I have following statement:The total conversion time is calculated as follows:Tconv = Sampling time + 12 cyclesExample:
With ADCCLK = 38 MHz and sampling time = 3 cycles:
Tconv = 3 + 12 = 15 cycles = 0.5 μs with APB2 at 60 MHz
I am positive you will find something alike in reference guide for your microcontroller STM32F4xx ( for example http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/REFERENCE_MANUAL/DM00031020.pdf page 215 to 222 depending on how you'd like to use it)
2012-10-11 01:09 PM
thanks!