Ö· Ò ·Ö Ö· ·Ö Ò Ò Ò ÖÒ· Ö· ǽ º ºº Ó· ºº º º º ºÐº º ½ ÓÄ Ó½ Ó½ Ó/ Ð Ð Ð ½ Ð Ó½ PLUS 8 MC Multiport Serial Board Providing Asynchronous Communications For PS/2 with Micro Channel and Compatibles User's Guide manual part number: 650079-04 CONTENTS Cautions, Notices, & Warnings i Chapter 1 Introduction to the PLUS 8 MC General description of the PLUS 8 MC adapter 1 Physical description of the adapter 2 System requirements 3 Supplemental software 3 Chapter 2 Installation Handling precautions 4 How to install the adapter board 4 How to connect the External Panel 5 How to connect peripheral devices 6 Pin-outs for EIA-232 and EIA-422 ports 7 System configuration 8 Chapter 3 Hardware Introduction 11 POS registers 11 UART registers 14 Interrupt status register 23 Microcontroller 24 Line drivers and receivers 24 Appendices A. PLUS 8 MC specifications 25 B. Board-to-Panel (EIA-232) Cable Wiring 26 C. How to change base I/O addresses 27 D. PLUS 8 MC option diskette files 30 Warranty 31 Customer Assistance 32 All brand and product names are trademarks or registered trademarks of their respective companies. SPECIFICATIONS NOTICE Star Gate Technologies, Inc., does not assume any liability arising from either the application or the use of any product or circuit described in this User's Guide. We also reserve the right to make changes to any product to improve reliability, function or design. Therefore, specifications are subject to change without notice. This manual has been carefully checked, and its information is believed to be reliable. However, no responsibility is assumed for inaccuracies. This information does not give the purchaser any license under the patent rights of the manufacturer, or others. RFI WARNING NOTICE We recommend that all devices connected to this product have shielded cables with metal RFI/EMI connector hoods. FCC NOTICE This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense. The user is encouraged to try to correct the interference by one or more of the following measures: ù Reorient the receiving antenna. ù Move the computer further from the receiver. ù Plug the computer into an AC outlet on a different branch circuit from the receiver's. ù Reorient or shorten the peripheral equipment cables. If necessary, ask the dealer or an experienced radio/television technician for other suggestions. You may also find help in an FCC booklet called, "Interference Handbook-1990." To order this handbook, send a request for Stock Number 004-000-00482-5 to the Superintendent of Documents, U.S. Government Printing Office, Washington, D.C., 20402-9325. A fee must also be enclosed with your order. Call the U.S. Government Printing Office at (202)783-3238 to determine the amount of the fee. ii Chapter 1 Introduction General Description The Star Gate Technologies PLUS 8 MC is a multiport serial communications expansion adapter. It adds up to four or eight serial ports to an IBM PS/2 with Micro Channel or a compatible equivalent. Up to 32 serial ports_or as many as the driver for the operating system supports_can be added by installing from one to three additional PLUS 8 MC adapters in the same host. This new improved adapter (Part Number 500087) has been enhanced to optimize performance with the newer, higher-speed Micro Channel systems. An on-board microcontroller and dual universal asynchronous receiver/transmitters (DUARTs)_one DUART per pair of ports_handle the communications and flow control. The adapter board provides a choice of I/O base addresses and interrupt levels for application flexibility. Serial devices are connected to the PLUS 8 MC adapter via an EIA-232 or EIA-422 External Panel. This arrangement eliminates crosstalk between communication channels and reduces cable congestion behind the host system. Each of these External Panels is connected to the PLUS 8 MC board with a fully shielded 25-conductor cable. Each panel has eight 25-position D-shell connectors which permit up to eight serial devices to be connected to each PLUS 8 MC adapter. The ports on the EIA-232 External Panel comply with Electronic Industry Association (EIA) standard EIA-232D DTE configuration. These ports offer full modem flow control communications_a feature beneficial for connecting modems and for other applications where hardware flow control is needed. For a complete listing of PLUS 8 MC specifications, please refer to Appendix A. PLUS 8 MC Versions Four- and eight-port versions of the PLUS 8 MC adapter are available. The four-port board can be upgraded in the field to eight ports with the addition of a few parts from the upgrade kit. Caution: This manual, especially Chapter 3, should only be used with the new Part Number 500087 boards. This manual is only shipped with Part Number 500087 boards. Do not use it with older Part Number 500056 boards. (To check a board's Part Number, look for one of these two numbers silkscreened on the board followed by -01, -02 or -03.) Physical Description The PLUS 8 MC consists of four items in one package: 1. User's Guide This guide describes how to set up and install the hardware. It is designed to be kept with the guide to operations manual of the host PC. 2. PLUS 8 MC Adapter Board 3. Board-to-Panel Cable This is a fully shielded 25-pin straight-through cable. "Straight-through" means that Pin 1 on one side is connected to Pin 1 on the other side. 4. External Panel (EIA-232 or EIA-422 option) This panel serves as a junction box. It contains the eight serial ports for connection with up to eight serial devices, as well as the socket for connection with the board-to-panel cable. The wiring for the serial devices complies with Electronic Industry Association (EIA) recommended standard EIA-232 or EIA-422. System Requirements In order to achieve proper operation of the PLUS 8 MC adapter, the following minimum system requirements must be observed: ù The host system unit must be an IBM Personal System/2 Model 50, Model 60, Model 70, Model 80, or a compatible Micro Channel equivalent. ù One Micro Channel expansion slot must be available for each PLUS 8 MC adapter that will be used. ù At least one IRQ line must be available if interrupts are to be used. Supplemental Software A DOS driver, sold separately, is available to provide an interface between the DOS operating system and the PLUS 8 MC. This software permits the creation of new device names such as COM3 through COM8. Operation of the new devices is similar to the COM 1 and COM2 devices supported by DOS. This software also provides an interface between an application program and the PLUS 8 MC adapter like the one that the BIOS provides. Note: The DOS driver works with both the old and new PLUS 8 MCs. Device drivers that interface the PLUS 8 MC with other operating systems are also readily available. Most of these standard serial expansion drivers are written by the operating system software house. Please contact your operating system supplier for more information. Or create your own driver using the technical information supplied in Chapter 3. For more information, call us at 1-800-STAR GATE (1-800-782-7428). Chapter 2 Installation Handling Precautions The PLUS 8 MC adapter contains several components that may be permanently damaged if the adapter is handled improperly. To avoid accidental damage, follow these recommendations. ù Before handling the adapter, touch a grounded object to discharge any static electricity that has built up on your body. ù Never insert or remove the adapter board while power is applied to the system unit. Once the system unit power switch is shut off, wait at least ten seconds for the power supply to discharge before inserting or removing the adapter board. ù Never connect or disconnect the board-to-panel cable while power is applied to the system unit and the peripheral devices. ù Hold the board only by its edges. How to Install the Adapter Board The PLUS 8 MC adapter may be installed in any Micro Channel expansion slot in any PS/2 with Micro Channel bus architecture or compatible systems. Follow these steps: 1. Place the PS/2, monitor and all peripheral device POWER switches in the OFF position. 2. Unplug the PS/2, monitor and all peripheral device line cords from their outlets. 3. Get the Guide to Operations manual supplied with the computer. Follow the instructions for removing the PS/2 cover and installing an adapter board. 4. The PLUS 8 MC adapter board may be installed in any expansion slot. After you select a slot, loosen the retainer screw located at the bottom of the slot (usually at the rear of a PS/2 computer). 5. Remove the expansion slot's cover by sliding it up and out. 6. Holding the PLUS 8 MC board, align the board edge connector with the expansion slot connector. Firmly press the board straight down into the expansion slot connector. Make sure that the adapter is pushed in all the way. 7. Tighten the retainer screw to secure the board. 8. After installing the board, follow the instructions in the Guide to Operations manual for replacing the PS/2 cover. Note: To remove the adapter board, follow these steps in reverse. How to Connect the External Panel Use the fully shielded board-to-panel cable to connect the External Panel to the board. Follow these steps: Note: The connectors for both the board and the External Panel have 25 pins. The board-to-panel cable connects corresponding pins on each of its ends, so both ends are the same. The wiring in the board-to-panel cable for EIA-232 is listed in Appendix B. 1. Make sure the host PC power is OFF before plugging (or unplugging) the board-to-panel cable. Caution: Never connect or disconnect either end of the board-to-panel cable while power is applied to the system or the peripheral devices connected to the External Panel. Otherwise, damage may occur to the PLUS 8 MC adapter board and/or the External Panel. 2. Plug either end of the board-to-panel cable into J1, the 25-pin connector on the External Panel. 3. Plug the other end of the board-to-panel cable into the 25-pin connector on the board. 4. After the board-to-panel cable is connected to both the External Panel and the board, reconnect all line cords to the system unit, monitor, peripheral devices and service outlets. How to Connect Peripheral Devices From one to eight peripheral devices may be connected to the External Panel. Star Gate recommends that the interface cable used for each peripheral device have shielded coverings and metalized RFI/EMI connector hoods. Noncompliance with these recommendations may result in increased RFI/EMI emissions. Each serial device is connected to a 25-position female connector wired for compliance with Electronic Industry Association (EIA) standard EIA-232 for Data Terminal Equipment (DTE), or for EIA-422. The following section shows the port pin-outs for EIA-232 and EIA-422 External Panels. Connect peripheral devices to the External Panel using this procedure: 1. Place the peripheral device POWER switch in the Off position. 2. Connect the peripheral device to any one of the ports available on the External Panel. EIA-232 External Panel_ Pin-Outs for Ports P1 through P8 Pin Signal Description 1 Shield Protective Ground 2 TxD Transmitted Data (output) 3 RxD Received Data (input) 4 RTS Request to Send (output) 5 CTS Clear to Send (input) 6 DSR DCE Ready (input) 7 GND Signal Ground 8 DCD Received Line Signal Detector (input) 20 DTR DTE Ready (output) 22 RI Ring Indicator (input) Notes for EIA-232 Ports: ù No connections are made to pins not listed. ù These ports comply with EIA-232D for Data Terminal Equipment (DTE). ù If a particular peripheral device does not require the modem handshake signals, we recommend that you only connect pins 2, 3, and 7. ù When a high quality shielded cable is used, the length of the serial cable can be up to 100 feet per EIA-232D. EIA-422 External Panel_ Pin-Out for Ports P1 through P8 If you ordered the EIA-422 External Panel option with your PLUS 8 MC, please use these pin-outs instead. Pins Signal Description 2 RxD- Receive Data Low 4 TxD+ Transmit Data High 5 GND Signal Ground 7 TxD- Transmit Data Low 9 RxD+ Receive Data High Note: No connections are made to pins not listed. System Configuration After you install the PLUS 8 MC adapter, configure the host system to recognize and initialize the adapter. To configure, you will need the Reference Diskette that comes with the system unit and the PLUS 8 MC Option Diskette. 1. Start by checking your software driver documentation to find out: ù What base I/O address the driver requires. ù If you will need to enable interrupts and set IRQ level, or disable interrupts (for polling). ù If using more than one PLUS 8 MC board and interrupt-driven operation, check if the driver can use shared interrupts. 2. Examine the next table, which lists the Options software choices, including the defaults (in bold). Options software choices Interrupt IRQ3, IRQ4, IRQ5, IRQ7, Levels IRQ9, IRQ10, IRQ11, IRQ12,None Base I/O 400, 500, 600, 700, 800, Addresses (hex) 900, A00, B00 Default Port I/O Port 1 Port 2 Port 3 Port 4 Port 5 Port 6 Port 7 Port 8 Addresses (hex) 0400 0408 0410 0418 0420 0428 0430 0438 Note which default values you will use, or which alternative you can use. To use base I/O addresses not listed among the choices, see Appendix C_How to Change Base I/O Address Choices. Also, note how the port I/O addresses are derived from the base I/O addresses. 3. Insert the backup copy of the Reference Diskette into drive A and turn on the PS/2. If you do not have a backup copy, insert the original Reference Diskette, and continue (Step 5 will explain how to make a backup copy). 4. The display will announce that a self-test has found a new option adapter installed and ask you to run "automatic configuration." Ignore the suggestion and go to the Main Menu instead by typing: n Note: "Automatic configuration" will not work properly until you have added files from the PLUS 8 MC Option Diskette. 5. If you are using a backup copy of the PS/2 Reference Diskette, go to Step 6. If you are using the original PS/2 Reference Diskette, you should make a backup copy now. From the main menu, select: Backup the Reference Diskette Follow the onscreen instructions to create a backup copy. Leave the backup copy in the diskette drive when the backup is complete. 6. Update the backup copy by adding the files from the PLUS 8 MC Option Diskette. To do this, select from the Main Menu: copy an Option Diskette 7. Follow the on-screen instructions to copy files from the PLUS 8 MC Option Diskette onto the PS/2 Reference Diskette and return to the Main Menu. 8. At the Main Menu select: Set configuration 9a. If you are happy with the current defaults, select: Run automatic configuration Then skip to Step 12. 9b. If you want to select other values, select: Change configuration 10. Follow the on-screen instructions to scroll to the entry for Star Gate's PLUS 8 MC Adapter. It shows the default values which have been loaded. 11. Make your selections with the help of the on-screen instructions and press to save them. 12. Follow the on-screen instructions to leave the configuration menu and restart the computer. After you successfully complete this procedure, go to the installation manual for the software driver. Load and run the driver software. Chapter 3 Hardware Introduction This section gives a functional overview of the major hardware circuits on the PLUS 8 MC board and the accompanying External Panel. Caution: This manual, especially Chapter 3, should only be used with the new Part Number 500087 boards and should not be used with the old Part Number 500056 boards. (The part number is silkscreened on the board.) Note: A DUART is functionally identical to two UARTs. POS Register Description As described earlier, the hardware configuration of the PLUS 8 MC adapter must be set up before use. This setup is done through the Programmable Option Select (POS) Registers, which determine hardware configuration. The POS Registers allow the power-on self-test (POST) to identify and enable the adapter, and assign the base UART address and interrupt level. The POS Registers should be set only by the power-on self-test sequence. POS Registers 0 and 1 These are read-only registers containing the adapter identification bytes. The PLUS 8 MC adapter identification is the hex value 67F8. POS Register 0 contains the hex value F8; POS Register 1 contains the hex value 67. POS Register 2 This register is used to enable and disable the adapter. A list of Register 2 contents follows. POS Register 2 Bit Map Bit Function and Description 7-1 Reserved Always cleared to 0. 0 Adapter Enable Setting to 1 enables the adapter. Clearing to 0 disables the adapter. POS Register 3 This register relocates the PLUS 8 MC UART registers and Interrupt Status Register on any 128 byte location on the I/O map. POS Register 3 Bit Map Bit Function and Description 7-0 Address lines A14-A7 The UARTs and Interrupt Status Register are then located at the following offsets from the base address determined by POS Register 3: Device Offset UART 1 00H UART 2 08H UART 3 10H UART 4 18H UART 5 20H UART 6 28H UART 7 30H UART 8 38H ISR 40H POS Register 4 This register is not used. POS Register 5 This register selects the interrupt level of the adapter. Register contents are presented in the following list. POS Register 5 Bit Map Bit Function and Description 7-6 Reserved Always cleared to 0. 5 Sync ready Must be set to 1 4 Reserved Always cleared to 0 3 Interrupt Enable Setting to 1 disables the interrupt. Clearing to 0 enables the interrupt. 2-0 Interrupt Level Defines the adapter interrupt level. Bit 2 Bit 1 Bit 0 Definition 0 0 0 IRQ3 0 0 1 IRQ4 0 1 0 IRQ5 0 1 1 IRQ7 1 0 0 IRQ9 1 0 1 IRQ10 1 1 0 IRQ11 1 1 1 IRQ12 UART Registers Communication between the PLUS 8 MC adapter and each of the peripheral devices is accomplished with two or four dual universal asynchronous receiver transmitter (DUART) devices. Each is a 16C452 type device. Each 16C452 DUART is identical in function to two 16C450 UART devices. To provide a clear and simple explanation, this section assumes that your board has four DUARTS (8-channel operation) and describes their operation as eight 16C450 UART devices. The UARTs are addressed in an unbroken series on the I/O map. The I/O addresses are relocatable by POS Register 3. See the description of POS Register 3 on a previous page. The eight UARTs are accessed at the following offsets from the base address. Device *Address Device *Address UART 1 00H UART 5 20H UART 2 08H UART 6 28H UART 3 10H UART 7 30H UART 4 18H UART 8 38H *Addresses are given in hex. Each UART provides an independent, full duplex, serial communication channel. Operating mode, data format, transmission rate, and protocol for each channel are determined completely under program control. Also, each UART has several accessible registers. These registers and their offsets relative to the base UART address are identified and described in the following paragraphs. Offset UART Register 0 Receiver Buffer Register (Read Only) (DLAB=0) 0 Transmitter Holding Register (Write Only) (DLAB=0) 0 Divisor Latch Register (LC) (DLAB= 1) 1 Interrupt Enable Register (DLAB = 0) 1 Divisor Latch Register (MSB) (DLAB= 1) 2 Interrupt Identification Register 3 Line Control Register 4 Modem Control Register 5 Line Status Register 6 Modem Status Register Receiver Buffer Register This register contains the character received. Bit 0 is the first bit serially received. Transmitter Holding Register This register contains the character to be transmitted. Bit 0 is the first bit serially transmitted. Divisor Latch Registers These two registers contain the divisor for the programmable baud rate generator. The clock frequency (1.8432 MHz) is divided by an integer from 1 to 65,535. The frequency of the baud rate generator is 16 times the baud rate. These latches must be loaded during initialization to ensure proper operation. When either divisor latch is loaded, the 16-bit board counter is loaded immediately to prevent long counts during the initial loading. Baud Divisor (hex) Baud Divisor (hex) Rate MSB LC Rate MSB LC 50 09 0 2000 00 3A 75 06 00 2400 00 30 110 04 17 3600 00 20 134.5 83 59 4800 00 18 150 03 00 7200 00 10 300 01 80 9600 00 OC 600 00 CO 19200 00 06 1200 00 60 38400 00 03 1800 00 40 Interrupt Enable Register This register allows one or more of the four possible types of UART interrupts to activate the adapter interrupt output. Selected interrupts can be enabled by setting the appropriate bits of this register to logical 1. Interrupts can be totally disabled by clearing bits 3 through 0 to logical 0. Register contents are listed below. Interrupt Enable Register Bit Map Bit Function and Description 7-4 Reserved Always cleared to 0. 3 Modem Status Interrupt Setting to 1 enables the interrupt. Clearing to 0 disables the interrupt. 2 Receiver Line Status Interrupt Setting to 1 enables the interrupt. 1 Transmitter Holding Register Empty Interrupt Setting to 1 enables the interrupt Clearing to 0 disables the interrupt 0 Received Data Available Interrupt Setting to 1 enables the interrupt. Clearing to 0 disables the interrupt. Interrupt Identification Register Information about a pending prioritized interrupt is stored in this register. In order to minimize software overhead during transfers, the UART prioritizes interrupts into four levels; Receiver Line Status, priority 1; Received Data Available, priority 2; Transmitter Holding Register Empty, priority 3; and Modem Status, priority 4. When this register is accessed, the highest priority interrupt pending is frozen and no other interrupts are allowed until the interrupt is serviced. Register contents are presented in the next list. Interrupt Identification Register Bit Map Bit Function and Description 7-3 Reserved Always cleared to 0. 2-1 Interrupt Identification Defines the highest priority interrupt pending. Bit 2 Bit 1 Definition 1 1 Receiver Line Status 1 0 Received Data Available 0 1 Transmitter Holding Register Empty 0 0 Modem Status 0 Interrupt Pending Set to 1 when no interrupt pending. Cleared to 0 when interrupt pending. Line Control Register This register programs the serial interface characteristics of the UART. Register contents are presented in the following list. Line Control Register Bit Map Bit Function and Description 7 Divisor Latch Access Bit (DLAB) Setting to 1 enables access to the divisor latches. Clearing to 0 enables access to the Receiver Buffer Register, Transmitter Holding Register, and Interrupt Enable Register. 6 Set Break Setting to 1 forces the serial output to the spacing state where it remains regardless of other transmitter activity. Clearing to 0 disables the break. 5-3 Parity Select Defines the parity generated or checked. Bit 5 Bit 4 Bit 3 Definition X X 0 No Parity 0 0 1 Odd Parity 0 1 1 Even Parity 1 0 1 Stick Parity 1 1 1 1 Stick Parity 0 X = bits that are ignored. 2 Stop Bits Setting to 1 generates or checks 2 stop bits if the word length is 6, 7, or 8 bits, or 1.5 stop bits if the word length is 5 bits. Clearing to 0 generates or checks 1 stop bit. 1-0 Word Length Defines the number of bits in each transmitted or received character. Bit 1 Bit 0 Definition 0 0 5 bits per character 0 1 6 bits per character 1 0 7 bits per character 1 1 8 bits per character Modem Control Register This register controls the interface with the peripheral device. Register contents are presented in the following list. Modem Control Register Bit Map Bit Function and Description 7-5 Reserved Always cleared to 0. 4 Loopback Setting to 1 enables. Clearing to 0 disables. 3 OUT 2 Setting to 1 forces the OUT 2 output active. Clearing to 0 forces the OUT 2 output inactive. 2 OUT 1 Setting to 1 forces the OUT 1 output active. Clearing to 0 forces the OUT 1 output inactive. 1 Request To Send (RTS) Setting to 1 forces the RTS output active. Clearing to 0 forces the RTS output inactive. 0 Data Terminal Ready (DTR) Setting to 1 forces the DTR output active. Clearing to 0 forces the DTR output inactive. Loopback is a diagnostic feature for testing the UART. When this mode is selected, the following events occur: the transmitter Serial Output is set to the marking state; the receiver Serial Input is disconnected; the output of the Transmitter Shift Register is "looped back" into the Receiver Shift Register input; the modem control inputs (CTS, DSR, DCD, and RI) are disconnected; and the modem control outputs DTR, RTS, OUT 1 and OUT 2 are internally connected to the modem control inputs. Transmitted data is received immediately, thus allowing the system to verify the transmit and receive data paths of the UART. Receiver and transmitter interrupts are fully operational. Modem control interrupts are also operational; however, the sources are now the lower four bits of the Modem Control Register instead of the four modem control inputs. The interrupts are still controlled by the Interrupt Enable Register. The UART interrupt system is tested by writing into the lower six bits of the Line Status Register and the lower four bits of the Modem Status Register. Setting any of these bits to logical 1 generates the appropriate interrupt if it is enabled. Resetting these interrupts is the same as in normal UART operation. Line Status Register This register provides status information about the data transfer to the system. Register contents are presented in the following list. Line Status Register Bit Map Bit Function and Description 7 Reserved Always cleared to 0. 6 Transmitter Shift Register Empty Set to 1 when empty. Cleared to 0 when character present. 5 Transmitter Holding Register Empty Set to 1 when ready to accept a character. Cleared to 0 when loaded. 4 Break Interrupt Set to 1 when received data input is held in spacing state longer than a full word transmission time. 3 Framing Error Set to 1 when received character does not have a valid stop bit. 2 Parity Error Set to 1 when received character does not have the parity expected. 1 Overrun Error Set to 1 when a new character is transferred into the Receiver Buffer Register before the previous character could be read, thus destroying the previous character. 0 Data Ready Set to 1 when complete incoming character has been received and transferred into the Receiver Buffer Register. Cleared to 0 when Receiver Buffer Register is read. Notes: Bit 5 causes the UART to issue an interrupt when the Transmitter Holding Register Empty interrupt is enabled. Bits 4 through 1 produce a Receiver Line Status Interrupt when any of the corresponding conditions are detected. These bits are cleared to 0 when the Line Status Register is read. Bit 0 causes the UART to issue an interrupt when the Received Data Available Interrupt is enabled. Modem Status Register This register provides status information regarding the state of the control lines from the peripheral device. Bits 3 through 0 provide change information. These bits are set when a modem control input changes state, and cleared when the Modem Status Register is read. Register contents are presented in the following list. Modem Status Register Bit Map Bit Function and Description 7 Data Carrier Detect (DCD) Set to 1 when DCD input is active. Cleared to 0 when DCD input is inactive. 6 Ring Indicator (RI) Set to 1 when RI input is active. Cleared to 0 when RI input is inactive. 5 Data Set Ready (DSR) Set to 1 when DSR input is active. Cleared to 0 when DSR input is inactive. 4 Clear To Send (CTS) Set to 1 when CTS input is active. Cleared to 0 when CTS input is inactive. 3 Delta Data Carrier Detect Set to 1 when DCD input has changed state since it was last read. 2 Trailing Edge Ring Indicator Set to 1 when RI input has changed state from active to inactive since it was last read. 1 Delta Data Set Ready Set to 1 when DSR input has changed state since it was last read. 0 Delta Clear To Send Set to 1 when CTS input has changed state since it was last read. Note: When bits 3 through 0 are set to 1, a Modem Status Interrupt is generated. These bits are cleared to 0 when the Modem Status Register is read. Interrupt Status Register The Interrupt Status Register (ISR) is used to tell the application program which UARTs have generated interrupts. The I/O address of this register is relocatable by POS Register 3. The ISR is located at an offset of 40H from the base address determined by POS register 3. When an interrupt is generated by a UART, the corresponding bit in ISR is set. Register contents are presented in the following list. Bit Device Bit Device 0 UART 1 4 UART 5 1 UART 2 5 UART 6 2 UART 3 6 UART 7 3 UART 4 7 UART 8 Microcontroller The microcontroller on the PLUS 8 MC adapter is an 8051 single component microcomputer having a mask-programmed, read only memory (ROM). There is another 8051 microcontroller on the EIA-232 External Panel. Both microcontrollers monitor and multiplex the modem handshake lines for EIA-232 ports. The multiplexed handshake lines are passed between the microcontrollers via a high-speed differential communications link. The delay caused by this technique is about 450 microseconds, which is less than half the time required to receive a character transmitted at 19.2K baud. Shoud the ld of the flow control lines change state, the change will be reported within a time frame which allows transmission from the peripheral device to be temporarily suspended. Conversely, transmission to a peripheral device will be temporarily suspended if the peripheral device, by means of flow control signals, indicates that it cannot maintain the bandwidth requirement. In either case, characters will not be lost. The RTS and DTR signals from the UARTs are monitored by the microcontroller on the PLUS 8 MC adapter, which formats and transmits their states to the microcontroller on the External panel. Next, the RTS and DTR signals are applied to the EIA-232 line drivers where they are translated to EIA-232 levels. Then, these signals are sent over the physical link to the peripheral device. The CTS, DSR, DCD and RI signals are received by the EIA-232 line receivers, translated to TTL levels, and sampled by the External Panel microcontroller. The sampled data is then formatted and transmitted to the microcontroller on the PLUS 8 MC adapter for presentation to the appropriate UART. Line Drivers and Receivers The translation between TTL and EIA-232 voltage levels is accomplished with EIA-232 driver and receiver devices. When a high quality shielded cable is used, the line drivers on the adapter and EIA-232 External Panel can drive ports at 38.4K baud. Appendix A PLUS 8 MC Specifications Number of Channels 8 maximum Interface Format Serial EIA-232 DTE configuration with control lines RTS, CTS, DTR, DSR,DCD and RI; also serial EIA-422. Communications 50 to 38,400 baud selectable under program control Software Program Parity: Even, odd, mark, space or none. Choices Character length: 5, 6, 7 or 8 bits. Stop bit length: 1, 1-1/2 or 2 bits. External Panel (8) 25-position D-shell female connectors for both EIA-232 and EIA-422. I/O Channel Address Relocatable via POS register. IRQ Level 8 levels via POS 5 register: 3, 4, 5, 7, 9, 10 11 or 12. Interrupts may also be disabled via POS 5. Power Requirements Main board (units are calculated statistical maximums): +5V at 908 mA, +12V at 38 mA, -12V at 46 mA. EIA-232 External panel (units are calculated statistical maximums): +5V at 276 mA, +12V at 2 mA, -12V at 1 mA. Operating Temperature 0oC to 55oC Storage Temperature -10oC to 70oC Relative Operating 10% to 90% noncondensing Humidity Appendix B Board-to-Panel (EIA-232) Cable Wiring Pin Function 1 Ground 2 Channel 1 Transmit Data 3 Channel 1 Receive Data 4 +5 Volts DC 5 Transmit Data (+) 6 +12 Volts DC 7 Receive Data (+) 8 -12 Volts DC 9 Channel 2 Receive Data 10 Channel 2 Transmit Data 11 Channel 3 Receive Data 12 Channel 3 Transmit Data 13 Channel 4 Receive Data 14 Channel 4 Transmit Data 15 Channel 5 Receive Data 16 Channel 5 Transmit Data 17 Channel 6 Receive Data 18 Transmit Data (-) 19 Channel 6 Transmit Data 20 Receive Data (-) 21 Channel 7 Receive Data 22 Channel 7 Transmit Data 23 Channel 8 Receive Data 24 Channel 8 Transmit Data 25 Ground Appendix C How to Change Base I/O Address Choices The @67F8.ADF adapter description file (on the PLUS 8 MC Option Diskette) permits the PS/2 configuration utility (on the PS/2 Reference Diskette) to choose one of eight popular base I/O address selections for the PLUS 8 MC adapter. This file is automatically copied when you select: Copy an Option Diskette If none of the selections provided is suitable for your application, you can modify the adapter description file using the PLUSADF.EXE utility program. To use PLUSADF.EXE to expand your base I/O address choices, follow these steps: 1. Insert the DOS operating system diskette into the boot drive if the DOS operating system is not currently installed. 2. Turn on the PS/2. 3. Make sure the DOS operating system is running. After the DOS prompt appears, insert the PLUS 8 MC options diskette into drive A. 4. Assign drive A as the current drive by typing: A: 5. Run the PLUSADF.EXE program by typing after the DOS prompt: PLUSADF Note: The @67F8.ADF file must be on the working diskette for successful execution of the PLUSADF.EXE utility program. When the program begins, a screen similar to the one on the next page will be displayed. ____________PLUS 8 MC ADF Editor_____________ I/O Addresses Selection #1: 400 Selection #2: 500 Selection #3: 600 Selection #4: 700 Selection #5: 800 Selection #6: 900 Selection #7: A00 Selection #8: B00 Exit Base I/O address (Hex)_least significant digits must be 00 or 80. PLUSADF.EXE screen 6. Enter up to eight base I/O addresses. These are the base I/O addresses at which the I/O ports may be configured upon power-up of the PS/2. See the following box for details. Notes on Boundary Address Entries Highlight the field to be modified using the up and down cursor keys. Enter base I/O address selections in hexadecimal form. Delete a selection by entering a space into the field. Any unused selections will have blank fields. While all addresses meeting the above requirements will be accepted, some may conflict with the base I/O addresses of other adapter boards or system memory. Check for conflicts before entering an address. The first (top) base I/O address on the screen will be the one chosen by the PS/2 configuration utility when Automatic Configuration is selected. You may alter this selection by using the Set Configuration utility on the PS/2 Reference Diskette. 7. To quit the program, press the . This causes the screen to prompt: SAVE CHANGES TO DISK (Y/N)? Note: If you do not want to save the changes, press the N key. Pressing the N key ends the utility program and returns you to DOS. The existing @67F8.ADF file is not changed. Note: To save the changes, press the Y key. Pressing the Y key causes this sequence of events: a. The @67F8.ADF file is preserved but is renamed @67F8.BAK b. Changes are written to a new file named @67F8.ADF c. Utility program ends and returns you to DOS. Note: The new @67F8.ADF file is now ready to use. Follow the steps outlined in the System Configuration section of this User's Guide, and make sure you use the working diskette which contains the new @67F8.ADF file. Appendix D Description of PLUS 8 MC Option Diskette Files The PLUS 8 MC Option Diskette can be used with old or new PLUS 8 MC boards. The diskette contains these files: @67F8.ADF The adapter description file lists the base I/O address which may be assigned to the new PLUS 8 MC (Part Number 500087). At power-up, the PS/2 configuration utility chooses an address from this list. This file also contains a list of supported IRQ levels. PLUSADF.EXE A DOS utility program used to modify the base I/O address assignments in the adapter description file for the new PLUS 8 MC (Part Number 500087). If none of the addresses listed in the factory supplied @67F8.ADF file fits your application, use this utility to make a new adapter description file. @6800.ADF Adapter description file for the old PLUS 8 MC (Part Number 500056). This file allows you to use this diskette to set up the old, as well as the new, PLUS 8 MC boards. MAKEADF.EXE Utility to make a new adapter description file for the old PLUS 8 MC (Part Number 500056). This file allows you to use this diskette to set up the old, as well as the new, PLUS 8 MC boards. LIMITED WARRANTY Star Gate Technologies, Inc., warrants the PLUS 8 MC Adapter Board against defective materials or workmanship for a period of one (1) year from the date of original purchase. This limited warranty is void if the hardware has been damaged by accident, improper modifications, neglect, improper service or other causes not arising out of defects in material or workmanship. If this product is not in good working order as warranted above, your only remedy shall be repair or replacement. In no event will Star Gate Technologies, Inc., be liable to you for any damages, including lost profits, lost savings or other incidental or consequential damages arising out of the use or inability to use such a product, even if Star Gate Technologies, Inc., has been advised of the possibility of such damages, or any claim by any other party. Note: Some states do not allow exclusion or limitation of incidental or consequential damages or limitations on how long an implied warranty lasts, so the above limitations or exclusions may not apply. THE FOREGOING LIMITED WARRANTY SHALL BE IN LIEU OF ANY OTHER WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. REPLACEMENT OF NONCONFORMING GOODS, FOR THE REASONS AND PERIOD DESCRIBED ABOVE, SHALL CONSTITUTE FULFILLMENT OF ALL LIABILITY OF SELLER TO BUYERS, WHETHER BASED ON CONTRACT, NEGLIGENCE OR OTHERWISE WITH RESPECT TO OR ARISING OUT OF SUCH GOODS. Note: Some states do not allow the exclusion of implied warranties, so the above exclusion may not apply to you. This warranty gives you specific legal rights; you may also have other rights which vary from state to state. Customer Assistance For Customer Service or Sales, call 1-800-STAR GATE (1-800-782-7428) from 8 a.m. to 6 p.m., Eastern Standard Time. For your convenience, we have extended Tech Support hours from 7:30 a.m. to 7 p.m., E.S.T. If you still need technical assistance after reading this manual, please call and ask for Technical Support. Our specialists will try to provide solutions over the phone. If you face a shipment or order processing difficulty, please ask for Customer Service. An experienced Customer Service representative will be pleased to assist you. If you have any comments, suggestions, or corrections regarding this manual, please make photo-copies of the affected pages, indicate your comments on the copies, and mail or FAX the copies to the address or FAX number below. FAX (216) 349-1978 Star Gate Technologies, Inc. Attn: Technical Documentation Dept. 29300 Aurora Road Solon, Ohio 44139