08-17-2020 11:18 AM
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?
08-18-2020 03:33 AM
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