cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
brobson
Visitor
Visitor
233 Views
Registered: ‎09-29-2020

XIntc callback not triggered

I am trying to test the axi interrupt system using xintc_example.c

I have modified the INTC_DEVICE_INT_ID as per my xparameters.h file:

//#define INTC_DEVICE_INT_ID	  XPAR_INTC_0_UARTLITE_0_VEC_ID	//default example value
#define INTC_DEVICE_INT_ID	   XPAR_INTC_0_VPHY_0_VEC_ID
//#define INTC_DEVICE_INT_ID	   XPAR_INTC_0_V_HDMITXSS_0_VEC_ID
//#define INTC_DEVICE_INT_ID	   XPAR_INTC_0_V_HDMIRXSS_0_VEC_ID

 

The example runs but the blocking loop never exits.

I then read the IER and ISR registers as per https://www.xilinx.com/support/documentation/ip_documentation/axi_intc/v4_1/pg099-axi-intc.pdf.

For each of my VEC_ID values I confirm that the correct value is in both the IER and ISR, indicating that an interrupt is being correctly set and triggered. The only bit that isn't happening the callback in my c file.

As I'm getting no errors in the example code, and the register values seem correct I'm a bit stuck for what to do next! Any advice is much appreciated

Thanks.

 

0 Kudos
0 Replies