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.
Hi Errol,
Just confirm, are you sharing any signals/pins from your controller for these three ADCs? or using individual SPI interface for each ADC? Since you did the test by using dedicated lines for this ADC, the third ADC should work well if same software code from other two ADCs is used for this third ADC. I would say this may be a connection or hardware issue. I would suggest:
Thanks®ards,
Dale
Hi Dale,
I appreciate you taking the time to write a response!
I checked all of the items that you've suggested above but still couldn't find any issue.
However after playing around for a while I realised that the ADC channels that appeared negative were all connected to a different sensor AFE than the other ADCs. Whilst all of the ADCs should have shown a value of zero, all of those amplifier stages were introducing a negative offset that pushed all the signals slightly negative (~ -3mV) which because of the two's complement nature of the data made those channels appear inverted.
Additionally there was a small error in my algorithm for decoding the data for that ADC which meant the decoded data looked wrong and the oscilloscope data looked wrong but it wasnt the ADC.
Turns out the ADC works perfectly.
Appreciate the response.
Cheers,
Errol