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
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!
-----------------------------------------------------------------------------------------------------------------------