This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADS124S08: Issues with reading data from ADS124S08

Other Parts Discussed in Thread: ADS124S08

Hi Bryan,

I solve this but I got new problem. 

When I change the INMUX from AIN0 and AIN1 to AIN2 to AIN3, I got nothing.

Here is my steps;

I set the configuratıon like internal voltage, gain and INMUX AIN2 to AIN3, I can read the data. 

or I set the configuratıon like internal voltage, gain and INMUX AIN0 to AIN3, I can read the data.

However I set the configuration like gain and vref voltage to internal and read AIN0, AIN1 and then change the INMUX from AIN0 to AIN1 to AIN2 and AIN3, I can not read any data.

AIN0-AIN1 configuration (1st config)

AIN2-AIN3 configuration (2nd config)

I just changed gain and mux and send rdata command. If I read only 1 ADC channel like AIN0-AIN1 I can read it. Also same process for AIN2-AIN3 and I can read it. However, if I write the process like this, it is not working.

while()

{

- Set 1st config and send rdata

- Set 2nd config and send rdata 

}