uart3 Receiving data is unstable.

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

uart3 Receiving data is unstable.

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

528 Views
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 Kudos
Reply