Post Go back to editing

9002 dac clk from fpga 9001 side

Category: Hardware
Product Number: adrv9002

i have a 9002 setup for cmos 4 lane ddr.

so it should be doing 20 Msps. 

my question is on the 9001 side IP. 

How/where does the dac_clk get set to match the 9002?

there is an option in 9001 IP to use RX (adc clock) for tx (dac).

will that force the same clock to be used on both SSI directions and have it be controlled by 9002 config(via Spi)

Parents Reply Children
  • There is another case of you on TES forum:  9002 register settings for DAC Channel RATE  - is this the same case? If duplicated, I want to consolidate it, and sorry for the delay on that case.

    Could you clarify followings?

    - It seems that you use TES to generate the profile. Do you also generate the code from TES or do you use Linux or No-OS software package from github?

    - When you mentioned " i do not think i have a good configuration for DACs" - could you clarify what exactly is not a good configuration?

    - Could you clarify " controlled by 9002 config(via Spi)" - what software are you using?

  • I generate the code form TES. i make the profile then have it generate the C99 code.

    My PL is using the HDL adrv9001 on a zedboard.

    i configure the 9002 via API commands. Then i configure the PL adrv9001 from my own driver using data/files generated from C99 output of TES.

    By Good Configuration meaning it is not acting like TES is telling me it should.

    TES is set to 20 Msps for Tx and Rx. Interface and Data port are the same 20 Msps in 4 Lane CMOS DDR mode. 

    In Vivado i can see with ILA that the dac_valid_i0 is not staying high. it goes high every other clock cycle.

    However, the adc_1_valid_i0 signal is high all the time. That seems correct. I would think they should act the same since they are supposed to be configured the same way.

  • We can help you with the configuration of ADRV9002 via API command but the HDL is supported in the fpga forum.

    My suggestion woudl be,

    1. Verify TX and RX logics inside FPGA using loopback instead of going through ADRV9002

    2. Conifgure ADRV9002 in SSI loopback mode and see whether you are able to receive what you transmit.

    Does this make sense to you?

    -YH