AUGUST 2000 IC133C-R2 IC187C 2-Port RS-232/422/485 PCI Host Adapter CUSTOMER SUPPORT INFORMATION Order toll-free in the U.S. 24 hours, 7 A.M. Monday to midnight Friday: 877-877-BBOX FREE technical support, 24 hours a day, 7 days a week: Call 724-746-5500 or fax 724-746-0746 Mail order: Black Box Corporation, 1000 Park Drive, Lawrence, PA 15055-1018 Web site: www.blackbox.com • E-mail: info@blackbox.
FCC AND IC STATEMENTS FEDERAL COMMUNICATIONS COMMISSION AND INDUSTRY CANADA RADIO FREQUENCY INTERFERENCE STATEMENTS This equipment generates, uses, and can radiate radio frequency energy and if not installed and used properly, that is, in strict accordance with the manufacturer’s instructions, may cause interference to radio communication.
2-PORT RS-232/422/485 PCI HOST ADAPTER EUROPEAN UNION DECLARATION OF CONFORMITY Products bearing the CE Label fulfill the requirements of the EMC directive (89/336/EEC) and of the low-voltage directive (73/23/EEC) issued by the European Commission.
NOM STATEMENT NORMAS OFICIALES MEXICANAS (NOM) ELECTRICAL SAFETY STATEMENT INSTRUCCIONES DE SEGURIDAD 1. Todas las instrucciones de seguridad y operación deberán ser leídas antes de que el aparato eléctrico sea operado. 2. Las instrucciones de seguridad y operación deberán ser guardadas para referencia futura. 3. Todas las advertencias en el aparato eléctrico y en sus instrucciones de operación deben ser respetadas. 4. Todas las instrucciones de operación y uso deben ser seguidas. 5.
2-PORT RS-232/422/485 PCI HOST ADAPTER 12. Precaución debe ser tomada de tal manera que la tierra fisica y la polarización del equipo no sea eliminada. 13. Los cables de la fuente de poder deben ser guiados de tal manera que no sean pisados ni pellizcados por objetos colocados sobre o contra ellos, poniendo particular atención a los contactos y receptáculos donde salen del aparato. 14. El equipo eléctrico debe ser limpiado únicamente de acuerdo a las recomendaciones del fabricante. 15.
TABLE OF CONTENTS CONTENTS 1. Specifications............................................................................................7 2. Introduction .............................................................................................8 2.1 Overview .............................................................................................8 2.2 What’s Included .................................................................................8 2.3 Factory Default Settings........................
2-PORT RS-232/422/485 PCI HOST ADAPTER CONTENTS (continued) Appendix C: Electrical Interfaces...............................................................28 C.1 RS-232.................................................................................................28 C.2 RS-422.................................................................................................28 C.3 RS-485.................................................................................................
CHAPTER 1: Specificatiobns 1. Specifications Communication Chip — IC133C-R2: 16550 UART (optionally, you can remove this UART and install a 16950 UART for better performance); IC187C: 16950 UART Data Rate — IC133C-R2: Up to 460.8 kbps; IC187C: 460.8 kbps and above Distance — Up to 4000 ft. (1219.
2-PORT RS-232/422/485 PCI HOST ADAPTER 2. Introduction 2.1 Overview The 2-Port RS-232/422/485 PCI Host Adapter is a two-channel PCI-bus serial I/O adapter for PCs and compatibles that supports data rates up to 460.8 kbps. It has two very versatile asynchronous serial ports: They are field-selectable as either RS-232 ports (suitable for communication with modems, printers and plotters) or RS-422/485 ports (suitable for industrial automation and control applications).
CHAPTER2: Introduction 2.3 Factory Default Settings The Adapter’s factory-default settings are as follows: Table 2-1. Factory-Default Settings Port # Electrical Specification Port 1 RS-232 Port 2 RS-232 For your reference, record installed Adapter settings below. Table 2-2.
2-PORT RS-232/422/485 PCI HOST ADAPTER 3. Card Setup NOTE In all cases J1x refers to settings for the first port and J2x refer to settings for the second port. 3.1 RS-485 Enable Modes RS-485 is ideal for multidrop or network environments. RS-485 requires a tri-state driver that will allow the electrical presence of the driver to be removed from the line. The driver is in a tri-state or high-impedance condition when this occurs.
CHAPTER 3: Card Setup Examples on the following pages describe all of the valid settings for J1B and J2B. Interface Mode Examples J1D – J4D AT RT NE Figure 3-1. Headers J1B and J2B set for RS-422. AT RT NE Figure 3-2. Headers J1B and J2B set for RS-485 “Auto” with “No Echo.” AT RT NE Figure 3-3. Headers J1B and J2B set for RS-485 “Auto” with “Echo.
2-PORT RS-232/422/485 PCI HOST ADAPTER AT RT NE Figure 3-4. Headers J1B and J2B set for RS-485 “RTS” with “No Echo.” AT RT NE Figure 3-5. Headers J1B and J2B set for RS-485 “RTS” with “Echo.” 3.2 Address and IRQ selection The Adapter is automatically assigned I/O addresses and IRQs by your motherboard BIOS. Only the I/O address may be modified by the user. Adding or removing other hardware may change the assignment of I/O addresses and IRQs. 3.
CHAPTER 3: Card Setup Table 3-1. Jumper Operation Name Function P Adds or removes the 1K-ohm pull-down resistor in the RS-422/RS-485 receiver circuit (Receive data only). T Adds or removes the 120-ohm termination. L Connects the TX+ to RX+ for RS-485 two-wire operation. L Connects the TX- to RX- for RS-485 two-wire operation. P P T L L Figure 3-6. Headers J1A and J2A, which control line termination.
2-PORT RS-232/422/485 PCI HOST ADAPTER 3.4 Electrical Interface Selection Port 2 RS-232 RS-422 E2 E3 E4 Port 2 Port 1 RS-232 E1 RS-232 RS-422/485 RS-422 RS-232 RS-422 E4 RS-232 RS-232 E3 RS-422 RS-422 E2 Port 1 RS-232 E1 RS-422 Each port on the Adapter has the ability to be used in either RS-232 or RS-422/485 mode. This is selectable via four 24 pin DIP-shunts at E1-E4. Please use the following illustration to aid in the configuration of your electrical interface.
CHAPTER 3: Card Setup 3.5 Clock Modes The Adapter employs a clocking option that allows you to select from “divide by 4,” “divide by 2,” and “divide by 1” clocking modes. These modes are selected at Headers J1C through J4C. To select the baud rates commonly associated with COM ports (for example, 2400, 4800, 9600, and 19,200 bps, and so on up to 115.2 kbps), place the jumper in the “divide by 4” mode (marked DIV4). DIV1 DIV2 DIV4 Figure 3-8. Clocking mode “divide by 4.
2-PORT RS-232/422/485 PCI HOST ADAPTER To enable the Adapter to reach its maximum possible data rate, 460.8 Kbps, place the jumper in the “divide by 1” position (marked DIV1). DIV1 DIV2 DIV4 Figure 3-10. Clocking mode “divide by 1.” 3.6 Baud Rates and Divisors for the “Div1” Mode The following table shows some common data rates and the rates you should choose to match them if you’re using the Adapter in the “Div1” mode. Table 3-2.
CHAPTER 3: Card Setup If your communications package allows the use of baud-rate divisors, choose the appropriate divisor from the following table: Table 3-3. Divisors for the “Div 1” Mode For this Data Rate Choose this Divisor 1200 bps 384 2400 bps 192 4800 bps 96 9600 bps 48 19.2 kbps 24 38.4 kbps 12 57.6 kbps 8 115.2 kbps 4 230.4 kbps 2 460.
2-PORT RS-232/422/485 PCI HOST ADAPTER 3.7 Baud Rates and Divisors for the “Div2” mode The following table shows some common data rates and the rates you should choose to match them if you’re using the adapter in the “Div2” mode. Table 3-4. Baud Rates for the “Div 2” Mode 18 For this Data Rate Choose this Baud Rate 1200 bps 600 bps 2400 bps 1200 bps 4800 bps 2400 bps 9600 bps 4800 bps 19.2 kbps 9600 bps 38.4 kbps 19.2 kbps 57.6 kbps 28.8 kbps 115.2 kbps 57.6 kbps 230.4 kbps 115.
CHAPTER 3: Card Setup Table 3-5. Divisors for the “Div 2” Mode For this Data Rate Choose this Divisor 1200 bps 192 2400 bps 96 4800 bps 48 9600 bps 24 19.2 kbps 12 38.4 kbps 8 57.6 kbps 4 115.2 kbps 2 230.
2-PORT RS-232/422/485 PCI HOST ADAPTER 4. Installation IMPORTANT You MUST set up the operating system BEFORE you physically install the Card. 4.1 Setting Up the Operating System If you are installing the PCI adapter in DOS, OS/2®, or QNX, please refer to the appropriate directory on one of the Serial Utilities Disks for instructions. 4.1.1 WINDOWS 3.1X Refer to the Win3x.hlp file in the \Win31 directory on Disk 1 of the Serial Utilities software. 4.1.
CHAPTER 4: Installation 5. Next, double-click on the third I/O range. Highlight the entire I/O range and type 02e8–02ef for COM4. Again, Windows will inform you that you have made modifications that may affect other devices. Click OK. Following these steps will change the COM: number assignments on the first two ports to COM3 and COM4. 4.1.3 WINDOWS NT If you are installing a PCI card in Windows NT, run setup on disk two of the Serial Utilities Diskettes before installing the card.
2-PORT RS-232/422/485 PCI HOST ADAPTER 5. Troubleshooting 5.1 The Serial Utility Diskette The Adapter comes with a Serial Utility Diskette that has diagnostic software on it. We recommend that you always use this software first when you troubleshoot problems, because it can help resolve most common problems related to software and operating-system incompatibilities without requiring you to call Technical Support. 1. Make sure the Adapter is securely installed in a motherboard slot. 2.
CHAPTER 5: Troubleshooting 5.2 Calling Black Box If you determine that the Adapter is malfunctioning, do not attempt to alter or repair it. It contains no user-serviceable parts. Contact Black Box Technical Support at 724-746-5500. Before you do, make a record of the history of the problem.
2-PORT RS-232/422/485 PCI HOST ADAPTER Appendix A: Interrupt Handling A.1 The Purpose and Early History of Interrupts A good analogy of a PC interrupt would be the phone ringing. The phone “bell” is a request for us to stop what we are currently doing and take up another task (speak to the person on the other end of the line). This is the same process the PC uses to alert the CPU that a task must be preformed.
APPENDIX A: Interrupt Handling A.2 Why Use an Interrupt Status Port (ISP)? The answer to the polling inefficiency was the Interrupt Status Port (ISP). The ISP is a read-only 8-bit register that sets a corresponding bit when an interrupt is pending. Port 1’s interrupt line corresponds with bit D0 of the status port, Port 2’s with D1, etc. The use of this port means that the software designer now only has to poll a single port to determine if an interrupt is pending. The ISP is at “base+7” on each port.
2-PORT RS-232/422/485 PCI HOST ADAPTER Appendix B: Connector Pinouts B.1 RS-232 Table B-1.
APPENDIX B: Connector Pinouts B.2 RS-422/485 Table A-2.
2-PORT RS-232/422/485 PCI HOST ADAPTER Appendix C: Electrical Interfaces C.1 RS-232 Quite possibly the most widely used communication standard is RS-232. This implementation has been defined and revised several times and is often referred to as EIA/TIA-232. The IBM PC/AT computer defined the RS-232 port on a 9-pin D-subminiature connector, and subsequently the EIA/TIA approved this implementation as the EIA/TIA-574 standard.
APPENDIX C: Asynchronous Communications C.3 RS-485 RS-485 is backward-compatible with RS-422; however, it is optimized for partyline or multidrop applications. The output of the RS-422/485 driver is capable of being Active (enabled) or Tristate (disabled). This capability allows multiple ports to be connected in a multidrop bus and selectively polled. RS-485 allows cable lengths up to 4000 feet (1219.2 m) and data rates up to 10 megabits per second.
2-PORT RS-232/422/485 PCI HOST ADAPTER Appendix D: Asynchronous Communication In serial data communication, individual bits of a character are transmitted consecutively to a receiver that assembles the bits back into a character. Data rate, error checking, handshaking, and character framing (start/stop bits) are predefined and must correspond at both the transmitting and receiving ends. Asynchronous communications is the standard means of serial data communication for PC compatibles and PS/2 computers.
APPENDIX D: Asynchronous Communication Because each bit in asynchronous communications is sent consecutively, it is easy to generalize asynchronous communications by stating that each character is wrapped (framed) by pre-defined bits to mark the beginning and end of the serial transmission of the character. The data rate and communication parameters for asynchronous communications have to be the same at both the transmitting and receiving ends.
2-PORT RS-232/422/485 PCI HOST ADAPTER Appendix E: Board Layout U1 GD75232 R2 C2 C4 J1B R8 R29 J2B C12 R30 J1C J2C HEADER24PINW E2 J2 E5 R12 U4 75174 R13 P P T L L U7 16550 PLCC E6 U9 C7 R14 U4 75175 R27 R15 R28 R19 R23 E3 C8 Port 2 HEADER24PINW DIV1 DIV2 DIV4 R18 R22 R26 R3 R5 R7 U2 GD75232 RS422 16550 PLCC R31 C15 • JxC - CLOCK DIV • DIV1= DIVIDE BY 1 DIV2= DIVIDE BY 2 DIV4= DIVIDE BY 4 PCI9050 PORT1= J1x PORT2= J2x U5 93CS46 HEADER24PINW C14 Port 2 R17 R21 R25 R11 P P T
NOTES
NOTES
© Copyright 2000. Black Box Corporation. All rights reserved.