Serial Half-Duplex Channels
Edit this on GitLab
Serial Channels Half-Duplex Mode
I can’t seem to get the serial channels operating properly in half-duplex mode, where I only have one twisted pair for both the TX and RX differential signals.
If you’re running half-duplex RS485, then you will need to wire the Tx(/-) to the associated Rx(/-) externally. (This connection is not handled on-board.) The Tristate Transmit line bit does not automatically switch when configuring to half-duplex RS-485 mode. Set the appropriate bit in the Channel Control Low register (bit (D8) high (1) in the register for channels 1 (module offset + 0x0054) and 2 (module offset + 0x0058).