TS-3200 User’s Manual
Technologic Systems
05/21/2009
10
6 Digital I/O
There are 37 Digital Input/Output (DIO) lines available on the TS-3200. These are available on 3
headers labeled DIO1, DIO2, and LCD. In addition to the DIO signals, each header also has 5 Volt
power and Ground available. The header labeled LCD can be used as 11 DIO lines or as an
alphanumeric LCD interface (See Section 7). 16 of the DIO lines are arranged as two byte-wide ports
that can be programmed as either inputs or outputs in groups of 4-bits. Most of the remaining 21 DIO
lines are fixed as either input or output signals.
6.1 DIO1 Header
The DIO1 port pr5V, GND, and 12 digital I/O lines that can
be used to interface the TS-3200 to a wide range of devices. Some
of these signals have dual functions, some are input or output only,
while some are programmable (can be either inputs or outputs).
For example, DIO1 pins 6, 11, 12, and 13 are by default IRQ7, IRQ3,
IRQ4, and IRQ5 respectively. These lines can be changed to
general-purpose inputs by changing a configuration register in the
386EX (see
Appendix E
). In all cases, these signals can only be
inputs.
DIO1 pins 7 through 10 are COM2 handshake lines that can be used as digital I/O with pins 8 and 9
inputs only and pins 7 and 10 as outputs only. Alternatively, pins 7 through 10 can be used as a
synchronous serial port by changing 386EX configuration registers.
Pin 14 is shared with Jumper 5 (JP5). Pin 14 is used as IRQ 1 when the TS-9500 daughter board is
installed. If JP5 is not being used and the TS-9500 is not installed, it can be used for digital I/O.
Pins 3, 4, 5, and 14 can be programmed as either inputs or outputs. All digital outputs can source or
sink up to 8mA. All digital inputs have standard TTL level thresholds. If configured as inputs, they
should not be driven below 0 Volts or above 3.3 Volts!
All other inputs should not be driven below 0 Volts or above 5.0 Volts.
For further information on configuration and use of these pins, please see
Appendix E .
6.2 DIO2 Header
The DIO2 Port pr5V, GND, and 14 digital I/O lines.
The odd numbered pins 1-15 provide 8 bits of byte-wide digital I/O
addressed at I/O location 7Eh. The upper 4 bits or lower 4 bits can be
independently selected as input or output.
Bits 0 and 1 at I/O location 7Dh controls the direction, when bit 0 = ”0”
the lower 4 bits (pins 1, 3, 5, and 7) are inputs. If bit 0 = “1”, then they
are outputs. These pins have 4.7k ohm resister pull-ups to 5V.
Bit 1 at I/O location 7Dh controls the upper 4 bits (pins 9, 11, 13, and
15) in a like manner.
At reset bits 0 and 1 at I/O location 7Dh are set to zero, which initializes all of these pins as inputs.
Pins 4 and 8 are always outputs and pin 12 is always an input.
Pins 6 and 14 are programmed as inputs or outputs (see
Appendix E
).
If pins 6 or 14 are used as inputs they should not be driven below 0 Volts or above 3.3 Volts!
All other inputs should not be driven below 0 volts or above 5.0 Volts.
IRQ1/ P3.2
14 13
IRQ5 / P3.3
IRQ4 / P3.0
12 11
IRQ3 / P3.1
DTR2 / SRXCLK
10 9
RI2 / SRXD
DSR2 / STXCLK
8 7
RTS2 / STXD
IRQ7 / P3.5
6 5
P1.0
P1.5
4 3
P3.6
GND
2 1
5V
Figure 2 – DIO1 Header Pinout
5 V 16 15 DIO 2_7
P1.3 14 13 DIO 2_6
IRQ6 / P3.4 12 11 DIO 2_5
DCD2 10 9 DIO 2_4
RTS1 8 7 DIO 2_3
P1.2 6 5 DIO 2_2
LED_ON 4 3 DIO 2_1
GND 2 1 DIO 2_0
Figure 3 – DIO2 Header Pinout
Содержание TS-3200
Страница 1: ...TS 3200 User s Manual...