Acromag IP511 Series Скачать руководство пользователя страница 9

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

- 9 -

Notes (Table 3.1):

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

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

2.   The IP will not respond to addresses that are "Not Used".
3.   All Reads and writes are 2 wait states (except ID PROM reads

which are 1 wait state).

4.   Shaded registers apply only to the enhanced functionality of Model

IP511-64 and can be ignored for Model IP511-16.  These registers
are accessed only after writing “BF” to the Line Control Register
(LCR).

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

device remains software compatible with the industry standard 16C450
family of UARTS 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-D (READ Only)

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

register that receives the input data from the receiver shift register and
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.

Note that the port transceiver’s receiver is always enabled for this

model.  Due to the isolation scheme employed, the first bit received
immediately after power-up may be initialized “high” and a data error
may be detected if the first bit was expected to be low.  However,
subsequent bits will be received correctly.

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

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.

Note that the port transceiver’s transmitter is always enabled for

this model.  Due to the isolation scheme employed, sometimes the first
bit transmitted after power-up may be initialized “high” and a data error
may occur if the first bit was intended to be low.  However, subsequent
bits will be transmitted correctly.

DLL & DLM - Divisor Latch Registers, Ports A-D (R/W)

The Divisor Latch Registers form the divisor used by the internal

baud-rate generator to divide the 8MHz system clock to produce an
internal sampling clock suitable for synchronization to the desired baud
rate.  The output of the baud generator (RCLK) is sixteen times the
baud rate.  Two 8-bit divisor latch registers per port are used to store
the divisors in 16-bit binary format.  The DLL register stores the low-
order byte of the divisor, DLM stores the high-order byte.  These
registers must be loaded during initialization.

Note that bit 7 of the LCR register must first be set high to access

the divisor latch registers (DLL & DLM) during a read/write operation.

Upon loading either latch, a 16-bit baud counter is immediately

loaded (this prevents long counts on initial load).  The clock may be
divided by any divisor from 1 to 2

(16-1)

.  The output frequency of the

baud rate generator (RCLK) is 16x the data rate.  The relationship
between the output of the baud generator (RCLK), the baud rate, the
divisor, and the 8MHz system clock can be summarized in the following
equations:

DIVISOR = CLOCK FREQUENCY 

÷

 [BAUD RATE x 16];

RCLK      = 16 x BAUD RATE;
                = 16 x [CLOCK 

÷

 (16 x DIVISOR)] = CLOCK 

÷

 DIVISOR

The following table shows the correct divisor to use for generation

of some standard baud rates (based on the 8MHz clock).  Note that
baud rates up to 512K may be configured.  Provisions for installation of
an external crystal has been provided on the circuit board (16MHz).
With a 16MHz crystal, a 1Mbps baud rate is possible--you may contact
Acromag Applications Engineering to explore options in this area.

Содержание IP511 Series

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 24: ......

Страница 25: ......

Страница 26: ......

Страница 27: ......

Страница 28: ......

Страница 29: ......

Страница 30: ......

Страница 31: ......

Страница 32: ......

Страница 33: ......

Отзывы: