i.MX6 UART FIFO overrun error

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

i.MX6 UART FIFO overrun error

ソリューションへジャンプ
3,545件の閲覧回数
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 件の賞賛
返信
1 解決策
2,002件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
2,003件の閲覧回数
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 件の賞賛
返信
2,002件の閲覧回数
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 件の賞賛
返信