KL43Z lpuart demo any special settings?

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

KL43Z lpuart demo any special settings?

Jump to solution
1,516 Views
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

Labels (1)
Tags (2)
0 Kudos
1 Solution
513 Views
tonymakkiel
Contributor III

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

View solution in original post

0 Kudos
2 Replies
514 Views
tonymakkiel
Contributor III

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

0 Kudos
513 Views
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 Kudos