Advertisement

Quick Links

PCI-COM422
User's Guide
May 2006

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCI-COM422 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Kontron PCI-COM422

  • Page 1 PCI-COM422 User’s Guide May 2006...
  • Page 2 © 2006 Kontron, an International Corporation. All rights reserved. The information in this user’s guide is provided for reference only. Kontron does not assume any liability arising out of the application or use of the information or products described herein. This user’s guide may contain or reference information and products protected by copyrights or patents and does not convey any license under the patent rights of Kontron, nor the rights of others.
  • Page 3: Table Of Contents

    Baud Rate Ranges ..........................22 Address Selection ........................24 Installing the Hardware ......................25 Interrupts ............................26 Chapter 3: Programming .................... 27 Sample Programs ........................27 Windows Programming ......................27 DOS Programming........................27 Initialization............................27 Baud Rate Divisor Values: ......................... 28 Reception ............................29 PCI-COM422 User’s Guide page 3...
  • Page 4 Appendix B: Troubleshooting ..................33 General Guidelines .........................33 Troubleshooting Procedures ....................34 Common Problems .........................35 List of Figures Figure 1: Simplified Termination Schematic ................21 Figure 2: Option Selection Map ....................22 Figure 3: Low-Profile Option Selection Map ................23 page 4 PCI-COM422 User’s Guide...
  • Page 5: Safety Instructions

    Safety Instructions Before You Begin Before handling your PCI-COM422, read the instructions and safety guidelines on the following pages to prevent damage to the product and to ensure your own personal safety. Refer to the “Advisories” section in the Preface for advisory conventions used in this user’s guide, including the distinction between Warnings, Cautions, Important Notes,...
  • Page 6: When Working Inside A Computer

    Also, before connecting a cable, make sure both connectors are correctly oriented and aligned CAUTION Do not attempt to service the system yourself. Follow installation and troubleshooting instructions closely. page 6 PCI-COM422 User’s Guide...
  • Page 7: Preventing Electrostatic Discharge

    Preventing Electrostatic Discharge Static electricity can harm system boards. Perform service at an ESD workstation and follow proper ESD procedure to reduce the risk of damage to components. Kontron strongly encourages you to follow proper ESD procedure, which can include wrist straps and smocks, when servicing equipment.
  • Page 8 This page intentionally left blank. page 8 PCI-COM422 User’s Guide...
  • Page 9: Preface

    “Contact Us” on our web site (www.kontron.com) under “Technical Support.” Detail any errors you find. We will correct the errors or problems as soon as possible and post the revised user’s guide in our online Support Library.
  • Page 10: Advisory Conventions

    Disclaimer: We have tried to identify all situations that may pose a warning or caution condition in this user’s guide. However, Kontron does not claim to have covered all situations that might require the use of a Caution or Warning.
  • Page 11: Unpacking

    2) Remove all items from the box. If any items listed on the purchase order are missing, notify Kontron customer service immediately. 3) Inspect the product for damage. If there is damage, notify Kontron customer service immediately. Refer to “Guarantee and Warranty Policy” for the return procedure.
  • Page 12: Guarantee And Warranty Policy

    The limited warranty is void if the product has been subjected to alteration, neglect, misuse, or abuse; if any repairs have been attempted by anyone other than Kontron or its authorized agent; or if the failure is caused by accident, acts of God, or other causes beyond the control of Kontron or the manufacturer.
  • Page 13: Return Procedure

    Report for each unit, by serial number(s), as well as a copy of the original invoice showing the date of purchase. To reduce risk of damage, returns of product must be in a Kontron shipping container. If the original container has been lost or damaged, new shipping containers may be obtained from Kontron Customer Service at a nominal cost.
  • Page 14 This page intentionally left blank. page 14 PCI-COM422 User’s Guide...
  • Page 15: Chapter 1: Introduction

    +12 V or -7 V. In case of communication conflict, the driver/receivers feature thermal shutdown. Communication Mode The card supports Full-Duplex and Half-Duplex communications with a 4-wire cable connection. Half-Duplex allows traffic to travel in both directions, but only one way at a time. PCI-COM422 User’s Guide page 15...
  • Page 16: Baud Rate Ranges

    9600 baud. The operating system would need to have defined the value of 2400 baud so that the correct system operations occur. Note: Refer to the Baud Rate Divisor Value Table in the chapter on Programming in this manual. page 16 PCI-COM422 User’s Guide...
  • Page 17: Specifications

    5% to 95%, non-condensing. Power Required: +5VDC at 125 mA typical, -12VDC at 5 mA typical, +12VDC at 5 mA typical, 750 mW total power consumption. Size: 7.8 Inches long (198 mm) by 3.8 inches high (97 mm). PCI-COM422 User’s Guide page 17...
  • Page 18: Block Diagram

    Block Diagram (Only one serial channel shown) page 18 PCI-COM422 User’s Guide...
  • Page 19: Chapter 2: Installation

    For more information, see “Protecting Against Electrostatic Discharge. Important: Before attempting to remove a computer chassis cover, follow the instructions “When Working Inside a Computer” contained in the Safety Instruction portion of this manual. PCI-COM422 User’s Guide page 19...
  • Page 20: Software Installation

    Option Selection section to assist in configuring jumpers on the card, as well as provide additional descriptions for usage of the various card options (such as termination, bias, baud rate range, RS-232, RS-422, RS-485, etc.). page 20 PCI-COM422 User’s Guide...
  • Page 21: Option Selection

    Also, for RS422 operation, there must be a bias on the RX+ and RX- lines. If the card is not to provide that bias, contact the factory technical support. Data Cable Wiring SignalPin Connection Ain- Aout+ Aout- 100 Ω to Ground PCI-COM422 User’s Guide page 21...
  • Page 22: Baud Rate Ranges

    When in the "X1" position, the baud rate range is up to 115,200 baud. When in the CLK X4 position, the baud rate range is 200 to 921,600 baud. Figure 2: Option Selection Map page 22 PCI-COM422 User’s Guide...
  • Page 23: Figure 3: Low-Profile Option Selection Map

    Figure 3: Low-Profile Option Selection Map PCI-COM422 User’s Guide page 23...
  • Page 24: Address Selection

    PCIFind uses the Vendor ID and Device ID to search for your card, then reads the base address and IRQ. If you want to determine the base address and IRQ yourself, use the following information. Vendor ID code is 494F (ASCII for "I/O") Device ID code is 1068 page 24 PCI-COM422 User’s Guide...
  • Page 25: Installing The Hardware

    BIOS calls used to determine the address and IRQ assigned to installed PCI devices. In Windows, the Windows sample programs demonstrate querying the registry entries (created by PCIFind and NTIOPCI.SYS during boot-up) to determine this same information. PCI-COM422 User’s Guide page 25...
  • Page 26: Interrupts

    Interrupt = REG_DWORD 5 DosDevices = REG_SZ COM6 DosDevices = REG_SZ COM10 InterruptStatus = REG_DWORD 0xFC40 InterruptStatus = REG_DWORD 0xFC40 PortIndex = REG_DWORD 4 PortIndex = REG_DWORD 8 Indexed = REG_DWORD 0 Indexed = REG_DWORD 0 page 26 PCI-COM422 User’s Guide...
  • Page 27: Chapter 3: Programming

    The following equation defines the relationship between baud rate and divisor: desired baud rate = (UART clock frequency) / (32 * divisor) On the card, the UART clock frequency is 1.8432 MHz. On the next page is a table for the popular divisor frequencies. PCI-COM422 User’s Guide page 27...
  • Page 28: Baud Rate Divisor Values

    Bit 7 is the DLAB discussed earlier. It must be set to zero after the divisor is loaded or else there will be no communications. The C command to set the UART for an 8-bit word, no parity, and one stop bit is: outportb(BASEADDR +3, 0x03) page 28 PCI-COM422 User’s Guide...
  • Page 29: Reception

    The process of checking the bit until it goes high followed by a write is repeated until no data remains. The following C code fragment demonstrates this process: PCI-COM422 User’s Guide page 29...
  • Page 30 /*While there is data to send*/ while(!(inportb(BASEADDR +5)&0x20)); /*Wait until transmitter is empty*/ outportb(BASEADDR,data[i]); i++; page 30 PCI-COM422 User’s Guide...
  • Page 31: Appendix A: Connector Pin Assignments

    Data Cable Wiring: Signal Connector Pin Ain- Pin 1 Aout+ Pin 2 Aout- Pin 3 100 Ohm to Ground Pin 5 Ain+ Pin 9 PCI-COM422 User’s Guide page 31...
  • Page 32: Connection Pin Assignments

    44 GND Ground 20 Dout+ 45 Hout+ 21 Dout- 46 Hout- 22 Ground through 100 Ohm R 47 Ground through 100 Ohm R 23 Din+ 48 Hin+ 24 Din- 49 Hin- 25 GND Ground 50 GND Ground page 32 PCI-COM422 User’s Guide...
  • Page 33: Appendix B: Troubleshooting

    Avoid shorting the circuits as this can damage the computer. CAUTION The following procedures involve working with a device that is sensitive to static electricity. Use proper precautions to protect against electrostatic discharge (ESD). Only qualified personnel should attempt these procedures. PCI-COM422 User’s Guide page 33...
  • Page 34: Troubleshooting Procedures

    Occasionally, Flash BIOS can be corrupted by hardware or software. Check the Kontron Web site for the latest version of BIOS and follow the steps for reflashing. When upgrading or adding hardware to an existing system, note board positions and cables.
  • Page 35: Common Problems

    When the short is removed, the power supply should automatically sense the removal of the short and restore operation. If cables become damaged, contact Kontron for repair or replacement System is not Memory is not seated...
  • Page 36 This page intentionally left blank. page 36 PCI-COM422 User’s Guide...

Table of Contents