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
Solved! Go to Solution.
It was the voltage level. As the output was taken from the pin needed a level converter!
It was the voltage level. As the output was taken from the pin needed a level converter!
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