From 03c8edd79fc029fb0d2acb1bf9b09032cb477156 Mon Sep 17 00:00:00 2001 From: dark-trojan789 <108808853+dark-trojan789@users.noreply.github.com> Date: Tue, 25 Jun 2024 15:19:31 +0530 Subject: [PATCH] Update imageIpTest.c changed SetPriorityTriggerType priority for DMA controller from 0xA1 to 0xC8 as it has to be multiple of 8 and A1 is not letting interrupt invoke ISR --- sw/imageIpTest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/imageIpTest.c b/sw/imageIpTest.c index f578cba..260844d 100644 --- a/sw/imageIpTest.c +++ b/sw/imageIpTest.c @@ -69,7 +69,7 @@ int main(){ } XScuGic_Enable(&IntcInstance,XPAR_FABRIC_IMAGEPROCESS_0_O_INTR_INTR); - XScuGic_SetPriorityTriggerType(&IntcInstance,XPAR_FABRIC_AXI_DMA_0_S2MM_INTROUT_INTR,0xA1,3); + XScuGic_SetPriorityTriggerType(&IntcInstance,XPAR_FABRIC_AXI_DMA_0_S2MM_INTROUT_INTR,0xC8,3); status = XScuGic_Connect(&IntcInstance,XPAR_FABRIC_AXI_DMA_0_S2MM_INTROUT_INTR,(Xil_InterruptHandler)dmaReceiveISR,(void *)&myDma); if(status != XST_SUCCESS){ xil_printf("Interrupt connection failed");