Kontron CP346 User Manual

Page 1
CP346
3U CompactPCI
Quad Serial Controller Board
Manual ID: 27253, Rev. Index 03
June 2005
The product described in this manual is in compliance with all applied CE stan­dards.
P R E L I M I N A R Y
Page 2

Revision History

Manual/Product Title: CP346
Manual ID Number: 27253
Rev. Index
01 Initial Issue Sept. 2003
02 Addition of galvanic isolated version Dec. 2003
03 Added chapter 5; minor changes to other chapters June 2005
Brief Description of Changes
Date of
Issue

Imprint

Kontron Modular Computers GmbH may be contacted via the following:
MAILING ADDRESS TELEPHONE AND E-MAIL
Kontron Modular Computers GmbH +49 (0) 800-SALESKONTRON Sudetenstraße 7 sales@kontron.com
D - 87600 Kaufbeuren Germany
For further information about other Kontron Modular Computers’ products, please visit our internet Web site: www.kontron.com

Copyright

P R E L I M I N A R Y
Copyright © 2005 Kontron Modular Computers GmbH. All rights reserved. This manual may not be copied, photocopied, reproduced, translated or converted to any electronic or machine­readable form in whole or in part without prior written approval of Kontron Modular Computers GmbH.
Disclaimer:
Kontron Modular Computers GmbH rejects any liability for the correctness and completeness of this manual as well as its suit­ability for any particular purpose.
Page ii © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 3
CP346 Preface

Table of Contents

Revision History .........................................................................................................ii
Imprint ........................................................................................................................ii
Copyright ....................................................................................................................ii
Table of Contents ...................................................................................................... iii
List of Tables ............................................................................................................ vii
List of Figures ...........................................................................................................ix
Proprietary Note ........................................................................................................xi
Trademarks ...............................................................................................................xi
Explanation of Symbols ........................................................................................... xii
For Your Safety ....................................................................................................... xiii
High Voltage Safety Instructions ......................................................................... xiii
Special Handling and Unpacking Instructions .................................................... xiii
General Instructions on Usage ........................................................................... xiv
Two Year Warranty ...................................................................................................xv
Chapter
1. Introduction .................................................................................................. 1 - 3
1.1 System Overview .................................................................................... 1 - 3
1.2 Board Overview ....................................................................................... 1 - 4
1.2.1 Board-Specific Information ............................................................. 1 - 4
1.2.2 Board Variants ................................................................................ 1 - 4
1.2.3 Rear I/O Modules ............................................................................ 1 - 4
1.2.4 Front Panel Adapter ........................................................................ 1 - 5
1.2.5 System-Relevant Information ......................................................... 1 - 5
1.2.5.1 Board Location in the System ..................................................... 1 - 5
1.2.5.2 Operating Systems ..................................................................... 1 - 5
1.3 Board Diagrams ...................................................................................... 1 - 6
1.3.1 Functional Block Diagram ............................................................... 1 - 6
1.3.2 Front Panels ................................................................................... 1 - 7
1.3.3 Board Layouts ................................................................................. 1 - 8
1
P R E L I M I N A R Y
1.4 Technical Specifications ........................................................................ 1 - 10
1.5 Applied Standards ................................................................................. 1 - 11
1.6 Related Publications ............................................................................. 1 - 12
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page iii
Page 4
Chapter
2. Functional Description .................................................................................2 - 3
2.1 General Information .................................................................................2 - 3
2.2 Specifics ..................................................................................................2 - 3
2.3 Functional Block Diagrams ......................................................................2 - 4
2.4 Board Interfaces ......................................................................................2 - 6
2.4.1 Frontend Serial I/O Interfaces .........................................................2 - 6
2.4.1.1 Front Panel Connector ................................................................2 - 7
2.4.1.2 Connectors of 37-Pin-to-4x9-Pin Front Panel Adapter ...............2 - 9
2.4.2 PCI Interface .................................................................................2 - 10
2.4.3 Rear I/O Interface ..........................................................................2 - 10
Chapter
2
3
3. Installation ....................................................................................................3 - 3
3.1 Hardware Installation ...............................................................................3 - 3
3.2 Standard Installation Procedures .............................................................3 - 4
3.3 Standard Removal Procedures ................................................................3 - 5
3.4 CP346 Specific Installation ......................................................................3 - 5
3.4.1 Board Location in the System .........................................................3 - 5
P R E L I M I N A R Y
3.4.2 Cabling ............................................................................................3 - 5
3.4.2.1 Four-Channel Front Panel Adapter .............................................3 - 5
3.4.2.2 Null-Modem Cable ......................................................................3 - 6
3.4.3 Rear I/O Module ..............................................................................3 - 7
3.5 Software Installation ................................................................................3 - 7
Chapter
4. Configuration ................................................................................................4 - 3
4
4.1 Hardware Configuration ...........................................................................4 - 3
Page iv © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 5
CP346 Preface
4.1.1 Serial Mode Configuration .............................................................. 4 - 3
4.1.2 RS422/485 Termination Jumpers ................................................... 4 - 4
4.1.3 Handshake Control in Half Duplex RS485 Mode ............................ 4 - 4
4.2 Software Configuration ............................................................................ 4 - 5
Chapter
5. Rear I/O Modules ........................................................................................ 5 - 3
5.1 Non-Optoisolated Rear I/O Module ......................................................... 5 - 4
5.1.1 Board Diagrams .............................................................................. 5 - 5
5.1.1.1 Functional Block Diagram ........................................................... 5 - 5
5.1.1.2 Front Panel ................................................................................. 5 - 6
5.1.1.3 Board Layout .............................................................................. 5 - 6
5.1.2 Module Front Panel Interfacing ....................................................... 5 - 7
5.1.3 Single-Channel Front Panel Adapter .............................................. 5 - 8
5.1.4 Technical Specifications ................................................................. 5 - 9
5.2 Optoisolated Rear I/O Module ............................................................... 5 - 10
5.2.1 Board Diagrams ............................................................................ 5 - 11
5.2.1.1 Functional Block Diagram ......................................................... 5 - 11
5.2.1.2 Front Panel ............................................................................... 5 - 12
5.2.1.3 Board Layout ............................................................................ 5 - 12
5
5.2.2 Module Front Panel Interfacing ..................................................... 5 - 13
5.2.3 Four-Channel Frontpanel Adapter ................................................ 5 - 14
5.2.4 RS485 Termination Jumpers ........................................................ 5 - 16
5.2.5 Technical Specifications ............................................................... 5 - 17
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page v
P R E L I M I N A R Y
Page 6
This page was intentionally left blank.
P R E L I M I N A R Y
Page vi © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 7
CP346 Preface

List of Tables

1-1 Board Variants/Connectivity ..................................................................... 1 - 4
1-2 CP346 Technical Specification .............................................................. 1 - 10
1-3 Applied Standards .................................................................................. 1 - 11
1-4 Related Publications .............................................................................. 1 - 12
2-1 Pinouts of Frontend 37-Pin D-Sub Connector ......................................... 2 - 7
2-2 9-Pin D-sub Connector Pinouts for Front Panel ....................................... 2 - 9
2-3 Pinouts of Rear I/O Connector J2 .......................................................... 2 - 10
4-1 Serial Mode Configuration for CP346 ...................................................... 4 - 3
4-2 Serial Mode Configuration for CP346-OPT .............................................. 4 - 3
4-3 Termination Jumper Settings for CP346 and CP346-OPT ....................... 4 - 4
4-4 RS485 Transceiver Control for CP346 ..................................................... 4 - 4
4-5 RS485 Transceiver Control for CP346-OPT ............................................ 4 - 4
5-1 Pinouts of Rear I/O Module RJ45 Connectors 0 ... 3 ............................... 5 - 7
5-2 Pinouts of RJ45-to-D-Sub Frontpanel Adapter Connectors ..................... 5 - 8
5-3 CP-RIO3-46 Technical Specifications ...................................................... 5 - 9
5-4 Pinout of 50-Pin Female High-Density D-Sub Connector ...................... 5 - 13
5-5 Pinouts of Front Panel Adapter Connectors .......................................... 5 - 15
5-6 Termination Jumper Settings for CP-RIO3-46-OPT ............................... 5 - 16
5-7 CP-RIO3-46-OPT Technical Specifications ........................................... 5 - 17
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page vii
Page 8
This page has been intentionally left blank.
P R E L I M I N A R Y
Page viii © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 9
CP346 Preface

List of Figures

1-1 CP346 Functional Block Diagram ............................................................ 1 - 6
1-2 CP346 Front Panels ................................................................................. 1 - 7
1-3 CP346 Board Layout – Standard Variant ................................................. 1 - 8
1-4 CP346 Rear I/O Variant ........................................................................... 1 - 8
1-5 CP346-OPT Board Layout ....................................................................... 1 - 9
2-1 CP346 Functional Block Diagram (Standard Variant) .............................. 2 - 4
2-2 CP346-OPT Functional Block Diagram (Isolated Variant) ....................... 2 - 5
2-3 Serial I/O Interface ................................................................................... 2 - 6
3-1 Four-Channel Front Panel Adapter .......................................................... 3 - 6
3-2 Installation of Mainboard and Rear I/O Module ....................................... 3 - 7
5-1 CP-RIO3-46 Functional Block Diagram ................................................... 5 - 5
5-2 CP-RIO3-46 Front Panel .......................................................................... 5 - 6
5-3 CP-RIO3-46 Board Layout ....................................................................... 5 - 6
5-4 Orientation and Pinouts of the CP-RIO3-46 Serial I/O Connector ........... 5 - 7
5-5 Four-Channel Front Panel Adapter .......................................................... 5 - 8
5-6 CP-RIO3-46-OPT Functional Block Diagram ......................................... 5 - 11
5-7 CP-RIO3-46-OPT Front Panel ............................................................... 5 - 12
5-8 CP-RIO3-46-OPT Board Layout ............................................................ 5 - 12
5-9 Orientation and Pinouts of the CP-RIO3-46-OPT Serial I/O Connector . 5 - 13
5-10 Four-Channel Front Panel Adapter ........................................................ 5 - 14
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page ix
Page 10
This page was intentionally left blank.
P R E L I M I N A R Y
Page x © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 11
CP346 Preface

Proprietary Note

This document contains information proprietary to Kontron Modular Computers GmbH. It may not be copied or transmitted by any means, disclosed to others, or stored in any retrieval sys­tem or media without the prior written consent of Kontron Modular Computers GmbH or one of its authorized agents.
The information contained in this document is, to the best of our knowledge, entirely correct. However, Kontron Modular Computers GmbH cannot accept liability for any inaccuracies or the consequences thereof, or for any liability arising from the use or application of any circuit, product, or example shown in this document.
Kontron Modular Computers GmbH reserves the right to change, modify, or improve this doc­ument or the product described herein, as seen fit by Kontron Modular Computers GmbH without further notice.

Trademarks

Kontron Modular Computers GmbH, the PEP logo and, if occurring in this manual, “CXM” are trademarks owned by Kontron Modular Computers GmbH, Kaufbeuren (Germany). In addi­tion, this document may include names, company logos and trademarks, which are registered trademarks and, therefore, proprietary to their respective owners.
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page xi
Page 12

Explanation of Symbols

CE Conformity
This symbol indicates that the product described in this manual is in compliance with all applied CE standards. Please refer also to the section “Applied Standards” in this manual.
Caution, Electric Shock!
This symbol and title warn of hazards due to electrical shocks (> 60V) when touching products or parts of them. Failure to observe the pre­cautions indicated and /or prescribed by the law may endanger your life /health and / or result in damage to your material.
Please refer also to the section “High Voltage Safety Instructions” on the following page.
Warning, ESD Sensitive Device!
This symbol and title inform that electronic boards and their compo­nents are sensitive to static electricity. Therefore, care must be taken during all handling operations and inspections of this product, in order to ensure product integrity at all times.
Please read also the section “Special Handling and Unpacking Instructions” on the following page.
Warning!
This symbol and title emphasize points which, if not fully understood and taken into consideration by the reader, may endanger your health and /or result in damage to your material.
Note ...
P R E L I M I N A R Y
This symbol and title emphasize aspects the reader should read through carefully for his or her own advantage.
Page xii © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 13
CP346 Preface

For Your Safety

Your new Kontron product was developed and tested carefully to provide all features neces­sary to ensure its compliance with electrical safety requirements. It was also designed for a long fault-free life. However, the life expectancy of your product can be drastically reduced by improper treatment during unpacking and installation. Therefore, in the interest of your own safety and of the correct operation of your new Kontron product, you are requested to conform with the following guidelines.

High Voltage Safety Instructions

Warning!
All operations on this device must be carried out by sufficiently skilled personnel only.
Caution, Electric Shock!
Before installing your new Kontron product into a system always ensure that your mains power is switched off. This applies also to the installation of piggybacks.
Serious electrical shock hazards can exist during all installation, repair and maintenance operations with this product. Therefore, always unplug the power cable and any other cables which provide external voltages before performing work.

Special Handling and Unpacking Instructions

ESD Sensitive Device!
Electronic boards and their components are sensitive to static elec­tricity. Therefore, care must be taken during all handling operations and inspections of this product, in order to ensure product integrity at all times.
Do not handle this product out of its protective enclosure while it is not used for opera­tional purposes unless it is otherwise protected.
Whenever possible, unpack or pack this product only at EOS/ ESD safe work stations. Where a safe work station is not guaranteed, it is important for the user to be electrically discharged before touching the product with his/ her hands or tools. This is most easily done by touching a metal part of your system housing.
It is particularly important to observe standard anti-static precautions when changing piggybacks, ROM devices, jumper settings etc. If the product contains batteries for RTC or memory backup, ensure that the board is not placed on conductive surfaces, includ­ing anti-static plastics or sponges. They can cause short circuits and damage the batter­ies or conductive circuits on the board.
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page xiii
Page 14

General Instructions on Usage

In order to maintain Kontron’s product warranty, this product must not be altered or mod­ified in any way. Changes or modifications to the device, which are not explicitly approved by Kontron Modular Computers GmbH and described in this manual or received from Kontron’s Technical Support as a special handling instruction, will void your warranty.
This device should only be installed in or connected to systems that fulfill all necessary technical and specific environmental requirements. This applies also to the operational temperature range of the specific board version, which must not be exceeded. If batter­ies are present, their temperature restrictions must be taken into account.
In performing all necessary installation and application operations, please follow only the instructions supplied by the present manual.
Keep all the original packaging material for future storage or warranty shipments. If it is necessary to store or ship the board, please repack it as nearly as possible in the man­ner in which it was delivered.
Special care is necessary when handling or unpacking the product. Please consult the special handling and unpacking instruction on the previous page of this manual.
P R E L I M I N A R Y
Page xiv © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 15
CP346 Preface

Two Year Warranty

Kontron Modular Computers GmbH grants the original purchaser of Kontron’s products a TWO
YEAR
LIMITED HARDWARE WARRANTY as described in the following. However, no other warran-
ties that may be granted or implied by anyone on behalf of Kontron are valid unless the con­sumer has the express written consent of Kontron Modular Computers GmbH.
Kontron Modular Computers GmbH warrants their own products, excluding software, to be free from manufacturing and material defects for a period of 24 consecutive months from the date of purchase. This warranty is not transferable nor extendible to cover any other users or long-term storage of the product. It does not cover products which have been modified, altered or repaired by any other party than Kontron Modular Computers GmbH or their autho­rized agents. Furthermore, any product which has been, or is suspected of being damaged as a result of negligence, improper use, incorrect handling, servicing or maintenance, or which has been damaged as a result of excessive current/ voltage or temperature, or which has had its serial number(s), any other markings or parts thereof altered, defaced or removed will also be excluded from this warranty.
If the customer’s eligibility for warranty has not been voided, in the event of any claim, he may return the product at the earliest possible convenience to the original place of purchase, together with a copy of the original document of purchase, a full description of the application the product is used on and a description of the defect. Pack the product in such a way as to ensure safe transportation (see our safety instructions).
Kontron provides for repair or replacement of any part, assembly or sub-assembly at their own discretion, or to refund the original cost of purchase, if appropriate. In the event of repair, refunding or replacement of any part, the ownership of the removed or replaced parts reverts to Kontron Modular Computers GmbH, and the remaining part of the original guarantee, or any new guarantee to cover the repaired or replaced items, will be transferred to cover the new or repaired items. Any extensions to the original guarantee are considered gestures of goodwill, and will be defined in the “Repair Report” issued by Kontron with the repaired or replaced item.
Kontron Modular Computers GmbH will not accept liability for any further claims resulting directly or indirectly from any warranty claim, other than the above specified repair, replace­ment or refunding. In particular, all claims for damage to any system or process in which the product was employed, or any loss incurred as a result of the product not functioning at any given time, are excluded. The extent of Kontron Modular Computers GmbH liability to the cus­tomer shall not exceed the original purchase price of the item for which the claim exists.
Kontron Modular Computers GmbH issues no warranty or representation, either explicit or implicit, with respect to its products’ reliability, fitness, quality, marketability or ability to fulfil any particular application or purpose. As a result, the products are sold “as is,” and the responsibility to ensure their suitability for any given task remains that of the purchaser. In no event will Kontron be liable for direct, indirect or consequential damages resulting from the use of our hardware or software products, or documentation, even if Kontron were advised of the possibility of such claims prior to the purchase of the product or during any period since the date of its purchase.
P R E L I M I N A R Y
Please remember that no Kontron Modular Computers GmbH employee, dealer or agent is authorized to make any modification or addition to the above specified terms, either verbally or in any other form, written or electronically transmitted, without the company’s consent.
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page xv
Page 16
This page was intentionally left blank.
P R E L I M I N A R Y
Page xvi © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 17
CP346 Introduction
Chapter
1
Introduction
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 1 - 1
P R E L I M I N A R Y
Page 18
Introduction CP346
This page was intentionally left blank.
P R E L I M I N A R Y
Page 1 - 2 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 19
CP346 Introduction

1. Introduction

1.1 System Overview

The CompactPCI board described in this manual operates with the PCI bus architecture to sup­port additional I/O and memory-mapped devices as required by various industrial applications. For detailed information concerning the CompactPCI standard, please consult the complete Peripheral Component Interconnect (PCI) and CompactPCI Specifications. For further informa­tion regarding these standards and their use, visit the homepage of the PCI Industrial Computer
Manufacturers Group (PICMG).
Many system relevant CompactPCI features that are specific to Kontron Modular Computers CompactPCI systems may be found described in the Kontron CompactPCI System Manual. Due to its size, this manual cannot be downloaded via the internet. Please refer to the section “Related Publications” at the end of this chapter for the relevant ordering information.
The CompactPCI System Manual includes the following information:
Common information that is applicable to all system components, such as safety infor­mation, warranty conditions, standard connector pinouts etc.
All the information necessary to combine Kontron’s racks, boards, backplanes, power supply units and peripheral devices in a customized CompactPCI system, as well as con­figuration examples.
Data on rack dimensions and configurations as well as information on mechanical and electrical rack characteristics.
Information on the distinctive features of Kontron CompactPCI boards, such as function­ality, hotswap capability. In addition, an overview is given for all existing Kontron Com­pactPCI boards with links to the relating datasheets.
Generic information on the Kontron CompactPCI backplanes, such as the slot assign­ment, PCB form factor, distinctive features, clocks, power supply connectors and signal­ling environment, as well as an overview of the Kontron CompactPCI standard backplane family.
Generic information on the Kontron CompactPCI power supply units, such as the in­put/output characteristics, redundant operation and distinctive features, as well as an overview of the Kontron CompactPCI standard power supply unit family.
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 1 - 3
Page 20
Introduction CP346

1.2 Board Overview

1.2.1 Board-Specific Information

The CP346 is a 4-channel serial I/O device supporting the RS232, RS422 and RS485 industry standards. Three board variants are currently available, a non-isolated standard version, a non-isolated variant provided with rear I/O connectivity, and an isolated variant. The external interfacing of the board is accomplished using a 37-pin row D-Sub connector.
32-bit CompactPCI board, 33 MHz
Up to 115.2 kBaud asynchronous transmission
Isolated or non-isolated board variants
4 independent serial channels
One 37-pin, dual row, D-Sub connector
RS232, RS422, and RS485 standards
Each channel individually configurable per hardware/software
Bus termination resistors (RS422/RS485) hardware selectable
Control LED’s on the front panel
Rear I/O-capable board variant
Windows® 2000, Windows® XP, Windows® XP Embedded, Linux® and VxWorks® drivers

1.2.2 Board Variants

Three different variants of the CP346 main board are available:
Non-isolated standard version
Non-isolated version providing rear I/O connectivity
Galvanically isolated version
All board variants have in common four individually programmable RS232, RS422 or RS485 channels. However, the external interfacing is realized via different physical schemes. The var­ious board variants are equipped with one of the following connectors:
Front panel connector
Rear I/O connector
The front panels of the board variants are different in terms of their external interfacing.
P R E L I M I N A R Y
A complete list of the physical board interfaces of all board variants is given in the following ta­ble:
Table 1-1: Board Variants/Connectivity
Connectivity
Front Panel Connectors Serial I/O connector
On-Board Connectors Rear I/O connector (J2)
Non-Isolated
Standard Board Variant
(37-pin D-Sub)
Non-Isolated Rear I/O-
Capable
Board Variant
Serial I/O connector
(37-pin D-Sub)
Isolated
Board Variant

1.2.3 Rear I/O Modules

The CP346 board allows for the installation of a rear I/O module. On the CP346 rear I/O capa­ble board variant, the TTL serial signals are routed to the J2 rear I/O connector.
Page 1 - 4 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 21
CP346 Introduction

1.2.4 Front Panel Adapter

The CP346 serial I/O board is provided with a 37-pin D-Sub connector. In order to provide dis­crete access to the separate serial I/O channels, a front panel adapter cable can be connected to the 37-pin frontend connector. This adapter cable terminates on the user side with four, male, 9-pin, D-Sub connectors (one per serial I/O channel).

1.2.5 System-Relevant Information

1.2.5.1 Board Location in the System
Board location within a system must be considered carefully. Depending on the number of boards, their locations in a given system, and the operating system being used by application programs may have difficulty identifying boards properly. In particular, when configuration changes such as board replacement, movement to another slot, etc. are made after the initial system implementation. Therefore, any changes made to a system should be carefully consid­ered prior to making the change and proper operation be verified before the system is put into operation again.
Note...
When configuring a system it is recommended that all boards to be used be installed in the system prior to installing any drivers or other board-related software. Failure to do so may result in the non-identifica­tion of a given board or boards.
1.2.5.2 Operating Systems
The CP346 can operate under the following operating systems:
Windows® 2000, Windows® XP, Windows® XP Embedded
Linux®
VxWorks®
Drivers are supplied for these operating systems.
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 1 - 5
Page 22
Introduction CP346

1.3 Board Diagrams

1.3.1 Functional Block Diagram

Figure 1-1: CP346 Functional Block Diagram
PCI Bus
CP346
Frontend I/O Rear I/O
P R E L I M I N A R Y
Frontend I/O, Rear I/O alternatively.
RS___: RS232 or RS422 or RS485. Each channel configurable individually.
Page 1 - 6 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 23
CP346 Introduction

1.3.2 Front Panels

Figure 1-2: CP346 Front Panels
CP 346
Rx Tx
CP 346
Rx Tx
3 2 1 0
3 2 1 0
CP 346-OPT
Rx Tx
3 2 1 0
Legend:
LEFT: frontend variant
CENTER: rear I/O capable variant
RIGHT: galvanically isolated variant
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 1 - 7
Page 24
Introduction CP346

1.3.3 Board Layouts

Figure 1-3: CP346 Board Layout – Standard Variant
LED DRIVERS
LEDs
CON3
RS422/ RS485
J1
J2
J3
J4
J5
J6
CHANNEL 3
CHANNEL 2
RS232
CHANNEL 1
J7
J8
CHANNEL 0
Figure 1-4: CP346 Rear I/O Variant
R7 R14
ON
18
S1
DIP SWITCH
R69
R70
R68
R67
R66
R65
R63
REAR I/O
TTL ROUTING OPTION
FRONT I/O
R64
CPLD
LOGIC
CONTROLLER
OPTIONAL
EEPROM
CLOCK
SUPPLY
SERIAL
LED DRIVERS
LEDs
TTL ROUTING OPTION
P R E L I M I N A R Y
REAR I/O
FRONT I/O
CLOCK
SUPPLY
SERIAL
CONTROLLER
OPTIONAL
EEPROM
Page 1 - 8 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 25
CP346 Introduction
Figure 1-5: CP346-OPT Board Layout
LEDs
CON3
S1
DIP SWITCH
R10 R17
RS422/
J1
RS485
J2
CHANNEL 3
CHANNEL 3
J3
J4
CHANNEL 2
J5
J6
CHANNEL 1
J7
J8
CHANNEL 0
18
ON
RS232
CPLD
LOGIC
R3 R4
R20 R22 R26
CONVERTER
R47 R48 R52
DC/DC
CLOCK
SUPPLY
SERIAL
CONTROLLER
LED
DRIVERS
OPTIONAL
EEPROM
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 1 - 9
P R E L I M I N A R Y
Page 26
Introduction CP346

1.4 Technical Specifications

Table 1-2: CP346 Technical Specification (Sheet 1 of 2)
CP346 Specification
Serial I/O Standards
Channels
Controller
Data Rates
Programmable Data Formats
Configurable Channel Modes
RS-232, RS-422 and RS-485
Four serial I/O channels, individually configurable via hardware and software Oxford Semiconductor OX16PCI954
asynchronous: max. 115 kBaud (all serial operating modes)
Data Bits: 5 to 8 Parity: Odd, even, none, mark, space Stop Bits: 1, 1.5 and 2 Flow Control: None, Xon/Xoff, hardware RS232
RS422
full duplex (4 wire)
RS485 with local echo
half duplex (2 wire)
RS485 without local echo
half duplex (2 wire)
Resources Required
External Board Interfaces
LED’s
Isolation Voltage (CP346-OPT only)
P R E L I M I N A R Y
Overvoltage Protection
PCI Interface
Power Supply
Power Consumption (typical)
Two IRQ’s (INTB for unused bridge device which is not routed/opened on the CP346)
PCI function 0 - UART’s: 64 bytes I/O space
8 Kbytes MEM space
PCI function 1 - local bus: 64 bytes I/O space
8 Kbytes MEM space (resources allocated, but not used on the
CP346)
1 x 37-pin D-Sub
8 operation indicator LED’s, two for each channel:
Yellow RxD
Green TxD
2 kV, process-to-system side
±12 V, both variants, serial channels
5 V I/O (blue 5 V coding plug in CompactPCI connector)
5 V DC, + 5%, - 3% (3.3 V not used)
CP346: 5V/250 mA for RS232
5V/310 mA for RS422 (4 wire) 5V/240 mA for RS485 (2 wire)
CP346-OPT: 5V/310 mA for RS232
5V/400 mA for RS422 (4 wire) 5V/320 mA for RS485 (2 wire)
Temperature Ranges
Page 1 - 10 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Operation:
0°C to +70°C (standard)
-40°C to +85°C (extended)
Storage:
-55°C to +125°C (storage)
Page 27
CP346 Introduction
Table 1-2: CP346 Technical Specification (Sheet 2 of 2)
CP346 Specification
Humidity
Dimensions
Weight

1.5 Applied Standards

The Kontron Modular Computers’ CompactPCI systems comply with the requirements of the following standards:
Table 1-3: Applied Standards
93% RH at 40°C non-condensing
100mm x 160mm
CP346: 140 g
CP346-OPT: 145 g
COMPLIANCE TYPE STANDARD
CE Emission EN55022
EN61000-6-3
Immission EN61000-6-2
EN55024
Electrical Safety EN60950-1 --
Mechanical Mechanical Dimensions IEEE 1101.10 --
Environmental Aspects
Vibration (Sinusoidal) IEC60068-2-6 2g/12-300Hz/10
Random Vibration (Broadband)
Permanent Shock IEC60068-2-29 15g/11ms/500/1s
Single Shock IEC60068-2-27 30g/9ms/18/5s
Climatic Humidity IEC60068-2-78 93% RH at 40°C, non-condensing
IEC68-2-64 20-500Hz,0.05g²/500-2000Hz,
Test Level
(Ruggedized Version)
--
--
acceleration / frequency range / test cycles per axis
0.005g²/3.6g rms/3/30min frequency range1 / frequency range2 /acceleration / cycle / duration
peak acceleration / shock duration half sine / number of shocks / recovery time
peak acceleration / shock duration / number of shocks / recovery time in sec.
P R E L I M I N A R Y
RoHS Directive 2002/95/EC Restriction of the use of certain
hazardous substances in electrical and electronic equipment
Important...
The values in the above table are valid for boards which are ordered with the ruggedized service. For more information please contact your local Kontron office.
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 1 - 11
Page 28
Introduction CP346

1.6 Related Publications

The following publications contain information relating to this product.
Table 1-4: Related Publications
PRODUCT PUBLICATION
CompactPCI Systems and Boards
CompactPCI Specification 2.0, Rev. 3.0
Kontron Modular Computers’ CompactPCI System Manual, ID 19954
P R E L I M I N A R Y
Page 1 - 12 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 29
CP346 Functional Description
Chapter
2
Functional Description
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 2 - 1
P R E L I M I N A R Y
Page 30
Functional Description CP346
This page was intentionally left blank.
P R E L I M I N A R Y
Page 2 - 2 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 31
CP346 Functional Description

2. Functional Description

2.1 General Information

The CP346 serial communications controller board is the realization of a low cost solution for industrial automation communication purposes and represents the implementation of a serial communication controller board at the basic OSI levels.
The main functions implemented on the CP346 board are the OSI Layer 2 control for RS232, RS422 and RS485 communication purposes as well as the OSI Layer 1 physical signal level adaptation for the above mentioned interfaces, where the RS422/RS485 interface is realized for half duplex as well as for full duplex operation.
The physical layer adaptation (OSI Layer 1) of the TTL interface signals is realized indepen­dently for each channel via corresponding on-board RS232, RS422/RS485 transceivers where each of the four serial communication links are configured individually for serial interface oper­ation per hardware and software, including the serial line termination for balanced serial com­munication.
The supply voltage for the CP346 is 5V DC. The isolated board variant is provided with one 5V/5V on-board DC/DC converter.

2.2 Specifics

The OSI Layer 2 functions for serial communication are handled entirely by the Oxford Semi­conductor serial communication controller OX16PCI954. This controller handles all the on­board serial communication tasks related to the OSI Layer 2, and also the data transfer to the system host CPU over the CompactPCI bus.
Configuration of the serial communication links for the various operation types as well as serial line termination for differential communication (RS422/RS485) is accomplished via hardware and software. The four serial I/O channels are independent and can be configured individually for RS232, RS422/RS485 serial communication.
Data transfer operation of the serial channels is indicated at the front panel by four, channel­related pairs of LEDs for the indication of receive and transmit operations.
All the above mentioned communication functions including the RS232, RS422 and RS485 se­rial I/O functions are tied to the host system via the standard PCI interface provided directly on the Oxford semiconductor serial communication controller OX16PCI954. Logical control of the CP346 serial communication operation is accomplished via the OX16PCI954 command and status registers which can be accessed independently for each channel directly from the PCI side.
The CP346 serial I/O board is provided with a 37-pin D-Sub connector providing the signals for all four serial I/O channels. In order to provide separate serial I/O channelling, a front panel adapter can be connected to the 37-pin frontend connector. This adapter terminates on the user side with four, male, 9-pin, D-Sub connectors (one per serial I/O channel).
Optionally, the CP346 provides rear I/O connectivity instead of frontend connectivity, where all serial signals are routed at TTL level to a J2 rear I/O connector.
P R E L I M I N A R Y
In addition to the rear I/O variant, the CP346 is available with galvanic isolation for all four chan­nels. This is accomplished through the use of digital isolators from Analog Devices which use iCoupler® technology.
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 2 - 3
Page 32
Functional Description CP346

2.3 Functional Block Diagrams

Figure 2-1: CP346 Functional Block Diagram (Standard Variant)
PCI Bus
Serial I/O Controller
Hardware
Config.
Logic
EEPROM*
*Optional
Transceivers
P R E L I M I N A R Y
Rear I/O
Rear I/O Frontend I/O
Legend
Frontend I/O, Rear I/O: alternatively.
RS___: RS232 or RS422 or RS485. Each channel configurable individually.
Page 2 - 4 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 33
CP346 Functional Description
Figure 2-2: CP346-OPT Functional Block Diagram (Isolated Variant)
PCI Bus
Serial I/O Controller
EEPROM*
* Optional
Galvanic Isolation
Hardware Configuration
Logic
Transceivers
P R E L I M I N A R Y
Legend
RS___: RS232 or RS422 or RS485. Each channel configurable individually.
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 2 - 5
Page 34
Functional Description CP346

2.4 Board Interfaces

2.4.1 Frontend Serial I/O Interfaces

Figure 2-3: Serial I/O Interface
20
37
1
19
Note...
P R E L I M I N A R Y
Page 2 - 6 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
This section includes pinout tables of the 37-pin D-Sub frontend connec­tor as well as of the 9-pin D-Sub connectors of the four-channel front panel adapter cable.
Page 35
CP346 Functional Description
2.4.1.1 Front Panel Connector
The CP346 is equipped with a 37-pin, dual row, male connector comprising the signals of serial I/O channels 0 to 3. The pinouts of the D-Sub connector are shown in the following table.
Warning!
Where signals are not indicated in the table below or marked with NC, please do not connect external wiring to the connector pins. Failure to comply may result in damage to your board.
Table 2-1: Pinouts of Frontend 37-Pin D-Sub Connector (Sheet 1 of 2)
RS232
DCD NC RXD+ 1
DSR NC RXD- 20
RXD NC NC
RTSNCNC21
TXD TRXD+ TXD+ 3
CTS TRXD- TXD- 22
DTRNCNC4
RI NC NC 23
GNDGNDGND5
GNDGNDGND24
RI NC NC 6
DTRNCNC25
CTS TRXD- TXD- 7
TXD TRXD+ TXD+ 26
RTSNCNC8
RS485
Half Duplex
RS422
Full Duplex
Pins Channel
2
Channel 3
GND
P R E L I M I N A R Y
RXDNCNC27
DSR NC RXD- 9
DCD NC RXD+ 28
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 2 - 7
Channel 2
Page 36
Functional Description CP346
Table 2-1: Pinouts of Frontend 37-Pin D-Sub Connector (Sheet 2 of 2)
RS232
DCD NC RXD+ 10
DSR NC RXD- 29
RXDNCNC11
RTSNCNC30
TXD TRXD+ TXD+ 12
CTS TRXD- TXD- 31
DTRNCNC13
RI NC NC 32
GND GND GND 14
GND GND GND 33
RI NC NC 15
DTRNCNC34
CTS TRXD- TXD- 16
TXD TRXD+ TXD+ 35
RS485
Half Duplex
RS422
Full Duplex
Pins Channel
Channel 1
GND
RTSNCNC17
RXDNCNC36
DSR NC RXD- 18
DCD NC RXD+ 37
NC NC NC 19
P R E L I M I N A R Y
Channel 0
Page 2 - 8 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 37
CP346 Functional Description
2.4.1.2 Connectors of 37-Pin-to-4x9-Pin Front Panel Adapter
In order to provide separate serial I/O channelling, a four-channel front panel adapter cable can be connected to the 37-pin front panel connector. This adapter terminates on the user side with four male 9-pin D-Sub connectors which include the signals of channels 0 to 3. The pinouts of the adapter’s 9-pin D-Sub connectors are shown in the following table.
Warning!
Where signals are not indicated in the table below or marked with NC, please do not connect external wiring to the connector pins. Failure to comply may result in damage to your board.
Table 2-2: 9-Pin D-sub Connector Pinouts for Front Panel
DSUB Pin No. RS 232 Signal RS 485 Signal Half-Duplex RS 422 Signal Full-Duplex
1 DCD NC RXD+
2 RXD NC NC
3 TXD TRXD+ TXD+
4 DTR NC NC
5GND GND GND
6 DSR NC RXD-
7 RTS NC NC
8 CTS TRXD- TXD-
9RI NC NC
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 2 - 9
Page 38
Functional Description CP346

2.4.2 PCI Interface

All variants of the CP346 are equipped with the standard PCI interface connector J1. For its pinouts please refer to the Kontron Modular Computers CompactPCI System Manual or to the CompactPCI Specification.
Note...
The CP346 requires 5V PCI V(I/O) signalling. It will not function properly with
3.3V V(I/O).

2.4.3 Rear I/O Interface

The rear I/O capable non-isolated board variant is provided with a PCI rear I/O interface con­nector J2. All signals from the TTL serial I/O interface are routed to this connector.
Table 2-3: Pinouts of Rear I/O Connector J2
Pin Row “A” Row “B” Row “C” Row “D” Row “E” Row “F”
1 reserved GND reserved reserved N/C GND
2 reserved +5V reserved reserved N/C GND
3 N/C GND N/C N/C reserved GND
4 N/C +5V N/C GND reserved GND
5 N/C GND N/C N/C N/C GND
6 N/C +5V RI2 GND N/C GND
7 RI3 GND N/C RI1 RI0 GND
8 DCD3 +5V DCD2 GND DCD0 GND
9 DSR3 GND N/C DCD1 DSR0 GND
10 CTS3 +5V DSR2 GND CTS0 GND
11 RxD3 GND N/C DSR1 RxD0 GND
12 DTR3 +5V CTS2 GND DTR0 GND
13 RTS3 GND N/C CTS1 RTS0 GND
P R E L I M I N A R Y
14 TxD3 +5V RxD2 GND TxD0 GND
15 N/C GND DTR2 RxD1 N/C GND
16 +5V +5V RTS2 GND +5V GND
17 N/C GND TXD2 DTR1 N/C GND
18 +5V N/C +5V GND +5V GND
19 GND GND N/C RTS1 N/C GND
20 N/C GND N/C GND N/C GND
21 N/C GND N/C TxD1 N/C GND
22 N/C N/C N/C N/C N/C GND
N/C = not connected.
Page 2 - 10 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 39
CP346 Functional Description
Warning!
The power signals (+5V and GND) are power supply OUTPUTS to supply the rear I/O module with power. These pins MUST NOT be connected to any other power source, either within the backplane itself or within a rear I/O module.
Failure to comply with the above will result in damage to your board.
In addition, all pins marked reserved or N/C must not be used for any other pur­poses.
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 2 - 11
P R E L I M I N A R Y
Page 40
Functional Description CP346
This page has been intentionally left blank.
P R E L I M I N A R Y
Page 2 - 12 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 41
CP346 Installation
Chapter
3
Installation
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 3 - 1
P R E L I M I N A R Y
Page 42
Installation CP346
This page was intentionally left blank.
P R E L I M I N A R Y
Page 3 - 2 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 43
CP346 Installation

3. Installation

3.1 Hardware Installation

The board described in this manual can be installed in any CompactPCI backplane slot except the system master slot. The front panel of the board should be safely secured by screws to the chassis to avoid loosening of the board through vibration and to ensure correct earth connec­tion.
Caution!
If your board type is not specifically qualified as being hotswap capable, switch off the CompactPCI system power before installing the board in a free CompactPCI slot. Failure to do so could endanger your life or health and may damage your board or system.
ESD Equipment!
This CompactPCI board contains electrostatically sensitive devices. Please observe the necessary precautions to avoid damage to your board:
Discharge your clothing before touching the assembly. Tools must be dis­charged before use.
Do not touch components, connector-pins or traces.
If working at an anti-static workbench with professional discharging equipment, please do not omit to use it.
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 3 - 3
Page 44
Installation CP346

3.2 Standard Installation Procedures

To install the CP346 in a system proceed as follows:
1. Ensure that the safety requirements indicated Chapter 3.1 are observed.
Warning!
Failure to comply with the instruction below may cause damage to the board or result in improper system operation.
2. Ensure that the board is properly configured for operation in accordance with application requirements before installing. For information regarding the configuration of the CP346 refer to Chapter 4. For the installation of CP346 specific peripheral devices and rear I/O devices refer to the appropriate chapters in Chapter 3.
Warning!
Care must be taken when applying the procedures below to ensure that neither the CP346 nor other system boards are physically damaged by the application of these procedures.
3. To install the CP346 perform the following:
1. Ensure that no power is applied to the system before proceeding.
Warning!
When performing the next step, DO NOT push the board into the back­plane connectors. Use the ejector handles to seat the board into the back­plane connectors.
2. Carefully insert the board into the slot designated by the application requirements for
the board until it makes contact with the backplane connectors.
3. Using the ejector handle, engage the board with the backplane. When the ejector han-
P R E L I M I N A R Y
dle is locked, the board is engaged.
4. Fasten the front panel retaining screws.
5. Connect all external interfacing cables to the board as required.
6. Ensure that the board and all required interfacing cables are properly secured.
4. The CP346 is now ready for operation. For operation of the CP346, refer to appropriate CP346 specific software, application, and system documentation.
Page 3 - 4 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 45
CP346 Installation

3.3 Standard Removal Procedures

To remove the board proceed as follows:
1. Ensure that the safety requirements indicated in Chapter 3.1 are observed.
Warning!
Care must be taken when applying the procedures below to ensure that neither the CP346 nor system boards are physically damaged by the application of these procedures.
2. Ensure that no power is applied to the system before proceeding.
3. Disconnect any interfacing cables that may be connected to the board.
4. Unscrew the front panel retaining screws.
5. Disengage the board from the backplane by first unlocking the board ejection handle and then by pressing the handle as required until the board is disengaged.
6. After disengaging the board from the backplane, pull the board out of the slot.
7. Dispose of the board as required.

3.4 CP346 Specific Installation

3.4.1 Board Location in the System

Board location within a system must be carefully considered. Depending on the number of CP346 boards, their locations in a given system and the operating system being used, appli­cation programs may have difficulty in identifying boards properly. In particular, when configu­ration changes such as board replacement, movement to another slot etc. are made after the initial system implementation. Therefore, any changes made to a system should be carefully considered before making the change, and proper operation be verified before the system is put into operation again.
Note...
When configuring a system it is recommended that all boards to be used first be installed in the system prior to installing any drivers or other board related software. Failure to do so may result in the non­identification of a given board or boards.

3.4.2 Cabling

3.4.2.1 Four-Channel Front Panel Adapter
In order to provide separate serial I/O channelling, a four-channel front panel adapter cable can be connected to the 37-pin frontend connector of the CP346. This adapter terminates on the user side with four male 9-pin D-Sub connectors which include the signals of channels 0 to 3.
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 3 - 5
Page 46
Installation CP346
The pinouts of the adapter’s 37-pin and 9-pin D-Sub connectors are shown in the Functional Description chapter of this manual.
Figure 3-1: Four-Channel Front
Panel Adapter
Port 1
Channel 0
Port 2
Port 3
Port 4
37-pin D-Sub
Connector
Note...
The port labelling on the 9-pin D-sub connectors is different to the channel numbering on the CP346.
Channel 0 corresponds to Port 1
Channel 1 corresponds to Port 2
9-pin D-Sub Connectors
Channel 1
Channel 2
Channel 3
Channel 2 corresponds to Port 3
Channel 3 corresponds to Port 4
P R E L I M I N A R Y
3.4.2.2 Null-Modem Cable
If operating in RS232 mode, a null-modem cable can be used in order to allow the use of a ter­minal program. The null-modem cable is provided with a 9-pin female D-Sub connector on ei­ther end, thus linking the adapter interface with the PC interface.
Page 3 - 6 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 47
CP346 Installation

3.4.3 Rear I/O Module

The rear I/O-capable variant of the CP346 is provided with a J2 connector for the transmission of the serial I/O via the CompactPCI backplane to a rear I/O module. A schematic view of the installation procedure is illustrated in the following figure.
Figure 3-2: Installation of Mainboard and Rear I/O Module
CP 346
Rx Tx
Note...
The rear I/O-capable CP346 board variant and the corresponding rear I/O module can only be installed in a backplane slot provided with a rear I/O-capable P2 connector.

3.5 Software Installation

Drivers for Windows® 2000, Windows® XP, Windows® XP Embedded, Linux® and VxWorks® are available for the CP346. For the installation of any required driver, please refer to the driver documentation contained in the software kit.
Note...
Before installing the driver software it is recommended that all boards required for the application be installed. Failure to do so may result in improper operation of the system.
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 3 - 7
Page 48
Installation CP346
This page was intentionally left blank.
P R E L I M I N A R Y
Page 3 - 8 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 49
CP346 Configuration
Chapter
4
Configuration
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 4 - 1
P R E L I M I N A R Y
Page 50
Configuration CP346
This page was intentionally left blank.
P R E L I M I N A R Y
Page 4 - 2 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 51
CP346 Configuration

4. Configuration

4.1 Hardware Configuration

4.1.1 Serial Mode Configuration

The CP346 offers the possibility to configure the operation mode of each channel either with a per default mounted eight Port DIP switch or with solder jumpers (maybe as replacement in case of special conformal coating requirements). Because the switches are implemented as GND switches and the DIP switch and the jumper option are wired OR, it is also thinkable to use both, where a set switch/jumper has always the higher priority.
Two dedicated switches/jumpers are necessary to configure each channel, where the following tables show the possible settings:
Table 4-1: Serial Mode Configuration for CP346
Channel0 Channel1 Channel2 Channel3
DIP-Sw./Resistor DIP-Sw./Resistor DIP-Switch DIP-Switch
1/R7 2/R8 3/R9 4/R10 5/R11 6/R12 7/R13 8/R14
RS232
(default)
RS422 (4wire)
RS485 (2wire)
with local
echo
RS485 (2wire)
without local
echo
Table 4-2: Serial Mode Configuration for CP346-OPT
RS232
(default)
RS422 (4wire)
RS485 (2wire)
with local
echo
RS485 (2wire)
without local
echo
Off/Open Off/Open Off/Open Off/Open Off/Open Off/Open Off/Open Off/Open
Off/Open On/Set Off/Open On/Set Off/Open On/Set Off/Open On/Set
On/Set Off/Open On/Set Off/Open On/Set Off/Open On/Set Off/Open
On/Set On/Set On/Set On/Set On/Set On/Set On/Set On/Set
Channel0 Channel1 Channel2 Channel3
DIP-Sw./Resistor DIP-Sw./Resistor DIP-Switch DIP-Switch
1/R17 2/R16 3/R15 4/R14 5/R13 6/R12 7/R11 8/R10
Off/Open Off/Open Off/Open Off/Open Off/Open Off/Open Off/Open Off/Open
Off/Open On/Set Off/Open On/Set Off/Open On/Set Off/Open On/Set
On/Set Off/Open On/Set Off/Open On/Set Off/Open On/Set Off/Open
On/Set On/Set On/Set On/Set On/Set On/Set On/Set On/Set
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 4 - 3
Page 52
Configuration CP346

4.1.2 RS422/485 Termination Jumpers

The CP346 offers onboard two 120 ohm termination resistors per channel, which can be used to terminate the differential line pairs in case the serial channel is a beginning or end node of a RS422/485 network.
Table 4-3: Termination Jumper Settings for CP346 and CP346-OPT
Ch.0 Ch.1 Ch.2 Ch.3 Setting Description
Open (default) Termination between TRXD± in half duplex mode or TXD± in full
J7 J6 J3 J2
J8 J5 J4 J1
Set
Open (default) Termination between RXD± in full duplex mode Set

4.1.3 Handshake Control in Half Duplex RS485 Mode

duplex mode
Open: No 120 ohm termination
Set: 120 ohm term. between differential lines
Open: No 120 ohm termination
Set: 120 ohm term. between differential lines
In the two-wire half-duplex RS485 mode a handshake mechanism is necessary to prevent the sending and receiving of data at the same time over the same RS485 cabling. Otherwise a data crash would occur.
For the handshake mechanism the driver enable (DE) and receiver enable (RE) signals of the RS422/485 transceivers must be managed. This is achieved with the help of the CPLD logic receiving the RTS or DTR serial signals as inputs and generating the DE and RE signals as outputs for the transceivers. The Oxford OX16PCI954 driver uses the DTR signal for such con­trol, but there may be other software on the market, where the RTS signal executes this task. Therefore on the CP346 and CP346-OPT the input signal to the CPLD is configurable as shown in the following tables:
Table 4-4: RS485 Transceiver Control for CP346
Channel0 Channel1 Channel2 Channel3
R67 R68 R69 R70 R65 R66 R63 R64
DTR signal controls
DE/RE (default)
RTS signal controls DE/RE Set Open Set Open Set Open Set Open
P R E L I M I N A R Y
Open Set Open Set Open Set Open Set
Table 4-5: RS485 Transceiver Control for CP346-OPT
Channel0 Channel1 Channel2 Channel3
R4 R3 R52 R48 R47 R26 R22 R20
DTR signal controls
DE/RE (default)
RTS signal controls DE/RE Set Open Set Open Set Open Set Open
Open Set Open Set Open Set Open Set
Page 4 - 4 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 53
CP346 Configuration
Depending on whether the RS485 mode is selected with or without local echo (refer to chapter
4.1.1 for the corresponding setting), the receiver RE signal is always “On” (with local echo) or the RE signal is inverted to the activation/deactivation of the driver DE signal (without local echo).
Note...
The hardware implementation on the CP346 works with low active DTR/RTS handshaking.

4.2 Software Configuration

Configuring is done as required using the drivers for Windows® 2000, Windows® XP, Win­dows® XP Embedded, Linux® and VxWorks®. For driver installation, please refer to the driver documentation supplied with the driver kit.
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 4 - 5
P R E L I M I N A R Y
Page 54
Configuration CP346
This page was intentionally left blank.
P R E L I M I N A R Y
Page 4 - 6 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 55
CP346 Rear I/O Modules
Chapter
5
Rear I/O Modules
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 5 - 1
P R E L I M I N A R Y
Page 56
Rear I/O Modules CP346
This page was intentionally left blank.
P R E L I M I N A R Y
Page 5 - 2 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 57
CP346 Rear I/O Modules

5. Rear I/O Modules

This chapter includes a description of the rear I/O modules designed for operation with the rear I/O-capable board variant of the CP346 serial I/O controller board. The rear I/O modules are designed to optimize the cabling of a CP346 serial communications controller operating at the ba­sic OSI levels, as it is described in the previous chapters of this manual.
Two types of rear I/O modules for the CP346 are currently available by Kontron Modular Com­puters. One is designed as a 4-channel serial I/O device supporting the RS232 industry stan­dard. The other is designed as a 4-channel serial I/O device supporting the RS485 industry standard with optoisolation. The external interfacing connectors of the two modules also differ:
CP-RIO3-46: an RS232, non-optoisolated, rear I/O module with four RJ45 connectors
CP-RIO3-46-OPT: an RS485, optoisolated, two-wire, rear I/O module with a single, 50­pin, D-Sub connector
Like the non-rear I/O CP346 mainboard variants, the main functions implemented on the CP­RIO3-46 and CP-RIO3-46-OPT rear I/O modules are the OSI layer 2 control for RS232 or RS485 communications as well as the OSI layer 1 physical signal level adaptation for the above mentioned interfaces, where the RS485 interface is realized for half duplex operation.
The rear I/O modules are interfaced to the CP346 mainboard via their rJ2 rear I/O interface connector. The interface signals, which on the mainboard have been routed to the J2 connector instead of the front panel interfaces, are at TTL level. Their physical layer adaptation (OSI Layer
1) is realized for each channel via corresponding on-board RS232 or RS485 transceivers.
Mainboard Location in the System
Location of the CP346 mainboard within a system must be considered carefully. Depending on the number of boards, their locations in a given system, and the operating system being used application programs may have difficulty identifying boards properly. In particular, when config­uration changes such as board replacement, movement to another slot, etc. are made after the initial system implementation. Therefore, any changes made to a system should be carefully considered prior to making the change and proper operation be verified before the system is put into operation again.
Note...
When configuring a system it is recommended that all boards to be used be installed in the system prior to installing any drivers or other board-related software. Failure to do so may result in the non-identifi­cation of a given board or boards.
Operating Systems
P R E L I M I N A R Y
The CP346 and its rear I/O modules can operate under the following operating systems:
Windows® 2000, Windows® XP, Windows® XP Embedded,
Linux®
VxWorks®
Drivers are supplied for these operating systems.
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 5 - 3
Page 58
Rear I/O Modules CP346

5.1 Non-Optoisolated Rear I/O Module

The CP-RIO3-46 rear I/O module is a 4-channel serial I/O device supporting the RS232 indus­try standard. The CP-RIO3-46 is provided with the following key features:
up to 115.2 kBaud asynchronous transmission
4 serial channels
RJ45 connector block (one connector for each channel)
RS232 standard
control LEDs both on the module’s and the mainboard’s front panels
Windows® 2000, Windows® XP, Windows® XP Embedded, Linux® and VxWorks®, drivers
The supply voltage for the module is 5V DC.
Warning!
The power signals (+5V and GND) are power supply INPUTS to supply the rear I/O module with power. These pins MUST NOT be connected to any other power source, either within the backplane itself or within the rear I/O module.
Failure to comply with the above will result in damage to the CPU board, and can result in damage to the RIO module.
In addition, all pins that are reserved or N/C must not be used for any other pur­poses.
P R E L I M I N A R Y
Page 5 - 4 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 59
CP346 Rear I/O Modules

5.1.1 Board Diagrams

5.1.1.1 Functional Block Diagram
Figure 5-1: CP-RIO3-46 Functional Block Diagram
Rear I/O Interface
Logic
Transceivers
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 5 - 5
P R E L I M I N A R Y
Page 60
Rear I/O Modules CP346
5.1.1.2 Front Panel
Figure 5-2: CP-RIO3-46 Front Panel
CP-RIO3-46
RxTx
3 2 1 0
3
2
1
5.1.1.3 Board Layout
Figure 5-3: CP-RIO3-46 Board Layout
P R E L I M I N A R Y
CPLD
rJ2
Logic
0
NCR
Channel 3
Channel 2
Channel 1
Channel 0
Page 5 - 6 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 61
CP346 Rear I/O Modules

5.1.2 Module Front Panel Interfacing

The non-optoisolated rear I/O module CP-RIO3-46 is equipped with a serial I/O connector block consisting of four RJ45 connectors which include the signals of channels 0 to 3. The pinouts of the RJ45 connectors are shown in the following table.
Figure 5-4: Orientation and Pinouts of the CP-RIO3-46
Serial I/O Connector
8
3
1
8
1
8
1
8
1
Table 5-1: Pinouts of Rear I/O Module RJ45 Connectors 0 ... 3
RS232 Pin Channel RS232 Pin Channel
DSR 1
RTS2 RTS2
GND3 GND3
TxD 4 TxD 4
0
RxD 5 RxD 5
DSR 1
2
1
0
2
DCD 6 DCD 6
CTS 7 CTS 7
DTR 8 DTR 8
DSR 1
RTS2 RTS2
GND3 GND3
TxD 4 TxD 4
1
RxD 5 RxD 5
DCD 6 DCD 6
CTS 7 CTS 7
DTR 8 DTR 8
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 5 - 7
DSR 1
3
P R E L I M I N A R Y
Page 62
Rear I/O Modules CP346

5.1.3 Single-Channel Front Panel Adapter

In order to comply with standard PC interface technology, a single-channel RJ45-to-D-Sub front panel adapter (CP-ADAP-RJ45-DSUB9-PC) can be connected to the RJ45 frontend con­nector of each channel of the non-optoisolated rear I/O module (CP-RIO3-46). This adapter terminates on the user side with a 9-pin, male, D-Sub connector which includes the signals of the relating channel. The shielded adapter cable has a length of approximately 15 cm.
Figure 5-5: Four-Channel Front Panel Adapter
Channel 0..3
RJ45
Connector
Warning!
Where signals are not indicated in the table below, do not connect external wiring to the connector pins. Failure to comply may result in damage to the RIO module.
Table 5-2: Pinouts of RJ45-to-D-Sub Frontpanel Adapter Connectors
RJ45
CONNECTOR
1DSR6
2RTS7
P R E L I M I N A R Y
3GND5
4TxD3
5RxD2
6DCD1
RS232
9-PIN ROW
CONNECTOR
CHANNEL
n with
n = 0..3
9-pin D-Sub
Connector
7CTS8
8DTR4
——9
Page 5 - 8 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 63
CP346 Rear I/O Modules

5.1.4 Technical Specifications

Table 5-3: CP-RIO3-46 Technical Specifications
CP-RIO3-46 SPECIFICATIONS
Serial I/O Standards RS232
Channels
Data Rates Maximum: 115.2 kBaud, asynchronous
Programmable Data Formats
Channel Mode RS232
External Board Interfaces 4 x RJ45 connectors
LEDs
Electrical Parameters
General Parameters
Four serial I/O channels
Data Bits: 5 to 8 Parity: Odd, even, none, mark, space Stop Bits: 1, 1.5, or 2 Flow Control: None, Xon/Xoff, hardware
8 operation indicator LEDs, two for each channel:
Yellow RxD
Green TxD
The same LEDs are repeated on the mainboard’s front panel.
Overvoltage protection: ±12 V
Power supply: 5 V DC +5%, -3%
Power consumption: 280 mA *
* At 5V DC inclusive CP346-RIO mainboard
Temperature Ranges:
0°C to +70°C (operation, standard)
-40°C to +85°C (operation, extended)
-55°C to +125°C (storage)
Humidity: 0..90%, non-condensing Dimensions: 80mm x 100mm Weight: 95g approximately
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 5 - 9
P R E L I M I N A R Y
Page 64
Rear I/O Modules CP346

5.2 Optoisolated Rear I/O Module

The CP-RIO3-46-OPT rear I/O module is a 4-channel serial I/O device supporting the RS485 industry standard. The serial I/O channels of this module are optoisolated. The CP-RIO3-46­OPT is provided with the following key features.
up to 115.2 kBaud asynchronous transmission
4 serial channels
50-pin, dual row, female, D-Sub connector (all channels on one connector)
RS485 standard (without local echo)
1kV process-to-system side optoisolation
bus termination resistors, hardware selectable
control LEDs both on the module’s and mainboard’s front panels
Windows® 2000, Windows® XP, Windows® XP Embedded, Linux® and VxWorks® drivers
The supply voltage for the module is 5V DC. It is provided by two 5V/5V on-board DC/DC converters, one for the channels 0/1 and one for channels 2/3.
Warning!
The power signals (+5V and GND) are power supply INPUTS to supply the rear I/O module with power. These pins MUST NOT be connected to any other power source, either within the backplane itself or within the rear I/O module.
Failure to comply with the above will result in damage to the CPU board, and can result in damage to the RIO module.
In addition, all pins that are reserved or N/C must not be used for any other pur­poses.
P R E L I M I N A R Y
Page 5 - 10 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 65
CP346 Rear I/O Modules

5.2.1 Board Diagrams

5.2.1.1 Functional Block Diagram
Figure 5-6: CP-RIO3-46-OPT Functional Block Diagram
Rear I/O Interface
Optoisolation
Logic
Transceivers
(D-Sub)
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 5 - 11
Page 66
Rear I/O Modules CP346
5.2.1.2 Front Panel
Figure 5-7: CP-RIO3-46-OPT Front Panel
CP-RIO3-46-OPT
RxTx
3 2 1 0
5.2.1.3 Board Layout
Figure 5-8: CP-RIO3-46-OPT Board Layout
P R E L I M I N A R Y
Channel 3
Channel 2
Channel 1
Channel 0
Terminat ion Jumpers
DC/DC
Conv.
rJ2
CPLD Logic
NCR
J 1
J 3
J 5
J 7
Page 5 - 12 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 67
CP346 Rear I/O Modules

5.2.2 Module Front Panel Interfacing

The optoisolated rear I/O module CP-RIO3-46-OPT is equipped with a 50-pin, dual row, female D-Sub connector comprising the signals of serial I/O channels 0 to 3. The pinouts of the D-Sub connector are shown in the following table.
Figure 5-9: Orientation and Pinouts of the CP-RIO3-46-OPT
Serial I/O Connector
Warning!
Where signals are not indicated in the below table, please do not connect external wiring to the connector pins. Failure to comply may result in damage to your board.
1
25
Table 5-4: Pinout of 50-Pin Female High-Density D-Sub Connector
RS485
HALF
DUPLEX
TRxD+ 1
2 27 14 39
PIN CHNL PIN
26 TRxD- TRxD+ 13
RS485
HALF
DUPLEX
RS485
HALF
DUPLEX
PIN CHNL PIN
26
50
RS485
HALF
DUPLEX
38 TRxD-
3 28 15 40
4 29 16 41
5 30 17 42
GND 6 31 GND 18 43
TRxD+ 7
8 33 20 45
9 34 21 46
—10 35— —22 47 —
—11 36— —23 48 —
GND 12 37 GND 24 49
0
32 TRxD- TRxD+ 19
1
—25 50 —
2
44 TRxD-
3
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 5 - 13
Page 68
Rear I/O Modules CP346

5.2.3 Four-Channel Frontpanel Adapter

In order to provide separate serial I/O channelling, a four-channel front panel adapter (CP­ADAP-CP345-DSUB50) can be connected to the 50-pin frontend connector of this optoisolated rear I/O module. This adapter terminates on the user side with four, male, 9-pin, D-Sub connectors which include the signals of channels 0 to 3. The adapter cables have a length of approximately 15 cm.
Figure 5-10: Four-Channel Front
Panel Adapter
50-pin D-Sub
Connector
Note...
Port 1
Port 2
Port 3
Port 4
9-pin D-Sub Connectors
Channel 0
Channel 1
Channel 2
Channel 3
The port labelling on the 9-pin D-sub connectors is different to the channel numbering on the CP346.
Channel 0 corresponds to Port 1
P R E L I M I N A R Y
Channel 1 corresponds to Port 2
Channel 2 corresponds to Port 3
Channel 3 corresponds to Port 4
Warning!
Where signals are not indicated in the table below, please do not con­nect external wiring to the connector pins. Failure to comply may result in damage to your board.
Page 5 - 14 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 69
CP346 Rear I/O Modules
Table 5-5: Pinouts of Front Panel Adapter Connectors (Sheet 1 of 2)
50-Pin Row
Connector
1 TRxD+ 3
26 TRxD- 8
2—
27
3—1
28 6
4—
29
5—7
30 4
6GND5
31 2
7 TRxD+ 3
32 TRxD- 8
8—
33
9—1
34 6
10
35
11 7
36 4
12 GND 5
37 2
13 TRxD+ 3 2
38 TRxD- 8
14
39
15 1
40 6
16
41
17 7
42 4
18 GND 5
43 2
RS422/RS485
Half Duplex
9-Pin Row
Connectors
Channel
0
1
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 5 - 15
Page 70
Rear I/O Modules CP346
Table 5-5: Pinouts of Front Panel Adapter Connectors (Sheet 2 of 2)
50-Pin Row
Connector
19 TRxD+ 3 3
44 TRxD- 8
20
45
21 1
46 6
22
47
23 7
48 4
24 GND 5
49 2
25
50
RS422/RS485
Half Duplex
9-Pin Row
Connectors
Channel

5.2.4 RS485 Termination Jumpers

The CP-RIO3-46-OPT offers onboard one 120 ohm termination resistor per channel which can be used to terminate the differential line pairs in case the serial channel is a beginning or end node of a RS485 two-wire network.
Table 5-6: Termination Jumper Settings for CP-RIO3-46-OPT
CHANNEL
SETTING DESCRIPTION
0 1 2 3
J1 J3 J5 J7
Open
(default)
Set
No 120 ohm termination
120 ohm termination between the differential lines
Termination between TRXD± in half duplex mode.
P R E L I M I N A R Y
Page 5 - 16 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Page 71
CP346 Rear I/O Modules

5.2.5 Technical Specifications

Table 5-7: CP-RIO3-46-OPT Technical Specifications
CP-RIO3-46-OPT SPECIFICATIONS
Serial I/O Standard RS485
Channels Four serial I/O channels
Data Rates Maximum: 115.2 kBaud, synchronous
Data Formats Data Bits: 5 to 8
Parity: Odd, even, none, mark, space Stop Bits: 1, 1.5, or 2 Flow Control: None, Xon/Xoff, hardware
Channel Mode RS485
balanced, half duplex
without local echo
with local echo (optional)
External Board Interfaces 50-pin, dual row, female, high-density D-Sub connector
LEDs 8 operation indicator LEDs, two for each channel:
Yellow RxD
Green TxD
The same LEDs are repeated on the mainboard’s front panel.
Electrical Parameters Overvoltage protection: ± 12 V
Power supply: 5 V DC + 5%, - 3% Power consumption: 490 mA * typ. Optoisolation voltage: 1kV (process-to-system side)
* At 5V DC inclusive CP346-RIO mainboard
General Parameters Temperature Ranges:
0°C to +70°C (operation, standard)
-40°C to +85°C (operation, extended)
-55°C to +125°C (storage)
Humidity: 0..90%, non-condensing Dimensions: 80mm x 100mm Weight: 95g approximately
P R E L I M I N A R Y
ID 27253, Rev. 03 © 2005 Kontron Modular Computers GmbH Page 5 - 17
Page 72
Rear I/O Modules CP346
This page has been intentionally left blank.
P R E L I M I N A R Y
Page 5 - 18 © 2005 Kontron Modular Computers GmbH ID 27253, Rev. 03
Loading...