background image

SERIES IP521 INDUSTRIAL I/O PACK                                EIA/TIA-422B SERIAL COMMUNICATION MODULE
___________________________________________________________________________________________

- 12 -

MSR - Modem Status Register, Ports A-H (Read/Write)

The Modem Status Register (MSR) provides the host CPU with

an indication on the status of the modem input line from a modem or
other peripheral device.   However for this model, the four modem
control inputs (CTS, DSR, DCD, and RI) are disconnected from
their receiver input paths.

Modem Status Register

MSR BIT

FUNCTION

0

CTS - NOT SUPPORTED

1

DSR - NOT SUPPORTED

2

RI - NOT SUPPORTED.

3

DCD - NOT SUPPORTED

4

CTS - If the channel is in the loopback mode (MCR
bit 4 = 1), then the state of RTS in the MCR is
reflected.

5

DSR - NOT SUPPORTED

6

RI - NOT SUPPORTED

7

DCD - NOT SUPPORTED

An Asterisk (*) is used to indicate an active-low signal.

Note that reading MSR clears the delta-modem status indication

(bit 0), but has no effect on the bit-4 status bit.  For both the LSR &
MSR, the setting of the status bits during a status register read
operation is inhibited (the status bit will not be set until the trailing
edge of the read).  However, if the same status condition occurs
during a read operation, that status bit is cleared on the trailing edge
of the read instead of being set again.

Note that not all UART signal paths are used by this model and

their corresponding UART pins are tied high (+5V).  This  includes,
CTS (Clear To Send), RI (Ring Indicator), DSR (Data Set Ready),
and DCD (Data Carrier Detect).

A power-up or system reset sets MSR bit-0 to “0” (bit 4 is

determined by the corresponding input signal).  All other bits are not
used.

SCR - Scratch Pad/Interrupt Vector Register, Ports A-H
(Read/Write)

This 8-bit read/write register has no effect on the operation of

either serial channel.  It is provided as an aide to the programmer to
temporarily hold data.  Alternately, it stores the interrupt vector for
the port.

In response to an interrupt select cycle, the IP module will

execute a read of this register for the interrupting port (see Interrupt
Generation section for more details).

Enhanced Register Set, Ports A-H

The Enhanced Register Set is unique to the EXAR

 UART

provided on the IP521 IP module.  The EXAR

 UART maintains

compatibility with the industry standard 16C554/654 and
68C554/654 UARTs and provides new features to enhance serial
communication operation.

The new features provided by the EXAR 16C654 UART are

summarized in the following register descriptions and includes
software flow control via Xon and Xoff.

The Enhanced Register Set includes the following registers.

 

Enhanced Feature Register (EFR)

 Xon-1, 

Xon-2

 Xoff-1, 

Xoff-2

In order to access the Enhanced Registers the LCR must be set to
“BF” hex.  Each of these registers will be described in the following.

EFR - Enhanced Feature Register, Ports A-H (Read/Write)

The Enhanced Feature register is used to enable or disable

enhanced features, including software flow control.  This register is
also used to unlock access to programming the extended register
functionality of IER bits 4-7, ISR bits 4-5, FCR bits 4-5, and MCR
bits 5-7.

Enhanced Feature Register

EFR Bit

FUNCTION

PROGRAMMING

3-0

Software
Flow Control

00XX = No Transmit Flow Control
10XX = Transmit Xon1/Xoff1
01XX = Transmit Xon2/Xoff2
11XX = Transmit Xon1 and Xon2,

Xoff1 and Xoff2

XX00 = No receive Flow Control
XX10 = Receiver Compares

Xon1/Xoff1

XX01 = Receiver Compares

Xon2/Xoff2

1011 = Transmit Xon1/Xoff1, Receiver

compares Xon1 and Xon2,
Xoff1 and Xoff2.

0111 = Transmit Xon2/Xoff2. Receiver

compares Xon1 and Xon2,
Xoff1 and Xoff2.

1111 = Transmit Xon1 and Xon2, Xoff1

and Xoff2; Receiver compares
Xon1 and Xon2, Xoff1 and
Xoff2.

0011 = No transmit flow control.

Receiver compares Xon1 and
Xon2, Xoff1 and Xoff2.

4

Enhanced
Function
Control

0 = Disable and latch the Enhanced

Functions: the IER bits 4-7, ISR
bits 4-5, FCR bits 4-5, MCR bits
5-7.  This feature prevents existing
software from altering or
overwriting the enhanced
functions.

1 = Enables the enhanced functions.

Allows the IER bits 4-7, ISR bits 4-
5, FCR bits 4-5, and MCR bits

       5-7 to be modified.

5

Special
Character
Detect
Control

0 = Disable special character detect.
1 = Enable special character detect.

Incoming receive characters are
compared with Xoff-2 data.  If a
match exists, the receive data will
be transferred to FIFO and ISR bit-
4 will be set to indicate detection of
special character.  Bit-0 of the
Xoff/Xon registers corresponds
with the LSB bit for the receive
character.  When this feature is
enabled, the normal software flow
control must be disabled (EFR bits
0-3 must be

       set to a logic “0”).

Содержание IP521-64 Series

Страница 1: ...ion Module USER S MANUAL ACROMAG INCORPORATED 30765 South Wixom Road P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 624 1541 Fax 248 624 9234 Copyright 1998 Acromag Inc Printed in the USA Data and spec...

Страница 2: ...L 5025 552 20 TRANSITION MODULE MODEL TRANS GP 20 DRAWINGS Page 4501 434 IP MECHANICAL ASSEMBLY 21 4501 713 IP521 BLOCK DIAGRAM 22 4501 714 RS422 RS485 INTERFACE DIAGRAM 23 4501 715 RESISTOR SOCKET LO...

Страница 3: ...hen the chip is not being used Extended Temperature Performance Option Model IP521 E units support operation from 40 C to 85 C INDUSTRIAL I O PACK INTERFACE FEATURES High density Single size industry...

Страница 4: ...e contents of the carton are damaged keep the carton and packing material for the agent s inspection For repairs to a product damaged in shipment refer to the Acromag Service Policy to obtain return i...

Страница 5: ...tions without isolation to avoid noise pickup and ground loops caused by multiple ground connections The signal ground connection at the communication ports are common to the IP interface ground which...

Страница 6: ...Register DLL Divisor Latch LSB DLM Divisor Latch MSB IER Interrupt Enable Register SCR Scratch Pad Interrupt Vector Register EFR Enhanced Feature Register XON 1 XON 1 Low Byte XON 2 XON 2 High Byte XO...

Страница 7: ...ize programmed in the Line Control Register LCR bits 0 1 If less than 8 bits are transmitted then data is right justified to the LSB If parity is used then LCR bit 3 parity enable and LCR bit 4 type o...

Страница 8: ...me as possible To better understand the asynchronous timing used by this device note that the receive data line RxD is monitored for a high to low transition start bit When the start bit is detected a...

Страница 9: ...Status Register 5 010000 Received Xoff signal special character 6 100000 CTS RTS change of state Note that ISR bit 0 can be used to indicate whether an interrupt is pending bit 0 low when interrupt i...

Страница 10: ...uffer Register RBR the Transmitter Holding Register THR or the Interrupt Enable Register IER A power up or system reset sets all LCR bits to 0 A detailed discussion of word length stop bits parity and...

Страница 11: ...he received character does not have a valid stop bit stop bit following last data bit or parity bit detected as a zero space bit This bit is reset low when the CPU reads the contents of the LSR In FIF...

Страница 12: ...IP module The EXAR UART maintains compatibility with the industry standard 16C554 654 and 68C554 654 UARTs and provides new features to enhance serial communication operation The new features provide...

Страница 13: ...21 ID Space does not contain any variable e g unique calibration information ID Space bytes are addressed using only the odd addresses in a 64 byte block on the Big Endian VMEbus Even addresses are us...

Страница 14: ...rial I O Pack Software Library diskette The functions provided are written in the C programming language and can be linked into your application Refer to the README TXT file in the root directory and...

Страница 15: ...cted serial channel Further modem status interrupt generation is controlled manually in loopback mode by controlling the state of CTS internally Interrupt Generation This model provides individual con...

Страница 16: ...0 baud i e 9600 14 7456MHz 16 96 3 Write 0BH to the Line Control Register LCR This first turns off the Divisor Latch Access bit to cause accesses to the Receiver and Transmit buffers and the Interrupt...

Страница 17: ...ciations EIA TIA 422B BINARY 0 SPACE OFF BINARY 1 MARK ON SIGNAL A to B to Positive Differential Voltage Negative Differential Voltage Start and stop bits are used to synchronize the DCE to the asynch...

Страница 18: ...nsmitter The line drivers convert the UART TTL levels to the EIA TIA 422B voltage levels The UART provides the necessary conversion from serial to parallel receive and parallel to serial transmit for...

Страница 19: ...lass A product In a domestic environment this product may cause radio interference in which the user may be required to take adequate measures UART EXAR XR16C654 RS422 RS485 PORTS Channel Configuratio...

Страница 20: ...0 3U 6U APC8610 or APC8620 non intelligent carrier boards field connectors only via a flat ribbon cable Model 5025 551 x The A D connectors on the carrier board connect the field I O signals to the P2...

Страница 21: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 21...

Страница 22: ...BIAS RESISTOR RB SIPS ARE MOUNTED IN SOCKETS AND MAY BE REMOVED IF REQUIRED P O R T A B R RxD RxD TxD TxD R T R T R B 5V R RxD RxD PORTS B to G TxD R B T R B R TxD T 5V P O R T H ADDRESS BUS DATA BUS...

Страница 23: ...TS ARE TRANSMITTING 2 ALL RS422 RS485 TRANSMITTING AND RECEIVING CHANNELS MAY HAVE TERMINATING RESISTORS RT AT BOTH ENDS OF THE NETWORK THE IP521 HAS THESE RESISTORS 120 OHM INSTALLED IN SOCKETS AND T...

Страница 24: ...VIDED AS SHOWN 1 P2 A R25 A R25 B R25 C R25 D R24 D R26 A SIP R23 A R23 B R23 C R23 D R24 A R24 B R24 C VALUE 120 OHM 120 OHM 120 OHM 120 OHM 120 OHM 120 OHM 120 OHM 120 OHM 120 OHM 120 OHM 120 OHM 12...

Страница 25: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 25...

Страница 26: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 26...

Страница 27: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 27...

Страница 28: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 28...

Отзывы: