Part Number: ADS1263
Other Parts Discussed in Thread: ADS1299, ADS1261
Hi,
I'm using ADS1263 IC. I can able to read data from One channel (AIN0). when i configured AIN0 as positive input multiplexer and AINCOM as Negative input multiplexer. I verified it in logic analyzer.
Question:
I need to know, How to read data continuously with 400 SPS when I configured AIN0 to AIN9 as positive input multiplexerand AINCOM as Negative input multiplexer?
Configuration and Hardware setup:
AVDD = +2.5V and AVSS = -2.5V, 32 bit Resolution, 400SPS, Gain = 1, AINCOM = Negative Input Multiplexer, AIN0 to AIN9 = Positive Input Multiplexer.
Trial Error:
- Code algorithm:
- Monitoring DRDY pin
- In a loop of Total channels (10),
- WriteReg(0x06, channelxEnable)
- Send RDATA1 Command
- Sending 0xFF for 5 times, One for reading Status byte, other 4 Bytes for reading 32 bit data.
2. Error:
I'm giving input to the channel AIN0, but the same output is replicating on all channels. Checked in Logic analyzer.
And for each channel Im reading status byte, but Only for the first channel its 0X45(i.e ADC1 data new since the last ADC1 read option ) for the other channels its 0x05(i.e ADC1 data not new since the last ADC1 read operation ).
What is the right flow to read data from all channels.
Thanks in Advance.