Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

timer interrupts

Altera_Forum
Honored Contributor I
743 Views

have a timer built in SOPC that generates Interrupts every 250usec. This periodic timer is driving an alarm at a 10ms rate. I flip an LED on the alarm and the frequency is very precise (50.0Hz). When the system is hit from another interrupt in logic every 1ms (and the ISR measures 100usec long) the 10ms alarm is extremely erratic...? I don't understand why. The clock speed is 65MHz. How can it not keep up? Its behavior is as if the timer misses ticks when another interrupt is happening. The timer is priority 0 (highest).  

 

This would seemingly never produce a stable system. 

 

Any ideas...????????
0 Kudos
0 Replies
Reply