Hi, I am having a few DAC configuration problems.
Question 1:
Currently the CLK(external) is running at 125MHz, and the DataClk is running at 62.5MHz rate. As I sweep the input tone to the DAC close to 31.25MHz(125/4) from 0MHz, I am seeing an image tone ramping up around 31.25MHz on the spectrum analyzer. The CLK’s sampling image is presented around (125MHz – input tone freq), so I am wondering where the 31.25MHz image tone is coming from. (please see my configuration code below and pictures from the attachment). I believe that 2X interpolation is on.
Questions2:
According to datasheet,Table 1 Modes of Operation, we want to go with Mode 2X1. To do that, what is the correct configuration in terms of FIR and CMIX?
Also , from CONFIG2 - Address 0x2:
FIR2X4X: if not set, are FIR0 and CMIX0 being bypassed?? (FIGURE 32).
Scripts:
fpga_wr 1 0x1 0x10 ## FIR interpolation filters enabled
fpga_wr 1 0x2 0xc0 ## default register values, 2's complement input, dual DAC mode
fpga_wr 1 0x3 0x75 ## use SW_sync_bit, ignore external sync, B equals A
fpga_wr 1 0x3 0x78 ## set SW_sync bit, B equals A
fpga_wr 1 0x4 0x00 ## default register values
fpga_wr 1 0x5 0x42 ## reverse the LVDS input data, PLL disbled, DLL enabled
fpga_wr 1 0x6 0x0E ## PLL sleep
fpga_wr 1 0x7 0xFF ## default register values
fpga_wr 1 0x8 0x04 ## DLL restart
fpga_wr 1 0x8 0x00 ## clear DLL restart bit
fpga_wr 1 0x9 0x00 ## default register values
fpga_wr 1 0xA 0x00 ## default register values
fpga_wr 1 0xB 0x00 ## default register values
fpga_wr 1 0xC 0x00 ## default register values
fpga_wr 1 0xD 0x00 ## default register values
fpga_wr 1 0xE 0x00 ## default register values
fpga_wr 1 0xF 0x00 ## default register values
Scripts End
Please also see the attachment for pictures taken from the Spectrum Analyzer.
Thanks and Best Regards