AD9629 Read

Hi,

I am new to reading ADC. I want to use AD9629 in my design. And i want to read this with FPGA. How can i handle it? Where should i start when writing the VHDL code? What are the things i should be aware of?

Best regards.

Parents Reply Children
  • 0
    •  Analog Employees 
    on Feb 21, 2020 11:47 PM in reply to hrnttk

    Hi HrnTtk,

    I'm sorry but I do not know the capability of the MicroBlaze compared to the Virtex4 on the HSC-ADC-EVALCZ for AD9629 capture.

    I can ask one of our FPGA developers for their opinion on this, but of course we cannot guarantee any capability, compatibility or result.

    Thanks.

    Doug

  • 0
    •  Analog Employees 
    on Feb 25, 2020 1:50 AM in reply to hrnttk

    Hi HrnTtk,

    The opinion of one of the FPGA developers is that it is likely possible to implement AD9629 capture on a MicroBlaze, but we cannot guarantee it. We have not tried it so we cannot be sure.
    Also, implementing the capture in logic instead of a processor might be more efficient, but again we cannot be sure.
    The purpose of the sample FPGA code was to communicate conceptually an example of how the capture can be done. If you are developing a capture solution on a different platform there will be additional details you'll need to work through.
    I hope your project goes well.
    Doug
  • Hi Doug,

    I am trying to read AD9629 and i want to ask some questions. 

    This is my circuit. Analog input range(Pin-9) of AD8475 is 0 to 4.2V. ADC inputs become 0.46V and 1.34V when AD8475 input is 0.29. And digital output of the ADC is 8D5. This value is true?

    What should be the relationship between input values and output? 

    I can't understand this table. What is the meaning of this?

    Thanks for help.

  • 0
    •  Analog Employees 
    on Apr 28, 2020 1:44 AM in reply to hrnttk

    Hi HrnTtk,

    To verify you capture the ADC outputs properly, I recommend that you use the output test patterns controlled by Register 0x0D Bits[3:0]. For example, to output a checkerboard pattern you would do the following SPI writes:

    Write Register 0x0D = 0x04
    Write Register 0xFF = 0x01

    This will put AD9629 in output checkerboard test mode. There are several other test patterns to choose from. Please see Table 16 in the AD9629 datasheet for more options.

    Table 12 in the AD9629 datasheet shows the output values for a few selected voltage values at the analog input. I numbered them in the picture above to match the numbers in the description below.

    1. This shows the value when the differential voltage at the ADC inputs are less than the negative full scale value. This means that the VIN+ - VIN- is less than 1V by more than 0.5LSB. The output is a minimum code and the MODE/OR pin goes high, if the MODE/OR pin is in OR mode.
    2. This is when the differential input voltage is right at the negative full-scale value (VIN+ - VIN- = 1V). The ADC outputs the minimum code. OR does not go high.
    3. This is with VIN+ = VIN-. When the voltage on each input are equal to each other, the differential input voltage is zero. In this case the ADC outputs a mid-scale code.
    4. This is with the differential input voltage at full-scale. The ADC outputs a maximum code value.
    5. This is with the differential input voltage above full-scale. The ADC outputs a maximum code value and the OR pin goes high, if the MODE/OR pin is in OR mode.

    Does this answer your question?

    Thank you.

    Doug

  • Hi Doug,

    In offset binary mode and second condition(Vin+ - Vin- = -1V), i am reading 800H. I check the DFS pin and it is logic zero. So the output mode of ADC is offset binary. But it gave an output according to the 2's comp. mode in second condition. What can be the problem?

    Best regards.

    Harun