spi2.0: Port 2: Possible RX FIFO overrun

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

spi2.0: Port 2: Possible RX FIFO overrun

ソリューションへジャンプ
2,621件の閲覧回数
surendradhobale
Contributor III

Hello,

      I have successfully interfaced the max14830 chip with imx6ul over spi. I am able to transreceiver the data on one of the RS485 ( UART/ ttyMAX2 ) port. With Loopback everything works fine.

Now when I am trying to send the data ( like 200 bytes or more ) from other device to /dev/ttyMAX2 port ( UART expander port). Getting the RX overrun error and loss the few data.

I have tried with different baud rate like 9600 or 115200 bps.Still same issue.

What could be the causes for the RX overrun ? How to be resolve ?

Regards,

Surendra

ラベル(2)
0 件の賞賛
返信
1 解決策
2,231件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Surendra

reason may be operating system latencies if there is

much graphics or video. One can test without os using

attached baremetal uart test (please refer to Chapter 33
Configuring the UART Driver pdf document), full sdk can be obtained

created service request. In operating system one can try to use uart

flow control to avoid overruns.

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

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,231件の閲覧回数
surendradhobale
Contributor III

To avoid the overrun issue, I used software flow control mechanism ( XON and XOFF).

If both side has the software flow control, the issue is not observed. 

0 件の賞賛
返信
2,232件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Surendra

reason may be operating system latencies if there is

much graphics or video. One can test without os using

attached baremetal uart test (please refer to Chapter 33
Configuring the UART Driver pdf document), full sdk can be obtained

created service request. In operating system one can try to use uart

flow control to avoid overruns.

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

0 件の賞賛
返信