uart3 Receiving data is unstable.

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

uart3 Receiving data is unstable.

984 次查看
zhanghan
Contributor II
imx6 上uart3转rs485,连续多次使用ctrl+c结束程序,然后重新启动应用程序(程序主要是while循环里,使用read读取数据,收到数据后,使用write发送接收到的数据)。多次测试会有收不到485数据的情况。
具体为:接收数据长度107byte 300ms一包数据,数据为不间断发送.
标签 (1)
0 项奖励
回复
1 回复

909 次查看
zhanghan
Contributor II

First I use ctrl+c  end the program on secure CRT,then I Restart the application (the program is just a while loop,in the loop, i read the data from the 485 interface using uart3 of imx6,after i get the data,then i send the received data), i find debug serial can not receive data during this test。why?but i find there is data on the uart3 rx pin on the hardware by oscilloscope。

0 项奖励
回复