Hello,
I'm trying to test the ADS8168 with Custom Channel Sequencing mode, which for some reason doesn't work.
I'm using a custom board with an ADS8168 on it and another custom board with an ARM processor on it, controlling the ADS8168 via SPI.
Manual mode and auto sequence mode works already very fine, so I think it's not a problem with the timings nor with the SPI mode (we're using SPI-01, by the way).
I'm trying the following configuration:
- Set ADS8168 to custom channel sequence mode
- Define channels 0 and 1
- Set sequence start to index 0 and end to index 1
- Start the sequence
- Discard first answer
- Read two answers
The second scope screenshot is only to see the second answer.
See the decoded SPI messages on the bottom of the scope screens.
Analog input values:
AIN0: 3.359V
AIN1: 0.343V
So, the first answer seems ok - the ADC value is 0xD1CE. However, the second answer is about the the same value, which is not ok. It seems the multiplexer doesn't switch the channels (checked with scope on ADC-INP), everything else seems to be fine.
Any ideas what could be the problem here?
Kind regards,
Markus