background image

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

- 9 -

IER BIT

INTERRUPT ACTION

6

1

0 = Disable RTS Interrupt
1 = Enable RTS Interrupt.
This Interrupt is generated when the RTS pin
transitions from a logic 0 to a logic 1.  RTS is not
output by this module.  Instead RTS is used to enable
the transmitter of the port.  This interrupt should always
be disabled.

7

1

0 = Disable CTS Interrupt
1 = Enable CTS Interrupt.
This interrupt will be issued when the CTS pin
transitions from a logic 0 to a logic 1.  Since CTS is not
used on this module, this interrupt should always be
disabled.

Notes (Interrupt Enable Register):

1. 

Bits 4 to 7 are only programmable when the EFR bit 4 is
set to “1”.

A power-up or system reset sets all IER bits to 0 (bits 7-0 forced

low).

ISR - Interrupt Status Register, Ports A-H (READ Only)

The Interrupt Status Register is used to indicate that a

prioritized interrupt is pending and the type of interrupt that is
pending.  Six levels of prioritized interrupts are provided to minimize
software interaction.  Performing a read cycle on the ISR will provide
the user with the highest pending interrupt level to be serviced.  No
other interrupts are acknowledged until the pending interrupt is
serviced.  Whenever the interrupt status register is read, the
interrupt status is cleared.  Note, only the current pending interrupt is
cleared by the read.  A lower level interrupt may be seen after re-
reading the interrupt status bits.

The eight individual ports share the IP module INTREQ0*

signal.  Each port has an opportunity to issue an interrupt in a round
robin fashion.  That is, interrupt vectors are served according to a
shifting priority scheme that is a function of the last interrupting port
served.

The following interrupt source table shows the data values (bit 0-

5) for the six prioritized interrupt levels and the interrupt sources
associated with each of these interrupt levels.

PRIORITY
LEVEL

ISR BITS
Bit5 to Bit0

Source of the Interrupt

1

000110

Receiver Line Status (see LSR bits
1-4)

2

000100

Received Data Ready or Trigger
Level reached.

2

001100

Receive Data Time Out.

3

000010

Transmitter Holding Register
Empty

4

000000

MSR (Modem 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 is pending).  ISR bits 1 & 2 are
used to indicate the highest priority interrupt pending.  ISR bit 3 is
always logic 0 in the 16C450 mode.  ISR bit 3 is set along with bit 2
when in the FIFO mode and a timeout interrupt is pending.  Bit 4 set

indicates a Xoff/special character detected interrupt pending.  Bit 5
indicates a pending interrupt due to a change of state on the CTS or
RTS signals.

Bits 6 and 7 are set when bit 0 of the FIFO Control Register is

set to 1.  A power-up or system reset sets ISR bit 0 to logic “1”, and
bits 1 to 7 to logic “0”.

FCR - FIFO Control Register, Ports A-H (WRITE Only)

This write-only register is used to enable and clear the FIFO

buffers, set the transmit/receive FIFO trigger levels, and select the
type of DMA signaling (DMA is NOT supported by this model).

FIFO Control Register

FCR BIT

FUNCTION

0

When set to “1”, this bit enables both the Tx and Rx
FIFO’s.  All bytes in both FIFO’s can be cleared by
resetting this bit to 0.  Data is cleared automatically
from the FIFO’s when changing from FIFO mode to
the alternate (16C450) mode and visa-versa.  This bit
must be a “1” when other FCR bits are written to or
they will not be programmed.

1

When set to “1”, this bit clears all bytes in the Rx-
FIFO and the resets counter logic to 0 (this does not
clear the shift register).

2

When set to “1”, this bit clears all bytes in the Tx-
FIFO and resets the counter logic to 0 (this does not
clear the shift register).

3

When set to “1”, this bit sets DMA Signal from Mode
0 to Mode 1, if FIFO Control Register Bit 0 = 1 (DMA
Not Supported)

5,4

1

These bits are used to set the trigger level for the
transmit FIFO interrupt.  An interrupt will be issued
when the number of characters in the FIFO drops
below the selected trigger level.  One of four trigger
levels can be selected.
bit 5  bit 4  Trigger Level
   0      0            08
   0      1            16
   1      0            32
   1      1            56

7,6

These bits are used to set the trigger level for the
receiver FIFO interrupt.  An interrupt is generated
when the number of characters in the FIFO equals
the programmed trigger level.  One of four trigger
levels can be selected.
bit 7  bit 6  Trigger Level
   0      0            08
   0      1            16
   1      0            56
   1      1            60

Notes (FIFO Control Register):

1. 

Bits 4 and 5 are only programmable when the EFR bit 4 is
set to “1”.

A power-up or system reset sets all FCR bits to 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...

Отзывы: