Forum Discussion
Altera_Forum
Honored Contributor
13 years agoInterrupt Not Enable
Dear Friends, I am trying to use interrupt on Altera DE2_115 board. but it is not working. i am taking LOAD pulse as an interrupt and at every interrupt taking data from external bus "DATA...
Altera_Forum
Honored Contributor
13 years agoDid you enable the edge cap functionnality in the load PIO component? It is disabled by default. Be sure also to set the IRQ mode to 'edge'.
To see if the problem is coming from the PIO (or something external) or the interrupt itself, you can try and replace "if( edge_capture)" by "if (IORD_ALTERA_AVALON_PIO_EDGE_CAP(LOAD_BASE))". If it works then, it means there is a problem with the interrupt process itself, if it doesn't, that's it a problem with the PIO or something connected to it.