Forum Discussion
Altera_Forum
Honored Contributor
21 years agoIf you're using your own handler then you need to make sure the HALs one doesn't get installed as well. The easiest way to do this is to run your initialisation code from main, but make sure the first thing it does (before touching any registers etc) is to unregister the interrupt handler.
Another way to do it (if you aren't replacing the whole initialisation scheme) would be to copy the UART files into your system library project and edit them there to replace the HAL code with your own.