iMX53 UART data lost when receiving

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iMX53 UART data lost when receiving

531 次查看
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.

标签 (2)
0 项奖励
回复
1 回复

434 次查看
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 项奖励
回复