What is the procedure for Dynamic Clock Configuration in PYNQ BSP?

  1. Download the received zip file (from FTP) to host pc and unzip that.

  2. Boot the board using PYNQ binaries and open JupyterLab by following from the software user manual.

  3. Upload the pl.ipynb notebook from the deliverables to jupyter lab.

  4. Open terminal in jupyter lab and create two folders in the root directory using the below command.

    root@pynq:/# mkdir bitfile
    root@pynq:/# mkdir pldtbo

  5. Copy the system.bit and system.hwh files from the deliverables to bitfile folder.

  6. Copy the pl.dtbo file from the deliverables to pldtbo folder.

  7. Execute each cell in pl.ipynb notebook to configure the pl spi nodes.

  8. Copy the applications from the deliverables to the root directory.

  9. Copy the clock files needs to be program to the root directory.

  10. Run the below commands to program the clocks.

    root@pynq:/# lmk-config.out -i <clock_file.txt>
    root@pynq:/# lmx-adc-config.out -i <clock_file.txt>
    root@pynq:/# lmx-dac-config.out -i <clock_file.txt>

  11. Before running any other notebooks, create a cell after after the overlay loading cell in that notebook and paste below content in to it.

import time

spi_devices = [
“a02f0000.axi_quad_spi”,
“a0300000.axi_quad_spi”,
“a0230000.axi_quad_spi”,
]

for spi in spi_devices:
try:
with open(“/sys/bus/platform/drivers/xilinx_spi/unbind”, “w”) as f:
f.write(spi)
time.sleep(0.3)
with open(“/sys/bus/platform/drivers/xilinx_spi/bind”, “w”) as f:
f.write(spi)
time.sleep(0.3)
except Exception as e:
pass

Important Note: To test any other notebooks, the design must include PL-UART, PL-SPI LMK and LMX configurations, similar to the base design provided in the deliverables.

For further product inquiries, please get in touch with our sales team at mktg@iwave-global.com

Please find the detailed product information here:
ZU49/ZU39/ZU29DR RFSoC System on Module