Hello
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)
UART1 is giving values
UART 2 - I don't see transmission occurring
I have attached the code below, Kindly let me know where am I going wrong.
Solved! Go to Solution.
I got the mistake I had made
LPUART_DRV_Init(INST_LPUART2, &lpuart2_State, &lpuart2_InitConfig0);
I got the mistake I had made
LPUART_DRV_Init(INST_LPUART2, &lpuart2_State, &lpuart2_InitConfig0);