Using RS-485 on fsl-yocto-4.1.15_1.1.0

cancel
Showing results for 
Search instead for 
Did you mean: 

Using RS-485 on fsl-yocto-4.1.15_1.1.0

537 Views
charleshuang
Contributor V

Hi
On fsl-yocto-4.1.15_1.1.0
We found that uart driver of fsl-yocto-4.1.15_1.1.0 support RS-485,and we used ioctl to use RS-485 to receive and send data to another device,but it only can receive the first data ,the second time we want to re-transmit and get no response

I print USR2 register ,the first time I receice data the USR2 is 4008,the second time I receive date the USR2 is 5008
According to imx6 DRM ,it means IDLE condition has been detected.

Please help  to solve this issue

Thanks

Labels (3)
Tags (2)
0 Kudos
1 Reply

85 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi charles

please try to implement flow control as described on

iMX6 UART RS485 mode? 

[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