background image

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

- 6 -

3.0   PROGRAMMING INFORMATION

ADDRESS MAPS

This board is addressable in the Industrial Pack I/O space to

control the interface configuration, data transfer, and steering logic
of eight EIA/TIA-422B serial ports.  As such, three types of
information are stored in the I/O space: control, status, and data.
These registers are listed below along with their mnemonics used
throughout this manual.

The I/O space may be as large as 64, 16-bit words (128 bytes)

using address lines A1..A6, but the IP521 uses 64 lower byte
locations of this space.  The I/O space address map for the IP521 is
shown in Table 3.1.  Note that the base address for the IP module
I/O space (see your carrier board instructions) must be added to the
addresses shown to properly access the I/O space.  All accesses
are performed on an 8-bit word basis (D0..D7).

This manual is presented using the “Big Endian” byte ordering

format.  Big Endian is the convention used in the Motorola 68000
microprocessor family and is the VMEbus convention.  In Big
Endian, the lower-order byte is stored at odd-byte addresses.  Thus,
byte accesses are done on odd address locations.  The Intel x86
family of microprocessors use the opposite convention, or “Little
Endian” byte ordering.  Little Endian uses even-byte addresses to
store the low-order byte.  As such, use of this module on a PC
carrier board will require the use of the even address locations to
access the 8-bit data, while a VMEbus carrier requires the use of
odd address locations.

SERIAL DATA REGISTERS (Per Serial Port):

RBR

Receiver Buffer Register

THR

Transmitter Holding Register

SERIAL STATUS REGISTERS (Per Serial Port):

LSR

Line Status Register

MSR

Modem Status Register

ISR

Interrupt Status Register

SERIAL CONTROL REGISTERS (Per Serial Port):

LCR

Line Control Register

FCR

FIFO Control Register

MCR

Modem Control 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

XOFF-1

XOFF-1 Low Byte

XOFF-2

XOFF-2 High Byte

Shaded registers are accessible only after writing “BF” to the line
Control Register (LCR).

Note that some functions share the same register address.  For

these items, the address lines are used along with the LCR (Line
Control Register) and/or the read and write signals to determine the
function required.  The DLL and DLM registers are only accessible
when LCR bit-7 is set to “1”.  The EFR, Xon 1,2, and Xoff 1,2
locations are accessible only when the LCR is set to “BF” hex.

The IP521 is an eight port RS422 module.  Memory map Table

3.1 lists the addresses and registers corresponding to Port A.
Detailed register maps for Ports B to H are not given.  Since all
registers corresponding to all Ports are listed in the same order, it is
possible to determine the address for Ports B to H by using Port A
and adding the offset given in the table below.  For example, Port E’s
LCR can be accessed at word address 40 + 06 or 46 hex which is
Port A LCR at 06 hex plus Port E Offset at 40 hex.

PORT

ADDRESS SPACE OFFSET

A

00

B

10

C

20

D

30

E

40

F

50

G

60

H

70

Table 3.1:  IP521 I/O Space Address (Hex) Memory Map

Base
Addr+

MSB

D15      D08

LSB

D07                 D00

LCR

Base
Addr+

Serial Port A Registers:

00

Not Driven

1

READ - RBR

Port A Receiver

Buffer Register

Bit7

0

01

00

Not Driven

1

WRITE - THR

Port A Transmitter

Holding Register

Bit7

0

01

00

Not Driven

1

R/W - DLL

Port A Divisor Latch

LSB

Bit7

1

01

02

Not Driven

1

R/W - IER

Port A Interrupt

Enable Register

Bit7

0

03

02

Not Driven

1

R/W - DLM

Port A Divisor Latch

MSB

Bit7

1

03

04

Not Driven

1

READ - ISR

Port A Interrupt

Status Reg

N/A

05

04

Not Driven

1

WRITE - FCR

Port A FIFO Control

Reg.

N/A

05

04

Not Driven

1

R/W - EFR

Port A Enhanced

Feature Register

BF

Hex

05

06

Not Driven

1

R/W - LCR

Port A Line Control

Register

N/A

07

08

Not Driven

1

R/W - MCR

Port A Modem

Control Reg

N/A

09

08

Not Driven

1

R/W - Xon-1

Low Byte

BF

Hex

09

0A

Not Driven

1

R/W - LSR

Port A Line Status

Register

N/A

0B

0A

Not Driven

1

R/W - Xon-2

High Byte

BF

Hex

0B

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: