This code reception part is not working. There is no checking for stop bits. Can you share working of uart reception code
Under analysis.