I have attempted to set up a single ended conversion using single-shot mode but am receiving the same value no matter the input (0x7FFF). Also before I start a single shot I read the conversion register and it is not 0 as stated in the data sheet, instead it is the same value as after I attempt to start a read. What gives?
here is my i2c communication:
here is the sequence:
init the config registers of two ADS1115 chips (set to single shot mode)
read the config register of device 0x48 to see if the OS bit is set indicating the device is idle
if idle, write to the config register with OS = 1 to trigger a single shot read
Read the config register to see if the conversion is complete by seeing if the OS bit is set
if finished, read the conversion register