Forum Discussion
Altera_Forum
Honored Contributor
15 years agoInterrupt priority IIR
Hi all, I'm using the NIOSII with an Internal Interrupt Controller (IIR) and 8 IRQ's triggered by PIO edges. I assigned a number to each one of the IRQs which represents it's priority where a l...
Altera_Forum
Honored Contributor
14 years agoIf you check "Enable preemption into a new register set", this has the effect of NOT disabling interrupts while an ISR is executing. We had to do this because e.g. the SGDMA receive ISR runs "forever" and we were missing higher priority interrupts that occurred during the SGDMA RX ISR.
Of course you have to ensure you don't reenable the interrupt too soon so the same interrupt won't nest on itself. Bill