AnsweredAssumed Answered

Sampling Frequency of ADC on STM32F4 Discovery

Question asked by JJ on Nov 7, 2015
Latest reply on Nov 8, 2015 by Clive One
Hi. I'm fairly new to the concepts of ADC and currently, I'm using STM32F4 Discovery. For ADC, I have these settings for my ADC settings in my ADC_init() (source codes from an author online).

     ADC_CommonInitStruct.ADC_DMAAccessMode = ADC_DMAAccessMode_Disabled;
     ADC_CommonInitStruct.ADC_Mode = ADC_Mode_Independent;
     ADC_CommonInitStruct.ADC_Prescaler = ADC_Prescaler_Div4;
     ADC_CommonInitStruct.ADC_TwoSamplingDelay = ADC_TwoSamplingDelay_5Cycles;
     ADC_CommonInit(&ADC_CommonInitStruct);

and my ADC channel config is:

ADC_RegularChannelConfig(ADC1, channel, 1, ADC_SampleTime_15Cycles);

How do I calculate sampling frequency of my ADC from these values?

Outcomes