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

Both sides previous revision Previous revision
Next revision
Previous revision
hw:zynq:gpio_interrupt:start [2019/03/29 16:33]
jakub.moron
hw:zynq:gpio_interrupt:start [2019/03/29 16:52] (current)
jakub.moron
Line 7: Line 7:
 {{:​hw:​zynq:​gpio_interrupt:​vivado_gpio_int.png?​600|}} {{:​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 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]''​+  - 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.1553873631.txt.gz · Last modified: 2019/03/29 16:33 by jakub.moron