This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DAC39RF12EVM: Setup for DAC39RF12EVM

Part Number: DAC39RF12EVM

Tool/software:

Hi 

I am following the steps provided in the manual, by providing the DAC clock @ 10.24GHz using SMF 100A signal generator with power level of 10dBm at the connector J6 and reference clock @160MHz @ 12dBm at the connector. I installed all the Apps as suggested. FPGA (TSW14J59) is powered seperately (12V, 3A) setting FMC power to OFF on the board, and DACEVM is powered using another power supply (12V, 3A). I see green lights on the DAC eval board. 

After this, I started with GUI DAC39RF12EVM software, followed the steps as suggested J59 server is up and listening on port, I programmed the DAC as suggested in JMode0 as described, What I don't see any output on the spectrum analyzer at 4GHz.

Could someone help me what I am doing wrong, anything to look out for ? 

Both devices are on a 10MHz synchronized clock.

Attached is also log file from J59 server.

***Surveying the landscape for connected FPGAs...

 

***One FPGA detected. The Cable ID is 210251B73D74

 

***Checking connected boards for J59 FPGA compatibility

 

***Found a J59 compatible Kintex UltraScale+ FPGA on Board 0

 

***Initializing J59

 

*** Starting server on port 50000

 

***Server is listening for connections...

 

***Connection from test

 

*** Received message from test: j59.fpga_init()

 

***Neither bitfile nor protocol specified! Assuming FPGA is already programmed

 

*** Received message from test: j59.fpga_init(jesd_protocol='64b66b')

 

***Programming FPGA

 

***J59 FPGA initialized. Checking supported protocol

 

***The FPGA is loaded with a 64b66b JESD IP

 

*** Received message from test: j59.jesd_set_link_rate(lane_rate=10560000000.0,                    gbtrefclk_ratio=66.0)

 

***Setting the PLL reference buffer to REFCLK0

 

***Expecting the PLL reference frequency to be 160.0 MHz

 

***The PLL selected is QPLL0

 

***All PLLs locked. PHY is ready

 

*** Received message from test: j59.dac_set_jesd_params('lmfs_params',                Links=1,                Lanes=16,                Channels=1,                Frame_Octets=2,                Samples_Per_Frame=16,                Frames_Per_Multiframe=32,                Channel_Resolution=16,                JESD_Sample_Resolution=16,                HD_Mode=0,                Format_Twos_Complement=True,                deinterleaving_factor=None)

 

***Setting LMFS parameters for the Tx IP

 

***Lane mapping and inversions will be set to defaults

 

{'Links': 1,

 'Lanes': 16,

 'Channels': 1,

 'Frame_Octets': 2,

 'Samples_Per_Frame': 16,

 'Channel_Resolution': 16,

 'JESD_Sample_Resolution': 16,

 'Format_Twos_Complement': True,

 'HD_Mode': 0,

 'Frames_Per_Multiframe': 32,

 'MBlocks_Per_EMBlock': 1,

 'Scrambling': 1,

 'lane_map': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],

 'inverted_lanes': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],

 'active_lanes': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],

 'deinterleaving_factor': None}

 

 

*** Received message from test: j59.dac_link_bringup()

 

*** Received message from test: j59.dac_load_buffer(csv_file='D:/tempfiles/v3.1.2/J59 Commander/dac_tones/temp.csv', start_address ='RAM1')

 

***Buffer loaded. Total size of buffer is 245760

 

*** Received message from test: j59.dac_setup_playback(playback_buffer_start_address='RAM1',                    buffer_size=245760)

 

***Setting up DAC playback buffer and parameters

 

{'lane_playback_order': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],

 'playback_buffer_start_address': 'RAM1',

 'buffer_size': 245760,

 'cyclic_mode': True,

 'trig_source': 'sw',

 'trig_delay': 0,

 'start_on_multiframe': False,

 'wait_multiframe_boundary': False}

 

 

*** Received message from test: j59.dac_playback_start()

 

*** Received message from test: quit

 

***Sent 'quit accepted' to test. Closing connection.

***Connection from test closed.

  • Hey Venu, 

    Did you set the DAC source correctly? Both on the "analog output" tab as well as the "nco configuration tab" there is the DAC source mux control. Make sure the stream is arriving to the DAC you are hooking up to view. 

    In addition, does the DAC GUI show the JESD LINK is up via the JESD Status window?

    Regards, 

    Matt

  • Hi Kramer

    I generated the tones on the FPGA using the High speed data converter @4GHz. with the same sampling rate of 10.24G using the Jmode0. I tried refreshing the DAC GUI, it doesn't seem to refresh to know the status.. Also the Analog output tab as SPI error, after changing it and moving to next tab and back. It reverts back to SPI error. I am not sure if it is related or not. Something seems buggy.

    Venu

  • This looks like the SPI isnt working. SPI ERROR is the MXMODE as its likely reading back 0xFF for all registers and therefore the MXMODE it read back is not valid. Can you confirm the SPI is setup properly?

    Regards, 

    Matt

  • Hi Matt

    This issue I rectified, I accidentally disabled the FMC comm. Now this issue is not there. However, now I see more like this. FPGA command Error. What does that mean ?Is the FPGA pre-programmed or should I program it seperately before running this code ?

    VVenu

  • Can you show me the output of the j59_server?

    Thanks!

    Matt

  • Hi Matt

    Here is the output on J59 server

    It looks I need to program the FPGA.

    Venu

  • It looks like it was able to program the FPGA. Can you confirm the clocks have been setup properly on the DAC EVM as well as the DAC EVM is getting the appropriate reference clock for your configuration? 

  • Yes, the DAC clock is set to 10.24GHz with 10dBm at the connector using rhode & schwartz. Reference clock is set to 160MHz @10dBm. Both are synchronized to 10MHz reference clock. 

    The message said it is assuming FPGA is already programmed. I am not sure if it is already programmed. May I know if there is already a factory loaded bitstream, when we turn on the power ?

    Venu

  • Hi Matt

    Could you please help me out with the error (FPGA command error) ??

    Venu

  • The J59 Commander first checks to see if the firmware is programmed on the FPGA, when it does this that message is printed on the screen. If the firmware is not loaded it then programs the FPGA. 

    It seems the FPGA is backing out for some reason. Some error is occurring causing it to back off. let me check with the FPGA firmware engineer to see what is going on. 

    Regards, 

    Matt

  • Hi Matt

    I uninstalled the DAC39RF12EVM and cleaned up all the files. I reinstalled now as clean DAC39RF12EVM software. Now when I run the same steps. 

    FPGA programmed, successfully no error. I still don't see the output.

    The JESD link shows this. I am using the Jmode0 (listed in the EVM)

    JESD link is not up.

    J59 server shows the following 

    ***One FPGA detected. The Cable ID is 210251B73D74

    ***Checking connected boards for J59 FPGA compatibility

    ***Found a J59 compatible Kintex UltraScale+ FPGA on Board 0

    ***Initializing J59

    *** Starting server on port 50000

    ***Server is listening for connections...

    ***Connection from test

    *** Received message from test: j59.fpga_init()

    ***Neither bitfile nor protocol specified! Assuming FPGA is already programmed

    *** Received message from test: j59.fpga_init(jesd_protocol='64b66b')

    ***Programming FPGA

    ***J59 FPGA initialized. Checking supported protocol

    ***The FPGA is loaded with a 64b66b JESD IP

    *** Received message from test: j59.jesd_set_link_rate(lane_rate=10560000000.0, gbtrefclk_ratio=66.0)

    ***Setting the PLL reference buffer to REFCLK0

    ***Expecting the PLL reference frequency to be 160.0 MHz

    ***The PLL selected is QPLL0

    ***All PLLs locked. PHY is ready

    *** Received message from test: j59.dac_set_jesd_params('lmfs_params', Links=1, Lanes=16, Channels=1, Frame_Octets=2, Samples_Per_Frame=16, Frames_Per_Multiframe=32, Channel_Resolution=16, JESD_Sample_Resolution=16, HD_Mode=0, Format_Twos_Complement=True, deinterleaving_factor=None)

    ***Setting LMFS parameters for the Tx IP

    ***Lane mapping and inversions will be set to defaults

    {'Links': 1,
    'Lanes': 16,
    'Channels': 1,
    'Frame_Octets': 2,
    'Samples_Per_Frame': 16,
    'Channel_Resolution': 16,
    'JESD_Sample_Resolution': 16,
    'Format_Twos_Complement': True,
    'HD_Mode': 0,
    'Frames_Per_Multiframe': 32,
    'MBlocks_Per_EMBlock': 1,
    'Scrambling': 1,
    'lane_map': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
    'inverted_lanes': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    'active_lanes': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
    'deinterleaving_factor': None}


    *** Received message from test: j59.dac_link_bringup()

    *** Received message from test: j59.dac_load_buffer(csv_file='D:/tempfiles/v3.1.2/J59 Commander/dac_tones/temp.csv', start_address ='RAM1')

    ***Buffer loaded. Total size of buffer is 245760

    *** Received message from test: j59.dac_setup_playback(playback_buffer_start_address='RAM1', buffer_size=245760)

    ***Setting up DAC playback buffer and parameters

    {'lane_playback_order': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
    'playback_buffer_start_address': 'RAM1',
    'buffer_size': 245760,
    'cyclic_mode': True,
    'trig_source': 'sw',
    'trig_delay': 0,
    'start_on_multiframe': False,
    'wait_multiframe_boundary': False}


    *** Received message from test: j59.dac_playback_start()

    However, After all this I still don't see the output at the connector. 

  • The DAC appears to be in 8b10b mode (based off the current JESD configuration) and the FPGA is being programmed into 64b66b mode. Make sure both the DAC and FPGA are being put into the same protocol (link layer). 

    Regards, 

    Matt

  • Just something to add. Make sure you press "Setup Clocks" as well as "Bring up Link" That will load the JESD profile displayed on the GUI into the DAC.