Forum Discussion
Altera_Forum
Honored Contributor
18 years agohelp:uart error
hi, i used the uart correctly before, but when i added a function in the uart interrupt function, it can receive the data only once, receiveed another data, the program run out. why?
Altera_Forum
Honored Contributor
18 years agoFair enough. Well there's nothing intrinsically wrong with calling a function from within an ISR. The most likely problem is that you are using a HAL function call which relies on interrupts being enabled.