User Tools

Site Tools


hw:zynq:gpio_interrupt:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
hw:zynq:gpio_interrupt:start [2019/03/29 16:30]
jakub.moron created
hw:zynq:gpio_interrupt:start [2019/03/29 16:52] (current)
jakub.moron
Line 3: Line 3:
 ==== Vivado design ==== ==== Vivado design ====
  
-Initial Vivado design -- only Zynq + +Initial Vivado design -- only Zynq + single AXI GPIO
  
 +{{:​hw:​zynq:​gpio_interrupt:​vivado_gpio_int.png?​600|}}
 +
 +  - Open AXI GPIO properties (double click on block), go to **IP Configuration** tab and enable **Enable Interrupt** on bottom
 +  - Open Zynq Processing System, go to **Interrupts** tab, enable and unfold **Fabric Interrupts**,​\\ unfold **PL-PS Interrupt Port** and enable **IRQ_F2P[15:​0]**
 +  - Draw connection from **ip2intc_irpt** port at AXI GPIO to **IRQ_F2P[0:​0]** port at Zynq Processing System
 +  - Validate design
 +  - Go to **Sources** tab in Vivado and select **Create HDL Wrapper** for top cell
 +  - Generate bitstream
 +  - After bitstream is done, select **File->​Export->​Export Hardware** and make sure that **Include Bitstream** is checked
 +
 +==== PetaLinux ====
 +
 +  - Get new hardware description <​code>​
 +petalinux-config --get-hw-description <​path_to_vivado_project_directory>/<​project_name>​.sdk/​
 +</​code>​
 +  - Do not change anything in the config -- configuration set previously remain unchanged
 +  - Build kernel & boot, create ''​BOOT.BIN''​ image and copy it to the SD card
/services/www/http/wiki/data/attic/hw/zynq/gpio_interrupt/start.1553873410.txt.gz · Last modified: 2019/03/29 16:30 by jakub.moron