Forum Discussion
Altera_Forum
Honored Contributor
20 years agoa weird issue
Hi all, I encountered a weird issue that I enabled one PIO interrupt by using: alt_irq_register(STROBE_PIO_IRQ, edge_capture_ptr, command_receive_interrupt); STROBE_PIO_IR...
Altera_Forum
Honored Contributor
20 years agoThe ienable register only has a bit for each interrupt actually connected to the Nios II.
For example, if you have IRQ 0 and IRQ 1, the ienable register only really has registers for bit 0 and bit 1 of the ienable. The other bits of the ienable always read as zero. So, it is possible that you don't have the interrupts properly connected to the CPU.