background image

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

 

- 7 - 

following the start bit.  As such, if the data on RxD is a 
symmetrical square wave, the center of each successive data cell 
will occur within  3.125% of the actual center (this is 50%   16, 
providing an error margin of 46.875%).  Thus, the start bit can 
begin as much as one 16x clock cycle prior to being detected. 
 

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

 

The Interrupt Enable Register is used to independently 

enable/ disable the serial port interrupt sources.  Each of the 
eight ports have seven unique interrupt sources which are all 
mapped to INTREQ0* of the IOS module. 

 
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 7-5 and 3-0 low) also inhibits the 
Interrupt Status Register (ISR) and the interrupt request line 
(INTREQ0*).  

In addition to enabling the desired bits in the 

IER, bit-3 of the Modem Control Register (MCR) must be set 
to a logic “1” to enable interrupts.

 

 

Interrupt Enable Register 

IER BIT 

INTERRUPT ACTION 

0 = Disable Interrupt              1 = Enable Interrupt 

 

This interrupt will be issued when the FIFO has 
reached the programmed trigger level or is cleared 
when the FIFO drops below the trigger level in the 
FIFO mode of operation.  Note that the receive FIFO 
must also be enabled via bit-0 of the FCR for a 
receive interrupt to be issued. 

0 = Disable Interrupt                1 = Enable Interrupt  
This interrupt will be issued whenever the THR is 
empty and is associated with bit-1 in the LSR. 

0 = Disable Interrupt                1 = Enable Interrupt  
This interrupt will be issued whenever a fully 
assembled receive character is available. 

0 = Disable Interrupt                 1 = Enable Interrupt 
Modem Status Interrupt.  Since the modem input 
signals are not used on this module, this interrupt 
should always be disabled. 

4

1

 

0 = Disable Sleep Mode      1 = Enable Sleep Mode 
The clock/oscillator circuit is disabled in sleep mode. 
The UART will not lose the programmed bits when 
sleep mode is activated or deactivated.  The UART 
will not enter sleep mode if any interrupts are 
pending. 

5

1

 

0 = Disable the Receive Xoff Interrupt 
1 = Enable the Receive Xoff Interrupt 
When software flow control in enabled, and one or 
two sequential receive data characters match the 
preprogrammed Xoff 1-2 values an interrupt will be 
issued.  

6

1

 

0 = Disable RTS Interrupt 
1 = Enable RTS Interrupt.   
This Interrupt is generated when the RTS pin 
transitions 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. 

7

1

 

0 = Disable CTS Interrupt 
1 = Enable CTS Interrupt. 
This interrupt will be issued when the CTS pin 
transitions from a logic 0 to a logic 1.  Since CTS is 
not used on this module, this interrupt should always 

IER BIT 

INTERRUPT ACTION 

be disabled. 

 
Notes (Interrupt Enable Register): 

1. 

Bits 4 to 7 are only programmable when the EFR bit 4 is 
set to “1”. 

 

A power-up or system reset sets all IER bits to 0 (bits 7-0 

forced low). 

 
ISR - Interrupt Status Register, Ports A-H (READ Only) 

 

The Interrupt Status Register is used to indicate that a 

prioritized interrupt is pending and the type of interrupt that is 
pending.  Six levels of prioritized interrupts are provided to 
minimize software interaction.  Performing a read cycle on the 
ISR will provide the user with the highest pending interrupt level 
to be serviced.  No other interrupts are acknowledged until the 
pending interrupt is serviced.  Whenever the interrupt status 
register is read, the interrupt status is cleared.  Note, only the 
current pending interrupt is cleared by the read.  A lower level 
interrupt may be seen after re-reading the interrupt status bits.  

 
The eight individual ports share the IOS module INTREQ0* 

signal.  Each port has an opportunity to issue an interrupt in a 
round robin fashion.  That is, interrupt vectors are served 
according to a shifting priority scheme that is a function of the last 
interrupting port served. 

 
The following interrupt source table shows the data values 

(bit 0-5) for the six prioritized interrupt levels and the interrupt 
sources associated with each of these interrupt levels. 
 

PRIORITY 
LEVEL 

ISR BITS 
Bit5 to Bit0 

Source of the Interrupt 

000110 

Receiver Line Status (see LSR 
bits 1-4) 

000100 

Received Data Ready or Trigger 
Level reached. 

001100 

Receive Data Time Out.  

000010 

Transmitter Holding Register 
Empty 

000000 

MSR (Modem Status Register) 

010000 

Received Xoff signal special 
character 

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 is pending).  ISR bits 
1 & 2 are used to indicate the highest priority interrupt pending.  
ISR bit 3 is always logic 0 in the 16C450 mode.  ISR bit 3 is set 
along with bit 2 when in the FIFO mode and a timeout interrupt is 
pending.  Bit 4 set indicates a Xoff/special character detected 
interrupt pending.  Bit 5 indicates a pending interrupt due to a 
change of state on the CTS or RTS signals. 

 
Bits 6 and 7 are set when bit 0 of the FIFO Control Register 

is set to 1.  A power-

up or system reset sets ISR bit 0 to logic “1”, 

and bits 1 to 7 to logic “0”. 

 
 
 
 
 
 

Summary of Contents for IOS-521 Series

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Reviews: