Forum Discussion
Altera_Forum
Honored Contributor
14 years agoChanging Timeout Period - Interval Timer
Hello,
I would like to ask, if any of you have tried to modify the Timeout Period using an interval timer in a Nios II Application. My application stops after I modify the period registers and I don't know why. These are the lines I include to change the period: iowr_altera_avalon_timer_periodh(timer_0_base, 0x017d);iowr_altera_avalon_timer_periodl(timer_0_base, 0x783f); Thank you very much, Juan
2 Replies
- Altera_Forum
Honored Contributor
Did You implement a timer with period change capability?
- Altera_Forum
Honored Contributor
Yes I have configured it with
fixed period - off Now I have tested it and if I increase the period looks like is working, but if I reduce the period the interrupt looks out of control