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: Programming customized board with loopback latte script

Part Number: AFE7950
Other Parts Discussed in Thread: LMX2820,

Hi, 

On my customized board I have LMX2820 and AFE7950. I am using the spi lines from evaluation board AFE7950EVM to program my customized board. I am using the loopback script and programming the evaluation board and custom board together, but evaluation board is getting programmed whereas csutom board is not getting programmed. I am programming the LMX2820 on custom board with same frequency that is on evaluation board by LMK04824 PLL ie 491.52MHz.I have even added sysParams.useSpiSysref=True to cutoff any Sysref related communications hindering the programming the AFE7950. Please help what other things can be checked.  

Thanks,
AK

  • Hi AK,

    When programming the AFE are you receiving any SPI Poll or SPI readcheck errors? If so can you share the specific errors that you receive?

    When programming the AFE on your custom board are you seeing any change in power consumption? Have the clock and power been probed to verify they are being set as expected by the AFE?

    Regards,

    David Chaparro 

  • Hi David Thanks for replying, wrt to clock and power we have checked, looks fine. In the latte no error comes because evaluation board gets programmed, and in the end both evaluation and custom boards are parallel to SPI lines. Only the SDO line from evaluation board to custom board we have not put. 

  •  David, This Plot we got from our custom board. Please explain what can be the possible reson for this. 
    Thanks. 

  • Hi AK,

    One thing to try is to put the DAC into NCO only mode to verify that the AFE is being programmed correctly and to verify that the clocking is good. To do this you can run the following commands in Latte.

    for i in [0,1]:
    	for j in [0,1]:
    		AFE.JESD.DACJESD[i].dacJesdConstantTestPatternValue(1,j,0,16384,0) # enable, channelNum, bandNum, Ival, Qval

    I would also suggest making it so that you can readback from the custom board, which is having the issues. Being able to read back from the registers will allow us to more easily debug this issue. 

    Regards,

    David Chaparro