Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.

NIOS Nested Interrupts

Honored Contributor II

Morning All, 

I was wondering if anybody could point me to some example/reference designs using nested interrupts with the NIOS. What documentation I've read said there may be ways to do it using an external interrupt controller (I'm using the Altera supplied VIC), but I have been unable to figure it out yet. 


Basically, I want my 1 ms timer interrupt (which has the highest assigned priority on the VIC) callback function to always run - regardless of whether another interrupt is currently being serviced. 


Can anybody provide some pointers (pun not intended) or examples to help me accomplish this? 


Thank you
0 Kudos
1 Reply
Honored Contributor II

The "exception handling (" chapter of the "Nios II Software Developer’s Handbook" covers this very thoroughly. This doc also refers to the "Vectored Interrupt Controller Core" chapter of the "embedded peripherals ip user guide (", which has further guidance. 


If you've not found these two docs then you now have them. They cover the behaviour of Nios' interrupt system very thoroughly and have various examples - some more helpful than others. 


Hope they help. 



0 Kudos