cancel
Showing results for 
Search instead for 
Did you mean: 

Is my ADC Configuration is Correct. I am using STEVAL -MKSBOX1V1 Controller.

Snara.21
Senior

ADC Sampling rate :-

Total Conversion Time (Tconv) = Samplingtime + 12 (This 12 is for 12-bit resolution of ADC). If I set 12.5 Cycles in MX based on the settings of the controller STM32L9RI

My ADCCLK Cycle will be =24.5 . Please confirm whether 12 to be added for calculation

0693W00000GYWZeQAP.png

0693W00000GYWYDQA5.png0693W00000GYWZZQA5.png

In STM32Cube MX if the PCLK2/Prescalar value is 64 MhZ Which is 0.016 us

Total sampling time is therefore:0693W00000GYWZPQA5.png= 24.5 * 0.016 us = 0.392 us

Sample Rate = 1/.392 which is 2.55 MHz.

Kindly confirm the calculation is correct

0 REPLIES 0