AnsweredAssumed Answered

Chop Enable in ADuC7060

Question asked by rnd.canopus@gmail.com on Nov 12, 2011
Latest reply on Nov 13, 2011 by MMA

By using 50Hz ADC frequency, we acheived 15-16 bit accuracy.

Looking for 18-20bit accuracy using CHOP Enable filter setting.

Cann't get desired output. Please find below code & guide us.

 

 

ADCMSKI = 0;       
ADCFLT  = 0x8000;                                        // Chop ON
ADC0CON = BIT15;         // enable ADC0, Int Reference

ADCCFG = 0;
// Offest Self Calibration
ADCMDE  = BIT2 + BIT4 + BIT7;
while((ADCSTA & BIT0) != BIT0){}     // Wait for Calibration routine to complete
   
// Gain Self Calibration
ADCMDE  = BIT0 + BIT2 + BIT4 + BIT7;
while((ADCSTA & BIT0) != BIT0){}     // Wait for Calibration routine to complete

ADC0CON = BIT15;         // enable ADC0, Int Reference


ADCMDE  = BIT1 + BIT7;                               // Enable Single conversion mode

 

while(ADCSTA & 0x01)

{

      j = ADC0DAT;    // Read ADC

}

Outcomes