I'm trying to use the 10 bit ADC MAX11624 but I'm getting strange results.
I need help, in the form of sample code, in C/C++, that will allow me to communicate correctly with the chip.
I was able to get data from a sensor connected to the AIN0 input. Then I did the same with a sensor connected to the AIN1 input. Each of the experiments was done individually. The problem arose when I wanted to read data from both sensors in sequence. What I found is that there was a position swap, that is, the variations in the data from the sensor connected to AIN0 appear in the output data of AIN1 and those from the sensor connected to AIN1 appear in the output data of AIN0.