I want to use multiple UART channels , UART1 and UART2 ; So I have made the following modifications to the code;
UART1 connected via USB - COM4 (throwing the ASCII value corresponding to 123) - baud rate 115200
UART2 connected to USB to TTL converter - COM14 - baud rate 9600 (PTA9-Tx connected to Rx pin of USB-TTL converter and GND of both connected)
UART 2 - I don't see transmission occurring
I have attached the code below, Kindly let me know where am I going wrong.