IMX6Q UART work with RS485 function

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

IMX6Q UART work with RS485 function

跳至解决方案
1,168 次查看
lifusong
Contributor IV

Dear sir.

    we board have four uart work with RS485 (UART1 UART2 UART3 UART5)  kernel 3.14.52

pastedImage_1.png

we modify the file : driver/tty/serial/imx.c 

the uart look seem work ok when only one uart work

but more than one rs485 uart work together, will can't read data when uart A is r/w data during B is r/w data.

how to fix.

Had Fix issue.

   the point is tx chang to rx, must wait tx send data complete.

标签 (1)
标记 (1)
0 项奖励
1 解答
951 次查看
lifusong
Contributor IV

Hi sir.

  thanks for your replay.

  we had fix this issue.

   the point is tx chang to rx, must wait tx send data complete.

在原帖中查看解决方案

0 项奖励
2 回复数
951 次查看
igorpadykov
NXP Employee
NXP Employee

Hi li

one can check suggestions provided on

[imx6] RS485 could be supported on Imx6 series ?  

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

0 项奖励
952 次查看
lifusong
Contributor IV

Hi sir.

  thanks for your replay.

  we had fix this issue.

   the point is tx chang to rx, must wait tx send data complete.

0 项奖励