How to avoid RXFIFO overrun errors.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to avoid RXFIFO overrun errors.

1,949 次查看
surendradhobale
Contributor III

Hello, 

I am using imx6ul uc with Linux kernel 4.9. I have max14830 spi to UART expander.communication works fine with software flow control.but as other side input side doesn't support of software flow control. Also no support of hardware flow control.

Now option is only not use any flow control. How or what approach need to follow in the max310x driver in Linux. We don't want to loose any data.max baud 115200.

In this driver observed no any loss in transmission but observed Rx overrun errors at reception. Rx buffer is 128 bytes. 

Please provide suggestions.

Regards,

Surendra

标签 (3)
0 项奖励
回复
1 回复

1,596 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Surendra

I am afraid there is no way to avoid data loss without flow control,

in general one can try using dedicated core for uart servicing (empty uart fifo

and filling some additional big buffer for incoming uart data)

https://www.cyberciti.biz/tips/setting-processor-affinity-certain-task-or-process.html 

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

0 项奖励
回复