Control RS485 Half-Duplex with UART1(ttymxc0)

 

Custom board with imx6dl is based from SABREAUTO RDK board.

 

I want to control Half-Duplex Mode of RS485 with UART1(ttymxc0).

64.1.1 UART Features  of the datasheet described "RS-485 driver direction control via CTS_B signal".

 

 

MTXEN485(CTS_B) port set to high when transmit data out, in other case set to low.

 

Anyway I'm googling this,

normally connect RTS_B to direction control of 485 driver with SER_RS485_ENABLE|SER_RS485_RTS_ON_SEND options.

 

What is right to connect RS485 driver direction control to CTS_B or RTS_B ?

 

Guess you like

Origin www.cnblogs.com/yilangUAV/p/12667517.html