background image

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

- 13 -

EFR Bit

FUNCTION

PROGRAMMING

6

RTS

1

Hardware
Flow Control

0 = Disable Automatic RTS flow

control.

1= Enable Automatic RTS flow control.

The RTS pin can be automatically
controlled to indicate local buffer
overflows to remote buffers.
When automatic hardware flow
control is enabled, an interrupt will
be generated when the receive
FIFO is filled to the program trigger
level and RTS will go to a logic “1”
at the next trigger level.  RTS will
return to a logic “0” when data is
unloaded below the next lower
trigger level.  RTS functions
normally when hardware flow
control is disabled.  FCTR bits0-1
are used to set the RTS delay

       timer/trigger level.

7

CTS

2

Hardware
Flow Control

0 = Disable Automatic CTS flow

control.

1 = Enable Automatic CTS flow

control.

Notes :

1.   For this model RTS is used to enable its corresponding

transmitter for output of the TxD signal.  The RTS signals do
not have  transmitter output paths on this model.

2.   The CTS signals do not have a receiver input path on this

model.

A power-up or system reset sets all EFR bits to 0.

XON/XOFF-1,2 Registers, Ports A-H (R/W)

These registers hold the programmed XON and XOFF

characters for software flow control.  XON or XOFF characters may
be 1 or 2 bytes long.  The UART compares incoming data to these
values and restarts (XON) or suspends (XOFF) data transmission
when a match is detected.  Note that access to these registers is
granted only after writing “BF” to the Line Control Register (LCR).
All XON/XOFF bits are set to 0 upon power-up or system reset.

Identification Space (Read Only, 32 odd-byte addresses)

Each IP module contains identification (ID) information that

resides in the ID space per the IP module specification.  This area of
memory contains 32 bytes of information at most.  Both fixed and
variable information may be present within the ID space.  Fixed
information includes the "IPAC" identifier, model number, and
manufacturer's identification codes.  Variable information includes
unique information required for the module.  The IP521 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 used
on the “Little Endian” PC ISA or PCI buses.

The IP521 ID Space contents are shown in Table 3.3.  Note that

the base-address for the IP module ID space (see your carrier board
instructions) must be added to the addresses shown to properly
access the ID information.   Execution of an ID Space Read
operation requires 0 wait states.

Table 3.3: IP521 ID Space Identification (ID)

Hex Offset

From ID

Base

Address

ASCII

Character

Equivalent

Numeric

 Value

 (Hex)

Field Description

01

I

49

All IP's have 'IPAC'

03

P

50

05

A

41

07

C

43

09

A3

Acromag ID Code

0B

25

IP Model Code

1

0D

00

Not Used

(Revision)

0F

00

Reserved

11

00

Not Used (Driver

ID Low Byte)

13

00

Not Used (Driver

ID High Byte)

15

0C

Total Number of ID

PROM Bytes

17

11

CRC

19 to 3F

yy

Not Used

Notes (Table 3.3):

1.   The IP model number is represented by a two-digit code within

the ID space (the IP521 model is represented by 25 Hex).

THE EFFECT OF RESET

A software or hardware reset puts the serial channels into an

idle-mode until initialization (programming).  A reset initializes the
receiver and transmitter clock counters.  It also clears the Line-
Status Register (LSR), except for the transmitter shift-register empty
(TEMT) and transmit holding-register empty (THRE) bits which are
set to 1 (note that when interrupts are subsequently enabled, an
interrupt will occur due to THRE being set).  The Modem Control
Register (MCR) is also cleared.  All of the discrete signal lines,
memory elements, and miscellaneous logic associated with these
register bits are cleared, de-asserted, or turned off.  However, the
Line Control Register (LCR), divisor latches, Receiver Buffer
Register (RBR), and Transmitter Holding Register (THR) are not
affected.  The following table summarizes the effect of a reset on the
various registers and internal and external signals:

REG/SIGNAL

RESET CTRL

STATE/EFFECT

REGISTERS:

IER

Reset

All Bits low

ISR

Reset

Bit 0 high, Bits 1-7 low

LCR

Reset

All bits low

MCR

Reset

All bits low

FCR

Reset

All bits low

LSR

Reset

All bits low, except bits 5 & 6
are high

MSR

Reset

Bits 0-3 low, bit 4
corresponds to input signal

EFR

Reset

All bits low

XON-1,2

Reset

All bits low

XOFF-1,2

Reset

All bits low

TRG

Reset

All bits low

Summary of Contents for IP521-64 Series

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 21: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 21...

Page 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...

Page 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...

Page 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...

Page 25: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 25...

Page 26: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 26...

Page 27: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 27...

Page 28: ...SERIES IP521 INDUSTRIAL I O PACK EIA TIA 422B SERIAL COMMUNICATION MODULE ___________________________________________________________________________________________ 28...

Reviews: