Forum Discussion
Altera_Forum
Honored Contributor
16 years agoInterrupt handling
Hello guys, I got problems with my interrupt routines. One routine is for uart whitch means if a character comes in it'll be stored in a buffer array, the other one is for simple timer ticks. ...
Altera_Forum
Honored Contributor
16 years agoby the way, you must use interrupt mode in UART?
If "reduced device driver" or "small driver" is enabled, it uses polling mode in UART driver. Thus, it no call to alt_irq_register(). There are few solutions for this: - Increase your on-chip memory size so that can set "reduced device driver" or "small driver" to false (but you need to check the HW spec). - Use external memory ("reduced device driver" = false) - "reduced device driver" = true, modify UART driver to use interrupt even if "reduced device driver" is enabled (I never try this before and not sure it can work or not and I'm not sure the code size can fit to your on-chip memory or not after this change). Good luck!