USING MULTIPLE LPUART

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USING MULTIPLE LPUART

ソリューションへジャンプ
1,278件の閲覧回数
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,175件の閲覧回数
sushma
Contributor III

I got the mistake I had made 

  LPUART_DRV_Init(INST_LPUART2, &lpuart2_State, &lpuart2_InitConfig0);

元の投稿で解決策を見る

0 件の賞賛
1 返信
1,176件の閲覧回数
sushma
Contributor III

I got the mistake I had made 

  LPUART_DRV_Init(INST_LPUART2, &lpuart2_State, &lpuart2_InitConfig0);

0 件の賞賛