Forum Discussion
Altera_Forum
Honored Contributor
21 years agoThis is because printf uses the timer irq and because your isr never clears it's irq's bit. Every time your irq returns the isr manager is going to service the next irq which is just a big switch statement, so your irq can and will lock up everything else.
If you really don't want to service your irq then you can change the priority of the timer irq and avoid this problem in most cases, but I fully recommend servicing your irqs.