AST CC-432 User manual

Data Communications Products
ASTCC-432
ASr
RESEAACH
INC.
Communications Hard-
ware ProductProviding a
Synchronous Communica-
tions ChannelJ Normal
and
NRZI
Data Encoding
and
Security
for
Custo;-
mizedSoftware

CC·432™
Advanced Communication Board
for
the
IBM
Personal Computer,
and
IBM PC·XT
User's Manual
000140-001 D
October 1985
AST RESEARCH, INC.
Irvine, California
(714)
863-1333

Fourth Edition (October 1985)
IBM
is
a registered trademark of International Business Machines
Corporation.
MOSTEK
is
a registered trademark of Mostek Corporation.
Z-80
is
a registered trademark of Zilog, Inc.
Compaq
is
a trademark of Compaq Computers, Inc.
AST Research periodically changes the information
in
this manual; changes
are incorporated into new editions. AST Research reserves the right
to
modify this product's design.
A Product Comment Form
is
provided at the back of this publication. If this
form has been removed, please address your comments to:
AST
Research,
Inc., Attn: Product Marketing,
2121
Alton Avenue, Irvine, CA 92714.
AST
Research may use or distribute any of the information
you
supply
in
any way
it deems appropriate without incurring any obligations whatsoever.
Copyright © 1983 AST Research, Inc. All rights are reserved, including those
to
reproduce this book or parts thereof
in
any form without permission
in
writing from
AST
Research, Inc.
WARNING
This manual
is
protected by United States Copyright law
(Title 17 United States Code). Unauthorized reproduction
and/or sales may result
in
imprisonment of up to one
year and fines of up to $10,000 (17
USC
506).
Copyright infringers may be subject to civil liability.

TABLE OF CONTENTS
SECTION 1
INTRODUCTION........................
1-1
1.1
PC
Compatibility
..............................
1-1
1.2 Modem Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2
1.3 Related Documentation . . . . . . . . . . . . . . . . . . . . . . . .
1-2
SECTION 2 CONFIGURATION
.......
...............
2-1
2.1
Factory Default Configuration
...................
2-2
2.2 Cable Information
.............................
2-2
2.3 Changing the Factory Default Configuration
.......
2-4
2.4 I/O Address and Function Selection
..............
2-4
2.5 Port Configuration
............................
2-7
2.6 Interrupt Line Selection
........................
2-9
2.7 Baud Rate Selection
.........................
2-10
2.8 CC-432 Shorting Plug Summary
................
2-10
2.9 Additional Control Signals
.....................
2-12
2.10 NRZI Encode/Decode
........................
2-13
SECTION 3 INSTALLATION .
.......................
3-1
SECTION 4 PROBLEM DETERMINATION
PROCEDURES
..
.......................
4-1
4.1
Finding the Problem
..........................
4-1
4.1.1
Modems
...............................
4-1
4.1.2 Software Parameters
.....................
4-2
4.1.3 Phone Lines
............................
4-2
4.1.4
PC
System Hardware
....................
4-2
4.2 Repair Procedure
.............................
4-3
SECTION 5 THE C432TEST DIAGNOSTIC
............
5-1
5.1
Hardware Requirements
.......................
5-1
5.2 Software Requirements
........................
5-2
5.3 Setup
......................................
5-2
5.3.1 CC-432 Board Setup
.....................
5-2
5.3.2 Loopback Plug Configuration
..............
5-4
5.3.3 Install the Modem or Loopback Plug
........
5-4
5.4 Diagnostic Operation
..........................
5-4
iii

TABLE OF CONTENTS
(Continued)
5.5 Test Descriptions
.............................
5-6
5.5.1 SIO Register Write/Read Test
..............
5-6
5.5.2 SIO Interrupt Test
.......................
5-7
5.5.3 SDLC Loopback Test.
....................
5-7
5.6 Error Messages
..............................
5-7
APPENDICES
APPENDIX A
110
ADDRESS MAP
....................
A-1
APPENDIX B HARDWARE INTERRUPT LINES
.........
B-1
FIGURES
Figure 2-1. CC-432 Board Layout
....................
2-6
Figure 3-1. Turn
PC
Power OFF (rear view)
............
3-2
Figure 3-2. Remove
PC
Cover
.......................
3-3
Figure 3-3. IBM Expansion Slots
.....................
3-4
Figure 3-4. Install Your CC-432 Board
.................
3-5
Figure 3-5. Install Cables
...........................
3-6
TABLES
Table
2-1.
CC-432 (DTE mode) and
Modem Configuration
.....................
2-3
Table 2-2. CC-432
110
Address Select
.................
2-5
Table 2-3. CC-432
AO-A3
Function Select
..............
2-7
Table 2-4. DTE and DCE Configurations
...............
2-8
Table 2-5. SIO Data and Modem Control Signals
........
2-8
Table 2-6. Interrupt Line Selection
....................
2-9
Table
2-7.
CC-432 Shorting Plug
(Positions
1-9)
Summary
..................
2-10
iv

SECTION 1
INTRODUCTION
This manual tells you how to configure, install, and
run
the
diagnostic for the AST Research, Inc., CC-432 Advanced
Communication board. The CC-432 board allows you to
configure its single-channel communications port
as
DTE
(Data Terminal Equipment, the equipment associated with a
user) or DCE (Data Communications Equipment, the
equipment associated with the transmission facilities). The
CC-432 board performs all serial-to-parallel and parallel-to-
serial conversions
in
synchronous mode, and offers a choice
of normal or Non Return to Zero Inverting (NRZI) data
encoding.
The combination of the CC-432 board and AST Research
communications packages provides convenience and cost
saving by allowing you to support a variety of terminal
emulation and communications protocols. To use a different
type of emulation or communication capability, simply change
diskettes and boot another AST Research communications
program.
The communication element
on
the AST Research CC-432
board is its dual port Serial Input/Output (SIO) chip. The
functions available on the SIO include modem control signals
and CRC (Cyclic Redundancy Check) error checking.
1.1
PC Compatibility
The AST Research CC-432 Advanced Communication board
is completely compatible with the IBM
PC
and PC-XT.
1-1

1.2 Modem Compatibility
The CC-432 board and its various associated AST Research
software packages are designed for use with Bell-compatible
synchronous modems. A Bell-compatible modem usually has
a model number that corresponds to the Bell standard it
complies with, and different model numbers operate at
different baud rates (for example, 212 = 1200 baud,
201
= 2400 baud, and 208 = 4800 baud).
You can use other modems as long
as
the modems at both
ends of the phone line are compatible with each other. The
modem that you use must also
be
compatible with the
modem at the host (the host is the machine that you are
communicating to). For example, if you use
an
IBM
modem at
a host computer, you must use
an
IBM modem at
an
IBM
PC
at the other end of the phone line.
An
IBM modem will not
communicate with a Bell-compatible modem.
All AST Research emulation package line protocols require
synchronous modems. Asynchronous modems (such
as
the
Hayes and Novation modems) will not work with AST
Research emulation packages.
1.3 Related Documentation
This manual assumes some familiarity with the PC-DOS
operating system and the
PC
hardware. This information can
be
found
in
the following manuals:
IBM Personal Computer Guide to Operations manual
IBM Personal Computer Technical Reference manual
IBM Personal Computer Disk Operating System manual
1-2

The communication element of the AST Research CC-432
Advanced Communication board is the 510 (such as the Zilog
Z-80 510-0 or the MOSTEK MK3884). Programming and
vector interpretation of the 510 are detailed in
an
510
reference manual such
as:
Zilog Z-80 SID Technical Manual
or
MOSTEK MK38841517 Serial
110
Controller Technical Manual
1-3

1-4

SECTION 2
CONFIGURATION
If your CC-432 board is part of a complete AST Research
hardware/software package,and you intend to communicate
with a host computer via a modem/phone line link, it
-is
probably ready to use
in
its factory default configuration.
NOTE
If you are using the AST-3780 package, the
CC-432 board is ready to use
as
is (verify
the factory configuration below). If you are
using the AST-5251, AST-SNA, or AST-BSC
communications packages, the only change
you have to make to the factory
configuration is to remove the shorting plug
from
pOSition
8.
Otherwise, you must configure the AST Research CC-432
Advanced Communication board to select its IBM
PC
I/O
addresses, interrupt line, baud rate, and to configure its
communications port as DCE or DTE (default is DTE). You
can also configure your CC-432 to take advantage of
additional control signals, and to support the Non Return to
Zero Inverting (NRZI) data encoding that is commonly used
with some synchronous protocols (default is non-NRZI).
This section describes how to set the DIP switch, shunts, and
shorting plugs for your application, and is intended primarily
for those users who want to create their own custom software
for the CC-432. If you are using the CC-432
as
part of a
complete AST Research communications package, this
information is useful
as
a reference. Your AST Research
communications package user's manual tells you how to
configure your CC-432 board for your application.
2-1

NOTE
When you install your
AST
Research
communications package
and
CC-432 card
in
your
PC,
be
sure that you know which
IRQ
lines and I/O addresses are used by
each of the devices
in
your system (you
can
obtain this information from the device
suppliers, user's manuals, and your dealer).
Resolving device conflicts before installation
will save time and frustration later
on.
Refer
to
the CC-432 board layout (Figure
2-1)
throughout this
section.
2.1 Factory Default Configuration
If your CC-432 board
is
part of a complete AST Research
hardware/software package (such
as
AST-SNA, AST-BSC,
AST-3780, or AST-5251), it is probably ready
to
use
in
its
factory configuration, and you won't need to make any
changes.
To verify proper factory default configuration, check your
CC-432 board settings:
1.
DIP
switch
SW1
set
as
follows:
12345678
ON
ON
OFF OFF OFF OFF OFF
ON
2.
DIP
shunts installed
in
positions U25 and U27
(DTE).
3.
Shorting plugs installed
in
positions
1,
3,
and
8.
2.2 Cable Information
This Subsection gives cable configuration information that
is
important for standard use.
2-2

When you use the CC-432
in
DTE mode, the cable should
only
be
as
long
as
necessary to reach a modem positioned
next to your
PC.
When
you
use the CC-432
in
DCE
mode,
limit the cable length to a maximum of 50 feet. Some
installations require a shielded cable for reliable operation.
AST Research recommends that you use a shielded 25-pin
cable for reliable operation. However, the 11-pin cable shown
in Table
2-1
can
be
used for some installations; this typical
configuration includes the CC-432 board (DTE mode) and a
synchronous
modem for use with
an
AST Research
communications package (asynchronous modems will not work).
Table 2-1. CC-432 (DTE mode) and Modem Configuration
CC-432
J1
Pin
2
3
""'
4
5
6
7
8
15
17
20
Signal Modem
Direction Pin Signal Name
1 Chassis Ground
2 Transmit Data (TxD)
3 Receive Data (RxD)
4 Request To Send (RTS)
5 Clear To Send (CTS)
6 Data Set Ready (DSR)
7 Signal Ground
8 Data Carrier Detect (DCD)
15 Transmit Clock (TxDCE)
17 Receive Clock (RxDCE)
20 Data Terminal Ready (DTR)
NOTE
For DCE operation, the cable configuration
is the same, but the signal directions are
reversed.
2-3

2.3 Changing
the
Factory Default Configuration
In
its factory default configuration the CC-432 board is set up
as
follows:
1.
Occupies
PC
1/0
hexadecimal addresses 300-30F
2.
DTE operation (external synchronous modem
required)
3.
Interrupts generated
on
IRQ2.
Your AST Research communications package user's manual
tells
you
how to configure your CC-432 board for your
application. This information
is
useful for technical personnel
in
the event that there
is
a hardware or software conflict
between the CC-432 and another device installed
in
your
PC:
To
reconfigure the CC-432 for a different set of
1/0
addresses, refer to Subsection 2.4.
To
reconfigure the CC-432 for
DCE
mode, refer
to
Subsection 2.5.
To
reconfigure the CC-432 to
use
an
interrupt other than
IRQ2, refer to Subsection 2.6.
This section also includes information
on
the cable
configuration, baud rate, shorting plug functions,
additional modem control signals, and NRZI data
encoding (see Subsections 2.7 through 2.10).
2.4 I/O Address and Function Selection
The CC-432 occupies
16
consecutive locations of the
IBM
PC
1/0
address space.
To
avoid conflict with existing
IBM
PC
peripheral boards, use
an
address range that
is
not used by
any of the peripherals
in
your
PC
(Appendix A gives the
standard 1/0 address map for the
IBM
PC).
Positions 1 and 2
on
DIP
switch
S1
select the
1/0
address range for the CC-432
(Table
2-2).
2-4

Table 2-2. CC-432 1/0
Address
Select
S1
Position
1 2
ON
OFF
ON
OFF
ON
ON
OFF
OFF
NOTE
Hexadecimal
1/0
Addresses
300-30F*
320-32F
340-34F
360-36F
*The factory default setting for the CC-432
board is for
1/0
addresses 300-30F.
AST Research communications packages
normally use
1/0
addresses 300-30F
(S1
positions 1 and 2 ON). Consult your user's
manual for information on other available
address settings where applicable.
2-5

N
•
en
"'T1
cO'
s:::::
;
N
•
.....
o
o
.
.1:>0
Co)
N
OJ
o
ell
a.
r-
ell
'<
o
s:::::
-
U28
11
Factory Configuration:
Shorting Plugs at
1,3,
and 8
Shunt positions for oTE
(Factory configuration:
shunts Installed at
U25
and
U27)
C)
c-J-
••
= R6
U",
'-----~-r----_t_-+-oCE
Shunt
Positions
CC'432
j~,
U2'
.g
'------------'
,
~!
----~
U3
I I i
SPI
I~--~(
c==:su.
~
ct=:-=1~O'i=-~=_~2~~::=:3!~
Edge
Connector
Factory Configuration: 1, 2, 8 ON (300-30F)
t
Card
Bracket

Once the CC-432 board has been software-selected, address
lines
AO
through A3 select the functions summarized in
Table 2-3.
Table 2-3. CC-432
AO-A3
Function Select
Address Lines
A3 A2
A1
AO
Selected Function
0 0 0 0 Data port 510 channel A
0 0 0 1 Data port 510 channel B
0 0 0 Control port 510 channel A
0 0 1 1 Control port 510 channel B
0 1 X X Reserved
1 0 X X Reserved
1 1 X X Read interrupt vector
X = Don't Care
If the selected I/O address range is 300 through 30F, then
3nO
is 300,
3n1
is 301, and so on. Hexadecimal I/O
addresses
3nO
through 3n3 select one of the 510 registers
and perform a read or write (depending
on
the I/O
instruction). The 510 contains eight registers
(WRO
through
WR7) that are programmed by the system program and
determine the functional personality of the 510 channels (the
510 reference manual provides detailed programming
information).
2.5
Port
Configuration
The communications port
on
the AST Research CC-432 board
can be configured as DTE or DCE. In DTE mode: the CC-432
expects to be connected to a synchronous modem that
provides clocking signals as well as data. In
DeE
mode: the
on-board modem eliminator is enabled. For some applications
where the
PC
is in the same room as the host computer, the
on-board CC-432 modem eliminator can replace a separate
modem eliminator. The CC-432 modem eliminator does not
replace the RS-232 interface that is required for
communicating with the PC.
2-7

The eight-position shunts that configure the port. also carry
signals that can be used for modem controls. Install the
shunts
in
the positions (shown
in
Figure
2-1)
summarized
in
Table
2-4
for the desired configuration.
Table 2-4. DTE and
DCE
Configurations
Configuration
DCE
DTE*
Shunt
Positions
U26, U28
U25, U27
*The factory default configuration is for
DTE
operation.
Table
2-5
summarizes how the SIO data and modem control
signals appear at the DB-25 connector
in
the DTE and
DCE
configurations.
Table 2-5. SIO Data and Modem Control Signals
DTE Mode
DCE
Mode
SIO Signal
J1
Signal J1 Pin J1 Signal J1 Pin
TxDA Output TxD 2
RxD
3
RxDA Input RxD 3 TxD 2
RTSA Output
RTS
4
DCD
8
CTSA Input CTS 5 *
DCDA Input DCD 8 RTS/CTS
4/5**
CTSB Input DSR 6
DTR
20
DTRA Output DTR 20
DSR
6
TxCA Input TxC
15
TxC
15***
RxCA Input RxC
17
RxC
17***
Chassis Ground 1 1
Signal Ground 7 7
*
In
DCE mode, the SIO RTSA output is routed to SIO
CTSA input.
**In
DCE mode,
J1
pin 4
RTS
input is routed to
J1
pin 5
CTS output and to SIO DCDA input.
***In
DCE mode, the
J1
pins
15
and 17 clock outputs and
SIO clock inputs are determined by the strapping of the
baud rate jumpers as long as shorting plugs are
installed
in
positions 2 and
4.
2-8

2.6 Interrupt Line Selection
Positions 3 through 8
on
DIP
switch
S1
select
an
Interrupt
Request (IRQ) line for the CC-432. Table
2-6
lists the
IRQ
line
selected by each of these five positions.
An
ON
condition
selects the interrupt line, and only one IRQ position
can
be
ON
at any time.
Table 2-6. Interrupt Line Selection
S1
Position
8
7
6
5
4
3
NOTE
Interrupt Line
IRQ2
IRQ3
IRQ4
IRQ5
IRQ6
IRQ7
AST Research communications packages
normally use IRQ2. Consult your user's
manual for information
on
other available
interrupt options where applicable.
For all applications, make sure that the
selected
IRQ
line
is
not used by another
system device. Only one IRQ position
on
the CC-432
can
be
ON
at any time.
Appendix B lists standard
IBM
assigned
IRQ applications.
When
you
operate the CC-432 board with the SIO
in
the
vectored interrupt mode and there
is
an
interrupt from the
SIO,
you
must
read
I/O address 3nF during the interrupt
routine. The contents of that address tell you what condition
caused the interrupt (that
is,
which of the eight interrupt
service routines
is
pOinted
to). This vector must
be
read
in
the
interrupt service routine regardless of whether the vector
information
is
used. Failure to read this value can cause
improper SIO interrupt operation. The SIO reference manual
details programming
and
vector interpretation.
2-9

2.7 Baud Rate Selection
(DCE
mode only)
NOTE
If your CC-432 board
is
configured for
DTE
operation, the position of the baud rate
shorting plug
has
no
effect because the
baud rate
is
determined by the modem.
If your CC-432 board
is
configured for
DCE
operation, the
baud rate jumper block (shown
in
Figure
2-1)
selects the baud
rate for the CC-432 clock
(as
long
as
shorting plugs are
installed
in
positions 2 and
4).
To
select the baud rate, install
a shorting plug
in
the position that corresponds
to
the desired
baud rate. For example, if you want to select a baud rate of
9600, install a shorting plug
in
the shorting block position
labeled 9600.
2.8 CC-432 Shorting Plug Summary
Table 2-7 summarizes the functions that correspond
to
the
shorting plugs installed
in
positions 1 through 9 (illustrated
in
Figure 2-1)
on
the AST Research CC-432 board. The default
configuration is for shorting plugs installed
in
positions
1,
3,
and
8.
Table 2-7. CC-432 Shorting Plug (Positions 1-9) Summary
Shorting Plug
Position
2-10
Function
DTE
Mode: Routes
J1
pin 17 Receive Clock
input to the SIO RxCA Receive
Clock input.
DCE
Mode: No function.

Table 2-7. CC-432
Shorting
Plug
(Positions
1-9)
Summary
(Continued)
Shorting
Plug
Position
Function
2 DTE Mode: Routes the internal baud rate
generator clock to the 510
RxCA Receive Clock input.
DCE Mode: Same as DTE. Also routes
same clock to
J1
pin 15
Transmit Clock output.
3 DTE Mode: Routes J1 pin 15 Transmit
Clock input to the 510 TxCA
Transmit Clock input.
DCE Mode: No function.
4 DTE Mode: Routes the internal baud rate
generator clock to the 510
TxCA Transmit Clock output,
and to the
J1
pin 24 Transmit
Clock input.
DCE Mode: Routes the internal baud rate
generator clock to the 510
TxCA Transmit Clock input and
to the
J1
pin 17 Receive Clock
output.
5 DTE Mode: No function.
DCE Mode: Routes. the
J1
pin 24 Transmit
Clock input to the 510 RxCA
Receive Clock input.
6 DTE Mode: Routes
J1
pin 22 Ring Indicator
input to the 510 DCDB input.
DCE Mode: Forces
J1
pin 22 Ring Indicator
into a false state.
2-11
Table of contents