USING MULTIPLE LPUART

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

USING MULTIPLE LPUART

跳至解决方案
1,400 次查看
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.

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
1,297 次查看
sushma
Contributor III

I got the mistake I had made 

  LPUART_DRV_Init(INST_LPUART2, &lpuart2_State, &lpuart2_InitConfig0);

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,298 次查看
sushma
Contributor III

I got the mistake I had made 

  LPUART_DRV_Init(INST_LPUART2, &lpuart2_State, &lpuart2_InitConfig0);

0 项奖励
回复