Hi all,
I am trying to configure the DAC38J84 in a custom board. I have the DAC PLL locked and the PLL serdes locked but I am getting the FIFO empty error no matter what I try.
This is my configuration of the JESD IP core:
To sum up:
- LMF=841 mode.
- DACCLK reference is 400MHz.
- I am sending 256 bits at a rate of 62.5MHz (tx_core_clk_out).
- My line rate is then 256*62.5MHz*10/8/8 = 2.5Gbps
- Interpolation = 8 as I have 250MHz DAC input rate and 2000MHz DAC output rate.
- JESD clock is 125MHz (2000 DAC PLL out / 16 = 125MHz) following the relation JESD_div_clk = INTERPOLATION*L/M = 8*8/4 = 16.
- I assume I am operating at quarter rate since line rate is 2.5Gbps and serdes PLL is 2.5GHz.
- I am not using SYSREF.
Parameters like K, F are the same in the JESD IP core and in the DAC.
I configure the DAC PLL as in the next figure (I am not using the tool to configure the DAC as I am working with a custom board, but I use the image to explain my configuration).
After configuring the DAC, I can see the tx_ready signal at high level coming from the JESD IP core. Also the signal tx_start_of_multiframe is toggling so I assume the JESD IP core is sending data from the FPGA (we are using a Zynq Ulstrascale+).
My questions are:
- ¿Am I configuring the clocks properly? Specially JESD clk which I am not sure the relation it has to have with the other clocks.
- In my case, it is correct to assume that DAC clk in is 250MHz? I assume this because I am sending packets of 256 bits at a rate of 62.5MHz, equivalent to send 64 bits (1 samples of 16 bits per converter) at a rate of 250MHz. If this is correct, I assume that the interpolation is 8 since the output of the PLL DAC is 2000MHz.
- I managed to generate a simple tone at 500MHz using the NCO at a quarter of the DAC PLL output frequency (2000MHz) so I assume the DAC PLL is configured as I wanted.
- Is it correct the assumption of operating at quarter rate? I base my configuration in this table:
But I would like to understand this table also, how is defined “one data sample” in this table?
Having said all this, why I have the FIFO empty error in all the 8 lines?
Thank you so much in advance.