Forum Discussion
Altera_Forum
Honored Contributor
10 years agoTimer Period not correctly
Hi all, my goal is to set a timer with a period time of 1ms and start it. After the time is elapsed it should rise an IRQ (once). The timer itself with interrupt works, but the time is always ab...
Altera_Forum
Honored Contributor
10 years agoCall me crazy but now i got my time of 1ms while trying several things but i am very surprised of this behaviour. With all those tries i came to the same result as at my first post. As i wrote in my there i also tried with a value of 80'000 in the periodl/h registers. But nothing happened. And I was shure to save all before compiling and starting! For me this is relly crazy i don't understand that. In addition, with a lower count of 1000 the time should be at least above 12.5us.
Now i'm just writing to the period registers 80000 as above and it is working?!? Anyway, thanks a lot for your help. PS: Your definition of a man-year is reminds me on some of my cheefs ;-)