KL43Z lpuart demo any special settings?

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

KL43Z lpuart demo any special settings?

ソリューションへジャンプ
1,785件の閲覧回数
tonymakkiel
Contributor III

I am trying to run the lpuart_dma_transfer demo. But for some reason the terminal output is not readable. So I tried the example lpuart_interrupt. But again for some reason the characters printed out are different. For example, typing the following

112233445566

prints 

LLff&&ssMM33

 

The terminal is set at 115200-8-N-1 setting. The output seems to be consistent though (1 always prints out L). 

 

Any idea what might be going wrong? Initially I thought I have some wrong setting like baud rate.

 

Many Thanks,

Tony

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
782件の閲覧回数
tonymakkiel
Contributor III

It was the voltage level. As the output was taken from the pin needed a level converter!

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
783件の閲覧回数
tonymakkiel
Contributor III

It was the voltage level. As the output was taken from the pin needed a level converter!

0 件の賞賛
返信
782件の閲覧回数
tonymakkiel
Contributor III

It has something to do with the connection. I loop back the connection (Connected Tx <--> Rx) and it works fine. Could it be the baud rate from KL43?

When Connected to PC Sending '1' (Ascii 0x31) KL43 receives value 0x67, when sent back the terminal receives L (Ascii 0x4C)!

1 (0x31) --> KL43 Rx 0x67 --> Terminal receives 0x4C

2 (0x32) --> KL43 Rx 0x33 --> Terminal receives 0x66

0 件の賞賛
返信