Post Go back to editing

ad7329 only reading even inputs

Category: Software
Product Number: AD7329

ad7329Range1, 0x1540, AGC_CS8); // ±5V ranges
ad7329Range2, 0x1540, AGC_CS8);
ad7329Sequence, 0x1FE0, AGC_CS8); // Sequence all channels
ad7329Control, 0x1C14, AGC_CS8); // internal reference, 8 channels, full power

I'm setting the control register as shown above. I'm intending 8 single ended inputs, internal reference, ±5V range and continuous sequence all 8 channels.

when I do a read, the upper three bits define the input just read, but they only give even values with occasional 5 and 7. Note below that a2dVoltage[1] and [3] are still 0 as initialized.

What are the address bits in the control register when sequence is set to 01, which I take as run all and thus ignored.

The address bits in Table 12 are confusing or misleading. I can't see why they are there since the Mode 1,0 bits are chip wide settings.

  • Hi  ,


    I think you could try checking your configurations more. Try double checking the configuration for range select.

    Table 12 is there so that you could read a specific channel whenever you will not be using the sequencer mode. (e.g your sequence mode is 0,0). Also, it is a table to guide what mode are you going to use. 


    Regards,
    Jo

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.