background image

SERIES IOS-521 I/O SERVER MODULE                            EIA/TIA-422B SERIAL COMMUNICATION MODULE 
__________________________________________________________________________________________

 

- 12 - 

EFR Bit 

FUNCTION 

PROGRAMMING 

RTS

1

 

Hardware 
Flow 
Control 

0 = Disable Automatic RTS flow 

control. 

1= Enable Automatic RTS flow 

control.  The RTS pin can be 
automatically controlled to 
indicate local buffer overflows to 
remote buffers.  When automatic 
hardware flow control is enabled, 
an interrupt will be generated 
when the receive FIFO is filled to 
the program trigger level and 
RTS will go to a logic “1” at the 
next trigger level.  RTS will return 
to a logic “0” when data is 
unloaded below the next lower 
trigger level.  RTS functions 
normally when hardware flow 
control is disabled.  FCTR bits0-1 
are used to set the RTS delay  

       timer/trigger level.  

CTS

2

 

Hardware 
Flow 
Control 

0 = Disable Automatic CTS flow 

control. 

1 = Enable Automatic CTS flow 

control.   

 

Notes :

 

1.   For this model RTS is used to enable its corresponding 

transmitter for output of the TxD signal.  The RTS signals do 
not have  transmitter output paths on this model. 

2.   The CTS signals do not have a receiver input path on this 

model. 

 

A power-up or system reset sets all EFR bits to 0. 
 

XON/XOFF-1,2 Registers, Ports A-H (R/W)

 

 

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 is 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.  

 

Identification Space (Read Only, 32 even-byte addresses)

 

 

Each IOS module contains identification (ID) information that 

resides in the ID space per the IOS module specification.  This 
area of memory contains 32 bytes of information at most.  Both 
fixed and variable information may be present within the ID 
space.  Fixed information includes the "IOS" identifier, model 
number, and manufacturer's identification codes.  Variable 
information includes unique information required for the module.  
The IOS-521 ID Space does not contain any variable (e.g. unique 
calibration) information.  ID Space bytes are addressed using 
only the even addresses in a 64 byte block on the “Little Endian” 
PCI buses. 

 
The IOS-521 ID Space contents are shown in Table 3.3.  

Note that the base-address for the IOS module ID space (see 
your carrier board instructions) must be added to the addresses 
shown to properly access the ID information.   Execution of an ID 
Space Read operation requires 0 wait states. 
 

 

Table 3.3: IOS-521 ID Space Identification (ID)  
 

Hex Offset 

From ID 

Base 

Address 

 

Numeric 

 Value 

 (Hex) 

 
 
 

Field Description 

00 

49 

 

02 

50 

 

04 

41 

 

06 

43 

 

08 

A3 

Acromag ID Code 

0A 

25 

IOS Model Code

1

  

0C 

00 

Not Used 

(Revision) 

0E 

00 

Reserved 

10 

00 

Not Used  

12 

00 

Not Used  

14 

0C 

Total Number of 

ID PROM Bytes 

16 

11 

CRC 

18 to 3E 

yy 

Not Used 

 
Notes (Table 3.3):

 

1.   The IOS model number is represented by a two-digit code 

within the ID space (the IOS-521 model is represented by 25 
Hex). 

 

THE EFFECT OF RESET 
 

A software or hardware reset puts the serial channels into an 

idle-mode until initialization (programming).  A reset initializes the 
receiver and transmitter clock counters.  It also clears the Line-
Status Register (LSR), except for the transmitter shift-register 
empty (TEMT) and transmit holding-register empty (THRE) bits 
which are set to 1 (note that when interrupts are subsequently 
enabled, an interrupt will occur due to THRE being set).  The 
Modem Control Register (MCR) is also cleared.  All of the 
discrete signal lines, memory elements, and miscellaneous logic 
associated with these register bits are cleared, de-asserted, or 
turned off.  However, the Line Control Register (LCR), divisor 
latches, Receiver Buffer Register (RBR), and Transmitter Holding 
Register (THR) are not affected.  The following table summarizes 
the effect of a reset on the various registers and internal and 
external signals: 

 

REG/SIGNAL 

RESET CTRL 

STATE/EFFECT 

REGISTERS: 

IER 

Reset 

All Bits low  

ISR 

Reset 

Bit 0 high, Bits 1-7 low 

LCR 

Reset 

All bits low 

MCR 

Reset 

All bits low  

FCR 

Reset 

All bits low 

LSR 

Reset 

All bits low, except bits 5 & 6 
are high 

MSR 

Reset 

Bits 0-3 low, bit 4 
corresponds to input signal 

EFR 

Reset 

All bits low 

XON-1,2 

Reset 

All bits low 

XOFF-1,2 

Reset 

All bits low 

TRG 

Reset  

All bits low 

 
 
 
 
 

Содержание IOS-521 Series

Страница 1: ...G INCORPORATED Tel 248 295 0310 30765 South Wixom Road Fax 248 624 9234 P O BOX 437 Wixom MI 48393 7037 U S A solutions acromag com Copyright 2009 2011 Acromag Inc Printed in the USA Data and specific...

Страница 2: ...pecially 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 Acromag that this i...

Страница 3: ...ver Modules installed on Acromag Industrial I O Server systems This software Model IOSSW DEV WIN consists of a low level driver and Windows 32 Dynamic Link Libraries DLLS that are compatible with a nu...

Страница 4: ...nd which is typically common to safety chassis ground when mounted on a carrier board and inserted in a backplane As such be careful not to attach signal ground to safety ground via any device connect...

Страница 5: ...1 R W Xoff 2 High Byte BF Hex 0E 11 1F Not Driven1 Port B Registers Organized as Port A3 10 1E 21 2F Not Driven1 Port C Registers Organized as Port A3 20 2E 31 3F Not Driven1 Port D Registers Organize...

Страница 6: ...lag in the LSR register will be set to a logic 1 when at least one FIFO location is available DLL DLM Divisor Latch Registers Ports A H R W The Divisor Latch Registers form the divisor used by the int...

Страница 7: ...ansitions from a logic 0 to a logic 1 RTS is not output by this module Instead RTS is used to enable the transmitter of the port This interrupt should always be disabled 71 0 Disable CTS Interrupt 1 E...

Страница 8: ...register control the format of the data character as follows Line Control Register LCR Bit FUNCTION PROGRAMMING 1 0 Word Length Sel 0 0 5 Data Bits 0 1 6 Data Bits 1 0 7 Data Bits 1 1 8 Data Bits 2 S...

Страница 9: ...ne The crystal frequency is unchanged 1 Divide by four After the crystal frequency is divided by 16 it is further divided by 4 see Table 3 2 Notes Modem Control Register 1 MCR Bit 4 provides a local l...

Страница 10: ...f the FIFO Line Status Register continued LSR Bit FUNCTION PROGRAMMING 4 Break Interrupt BI 0 No Break 1 Break the received data input has been held in the space logic 0 state for more then a full wor...

Страница 11: ...1 IOS 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 provi...

Страница 12: ...nformation includes unique information required for the module The IOS 521 ID Space does not contain any variable e g unique calibration information ID Space bytes are addressed using only the even ad...

Страница 13: ...ive FIFO s simply hold characters and the Line Status Register must be read to determine the channel status FIFO Polled Mode Resetting all Interrupt Enable Register IER bits to 0 with FIFO Control Reg...

Страница 14: ...H then port A in a last serviced last out fashion Priority continues to shift in the same fashion if Port B or Port C was the last interrupt serviced This is useful in preventing continuous interrupt...

Страница 15: ...s the first step to enable the receiver line status interrupt Note bit 3 of the MCR must also be set to logic 1 to enable interrupts The line status interrupt is used to signal error cases such as par...

Страница 16: ...gic 1 by a negative voltage The line receivers convert these signals to the conventional TTL level associations EIA TIA 422B BINARY 0 SPACE OFF BINARY 1 MARK ON SIGNAL A to B to Positive Differential...

Страница 17: ...serted An Asterisk is used to indicate an active low signal IOS 521 OPERATION Connection to each serial port is provided through connector P2 refer to Table 2 1 These pins are tied to the inputs and o...

Страница 18: ...ake adequate measures UART EXAR XR16C654 RS422 RS485 PORTS Channel Configuration Eight independent non isolated EIA TIA 422B serial ports with a common signal return connection Data Rate 921 6K bits s...

Страница 19: ...COMMON GND IOS 521 BLOCK DIAGRAM T T T B R R R R I O RS 422B INTERFACE RxD RS 422 485 DRIVERS RECEIVERS RxD TxD PORT I O CONTROL BUS ADDRESS BUS 5V CONTROL LOGIC SUPPLY FILTERING NOTE TERMINATION RES...

Страница 20: ...TE OF THE TxD RxD DATA PAIRS ARE HIGH ON TxD RxD THIS CORRESPONDS TO A MARK 1 ON THE DATA LINE NOTES CONCERNING RESISTOR PLACEMENT AND REMOVAL FOR RT AND RB 4 THE TxD LINE SOURCED FROMA PORT CAN BE PE...

Страница 21: ...PORT C RxD H TERMINATION TxD C TERMINATION RxD C TERMINATION 120 OHM 120 OHM 120 OHM PORT E TxD E TERMINATION PORT H PORT E RxD E TERMINATION TxD H TERMINATION 120 OHM 120 OHM 120 OHM PORT B RxD B TER...

Отзывы: