uart3 Receiving data is unstable.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

uart3 Receiving data is unstable.

1,084件の閲覧回数
zhanghan
Contributor II
imx6 上uart3转rs485,连续多次使用ctrl+c结束程序,然后重新启动应用程序(程序主要是while循环里,使用read读取数据,收到数据后,使用write发送接收到的数据)。多次测试会有收不到485数据的情况。
具体为:接收数据长度107byte 300ms一包数据,数据为不间断发送.
ラベル(1)
0 件の賞賛
返信
1 返信

1,009件の閲覧回数
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 件の賞賛
返信