Altera_Forum
Honored Contributor
15 years agoInterrupts
Hi.
I am trying to work with interrupts, which comes from external source(in my case it is external ADC). I am registering interrupt by: alt_irq_register(BUSY_IRQ, (void*)&edge_capture_ptr, A2D_ISR); IOWR_ALTERA_AVALON_PIO_IRQ_MASK(BUSY_BASE,0xf); IOWR_ALTERA_AVALON_PIO_EDGE_CAP(BUSY_BASE,0); but it does not working.Programm is crashing on "alt_irq_register". Maybe in order to work with interrupts i must to use VIC.At this stage i did not inserted it into HW. Thank you, Slava.