Acromag IP511 Series User Manual Download Page 11

SERIES IP511 INDUSTRIAL I/O PACK                ISOLATED QUAD EIA/TIA-422B COMMUNICATION MODULE
___________________________________________________________________________________________

- 11 -

XON/XOFF-1,2 Registers, Ports A-D (R/W)
(Model IP511-64 Only)

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 are 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.  Refer to “Software Flow
Control” later in this section for more information.

IER - Interrupt Enable Register, Ports A-D (R/W)

The Interrupt Enable Register is used to independently enable/

disable the four possible serial channel interrupt sources that drive the
INTREQ0* line (Ports A-D share this line).  Interrupts are disabled by
resetting the corresponding IER bit low (0), and enabled by setting the
IER bit high (1).  Disabling the interrupt system (IER bits 0-3 low) also
inhibits the Interrupt Identification Register (IIR) and the interrupt
request line (INTREQ0*).  All other functions operate in their normal
manner, including the setting of the Line Status Register (LSR) and the
Modem Status Register (MSR).

Interrupt Enable Register

IER BIT

INTERRUPT ACTION

0

Received Data Available Interrupt Enable and
Time-Out Interrupt (FIFO Mode) Enable

1

Transmitter Holding Register Empty Interrupt Enable

2

Receiver Line Status Interrupt Enable

3

Modem Status Interrupt Enable (No Function for IP511)

4-7

Not Used on IP511-16 models - Set to Logic 0

MODELS IP511-64 ONLY

4

0 = Disable Sleep Mode.
1 = Enable Sleep Mode - The UART will enter a “sleep”
power-down mode and the clock/oscillator circuit is
disabled.  Any change of state on Rx, RI, CTS, DSR,
and DCD will wake-up the UART (note that none of the
handshake lines are implemented on this model).  The
UART will not lose the programmed bits when sleep
mode is activated or deactivated.  The UART will not
enter sleep mode if any interrupt is pending.

5

0 = Disable the Received XOFF interrupt.
1 = Enable the Received XOFF interrupt.  The UART
issues an interrupt when XOFF characters are received
and correctly matched against the pre-programmed
XOFF-1,2 words.

6

NO FUNCTION FOR MODEL IP511
0 = Disable the RTS* interrupt
1 = Enable the generation of an RTS* interrupt when
RTS* changes from a low to high state.  The IP511
does not implement the RTS* line and this bit should be
programmed to 0.

7

NO FUNCTION FOR MODEL IP511
0 = Disable the CTS interrupt
1 = Enable the generation of the CTS interrupt when
CTS changes from a low to high state.  The IP511 does
not implement the CTS* line and this bit should be
programmed to 0.

Shaded Entries apply to Model IP511-64 functionality only.

Note that bit 3 will have no effect for the IP511 since no signal

paths are provided for any of the handshake lines (modem status lines).
A power-up or system reset sets all IER bits to 0.

Program access to the enhanced functionality provided via bits 4-7 of
this register is gained through setting EFR bit 4.  For IP511-64 models,
programmed values for bits 4-7 cannot be overwritten via existing
software if EFR bit 4 is clear (these values are latched when EFR bit 4
is cleared).

IIR - Interrupt Identification Register, Ports A-D (READ Only)

The Interrupt Identification Register (IIR) is used to indicate that a

prioritized interrupt is pending and the type of interrupt that is pending.
This register will indicate the highest-priority type of interrupt pending
for the channel.  Individual serial channels prioritize their interrupts into
four levels (IP511-16 models), or six levels (IP511-64 models) as
indicated below.  This helps minimize software overhead during data
character transfers.  Additionally, with respect to the four channels
sharing interrupt request line 0 (IntReq0), interrupts are served
according to a shifting priority scheme that is a function of the last
interrupting port served.

PRTY/LVL

INTERRUPT

1

Receiver Line Status

2

Received Data Ready or Character Time-out

3

Transmitter Holding Register Empty

4

Modem Status (No function for IP511)

5

Software Flow Control Interrupt

6

CTS/RTS Change-of-State (No function for IP511)

Shaded entries apply to IP511-64 models only.

Note that a priority level 4 or 6 interrupt will never occur for the

IP511 since no handshake signal paths (modem status lines) are
provided.  The four low order bits of this register are used to identify the
interrupt pending (all units) as shown below.  Bits 4 & 5 are used to
identify the additional interrupts possible for IP511-64 models.

Interrupt Identification Register

BITS
3-0

INT
PRTY

INTERRUPT
TYPE

INTERRUPT
SOURCE

RESET
CONTROL

0001

--

None

None

--

0110

1st

Receiver Line
Status

OE, PE, FE,
or BI (See
LSR Bits 1-4)

LSR Read

0100

2nd

Received
Data
Available

Receiver Data
Available or
Trigger Level
Reached

RBR Read
till FIFO
below
trigger level

1100

2nd

Character
Time-out
Indication

No characters
have been re-
moved from or
input to the Rx
FIFO during
last 4
character
times and
there is at
least 1
character in it
during this
time

RBR Read

0010

3rd

THRE (LSR
Bit 5)

THRE
(LSR Bit 5)

IIR Read (if
LSR bit 5 is
the interrupt
source) or a
THR Write

0000

4th

Modem
Status

CTS* asserted
(NOT USED)

MSR Read

Summary of Contents for IP511 Series

Page 1: ...tion 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 1996 Acromag Inc Printed in the USA Data and spe...

Page 2: ...ystem This is especially important where economic property loss or human life is involved It is important that the user employ satisfactory overall system design It is agreed between the Buyer and Acr...

Page 3: ...er Acromag IP modules are also available to serve your signal conditioning and interface needs Note Since all connections to field signals are made through the carrier board which passes them to the i...

Page 4: ...ive data paths This SIP can be easily removed or replaced if required see Drawing 4501 581 4501 582 Network Termination Bias Resistor Placement You need to consider your network application carefully...

Page 5: ...h To the communication network master this line pair is used as the transmit data path To the communication network slave this line pair comprises the receive data path Because a separate pair of line...

Page 6: ...ides excellent connection integrity and utilizes gold plating in the mating area Threaded metric M2 screws and spacers are supplied with the IP module to provide additional stability for harsh environ...

Page 7: ...Port A Line Control Register 07 08 Not Driven1 R W MCR Port A Modem Control Register 09 0A Not Driven1 R W LSR Port A Line Status Register 0B 0C Not Driven1 R W MSR Port A Modem Status Register 0D 0E...

Page 8: ...R W SCR Port C Scratch Pad Interrupt Vector Register 2F Shaded register entries apply to Model IP511 64 only and are accessible after writing BF to the Line Control Register LCR Table 3 1 IP511 I O Sp...

Page 9: ...g 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...

Page 10: ...extended register functionality of IER bits 4 7 IIR bits 4 5 FCR bits 4 5 and MCR bits 5 7 It is also used to program software flow control Note that bits 6 7 are used for hardware flow control but th...

Page 11: ...7 NO FUNCTION FOR MODEL IP511 0 Disable the CTS interrupt 1 Enable the generation of the CTS interrupt when CTS changes from a low to high state The IP511 does not implement the CTS line and this bit...

Page 12: ...FO TRIGGER LEVEL 00 01 Bytes 08 Bytes for IP511 64 Models 01 04 Bytes 16 Bytes for IP511 64 Models 10 08 Bytes 56 Bytes for IP511 64 Models 11 14 Bytes 60 Bytes for IP511 64 Models LCR Line Control Re...

Page 13: ...the selected serial channel In Loopback Mode interrupts are generated by controlling the state of the four lower order MCR bits internally instead of by the external hardware paths However no interru...

Page 14: ...errupt a priority 1 interrupt in the IIR register when any one of these conditions are detected This interrupt is enabled by setting IER bit 2 to 1 A power up or system reset sets all LSR bits to 0 ex...

Page 15: ...Low Interrupt Modem Status Changes Read MSR Reset Low OUT1 Reset High OUT2 Reset High After a power up the isolation buffer s output is initialized high As a result the very first bit transmitted or...

Page 16: ...the FIFO drops below its trigger level When the receiver FIFO and receiver interrupts are enabled the following receiver FIFO character time out status conditions apply 1 A FIFO character time out int...

Page 17: ...oo quickly to be processed or buffered thus preventing the loss of excess data The flow control characters are stored in the XON 1 2 and XOFF 1 2 registers Two XON XOFF registers are provided because...

Page 18: ...functionality of the circuitry used on the board is also included Refer to the Block Diagram Drawing 4501 583 Interface Diagram Drawing 4501 581 and Interface Level Diagram Drawing 4501 584 as you re...

Page 19: ...nsmit the byte Two other parity formats not supported by this module are mark parity and space parity Mark parity specifies that the parity bit will always be a logical 1 space parity requires the par...

Page 20: ...ed isolated only when isolated external port power is provided to the port Optionally the port may use P1 power by programming the power and common jumpers appropriately In this mode the port is consi...

Page 21: ...o RFI No data upsets occur for field strengths up to 10V per meter at 27MHz 151MHz 460MHz per SAMA PMC 33 1 test procedures Resistance to EMI Unit has been tested with no data upsets under the influen...

Page 22: ...performance with precision analog I O applications Application Used to connect a Model 5025 552 termination panel to the AVME9630 9660 non intelligent carrier board A D connectors both have 50 pin con...

Page 23: ...r Boards Application This panel converts the high density ribbon cable connectors coming from the APC8600 carrier board Acromag cable Model 5029 900 to screw terminals for direct wired interfaces This...

Page 24: ......

Page 25: ......

Page 26: ......

Page 27: ......

Page 28: ......

Page 29: ......

Page 30: ......

Page 31: ......

Page 32: ......

Page 33: ......

Reviews: