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.

ADS1114: ADS1114

Part Number: ADS1114


I am using ADS1114 in my project and I am facing a problem. When I write the value 0x8a03 to the config register and when I read it back the value is not same. Check the log printout below. 


00> 0:3:19 writing value, 0x8a03 to register 0x01. 

00> 0:3:19 config register, read value is 0xa03

And here is the I2C analyzer printout.

  

Why the write and read value is not same?

  • Hi Abid Hussain,

    Welcome to the E2E forum!  You are actually getting back what you should expect. Bit 15 (most significant bit) is the operation status (OS) bit.  When you write a '1' to this bit when the ADS1114 is in single-shot conversion mode, a conversion will begin.  When reading this bit the conversion status will be indicated with a '0' indicating that a conversion is in process and a '1' indicating the device is not currently performing a conversion.

    I did notice that the first set of sequences appeared correctly with the proper I2C START and STOP signaling being issued.  But later on there was a series of transmission that did not include the proper START, repeated START or STOP conditions.  Make sure that you follow the I2C protocol for communication properly.

    Best regards,

    Bob B

  • Hi Bob Benjamin, 

    Thanks for the response. 

    When reading this bit the conversion status will be indicated with a '0' indicating that a conversion is in process and a '1' indicating the device is not currently performing a conversion.

    Got it, I did not notice this in the datasheet earlier. I went through the datasheet again and found this point. 

    I did notice that the first set of sequences appeared correctly with the proper I2C START and STOP signaling being issued.  But later on there was a series of transmission that did not include the proper START, repeated START or STOP conditions. 

    Can you please point it out, where exactly it is happening.

    Thanks again.

  • Hi Abid Hussain,

    After a second look I misinterpreted the data previously.  It does look ok to me now.

    Best regards,

    Bob B

  • Hi Bob Benjamin,

    Thanks, I got my results.