Part Number: LAUNCHXL-F28377S
Acqusition Time Problem
Hello,
My problem is as follows:
I am trying to measure ADC time. For this, I am using the least required "ACQPS". For example;
My single adc reads in 80nanosec. For this, least required ACQPS is 15. In doing so, I am able to read adc without any problem. However, as I increase ACQPS value, I see change in my ADC reading time. It is the part that I have not understood. In datasheet attached below, in section 9.1.4.3 it is written that "The selected acquisition window duration must be at least as long as one ADCCLK cycle." I do not see any reason in the change of ADC reading time as I increase ACQPS value since datasheet has not stated the maximum value to which ACQPS can be increased.
The time for ADC is measured likewise that of the code given below.
AdcaRegs.ADCSOCFRC1.all = 0x0001;
GpioDataRegs.GPASET.bit.GPIO13=1; //start adc time
while(0 == AdcaRegs.ADCINTFLG.bit.ADCINT1);
AdcaRegs.ADCINTFLGCLR.bit.ADCINT1 = 1;
AdcaResults = AdcaResultRegs.ADCRESULT0;
GpioDataRegs.GPACLEAR.bit.GPIO13=1; //finish adc time
AdcaRegs.ADCINTSEL1N2.bit.INT1E = 0;