could you post the UART example when you have done it. When i'm in debug mode using the example you sent, the execution halts on
What causes this. Is it my interrupt service routine.
I didn't had in mind to do that UART-project myself. Just drop an UART on your schematic. Every byte you send comes serially out of Tx and you may connect it to Tx. Then you'll receive every byte in parallel again.