Acromag IP511 Series User Manual Download Page 16

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

- 16 -

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 of operation are possible: FIFO Interrupt Mode

and FIFO Polled Mode.  In FIFO Interrupt Mode, data transfer is
initiated by reaching a pre-determined trigger-level or generating time-
out conditions.  In FIFO-Polled Mode, there is no time-out condition
indicated or trigger-level reached.  The transmit and receive FIFO’s
simply hold characters and the Line Status Register must be read to
determine the channel status.

Acromag provides an Industrial I/O Pack Software Library diskette

(Model IPSW-LIB-M03, MSDOS format) to simplify communication with
the board.  Example software functions are provided for both ISA bus
(PC/AT) and VMEbus applications.  All functions are written in the “C”
programming language and can be linked to your application.  For more
details, refer to the “README.TXT” file in the root directory on the
diskette and the “INFO511.TXT” file in the appropriate “IP511”
subdirectory off of “\VMEIP” or “\PCIP”, according to your carrier.

FIFO Polled-Mode

Resetting Interrupt Enable Register Bit 0, Bit 1, Bit 2, Bit 3, or all

four to 0, with FIFO Control Register (FCR) Bit 0 =1, puts the channel
into the polled-mode of operation.  The receiver and transmitter are
controlled separately and either one or both may be in the polled mode.
In FIFO-Polled Mode, there is no time-out condition indicated or trigger-
level reached, the transmit and the receive FIFO’s simply hold
characters and the Line Status Register must be read to determine the
channel status.

FIFO-Interrupt Mode

In FIFO Interrupt Mode, data transfer is initiated by reaching a pre-

determined trigger-level or generating a time-out condition.  Please note
the following with respect to this mode of operation.

When the receiver FIFO and receiver interrupts are enabled, the

following receiver status conditions apply:

1.   LSR Bit 0 is set to 1 when a character is transferred from the shift

register to the receiver FIFO.  It is reset to 0 when the FIFO is
empty.

2.   The receiver line-status interrupt (IIR=06) has a higher priority than

the received data-available interrupt (IIR=04).

3.   The receive data-available interrupt is issued to the CPU when the

programmed trigger level is reached by the FIFO.  It is cleared
when the FIFO drops below its programmed trigger level.  The
receive data-available interrupt indication (IIR=04) also occurs
when the FIFO reaches its trigger level, and is cleared when 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 interrupt occurs if:

 

A minimum of one character is in the FIFO.

 

The last received serial character occurred longer than four
continuous prior character times earlier (if 2 stop bits are
programmed, the second one is included in the time delay).

 

The last CPU read of the FIFO occurred more than four
continuous character times earlier.  At 300 baud, and with 12-
bit characters, the FIFO time-out interrupt causes a latency of
160ms maximum from received character to interrupt issued.

2.   From the clock signal input, the character times can be calculated.

The delay is proportional to the baud rate.

3.   The time-out timer is reset after the CPU reads the receiver FIFO or

after a new character is received when there has been no time-out
interrupt.

4.   A time-out interrupt is cleared and the timer is reset when the CPU

reads a character from the receiver FIFO.

When the transmit FIFO and transmit interrupts are enabled (FCR

Bit 0 = 1 and IER=01), a transmitter interrupt will occur as follows:

1.   When the transmitter FIFO is empty, the transmitter holding register

interrupt (IIR=02) occurs.  The interrupt is cleared when the
Transmitter Holding Register (THR) is written to or the Interrupt
Identification Register (IIR) is read.  One to sixteen characters can
be written to the transmit FIFO when servicing this interrupt.

2.   The transmit FIFO empty indications are delayed one character time

minus the last stop bit time when the following occurs:
Bit 5 of the LSR (THRE) is 1 and there is not a minimum of two
bytes at the same time in the transmit FIFO since the last time
THRE=1.  The first transmitter interrupt after changing FCR Bit 0 is
immediate, assuming it is enabled.

The receiver FIFO trigger level and character time-out interrupts

have the same priority as the received data-available interrupt.  The
Transmitter Holding-Register-Empty interrupt has the same priority as
the Transmitter FIFO-Empty interrupt.

Loopback Mode Operation

This device may be operated in a “loopback mode”, useful for

troubleshooting a serial channel without physically wiring to the channel.
Bit 4 of the Modem Control Register (MCR) is used to program the local
loopback feature for the UART channel.  When set high, the UART
channel’s serial output line (Transmit Data Path) is set to the marking
(logic 1 state), and the UART receiver serial data input lines are
disconnected from the transceiver RxD path.  The output of the UART
transmitter shift register is then looped back into the receiver shift
register input.  Thus, a write to the Transmitter Holding Register is
automatically looped back to the corresponding Receiver Buffer
Register.  Likewise, the four modem control outputs of the UART (DTR,
RTS, OUT1, and OUT2 of the MCR Register) are internally connected
to the corresponding four modem control inputs (monitored via the
Modem Status Register), while their associated pins are forced to their
high/ inactive state.  However, this model does not provide signal paths
for any of the handshake lines.

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: