PYNQ: PYTHON PRODUCTIVITY

Question on AXI peripheral register definition

Hi,

For the AXI peripherals like axi-i2c, axi-spi, axi-uart light, etc. in pmod0/1 which controlled by microblaze micro-controller, where could I find the register definitions for each peripheral? e.g. I saw the python code as below for axi-i2c but I could not find the corresponding register definition:

Blockquote
# Disable the IIC core
self.write_cmd(self.cr_addr, 0x00)
# Set the Rx FIFO depth to maximum
self.write_cmd(self.rfd_addr, 0x0F)
# Reset the IIC core and flush the Tx FIFO
self.write_cmd(self.cr_addr, 0x02)
# Enable the IIC core
self.write_cmd(self.cr_addr, 0x01)

Thanks

1 Like

This is in the “product guide” for the IP. You can search the Xilinx website for this.

You should make sure you have the right version of the product guide for the version of the ip.

Cathal

1 Like

Thanks Cathal