User Activity

I send 1 byte data('A') per second via a UART4 interface. Below is a screenshot of the data received via Realterm. As you can see sometimes a corrupted character appears. My codes is below. What could be wrong where of the code? I'd appreciate it if ...