This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADS7828: Unable to get constant output for constant Input, Getting every alternate reading correct

Part Number: ADS7828
Other Parts Discussed in Thread: CC2640

Hello,

I have interfaced CC2640 to ADS7828 using I2C driver. I am using Ads7828 in external voltage reference mode with Ref out pin connected to Vdd (3.3V) but when I am applying constant 3.3V to one of the channels to get the reading in 8 bits. I am getting every alternate value correct. below is my reading for 3.3V.


I2C Initialized!

Sample 0: 15
Sample 1: 255
Sample 2: 15
Sample 3: 255
Sample 4: 15
Sample 5: 255
Sample 6: 15
Sample 7: 252
Sample 8: 15
Sample 9: 255
Sample 10: 15
Sample 11: 255
Sample 12: 15
Sample 13: 255
Sample 14: 15
Sample 15: 255
Sample 16: 15
Sample 17: 255
Sample 18: 15
Sample 19: 255
Sample 20: 15
Sample 21: 255
Sample 22: 15
Sample 23: 255
Sample 24: 15
Sample 25: 255
Sample 26: 15
Sample 27: 255
Sample 28: 15
Sample 29: 253
Sample 30: 15
Sample 31: 255
Sample 32: 15
Sample 33: 255
Sample 34: 15
Sample 35: 255
Sample 36: 15
Sample 37: 252
Sample 38: 15
Sample 39: 255
Sample 40: 15
Sample 41: 254
Sample 42: 15
Sample 43: 255
Sample 44: 15
Sample 45: 255
Sample 46: 15
Sample 47: 255
Sample 48: 15
Sample 49: 255
I2C closed!

I am not to figure out the reason for this constant value of 15.

  • Hi Ashishek,

    Can you possibly post a screen shot of your IIC interface to the ADS7828? With your 3.3V in, you would be at the full scale limit of the device, one byte of 0x0F (15 decimal) followed by another of 0xFF (255 decimal) sounds like it might be a correct result to me.