UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor ddtang
Visitor
73 Views
Registered: ‎11-09-2018

How to generate an interrupt in the AXI Interrupt Controller in a baremetal application?

Hello,

I've been trying to generate an interrupt from a baremetal application on the PS side of a Zynq-7000 system using a AXI Interrupt Controller, but it doesn't seem to be working.

I'm writing an interrupt to the ISR register but the handler isn't being calling.

Does anyone have any hints on how to get the interrupt to work? Thanks!

0 Kudos
1 Reply
Moderator
Moderator
21 Views
Registered: ‎07-31-2012

Re: How to generate an interrupt in the AXI Interrupt Controller in a baremetal application?

Hi @ddtang,

Which PL peripheral in Zynq is used to generated the interrupt request? 

Let say it is Uartlite, then connect uartlite irq line directly to PS GIC i.e. PS irq port and there is no need of AXI Intc at all.

There are example in SDK for every peripheral to test interrupt.

Regards

Praveen


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos