Hi everyone, I am trying to use AD7173-8 in an application where 3 channels are to be used and I am a little confused about that.
What I want to do is to have a consistent way of reading all enabled channels of the ADC. The datasheet says about the DOUT/~RDY pin that goes low to indicate that a conversion has been completed. Up to now, when hooking a 'scope to check logic levels on the SPI lines, I cannot see DOUT/~RDY going low right after an SPI transaction; it remains high and then it goes Hi-Z (green trace is ~CS, yellow trace is DOUT/~RDY):
Has anyone a suggestion to move forward? What exactly should I have to do to switch channels fast enough without losing data?
Hello again, I have managed to get correct readings from two channels of the AD7173-8 ADC to my microcontroller...
However, I want to read all activated channels in a consistent order, always starting from channel with the lowest number. For example, having CH0 and CH2 activated, I want to start reading always with CH0 first.
In my microcontroller program, I enable the external interrupt for DOUT/~RDY right after enabling the channels I want and configuring the ADCMODE register (address 0x01). Is there anything I can use so that I ensure the activated channels are always read in the order described above? Please share any ideas you might have.