iMX53 UART data lost when receiving

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

iMX53 UART data lost when receiving

554 Views
charleshuang
Senior Contributor II

Hi,

Is there any theory to explain why data lost when receiving.

TEST : (10 times)

Rx(iMX53)

# stty -F /dev/ttymxc2 speed 115200 -echo

# cat /dev/ttymxc2 > result.txt

Tx(PC): transfer one text file that contains 10000 characters.

FAILED : The size of result.txt is about 2000 ~ 4000 bytes.

Labels (2)
0 Kudos
Reply
1 Reply

457 Views
igorpadykov
NXP Employee
NXP Employee

Hi charles

data may be lost due to UART RX buffer overflow,

since processor is busy on other tasks.

One can try to decrease processor load or try to use SDMA

with UART (this may alleviate problem but may not provide full guarantee).

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply