Oh no, not another one:
https://community.arm.com/developer/tools-software/tools/f/keil-forum/44079/uart-communication/159980#159980
Please stop just dumping code on the forum!