JAJS373D May 2009 – January 2018 ADS1113 , ADS1114 , ADS1115
PRODUCTION DATA.
This section provides a brief example of ADS111x communications. See subsequent sections of this data sheet for more detailed explanations. Hardware for this design includes: one ADS111x configured with an I2C address of 1001000; a microcontroller with an I2C interface; discrete components such as resistors, capacitors, and serial connectors; and a 2 V to 5 V power supply. Figure 43 shows the basic hardware configuration.
The ADS111x communicate with the master (microcontroller) through an I2C interface. The master provides a clock signal on the SCL pin and data are transferred using the SDA pin. The ADS111x never drive the SCL pin. For information on programming and debugging the microcontroller being used, see the device-specific product data sheet.
The first byte sent by the master is the ADS111x address, followed by the R/W bit that instructs the ADS111x to listen for a subsequent byte. The second byte is the Address Pointer register byte. The third and fourth bytes sent from the master are written to the register indicated in register address pointer bits P[1:0]. See Figure 30 and Figure 31 for read and write operation timing diagrams, respectively. All read and write transactions with the ADS111x must be preceded by a START condition, and followed by a STOP condition.
For example, to write to the configuration register to set the ADS111x to continuous-conversion mode and then read the conversion result, send the following bytes in this order: