AnsweredAssumed Answered

AUX ADC Measurement

Question asked by Anton1000 on Jun 21, 2011
Latest reply on Jun 24, 2011 by Anton1000

I,m trying to mesure U1 and U2 by auxiliary ADC. Should I connect ADC5 to 100 mV Uref or to Ground to mesure < 100mV? Or maybe buffer inputs are off (BUF_BYPASS[1:0] = 11);

 

// *** C o n f i g u r e   A D C 1 ***
                                           // Configure ADC1 for continuous conversions
ADCMSKI = BIT1;               // Enable ADC1 result ready interrupt source
ADCFLT  = 0x127;              // Chop off, 50 hz samping rate
ADC1CON = BIT8 + BIT9    // ADC1 input channel 4, 5
+ BIT3 + BIT11 + BIT15;    // Auxiliary-ADC Enabled Also, Int reference,
ADCMDE  = BIT7 + BIT0;    // Continuous Conversion mode, Normal mode

ADCCFG = 0;
IRQEN = IRQEN | BIT10;    // Enable ADC1  interrupts

ADuC.jpg

Outcomes