i.MX6 UART FIFO overrun error

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

i.MX6 UART FIFO overrun error

Jump to solution
2,666 Views
deepika_t
Contributor IV

Hi Community,

I am using Sabre-AI board running Android M with kernel 3.14.52.

I am trying to interface a GPS device with Android. I am using UART as the communication interface. As soon as the board boots I am getting the following error:

imx-uart 21e8000.serial: Rx FIFO overrun

imx-uart 21e8000.serial: Rx FIFO overrun

imx-uart 21e8000.serial: Rx FIFO overrun

imx-uart 21e8000.serial: Rx FIFO overrun

imx-uart 21e8000.serial: Rx FIFO overrun

imx-uart 21e8000.serial: Rx FIFO overrun

imx-uart 21e8000.serial: Rx FIFO overrun

imx-uart 21e8000.serial: Rx FIFO overrun

And the board hangs for sometime. The GPS HAL is not able to communication over UART.

I saw the thread  iMX6Quad uart RX Fifo Overrun  but it did not helped me.

Can anyone give me the solution

Thanks

Deepika

0 Kudos
1 Solution
1,123 Views
deepika_t
Contributor IV

Hi Igor,

Thanks for your reply.

The device is not supporting RTS/CTS. The issue was resolved .It was a connection issue. The lines to which I connected the GPS module was RS232 lines whereas I needed TTL lines.So when I connected my Sabre auto Uart lines to GPS's TTL lines it worked.

Thanks

Deepika

View solution in original post

0 Kudos
2 Replies
1,124 Views
deepika_t
Contributor IV

Hi Igor,

Thanks for your reply.

The device is not supporting RTS/CTS. The issue was resolved .It was a connection issue. The lines to which I connected the GPS module was RS232 lines whereas I needed TTL lines.So when I connected my Sabre auto Uart lines to GPS's TTL lines it worked.

Thanks

Deepika

0 Kudos
1,123 Views
igorpadykov
NXP Employee
NXP Employee

Hi Deepika

please try to use flow control (fsl,uart-has-rtscts) as in uart3

&uart3 {

    pinctrl-names = "default";

    pinctrl-0 = <&pinctrl_uart3_1>;

    pinctrl-assert-gpios = <&max7310_b 4 GPIO_ACTIVE_HIGH>, /* CTS */

                   <&max7310_c 3 GPIO_ACTIVE_HIGH>; /* RXD and TXD */

    fsl,uart-has-rtscts;

    status = "okay";

    /* for DTE mode, add below change */

    /* fsl,dte-mode; */

    /* pinctrl-0 = <&pinctrl_uart3dte_1>; */

};

linux-2.6-imx.git - Freescale i.MX Linux Tree

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos