Forum Discussion
Altera_Forum
Honored Contributor
12 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 h...
Altera_Forum
Honored Contributor
12 years agoExcept that the 'timer component' is a 16bit slave (presumably it dates from the old 16bit nios) and it horribly expensive to access.
For polled interval timers you only need a single counter that is always running (without a zero function), the software just needs to read the 'start time' when it starts a timer. For some uses you want to count clocks, for others divided down to usec, msec and seconds to avoid wrap issues for longer intervals.