Forum Discussion
Altera_Forum
Honored Contributor
15 years agoYou can't use the stdio functions (eg getc) from any interrupt routines. In any case the UART interrupt is probably already used to put characters into teh stdio buffer.
You might be better looking at whether you can request non-blocking IO. I don't know if the Altera stdio does line buffering - which you also need to disable.