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.

AFE7950: two tone generation from DAC

Part Number: AFE7950

Hi,

I would like to generate two-tones for IP3 test, 3544MHz and 3556MHz from a DAC output. Can you please explain how to set this up at the Latte? Also for two tones, I would like to set output power such as 10dB backoff for wach tone from the Fullscale. If you have an example code that I can apply, please let me know.

Thank you.

Youngho Suh

  • Hi Youngho,

    The way of doing this depends on which FPGA board you are using with the AFE7950. Are you using a TSW14J56, TSW14J57 or a TSW14J58? Or a different FPGA?

    For the TSW14J56 or TSW14J57 in HSDCpro, in the I/Q Multitone Generator, you can select the number of tones, their bandwidth and their center.

    And for the amplitude there is a scaling factor, for -10dBFS the scaling factor = 10^(-10dBFS/20) = 0.3162278.

    For the TSW14J58, in latte you can use the following commands:

    ############# Send Signal to TX AB
    amplA=-10
    freqA=20
    amplB=-10
    freqB=-20
    AFE.selectCh(2,0) ##Use AFE.selectCh(2,0) for TX AB or change to AFE.selectCh(2,2) for TX CD
    AFE.FPGA.sendMultiTone(0,[freqA,freqB],[amplA,amplB],[freqA,freqB],[amplA,amplB])
    
    

    Where you can set the freqA and freqB as the offsets from the DAC NCO and the amplitude for both as -10dBFS.

    Best,

    Camilo

  • Hi Camilo,

    I am using ZCU102 with Latte software. Can you please send a sample script for two tone generation with DAC DSA setting script together for per tone otuput control?

    Thanks,

  • Hi Youngho,

    Are you using our TI JESD 204C IP in your ZCU102?

    To output two tones from the DAC you need to update the design so that you send a two tone waveform from the FPGA to the DAC.

    Best,

    Camilo

  • Hello Camilo,

    Yes, I use TI JESD 204C IP. Can it be with Latte script change to generate two tones? If I need to update the design, specifically what do I need to change? Please advise.

    Regards,

  • Hi Youngho,

    Latte does not have control over the ZCU102, so you would need to update the design you have loaded on the ZCU102.

    In the project, there is a file called “sine_64point_att.sv” where a 64-point sine wave is used to send the tone to the AFE. You can replace that sine wave with a 64-point 2 tone waveform.

    Best,

    Camilo