Post Go back to editing

ZC702+FMCOMMS3 without DMA

Hello,

I am using zc702 and AD9361 for data transmission. I have made my own HLS IP for modulation. I removed the DMAs from the bare metal design and added FIFO in place of DMA. FIFO interfaces with AD9361.So my final blockdesign has this flow

TX IP -> FIFO -> bit slicer for generating I,Q -> AD9361

I have probed the signals using ILAs in Vivado. When I run the design in the hardware, I can see my data samples just before AD9361, but when I connect AD9361 Tx port to Spectrum Analyzer, I don't see the expected output spectrum. I can only a see a peak at the Fc which is set in the ad9361 driver(no-OS driver). So I guess, DAC in ad9361 is not getting the Transmitted samples which were directed to AD9361 from FIFO as said earlier. How do I write samples to DAC ? How do I initialize DAC?

Parents
  • Hi,

    Thank you for your reply.

    I am using the below functions for setting the data source and and initialising DAC : 

    dac_datasel(ad9361_phy,-1,DATA_SEL_DMA);

    dac_init(ad9361_phy,DATA_SEL_DMA,1);

    I think this is pretty much doing the things you mentioned above. Please correct me if I am wrong and give any further ideas for debugging.

Reply
  • Hi,

    Thank you for your reply.

    I am using the below functions for setting the data source and and initialising DAC : 

    dac_datasel(ad9361_phy,-1,DATA_SEL_DMA);

    dac_init(ad9361_phy,DATA_SEL_DMA,1);

    I think this is pretty much doing the things you mentioned above. Please correct me if I am wrong and give any further ideas for debugging.

Children
No Data

Before You Switch


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