This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

adc processing time?

as per the details from referasnce manual i got the understanding that 

Acquisition window = (ACQPS + 1)∙1/(System Clock (SYSCLK)

If SYSCLK = 120 MHz, then 1/SYSCLK = 8.333ns, and 1+ACQPS should therefore be chosen to be 12,

giving ACQPS = 11

Tsh = 12*8.33 nano sec

In data sheet least tEOC is 11 sysclk

so total time for one adc processing is 23*8.33= 191 nanosec

is the above calculation correct ?

 

i would like to know the least time with max precision for 12 bit adc , when adcs in the same module are processed one after the other(ADCINA1,ADCINA2,.......)?

  • Hi Joseph,

    We specify the ADC timings in the datasheet in section 5.8.1.1.2 "ADC Timing Diagrams".

    You select a row in the table based on the SYSCLK to ADCCLK divider ratio, and then the columns will tell you all the timings in SYSCLK cycles. The diagram also illustrates how back-to-back ADC conversion will occur.

    The time for the ADC to process one conversion is longer than 11 SYSCLK cycles, so the total conversion time will be longer than 191ns. An easy sanity check is that if you use the minimum S+H duration, then 1/(time for 1 conversion) should approximately equal the maximum sample rate given in the datasheet first page.
  • S+H duration is dependent on accuracy, as per my understanding ?

    can 3.1 MSPS be achieved by using the adc in the same module(ADCINA0, ADCINA1, ADCINA2, .....) when being sampled one after the other. 

    is there separate sample and hold for each ADC modules (ADCINA,  ADCINB,....)?

  • Hi Joseph,

    S+H duration can negatively impact accuracy if it is too low, but increasing the S+H duration won't increase accuracy if the settling is already sufficient. Basically you need to set the S+H duration long enough that the input signal will settle to within 1/4 LSBs or more during the S+H time. The TRM has a model of the ADC input, and also a formula you can use to roughly estimate the settling time. If you are using a low impedance driver for the ADC (<50 ohms or so) then you should be fine to just use the minimum S+H time given in the DS. Otherwise, if the signal source is higher impedance, you may need to adjust the S+H duration up.

    Yes, 3.1MSPS can be achieved on a single ADC with back-to-back conversions.

    Each ADC module has its own S+H and converter, so they can (and usually should) be used to process multiple voltages at the same time.
  • Thanks for the prompt reply,