ZCU208 xrfclk error: spi not set. lmx/lmk not found. issue bsp

Hello patrickmatalla!

Thanks for sharing your ZCU208 development with us.

I am in my first steps with the ZCU208 and PYQN. I’ve found your ipq-pynq-utils package, needed to handle clk104’s clocks generation from pynq. I have installed the package in the official ZCU208 PYNQ image (v3.00) but it fails at initializing the board. See the script an the outputs bellow:

import ipq_pynq_utils
board = ipq_pynq_utils.boards.ZCU208Board()


FileNotFoundError Traceback (most recent call last)
Input In [3], in <cell line: 4>()
1 #board = ipq_pynq_utils.ZCU208Board()
2 #board.print_clock_summary()
3 #print(list(board))
----> 4 board = ipq_pynq_utils.boards.ZCU208Board()

File /usr/local/share/pynq-venv/lib/python3.10/site-packages/ipq_pynq_utils/boards.py:212, in ZCU208Board.init(self, lmk_srcfile)
209 self.lmk_srcfile = lmk_srcfile
210 self.clk104 = CLK104(lmk_srcfile)
→ 212 self.spi_lmk = spidev.SpiDev(1, 1)
213 self.spi_dac = spidev.SpiDev(1, 2)
214 self.spi_adc = spidev.SpiDev(1, 3)

FileNotFoundError: [Errno 2] No such file or directory

It seems to be something related with SPI interfaces. Any idea on what could happend?

Thank you in advance!