USING MULTIPLE LPUART

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USING MULTIPLE LPUART

Jump to solution
1,238 Views
sushma
Contributor III

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 pastedImage_1.png

UART 2 - I don't see transmission occurring

pastedImage_2.png

I have attached the code below, Kindly let me know where am I going wrong.

Labels (1)
0 Kudos
1 Solution
1,135 Views
sushma
Contributor III

I got the mistake I had made 

  LPUART_DRV_Init(INST_LPUART2, &lpuart2_State, &lpuart2_InitConfig0);

View solution in original post

0 Kudos
1 Reply
1,136 Views
sushma
Contributor III

I got the mistake I had made 

  LPUART_DRV_Init(INST_LPUART2, &lpuart2_State, &lpuart2_InitConfig0);

0 Kudos