Tool/software: Code Composer Studio
Hi,
I am working on internal ADC and using 3.3V Internal reference. I am unable to get closer ADC value.
Now I set sample window duration (ACQPS+1) as 6. I want to verify whether my ACQPS set is correct.
I am using 80 MHz SYSCLCK and ADCCLK = 20 MHz (SYSCLCK/4).
The duration of the S+H window is controlled by (ACQPS + 1) SYSCLK cycles.
To determine ACQPS, I got solution from forum: https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/708950?TMS320F28377S-Calculate-the-right-ACQPS-value-of-C2000-s-ADC
From my datasheet I found :
I want to set accuracy to 0.5 LSB the time constant should be –ln(0.5/2^12)=9.01
T(S+H) = 9.01 *( (860 Ω *+ 50 Ω)*(7.5 pF)) = 61.5 ns.
(ACQPS +1) = T(S+H) * SYSCLK
= 61.5 ns * 80 MHz = ~5
So ACQPS is 4.
From above table, min sample window duration is 75ns.
(ACQPS +1) = T(S+H)min * SYSCLK
= 75 ns * 80 MHz = 6
Here ACQPS is 5.
Which calculation is correct to select ACQPS? or ACQPS can be selected more that 5.
Also I found that the sample window must also be at least as long as 1 ADCCLK cycle for correct ADC operation. How to verify it?
Regards
Monish P