Tool/software:
I am using a nxp microcontroller to interface with the ADS7138 chip. I need to read the analog value at a selected analog in line at points during runtime in my code. I have attempted to read the analog in line using the READ op code but cannot communicate with the chip. I know the I2C interface for my code works on other devices but I have not been able to make it work for this chip. My logic is below:
Send the op code for reading to the chip address (0001 0000b, address for the chip is 0x10 - found using I2C scanner).
Send the register address for the A0 line MSB to the chip (0xA1)
Attempt to read the value returned from the chip.
Please let me know if I am missing any steps or if there is a configuration flag that needs to be set in one of the registers. Thanks!