SECTION 6. 9-PIN SERIAL INPUT/OUTPUT
6-3
6.2.1 ENABLING AND ADDRESSING
PERIPHERALS
While several peripherals may be connected in
parallel to the CS I/O port, the CR23X has only
one transmit line (pin 9) and one receive line (pin
4, Table 6.2-1). The CR23X selects a peripheral
in one of two ways: 1) A specific pin is dedicated
to that peripheral and the peripheral is enabled
when the pin goes high; we will call this pin-
enabled or simply enabled. 2) The peripheral is
addressed; the address is sent on pin 9, each bit
being synchronously clocked using pin 7. Pin 6
is set high while addressing.
6.2.1.1 PIN-ENABLED PERIPHERALS
Modem Enable (pin 5) is dedicated to a specific
device. Synchronous Device Enable (pin 6) can
either be used as a Print Enable or it can be
used to address Synchronous Devices (Section
6.2.5).
Modem Enable (ME), pin 5, is raised to enable
a modem that has raised the ring line.
Modem/terminal peripherals include Campbell
Scientific phone modems and computers or
terminals using the SC32A or SC929 interface.
The CR23X interprets a ring interrupt (Section
6.2.2) to come from a modem if the device
raises the CR23X's Ring line, and holds it high
until the CR23X raises the ME line. Only one
modem/ terminal may be connected to the
CR23X.
Print Peripherals are defined as peripherals
which have an asynchronous serial
communications port used to RECEIVE data
transferred by the CR23X. In most cases the
print peripheral is a printer, but could also be an
on-line computer or other device.
Synchronous Device Enable (SDE), pin 6, may be
used to enable a print peripheral only when no
other addressable peripherals are connected to
the CS I/O connector. Use of the SDE line as an
enable line maintains CR23X compatibility with
printer-type peripherals which require a line to be
held high (Data Terminal Ready) in order to
receive data.
If output to both a print peripheral and an
addressable peripheral is necessary the SDC99
Synchronous Device Interface is required. With
the SDC99 the print peripheral functions as an
addressable peripheral. If the SDC99 is not
used, the print peripheral receives the address
and data sent to the addressed peripheral.
Synchronous addressing appears as garbage
characters on a print peripheral.
6.2.1.2 ADDRESSED PERIPHERALS
The CR23X has the ability to address
Synchronous Devices (SDs). SDs differ from
enabled peripherals in that they are not enabled
solely by a hardware line (Section 6.2.1.1); an SD
is enabled by an address synchronously clocked
from the CR23X (Section 6.2.5).
Up to 16 SDs may be addressed by the CR23X.
Unlike an enabled peripheral, the CR23X
establishes communication with an addressed
peripheral before data are transferred. During
data transfer an addressed peripheral uses pin
7 as a handshake line with the CR23X.
Synchronously addressed peripherals include
Storage Modules, SDC99 Synchronous Device
Interface (SDC99), and RF95 RF Modem when
configured as a synchronous device. The SDC99
interface is used to address peripherals which are
normally modem enabled (Figure 6.2-1).
6.2.2 RING INTERRUPTS
There are two peripherals that can raise the
CR23X's ring line; modems and the RF Modem
configured for synchronous device for
communication (RF-SDC). The RF-SDC is
used when the CR23X is installed at a
telephone to RF base station.
When the Ring line is raised, the processor is
interrupted, and the CR23X determines which
peripheral raised the Ring line through a process
of elimination (Figure 6.2-3). The CR23X raises
the CLK/HS line forcing all SDs to drop the ring
line. If the ring line is still high the peripheral is a
modem, and the ME line is raised. If the ring line
is low the CR23X addresses the Keyboard
Display and RF-SDC to determine which device
to service. (Section 6.2.5)
After the CR23X has determined which
peripheral raised the Ring line, the hierarchy is
as follows:
A modem which raises the Ring line will interrupt
and gain control of the CR23X. A ring from a
modem aborts data transfer to pin-enabled and
addressed peripherals.
Summary of Contents for CR23X
Page 8: ...CR23X TABLE OF CONTENTS vi This is a blank page ...
Page 12: ...CR23X MICROLOGGER OVERVIEW OV 2 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE OV1 1 CR23X Micrologger ...
Page 34: ...CR23X MICROLOGGER OVERVIEW OV 24 This is a blank page ...
Page 50: ...SECTION 1 FUNCTIONAL MODES 1 16 This is a blank page ...
Page 72: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 8 This is a blank page ...
Page 88: ...SECTION 6 9 PIN SERIAL INPUT OUTPUT 6 10 This is a blank page ...
Page 110: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 22 This is a blank page ...
Page 134: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 24 This is a blank page ...
Page 164: ...SECTION 9 INPUT OUTPUT INSTRUCTIONS 9 30 This is a blankpage ...
Page 188: ...SECTION 11 OUTPUT PROCESSING INSTRUCTIONS 11 8 This is a blankp age ...
Page 221: ...SECTION 13 CR23X MEASUREMENTS 13 21 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Page 229: ...14 3 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE 14 3 1 CR23X Battery Pack and Panel ...
Page 240: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 14 This is a blank page ...
Page 244: ...APPENDIX A GLOSSARY A 4 This is a blank page ...
Page 268: ...APPENDIX B CONTROL PORT SERIAL I O INSTRUCTION 15 B 24 This is a blank page ...
Page 276: ...APPENDIX C BINARY TELECOMMUNICATIONS C 8 This is a blank page ...
Page 278: ...This is a blank page ...
Page 282: ...APPENDIX F DYNAGAGE SAP FLOW P67 F 4 This is a blank page ...
Page 299: ...APPENDIX I TD OPERATING SYSTEM ADDENDUM FOR CR510 CR10X AND CR23X MANUALS ...
Page 300: ...This is a blank page ...
Page 302: ...This is a blank page ...
Page 308: ...TABLE DATA ADDENDUM AD 6 This is a blank page ...
Page 324: ...TD ADDENDUM SECTION 1 FUNCTIONAL MODES AD 1 8 This is a blank page ...
Page 340: ...TD ADDENDUM SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES AD 8 10 This is a blank page ...
Page 342: ...This is a blank page ...
Page 373: ...This is a blank page ...