In the imx6ull platform, the serial port encounters abnormal data reception. The description is as follows:
Problem Description:
If the external device is connected to the imx6ull serial port, it will emit a noise that low level when it sleeps,The waveform is a low level, about 40 ~ 50us.The baud rate of communication is 9600bps, 8n1
Read serial port data for a long time in imx6ull application layer, and receive data of 0xff all the time.
Q1. After calculating 9600 baud rate, the start bit time is 104us, while the time of 40 ~ 50us should not be recognized as the beginning of a data by the serial controller. Why can we receive the binary data of 0xff?
Q2. After testing, it is found that if the external device is disconnected, the application program can still read the secondary data of 0xff. Why can the data still be read after the device is disconnected?
this question happend at EVB board,I think it's the linux driver that causes this problem.
All IMX platform should all have it.
You can use GPIO port to simulate TX for testing