AnsweredAssumed Answered

how to select ADC sampling rate and calculate from stm32cubemx

Question asked by ZAMAN.MD_SABBIR_BIN on Feb 11, 2017
Latest reply on Feb 11, 2017 by Clive One

Hello All,

I am using a single channel for AD Conversion from an analog front end on STM32L76. But I want a specific sampling rate of ADC. Currently, I am achieving this by using a timer enabling conversion at the frequency I want. But this implementation requires the usage of two peripheral: TIMER and ADC. Could you please help me to select ADC sample frequency? I am using STMCUBEMX for generating initialization code. If possible, then how do I select the specification from STMCUBEMX. Based on application, I sometimes need to change the ADC sampling rate from software end. So I need to understand the concept.