IMX6Q UART work with RS485 function

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

IMX6Q UART work with RS485 function

ソリューションへジャンプ
984件の閲覧回数
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 解決策
767件の閲覧回数
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 返答(返信)
767件の閲覧回数
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 件の賞賛
768件の閲覧回数
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 件の賞賛