
289
Programmable Hardware Manual (PHM)
© Tibbo Technology Inc.
When unconnected, FD/-HD defaults to HIGH, while -232/422-485 defaults to LOW.
This means that the RS232 mode will be selected.
In the RS232 mode the port has RX, TX, RTS, CTS, DTR, and DSR signals. This is
the full-duplex mode.
In the RS422 mode the port has +/-RX, +/-TX, +/-RTS, and +/-CTS signal pairs.
This is the full-duplex mode.
In the RS485 mode the port has only +/-RX and +/-TX signal pairs. This is the half-
duplex mode, so you can cRX to +TX, and -RX to -TX. This will allow your
system to communicate over a single twisted pair. Direction control is through the
RTS line -- the line shall be LOW for data input and HIGH for output.
For "normal" RS232/422/485 applications, this Tibbit has to be connected to the TX
and RX lines of the CPU's UART (see
). Planning to use RTS/CTS flow control
as well? An interrupt line must be available, too (see
).
Combining this Tibbit with the "C" device
(DB9M connector) will create a serial
port with the following pin assignment on the DB9M:
RS232
RS422
RS485
#1
<No connection>
RTS-
(output)
<No connection>
#2
RX
(input)
RX-
(input)
RX-
(input)
#3
TX
(output)
TX+
(output)
TX+
(output)
#4
DTR
(output)
TX-
(output)
TX-
(output)
#5
Ground
Ground
Ground
#6
DSR
(input)
RX+
(input)
RX+
(input)
#7
RTS
(output)
RTS+
(output)
<No connection>
#8
CTS
(input)
CTS+
(input)
<No connection>
#9
<No connection>
CTS-
(input)
<No connection>
The above pin assignment is the same we use on all our devices with the universal
port (for example, see the
).
You can also combine the RS232 Tibbit with
LEDs
There are eight LEDs: five red and three green. Red LEDs are connected to TX, RTS,
DTR, FD/-HD, and -232/422-485 lines. Green ones are for RX, CTS, and DSR. All
LEDs are buffered (with logic gates) and light up for the LOW state of control lines.