IMX6 Uart Overrun

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

IMX6 Uart Overrun

1,031 Views
mostion
Contributor II

Hi,

   We use the IMX6 processor for some time now. But recently, we need use one uart port at 460800 baud, and then, we found some system error message said Rx FIFO overrun. We check the drivers code repeatedly, and make some test for it, but we have no idea for this issue. Anyway, if the baud is larger than 115200, like 230400, the Rx FIFO always overrun. We attempt to disable all function unused, just remain some necessities about uart, but it not worked.

   By the way, we have a platform used the IMX535 processor run same baud on uart, but it seemed everything is OK.

   On the other side, we update some later driver code, it also can not fix this. Our Linux kernel is 3.10.7.

0 Kudos
2 Replies

563 Views
Yuri
NXP Employee
NXP Employee

Hello,

  It is needed to use DMA for high speed UART transfer.
Note, for UART DMA, hardware flow control (CTS\RTS) should be applied.

Nevertheless, You may try to use XON/XOFF software flow control.

Have a great day,
Yuri

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

0 Kudos

563 Views
mostion
Contributor II

 If some guys have some ideas about this, Please give us some suggestions.

Thanks!

0 Kudos