Altera_Forum
Honored Contributor
20 years agoNIOS II Problem with Interrupt Timer
I'm using the Cyclone II Development Kit. Using SOPC builder I added a timer to the NIOS2 in "standard" project. I configured the timer to be an Interrupt timer with a period of 500 microseconds. I assigned the it an IRQ of 7 and a slave address immediately following the periphal address of the previous element (0x022208C0). I generated a new processor and then compiled it in Quartus II. In the software I wrote and interrupt function, installed it, and enabled it. I read the status and control registers of the timer and confirmed that the timer is running, it times out, and the interrupt enable bit is high; but alas the interrupt code never gets called. What am I doing wrong?? Any hints or comments would be greatly appreciated.