cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Visitor
Visitor
246 Views
Registered: ‎05-11-2020

Trouble with PL to PS interrupts and using them

I'm trying to set up a PL to PS interrupt on a Zynq Ultrascale + ZU106 board and I have it set up as seen below. 

The constant is set to 1 and I want to set up the code for the interrupt. Most of the examples I've seen include having Linux on the board but I won't have that in this project. I have the base address of IQR to be 0x18 but I need the ID for the interrupt. Where would I find that? 

 

Tags (3)
unnamed.png
0 Kudos
Reply
1 Reply
Moderator
Moderator
193 Views
Registered: ‎09-12-2007

You can reference the baremetal code here;

https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/scugic/examples

If you build a bsp in Vitis/SDK the ID will be populated in the xparameters.h file. However, the BSP might expect

pins with type interrupt to be connected. 

 

Regardless, you can get this from the TRM:

https://www.xilinx.com/support/documentation/user_guides/ug1085-zynq-ultrascale-trm.pdf

 

See table, 13-1

pl_ps_int.PNG

 

 

0 Kudos
Reply