Is it real that I have to delete all of Interrupt codes?
Yes. You plainly don't understand how it works, so do it the simple way.
But isn't operating UART?
This sentence does not make any sense in English.
Get rid of all your interrupt code, do NOT set the GIE bit, and change your main function from
Your EUSART1_Write() function could be improved, but it will work ok as-is.
Once you are able to see "U" characters appearing on your PC, change the main function to
and see if it echoes characters the way you wanted.,
post edited by qhb - 2019/04/04 22:48:36