RFSoC 2x2 LMX and LMK programming via C code

Hello,

I am currently working with the RFSoC 2x2 board, and have a Vitis project setup to program the LMK and LMX clocks. I am trying to program the LMK to 122.88MHz clock output and the LMX to be 400MHz output. However, I do not seem to be having much success, as the signal captured by the ADCs is incorrect. I believe that the clocks are not being programmed correctly. I was wondering if there is anyone on this forum who has programmed the RFSoC 2x2’s LMK04832 and LMX2594 clocks via C successfully?

Thank you.

1 Like

You might want to take a look at the ZCU111 documentation and example drivers.

I think that you can use the TICS software provided by Texas Intruments for generate your own clocks and after, you will be able to import the values generated in the ‘xrfclk.h’ file.