Altera_Forum
Honored Contributor
11 years agoProblem in getting 1 usec Interval Timer to work using NiosII and QSYS
Hello everyone,
Kindly guide me in resolving the following problem. I am unable to get the Interval timer to work for 1usec. It is working for 1msec. Case: I have a DE2115 kit. Using QSYS I have created a system that includes Nios II processor, few led outputs and 1 Interval timer. Interval timer setting: Timeout Period = 1 usec & Hardware options = Simple Periodic Interrupt, Counter Size = 32. Problem: In NiosII I have written a timer ISR that i assume should get invoked after every 1 usec, since the Timeout period is set to 1usec in QSYS. But i observed that the system behaves as if 1msec timeout period is set. in Interrupt I increment a variable and use this variable to toggle the LED on the board. I have used the LED on the board to observe the period. Are there any changes that i need to do in NiosII application if i select 1usec Timeout period thanks Jagdish