background image

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

- 7 -

Table 3.1 Continued:  IP521 I/O Memory Map

Base
Addr+

MSB

D15      D08

LSB

D07                 D00

LCR

Base
Addr+

0C

Not Driven

1

R/W - MSR

Port A Modem

Status Reg.

N/A

0D

0C

Not Driven

1

R/W - Xoff-1

Low Byte

BF

Hex

0D

0E

Not Driven

1

R/W - SCR

Port A Scratch Pad,

Interrupt Vector,

FIFO Count

N/A

0F

0E

Not Driven

1

R/W - Xoff-2

High Byte

BF

Hex

0F

10

↓↓↓↓

1E

Not Driven

1

Port B Registers

Organized as Port A

3

11

↓↓↓↓

1F

20

↓↓↓↓

2E

Not Driven

1

Port C Registers

Organized as Port A

3

21

↓↓↓↓

2F

30

↓↓↓↓

3E

Not Driven

1

Port D Registers

Organized as Port A

3

31

↓↓↓↓

3F

40

↓↓↓↓

4E

Not Driven

1

Port E Registers

Organized as Port A

3

41

↓↓↓↓

4F

50

↓↓↓↓

5E

Not Driven

1

Port F Registers

Organized as Port A

3

51

↓↓↓↓

5F

60

↓↓↓↓

6E

Not Driven

1

Port G Registers

Organized as Port A

3

61

↓↓↓↓

6F

70

↓↓↓↓

7E

Not Driven

1

Port H Registers

Organized as Port A

3

71

↓↓↓↓

7F

Notes (Table 3.1):

1.   The upper 8 bits of these registers are not driven.  Pullups on

the carrier data bus will cause these bits to read high (1’s).

2.   All Reads/Writes to IO space are 1 wait state, Interrupt select

cycle is 2 wait states, and ID space reads are 0 wait states.

3.   To save user manual space the registers corresponding to

ports B to H have not been individually shown.  The registers of
ports B to H are in the address space shown above.  To
access a register in port H, for example, the offset of 70 hex is
added to the address of the corresponding register given in
table 3.1.  All ports require a 16 byte memory block.

This board operates in two different modes.  In one mode, this

device remains software compatible with the industry standard
16C450 family of UART’s and provides double-buffering of data
registers.  In the FIFO Mode (enabled via bit 0 of the FCR register),
data registers are FIFO-buffered so that read and write operations
can be performed while the UART is performing serial-to-parallel
and parallel-to-serial conversions.  Two FIFO modes are possible:
FIFO Interrupt Mode and FIFO Polled Mode.  Some registers
operate differently between the available modes and this is noted in
the following paragraphs.

RBR - Receiver Buffer Register, Ports A-H (READ Only)

The Receiver Buffer Register (RBR) is a serial port input data

register that receives the input data from the receiver shift register.
Note that the RBR will only receive data if the transceiver is first
enabled to receive data.  

The transceiver is enabled to receive

data by setting bit-0 of the MCR (Modem Control Register) to a
logic “1”.

The RBR holds from 5 to 8 bits of data, as specified by the

character size 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 of parity) are required.  Status for the receiver is provided via
the Line-Status Register (LSR).  When a full character is received
(including parity and stop bits), the data-received indication bit (bit 0)
of the LSR is set to 1.  The host CPU then reads the Receiver
Buffer Register, which resets LSR bit 0 low.  If the character is not
read prior to a new character transfer between the receiver shift
register and the receiver buffer register, the overrun-error status
indication is set in LSR bit 1.  If there is a parity error, the error is
indicated in LSR bit 2.  If a stop bit is not detected, a framing error
indication is set in bit 3 of the LSR.

Serial asynchronous data is input to the receiver shift register via

the receive data line (RxD).  From the idle state, this line is
monitored for a high-to-low transition (start bit).  When the start bit is
detected, a counter is reset and counts the 16x clock to 7-1/2 (which
is the center of the start bit).  The start bit is judged valid if RxD is
still low at this point.  This is known as false start-bit detection.  By
verifying the start bit in this manner, it helps to prevent the receiver
from assembling an invalid data character due to a low-going noise
spike on RxD.  If the data on RxD is a symmetrical square wave, the
center of the data cells will occur within 

±

3.125% of the actual center

(providing an error margin of 46.875%).  Thus, the start bit can
begin as much as one 16x clock cycle prior to being detected.

THR - Transmitter Holding Register, Ports A-H (WRITE Only)

The Transmitter Holding Register (THR) is a serial output data

register that shifts the data to the transmit data line (TxD).  However,
the THR data will not pass to the TxD line unless the tranceiver is
first enabled.  

The transceiver must be enabled to transmit data

by setting bit-1 of the MCR (Modem Control Register) to a
logic “1”.

The Transmitter Holding Register (THR) is a serial port output

data register that holds from 5 to 8 bits of data, as specified by the
character size programmed in the Line Control Register.  If less than
8 bits are transmitted, then data is entered right-justified to the LSB.
This data is framed as required, then shifted to the transmit data line
(TxD).  In the idle state, TxD is held high.  In Loopback Mode, this
data is looped back into the Receiver Buffer Register.

The status of the THR is provided in the Line Status Register

(LSR).  Writing to the THR transfers the contents of the data bus
(D7-D0) to the THR, provided that at least one FIFO location is
available.  The THR empty flag in the LSR register will be set to a
logic 1 when at least one FIFO location is available.

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: