243
Programmable Hardware Manual (PHM)
© Tibbo Technology Inc.
6
GPIO9/TX0*
GPIO11/TX1*
GPIO13/TX2*
GPIO15/TX3*
7
GPIO16/INT0/C
TS0*
GPIO17/INT1/CT
S1*
GPIO18/INT2/CT
S2*
GPIO19/INT3/CT
S3*
8
GPIO0/RTS0*
GPIO1/RTS1*
GPIO2/RTS2*
GPIO3/RTS3*
9
GPIO20/INT4/D
SR0*
GPIO21/INT5/DS
R1*
GPIO22/INT6/DS
R2*
GPIO23/INT7/DS
R3*
10
GPIO4/DTR0*
GPIO5/DTR1*
GPIO6/DTR2*
GPIO7/DTR3*
* I/O pins of the
module. Not all pin functions are shown. See EM1000
documentation for full description.
6.3.4.1
TEV-IB0
The TEV-IB0 implements one RS232/422/485 serial port. The port is built around
SIPEX SP334 multi-protocol transceiver IC. A small PIC10F200 microcontroller from
MICROCHIP is also used. This microcontroller replaces discreet logic that would be
needed to control the SP334 in different operating modes. Related datasheets,
assembly program for the microcontroller, as well as the schematic diagram for the
TEV-IB0 board can be found on Tibbo website.
Two switches are provided on the board for protocol selection. Switch 1 selects
between RS232 and RS422/485 signal levels. Switch 2 selects half-duplex or full-
duplex mode of operation. Note that these switches only control the operation of
the SP334. Serial ports of the
must be correctly preset for desired
communication mode as well.
For your convenience, each TEV-IB0 board is supplied with a
adaptor.
DB-9M connector pin assignment
Pin #
RS232 mode
RS422 mode
RS485 mode
1
---
RTS- (output)
---
2
RX (input)
RX- (input)
RX- (input)
3
TX (output)
TX+ (output)
TX+ (output)
4
DTR (output)
TX- (output)
TX- (output)
5
SYSTEM GROUND
SYSTEM GROUND
SYSTEM GROUND
6
DSR (input)
RX+ (input)
RX+ (input)
7
RTS (output)
RTS+ (output)
---
8
CTS (input)
CTS+ (input)
---
9
---
CTS- (input)
---