IMX6Q UART work with RS485 function

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6Q UART work with RS485 function

Jump to solution
1,091 Views
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.

Labels (1)
Tags (1)
0 Kudos
1 Solution
874 Views
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.

View solution in original post

0 Kudos
2 Replies
874 Views
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 Kudos
875 Views
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 Kudos