Trouble reading from LTC2497

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:

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?

Thank you


Parents Reply Children
No Data