Other Parts Discussed in Thread: C2000WARE
Hi Champs,
According to the errata
To ensure that the offset remains within the data sheet's “single recalibration”
specifications, perform the AdcOffsetSelfCal() function after Device_cal() has
completed and the ADC has been configured.
I have checked the AdcOffsetSelfCal() in C:\ti\c2000\C2000Ware_3_01_00_00\device_support\f2803x\common\source\DSP2803x_Adc.c.
It has the sentence AdcConvMean = AdcConversion(); //Capture ADC conversion on VREFLO in the DSP2803x_Adc.c.
AdcConversion(void){
:
Sum += AdcResult.ADCRESULT0; // Hitoshi thinks this is the first conversion.
Sum += AdcResult.ADCRESULT1;
:
I believe that the fist conversion result must be discarded due to the errata "ADC: Initial Conversion."
Could you please check the AdcConversion() above which I think some modification has to be taken care.
For example, dummy read must be added into the AdcOffsetSelfCal(), etc.
Otherwise, I am concerned that it might cause negative influence for the ADC accuracy measurement.
Thank you in advance for your kind check and sharing the resolution for it.
Best regards,
Hitoshi