AnsweredAssumed Answered

What is ADCMOD2?

Question asked by dinrail on Mar 8, 2013
Latest reply on Mar 13, 2013 by AudeR

According to http://www.analog.com/static/imported-files/user_guides/UG-367.pdf

table 31bit 3 is ADCMOD2

 

In ADlib.c, AdcRng has

 

int AdcRng(ADI_ADC_TypeDef *pPort, int iRef, int iGain, int iCode)

    {

    int    i1 = 0;

 

  i1 = pPort->MDE&0xff07;

    pPort->MDE = i1|((iGain&0xf8));

...
    }

 

meaning always setting ADCMOD2 to zero!

 

Does it mean gain of 2 is never available? If so, why? if I need to use gain of 2, should I set it to one?

Outcomes