Forum Discussion
Altera_Forum
Honored Contributor
15 years agoUnresolved Inclusion, priv
Good day forum People I am a total noob to nios2. I am trying to run a uart IRQ but because of an unresolved inclusion: My main c files code is: # include "system.h"# include "altera_avalon...
Altera_Forum
Honored Contributor
15 years agoHello,
You did not configure the control register of the UART to specify which interrupt you want to activate (cf Embedded Peripherals IP User Guide pp 7-11 to 7-15). So it is normal that the ISR is never executed. Regarding the function alt_irq_enable, you don't need it, by default the interrupts are active. You need this function only if you want to deativate an interrupt and reactivate it later. Jérôme