AnsweredAssumed Answered

How to enable pseudo differential mode in AD7124-4

Question asked by sreenath4a1@gmail.com on Aug 30, 2017
Latest reply on Sep 4, 2017 by JellenieR

I Need to check the voltage at AIN6 (please refer below attachment for connection)

Expected voltage - 2.45

But i was getting -  3.29(around)

 

Below are my ADC register configurations

-> REF_EN = 1,

    FULL POWER MODE,

    INTERNAL CLOCK

   unsigned int C_R = 0x01C0;     //CONTROL_REGISTER

-> UNIPOLAR ,

    Buffer enabled on AINP,AINM ,

    REFF SEL - AVDD (3.3 V),

    GAIN =1
    unsigned int CF0_R = 0x0078;    //CONFIGURATION0_REGISTER 

-> Channel 0 enabled,

     Positive analog input - AIN6 , 

     Negative  analog input - AIN0 - ( I Don't know what to keep so i kept to default)
      unsigned int C0_R = 0x80B0;    //CHANNEL0_REGISTER


ResetAD7124();

ADCWriteShort(CONTROL_REGISTER,C_R);
ADCWriteShort(CONFIGURATION0_REGISTER,CF0_R);
ADCWriteShort(CHANNEL0_REGISTER,C0_R);

 

Conversion formula

adc = ((double)adcRawData / 16777216 ) * 3.3;

Attachments

Outcomes