Hello,
I am working with an RFSoC4x2 board on a custom Linux and I am using the PYNQ xrfclk.py module to configure the clock generators .
In my application, I call:
xrfclk.set_ref_clks(lmk_freq=245.76, lmx_freq=491.52)
The call appears to configure only the DAC clock. After execution, the DAC LED is ON, but the ADC LED remains OFF.
When I check the RFDC status from my software, ADC tile 0 reports:
DataPathClockStatus = 0
which seems consistent with the fact that the ADC clock is not running.
What I do not understand is why this happens and how I should properly configure the clocks.
If I boot the official PYNQ image on the same board, everything works correctly:
ADC LED ON
DAC LED ON
PLL1 and PLL2 LEDs ON
RFSoC-SAM example runs successfully
However, when I use my own Linux OS, I cannot get the ADC clock to work, even though I am calling the same xrfclk.set_ref_clks() function.
Thank you.
xrfclk.py (8.0 KB)
