Forum Discussion
Altera_Forum
Honored Contributor
11 years agoTry to check what is the interrupt number you are trying to catch.
To make story short, this is the code: alt_int_dist_target_set(ALT_INT_INTERRUPT_F2S_FPGA_IRQ3, 0x1); alt_int_dist_trigger_set(ALT_INT_INTERRUPT_F2S_FPGA_IRQ3, ALT_INT_TRIGGER_EDGE); alt_int_dist_priority_set(ALT_INT_INTERRUPT_F2S_FPGA_IRQ3, 1); alt_int_dist_enable(ALT_INT_INTERRUPT_F2S_FPGA_IRQ3); alt_int_isr_register(ALT_INT_INTERRUPT_F2S_FPGA_IRQ3, my_isr_callback, NULL);