I have a custom hardware based on ESP32 connected with LTC2497 along with some other sensors on the I2C Bus. I am using Arduino IDE to program ESP32 to access this ADC.
I have a converted Linduino example code downloaded from LTC2497 Product Support page: https://www.analog.com/en/products/ltc2497.html#product-tools
This is the code example i have written in Arduino IDE (LTC2490.ino).
I am trying to read Channel 0 in single ended mode. But i always endup reading 0 in the adc_code variable.
Here is a capture of i2c data through a logic analyzer:
Kindly let me know if i am missing something while trying to reach channel 0 of this ADC. Also let me know if i can find any working LT2497 ADC example for Arduino?