Forum Discussion
Altera_Forum
Honored Contributor
9 years agoUART interrupt with HAL
Hello I read a lot of threads about interrupts and UART and good resolution was this (http://www.alteraforum.com/forum/showthread.php?t=17224) but I'm looking something without write own driver. I...
Altera_Forum
Honored Contributor
9 years agoFrom the software side of things, have you checked system.h from your BSP? Pretty often with our NIOS2 project the QSys project had the correct interrupt ID but when the BSP was created, system.h had it defined as '-1'.
ALSO, in your isr register function you're telling it to use the 'isr_timer_0' callback rather than the defined 'isr_uart0' callback.