Hello @VaneB ,
I read the RM and I found the adc total conversion formula.
ADC TOTAL CONVERSION TIME = Sample Phase Time (set by SMPLTS + 1) + Hold
Phase (1 ADC Cycle) + Compare Phase Time (8-bit Mode = 20 ADC Cycles, 10-bit
Mode = 24 ADC Cycles, 12-bit Mode = 28 ADC Cycles) + Single or First continuous
time adder (5 ADC cycles + 5 bus clock cycles).
My SMPLTS = 12 , Bus clk freq =40MHZ and ADC clk freq =40 MHZ.
one Bus cycle =1/bus clk freq =1/40MHZ =25ns
one Adc cycle=1/ADC clk freq =1/40MHZ =25ns
ADC TOTAL CONVERSION TIME= (12+1)+1 ADC cycles +28 ADC cycles+5 ADC cycles +5 bus clock cycles
= 47 adc cycle + 5 bus cycle.
=47 * 25 ns + 5 * 25ns
=1300 ns (~1.3 millisecond)
My total ADC conversion time is 1.3 millisecond. is this correct ?
How to understand the sampling rate ( my SMPLTS is 12).
BR,
Sarwath