Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 28044

Re: ad-fmcomms1-ebz programming FPGA

$
0
0

hello sir

Thank u for ur guidance...I have made changes as said by you and I can visualize the waveform changes as the values change in the LUT...I have an another doubt..In main.c file

xil_printf("\n\rSetting up the DDS... \n\r");

    //dds_setup(fmcSel, 1000000, 1000000);

     dac_dma_setup(fmcSel);

    xil_printf("DDS setup complete.\n\r");

 

    xil_printf("\n\rReading data from air... \n\r");

    XCOMM_SetAdcTestMode(XCOMM_AdcTestMode_Off, XCOMM_AdcChannel_All);

    while(1)

    {

        adc_capture(fmcSel, 1024, DDR_BASEADDR);

    }

In the italized line above..it is mentioned that adc captures data from DDR_BASEADDR...Does the data from dac that is the values that are fed to DAC via LUT gets stored only in the address as mentioned as DDR_BASEADDR?????..Then I want to verify that the values transmitted from lut are received in the output of ADC..Atpresent I can observe changes in waveform by changing the values in LUT...But I am not able to verify whether the value received is same as transmitted...It is mentioned that ad-fmcomms1-ebz uses 16 bit DAC and a 14 bit ADC...But I am able to get 64 bit data at each cycle...How can I check the values received are same as the values transmitted????????Help me with answers sir...hope to hear from u...


Viewing all articles
Browse latest Browse all 28044

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>