Kontron CP371 User Manual

Page 1
CP371
16 Channel CompactPCI
Analog Input Controller
Manual ID: 23762, Rev. Index 02
June 2002
The product described in this manual is in compliance with all applied CE stan­dards.
Page 2

Revision History

Manual/Product Title: CP371
Manual ID Number: 23762
Rev.
Index
01 Initial Issue 00 Oct 2001 02 Added programming info and specification data 10 June 2002
Brief Description of Changes Board Index
Date of
Issue

Imprint

Copyright © 2002 PEP 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 PEP Modular Computers GmbH.
DISCLAIMER:
PEP Modular Computers GmbH rejects any liability for the correctness and completeness of this manual as well as its suitability for any partic­ular purpose.
This manual was realized by: TPD/Engineering, PEP Modular Computers GmbH.
Page ii © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 3
CP371 Preface

Table of Contents

Revision History ........................................................................................................ ii
Imprint ....................................................................................................................... ii
Table of Contents ..................................................................................................... iii
List of Tables ........................................................................................................... vii
List of Figures .......................................................................................................... ix
Proprietary Note ....................................................................................................... xi
Trademarks .............................................................................................................. xi
Environmental Protection Statement ........................................................................ 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 Product Overview .................................................................................. 1 - 4
1.3 Board Overview ..................................................................................... 1 - 5
1.3.1 Board Introduction ........................................................................ 1 - 5
1.3.2 Board Specific Information ............................................................ 1 - 5
1.4 System Relevant Information ................................................................ 1 - 6
1.4.1 System Configuration ................................................................... 1 - 6
1.4.2 Driver Software ............................................................................. 1 - 6
1.5 Board Diagrams .................................................................................... 1 - 6
1
1.5.1 System Level Interfacing .............................................................. 1 - 7
1.5.2 Front Panels ................................................................................. 1 - 8
1.5.3 Board Layout ................................................................................ 1 - 8
1.6 Technical Specifications .................................................................. 1 - 9
1.7 Applied Standards ............................................................................... 1 - 12
1.8 Related Publications ........................................................................... 1 - 12
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page iii
Page 4
Chapter
2. Functional Description ................................................................................ 2 - 3
2.1 General Information ............................................................................... 2 - 3
2.1.1 Signal Conditioning ....................................................................... 2 - 3
2.1.2 Analog to Digital Converter ........................................................... 2 - 3
2.1.3 ADC ProComm Controller ............................................................. 2 - 4
2.1.4 System Interfaces ......................................................................... 2 - 4
2.1.5 Monitor and Control ....................................................................... 2 - 4
2.1.6 Software ........................................................................................ 2 - 4
2.2 Board-Level Interfacing Diagram ........................................................... 2 - 4
2.3 System Interfaces .................................................................................. 2 - 6
2.3.1 Analog Input Interface ................................................................... 2 - 6
2.3.2 CPCI Interface and Pinout ............................................................ 2 - 8
2.3.3 Test and Program Development .................................................... 2 - 9
2.4 CapROM EEPROM ............................................................................... 2 - 9
2
2.5 Monitor and Control (M/C) ..................................................................... 2 - 9
2.5.1 Pre-Operation M/C ........................................................................ 2 - 9
2.5.2 Operation M/C ............................................................................ 2 - 10
Chapter
3. Installation ................................................................................................... 3 - 3
3.1 Hardware Installation ............................................................................. 3 - 3
3.1.1 Safety Requirements ..................................................................... 3 - 3
3.1.2 Installation Procedures .................................................................. 3 - 4
3.1.3 Removal Procedures ..................................................................... 3 - 5
3.2 Software Installation .............................................................................. 3 - 5
3
Page iv © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 5
CP371 Preface
Chapter
4. Configuration .............................................................................................. 4 - 3
4.1 Jumper Settings .................................................................................... 4 - 3
4.2 Analog Input Signal Requirements. ....................................................... 4 - 3
4.2.1 Channels ....................................................................................... 4 - 3
4.2.2 Single-ended Input Signals ........................................................... 4 - 3
4.2.3 Differential Input Signals ............................................................... 4 - 4
4.2.4 Current Input Signals .................................................................... 4 - 4
4.2.5 Analog Ground Usage .................................................................. 4 - 5
4.3 Programming Interface .......................................................................... 4 - 6
4.3.1 Access Control Logic .................................................................... 4 - 6
4.3.2 ADC Control Logic ........................................................................ 4 - 8
4.3.3 Programming the Board Capability ROM ..................................... 4 - 9
4.3.4 Common Board Registers .......................................................... 4 - 10
4
Chapter
5. System Considerations ............................................................................... 5 - 3
5.1 Introduction ........................................................................................... 5 - 3
5.2 General ................................................................................................. 5 - 3
5.3 Shielding ............................................................................................... 5 - 3
5.4 Process-side Signal Conditioning ......................................................... 5 - 4
5.5 Cable Interfacing ................................................................................... 5 - 4
5
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page v
Page 6
This page was intentionally left blank.
Page vi © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 7
CP371 Preface

List of Tables

1-2 System Relevant Information ................................................................... 1 - 6
1-3 CP371 Main Specifications ...................................................................... 1 - 9
2-1 Pinout of the Analog Input Interface Connector CON2 ............................ 2 - 7
2-2 CPCI Connector CON1 (J1) ..................................................................... 2 - 8
2-3 JTAG Connector (CON3) Pinout .............................................................. 2 - 9
4-1 Backend Register Address Map .............................................................. 4 - 6
4-2 ADC Common Control Register Bit Map ................................................. 4 - 8
4-3 RNG, BIP Bits ........................................................................................... 4 - 8
4-4 ADC Data Registers Bit Map .................................................................. 4 - 8
4-5 ROM Command Register Bit Map ........................................................... 4 - 9
4-6 ROM Control Register Bit Map ................................................................ 4 - 9
4-7 Opcodes and Commands ...................................................................... 4 - 10
4-8 ROM Status Register Bit Map ................................................................ 4 - 10
4-9 ROM Data Register Bit Map .................................................................. 4 - 10
4-10 Hardware Debug Register Bit Map ........................................................ 4 - 10
4-11 Hardware Status Register Bit Map ......................................................... 4 - 11
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page vii
Page 8
This page was intentionally left blank.
Page viii © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 9
CP371 Preface

List of Figures

1-1 CP371 System Level Interfacing Diagram ............................................... 1 - 7
1-2 CP371 Front Panel .................................................................................. 1 - 8
1-3 CP371 Board (Front View) ....................................................................... 1 - 8
2-1 CP371 Board Level Interfacing ................................................................ 2 - 5
2-2 Pin Layout of the Analog Input Interface Connector CON2 ..................... 2 - 6
2-3 CPCI Connector CON1 (J1) ..................................................................... 2 - 8
2-4 JTAG Connector (CON3) ......................................................................... 2 - 9
4-1 Single-ended Input Configuration ............................................................ 4 - 3
4-2 Differential Input Configuration ................................................................ 4 - 4
4-3 Current Input Configuration ...................................................................... 4 - 4
4-4 Analog Grounding .................................................................................... 4 - 5
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page ix
Page 10
This page was intentionally left blank.
Page x © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 11
CP371 Preface

Proprietary Note

This document contains information proprietary to PEP Modular Computers. It may not be cop­ied or transmitted by any means, disclosed to others, or stored in any retrieval system or media without the prior written consent of PEP 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, PEP Modular Computers cannot accept liability for any inaccuracies or the conse­quences thereof, or for any liability arising from the use or application of any circuit, product, or example shown in this document.
PEP Modular Computers reserves the right to change, modify , or improve this document or the product described herein, as seen fit by PEP Modular Computers without further notice.

Trademarks

PEP Modular Computers, the PEP logo and, if occurring in this manual, “CXM” are trade marks owned by PEP Modular Computers GmbH, Kaufbeuren (Germany). In addition, this document may include names, company logos, and trademarks which are registered trademarks and are, therefore, proprietary to their respective owners.

Environmental Protection Statement

This product has been manufactured to satisfy environmental protection requirements where possible. Many of the components used (structural parts, printed circuit boards, connectors, batteries, etc.) are capable of being recycled.
Final disposition of this product after its service life must be accomplished in accordance with applicable country, state, or local laws or regulations.
ID 23762, Rev. 02 © 2002 PEP 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...
This symbol and title emphasize aspects the reader should read through carefully for his or her own advantage.
Page xii © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 13
CP371 Preface

For Your Safety

Your new PEP product was developed and tested carefully to provide all features necessary to ensure its compliance with electrical safety requirement s. It wa s also de signed 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 PEP product, you are requested to conform with the fol­lowing 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 PEP product into a system always ensure that your mains power is switched off. This applies also to the instal­lation 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 electricity. 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 operational 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 piggy­backs, ROM devices, jumper settings etc. If the product contains batteries for RTC or memory back-up, ensure that the board is not placed on conductive surfaces, including anti-st atic plas­tics or sponges. They can cause short circuits and damage the batteries or con ductive circuit s on the board.
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page xiii
Page 14

General Instructions on Usage

In order to maintain PEP’s product warranty, this product must not be altered or modified in an y way . Changes or modifications to the device, which are not explicitly approved by PEP Modular Computers and described in this manual or received from PEP Technical Suppo rt as a spe cial handling instruction, will void your warranty.
This device should only be installed in or connected to systems that fulfill all necessary techni­cal and specific environmental requirements. This applies also to the operational temperature range of the specific board version, which must not be exceeded. If batteries are present their temperature restrictions must be taken into account.
In performing all necessary installation and application operations, please follow only the in­structions supplied by the present manual.
Keep all the original packaging material for future storage or warranty shipment s. If it is neces­sary to store or ship the board please re-pack it as nearly as possible in the manner in which it was delivered.
Special care is necessary when handling or unp acking the product. Please, consult the special handling and unpacking instruction on the previous page of this manual.
Page xiv © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 15
CP371 Preface

Two Year Warranty

PEP Modular Computers grants the original purchaser of PEP products a TWO YEAR LIMITED
HARDWARE
granted or implied by anyone on behalf of PEP are valid unless the consumer has the express written consent of PEP Modular Computers.
PEP Modular Computers warrants their own product s, excluding software, to be free from man­ufacturing and material defects for a period of 24 consecutive months from the date of pur­chase. 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 re­paired by any other party than PEP Modular Computers or their authorized agents. Further­more, any product which has been, or is suspected of being damaged as a result of neg ligence, 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 thereo f altered, defaced or removed will also be excluded from this war­ranty.
WARRANTY as described in the fo llowing. However, no other warranties that may be
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 p urchase, togeth­er 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).
PEP provides for repair or replacement of any part, assembly or sub-assemb ly at their own dis­cretion, 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 PEP Modular Computers, 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 PEP with the repaired or replaced item.
PEP Modular Computers will not accept liability for any further claims resulting directly or indi­rectly from any warranty claim, other than the above specified rep air , replacement or refunding. In particular, all claims for damage to any system or process in which the product was em­ployed, or any loss incurred as a result of the product not functioning at any given time, are excluded. The extent of PEP Modular Computers liability to the customer shall not exceed the original purchase price of the item for which the claim exists.
PEP Modular Computers 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 en­sure their suitability for any given task remains that of the purchaser. In no event will PEP be liable for direct, indirect or consequential damages resulting from the use of our hardware or software products, or documentation, even if PEP 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.
Please remember that no PEP Modular Computers 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 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page xv
Page 16
This page was intentionally left blank.
Page xvi © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 17
CP371 Introduction
Chapter
0
Introduction
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 1 - 1
Page 18
Introduction CP371
This page was intentionally left blank.
Page 1 - 2 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 19
CP371 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 S pecifications. 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 PEP Modular Computers Com­pactPCI systems may be found described in the PEP Comp actPCI System Manual. Please re­fer 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 PEP’s racks, boards, backplanes, power supply units and peripheral devices in a customized CompactPCI system, as well as configura­tion examples.
Data on rack dimensions and configurations as well as information on mechanical and electrical rack characteristics.
Information on the distinctive features of PEP CompactPCI boards, such as functionality, hot swap capability. In addition, an overview is given for all existing PEP CompactPCI boards with links to the relating data sheets.
Generic information on the PEP CompactPCI backplanes, such as the slot assignment, PCB form factor , distinctive feature s, clocks, power supply connectors and signalling en­vironment, as well as an overview of the PEP CompactPCI standard backplane family.
Generic information on the PEP CompactPCI power supply units, such as the input/out­put characteristics, redundant operation and distinctive features, as well as an overview of the PEP CompactPCI standard power supply unit family.
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 1 - 3
Page 20
Introduction CP371

1.2 Product Overview

The CP371 Analog Input Controller is a part of a comprehensive concept to p rovide Comp act­PCI system integrators with a complete range of CompactPCI I/O products which include the functions of analog input, analog output, digital input, and digital output implemented as sepa­rate individual boards. This concept ensures a maximum degree of system design flexibility thus allowing efficient and effective usage of available resources.
The basic functions of this board are to provide interfacing to the application (process), perform analog to digital signal conversion, and to make the raw digitized data along with gain and of fset correction data available for further processing. The major components involved in these pro­cesses are the front end (process side) signal conditioning, an analog to digital converter (ADC), and the Analog to Digital Conversion Process and Communications (ADC ProComm) controller which is realized in a field-programmable gate array (FPGA). The ADC ProComm Controller is designed to provide effective and efficient control of the analog to digital conver­sion process as well as interfacing to the CPCI System Controller.
The following table provides a quick overview of the CP371 board.
Table 1-1: CP371 Product Overview
CP371 FEATURES DESCRIPTION
Analog Input Board • CompactPCI: 3U, 4HP
• 33 MHz system clock
• 32-bit address and data bus
• Designed for Plug and Play
• Complies with the CPCI specification
Input Signals • Voltages: Single-Ended (0 to 5V, 0 to 10V) and Differential (± 5V, ± 10V)
• Current: 0 to 20 mA and 4 to 20 mA
Output Data • Raw digitalized data (of analog input), 12-bit resolution
• Gain correction data
• Offset correction data
Monitor and Control • Cluster active LED’s
• ADC ProComm controller
• System Master driver software
Page 1 - 4 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 21
CP371 Introduction

1.3 Board Overview

1.3.1 Board Introduction

The CP371 is a 16 channel (dual cluster , eight channels each) analog input board. The sources of the analog inputs presented to the board may either be a voltage or current generator. The board accepts either single-ended or differential voltages. Current s of up to 20 mA are convert­ed to a single-ended voltage prior to further processing.
Input signal processing begins with the presentation of the signal to the front panel connector. Signal conditioning prior to analog to digital conversion includes: conversion of current sign als to single-ended voltage signals; low-pass filtering and over voltage protection; differential to single-ended voltage conversion, input offsetting, and gain correction. After analog to digital conversion, the raw digitized analog data is transferred from the ADC to the ADC ProComm controller where calibrated gain and offset data are mad e available fo r further processing. The ADC ProComm controller is not only responsible for controlling data acquisition, it also controls the interface to the CompactPCI bus.
Input signal types and ranges are as follows:
Voltages:
Single-ended:
0 to 15 V
0 to 10 V
Differential:
•± 15 V
± 10 V
Currents:
0 to 20 mA
4 to 20 mA
Output data are:
Raw digitized analog input data
Gain correction data
Offset correction data

1.3.2 Board Specific Information

Specific board components involved in the analog to digital conversion and data handling pro­cess are:
One front panel connector (62-pin, female, D-Sub type)
Sixteen channels of input signal conditioning
Two, 12-bit ADC’s (one for each cluster of 8 channels each)
Four optocouplers (serial data and control signals, two for each cluster)
One FPGA (the ADC ProComm controller)
One CompactPCI bus connector (J1, board to backplane, 132-pin, female, six row)
One JTAG/ISP on board programming connector (10-pin, male, dual row)
Two DC/DC converters (isolation)
One EEPROM (Capability ROM)
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 1 - 5
Page 22
Introduction CP371

1.4 System Relevant Information

The following system relevant information is general in nature but should still be considered when developing applications using the CP371.
Table 1-2: System Relevant Information
SUBJECT INFORMATION
System Configuration The CP371 operates with a system clock frequency of 33 MHz.
The number of CP371’s which can be installed in any one system depends solely on the number of CPCI slots available.
Master/Slave Functionality The CP371 functions only as a slave. As such it requires a system master for
servicing.
System Controller The CP371 cannot function as a system controller. Analog Inputs Analog inputs to the CP371 must conform to the inputs specifications set
forth in this manual for the CP371. In most cases, some form of signal condi­tioning will be required on the process side prior to a signal being presented to the CP371.

1.4.1 System Configuration

When implementing applications, precautions must be taken to ensure that the input signals presented to the CP371 comply with the specifications set forth in this manual. For this reason it will be necessary for most applications to provide signal conditioning prior to presenting the analog input to the CP371. In addition, it is imperative that signal interference be kept to a min­imum. Refer to chapters 4 and 5 for further information.

1.4.2 Driver Software

The CP371 is supplied with appropriate driver software which provides software interfacing to the system master.

1.5 Board Diagrams

The following diagrams provide additional information concerning board functionality and com­ponent layout.
Page 1 - 6 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 23
CP371 Introduction

1.5.1 System Level Interfacing

Figure 1-1: CP371 System Level Interfacing Diagram
CompactPCI System
System Master
CPCI - BUS
Analog
Input
System
CP371
analog
input
16 max
CP371
n
1
analog
input
16 max
1
analog
input
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 1 - 7
analog
input
1
Page 24
Introduction CP371

1.5.2 Front Panels

Figure 1-2: CP371 Front Panel
LEGEND:
CP 371
0-7 8-15
0-7 when LED is active: cluster A is activated 8-15 when LED is active: cluster B is activated

1.5.3 Board Layout

Figure 1-3: CP371 Board (Front View)
LED1
CLUSTER A
(Channels 0 to 7)
C O N
2
CLUSTER B
(Channels 8 to 15)
O P A
A D C
O P A
O P A
A
A D
D C
C
O P A
O P
O
DC/DC
DC/DC
O P
O
T
210
CON3
1
9
CapROM
25
C
ADC ProComm Controller
T
O N
1
1
Page 1 - 8 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 25
CP371 Introduction

1.6 Technical Specifications

Table 1-3: CP371 Main Specifications
GROUP TYPE DESCRIPTION
ADC ProComm
Controller and
Related
Peripheral
Memory
External
Interfaces
Internal Interfaces
Indicators
General
FPGA Logic Device Provides PCI interfacing and IO control logic
CapROM 4 kBit (512 byte) EEPROM
Analog Input One, 62-pin, female, three row, D-sub connector
Supports up to sixteen analog input channels
CPCI Bus One, 132-pin, female, six row connector (standard CPCI type
connector for J1)
JTAG/ISP JTAG/ISP 10-pin SMD connector for programming and testing
purposes
Front Panel LED Two, green LED’s for indicating cluster operation status
(enabled or disabled)
Mechanical Conforms with IEEE 1101.1 Power Requirements Voltages: 3.3 V
5 V VCC
Power Consumption Voltages: 3.3 V = 0.132 W
5 V = 1.90 W
Temperature Range Operational: 0ºC to +70ºC Standard
-40ºC to +85ºC E2
Storage: -55ºC to +125ºC
Software Driver
Information
(See note below)
Note...
The Device ID and Vendor ID refer to the chip manufacturer. In the Class Code value given, “11” relates to the data acquisition and signal processing control­lers and “8000” relates to the Analog IO modules. Subsystem Device ID and Subsystem Vendor ID are defined by PEP.
In addition, the CP371 uses 64kB in PCI memory space, BAR0, is not prefetch­able, and no interrupts are used.
Humidity 0% to 95% non-condensing Dimensions 100 mm x 160 mm single height Eurocard Board Weight 152 g (2 cluster configuration) PCI Header Device ID: 0x5555
Vendor ID: 0x1556 Class Code: 0x118000 Subsystem Device ID: 0x00D0 Subsystem Vendor ID: 0x1518
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 1 - 9
Page 26
Introduction CP371
Table 1-4: CP371 Analog Input Specifications
TYPE DESCRIPTION
Input Types / Ranges VOLTAGES: Single-ended: 0 to 15V
0 to 10 V
Differential: ± 15V
± 10 V
CURRENTS: 0 to 20 mA
4 to 20 mA
Channels Standard: 16 channels total
(two clusters of 8 channels each)
Optional: 8 channels total (one cluster of 8 channels)
Channel Connections Sixteen pairs of dedicated connector pins for plus and minus; sixteen separate
pins for configuring on board shunt resistors for current inputs; twelve ground pins distributed over the connector
Conversion Continuous serial sampling of input channels, serial multiplexed output of the
ADC; single measurement buffering for each channel in the ADC ProComm
controller Throughput Rate 13.9 kHz per channel Resolution 12 bit Accuracy See table 1-5 Input Filter (edge frequency) 15 kHz for single-ended
20 kHz for differential Input Protection 8 kV ESD Over Voltage/Current
Protection Isolation 2 kV process to system
Input Impedance Voltage: 450 k ohm
Voltage: ± 24 V maximum Current: 30 m A maximum
Current: 250 k ohm
Page 1 - 10 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 27
CP371 Introduction
Table 1-5: CP371 Accuracy
INPUT
TYPE
and
RANGE
0 V – 5 V < 0.0488 < 0.0006 < 0.0006
0 V – 10 V < 0.0244 < 0.0004 < 0.0004
- 5 V – + 5 V < 0.0244 < 0.0004 < 0.0004
- 10 V – + 10 V < 0.0244 < 0.0004 < 0.0004
SIGNAL ACCURACY
at 23°C
± % of
FULL SCALE
ACCUMULATING
DEVIATION
% per K
(S and E1 BOARDS
BASIC ACCURACY
0 mA – 20 mA < 0.0488 < 0.0006 < 0.0006
0 V – 5 V < 0.0244 < 0.0004 < 0.0004
0 V – 10 V < 0.0244 < 0.0004 < 0.0002
- 5 V – + 5 V < 0.0244 < 0.0004 < 0.0002
- 10 V – + 10 V < 0.0122 < 0.0002 < 0.0002
BASIC ACCURACY
0 mA – 20 mA < 0.0244 < 0.0004 < 0.0004
(statistically evaluaated)
ACCUMULATING
DEVIATION
% per K
(E2 BOARDS
VOLTAGE < 0.15 < 0.001 < 0.001
CURRENT < 0.15 < 0.001 < 0.001
ACCURACY 1
PRODUCTION
VOLTAGE < 0.25 < 0.001 < 0.001
CURRENT < 0.25 < 0.001 < 0.001
ACCURACY 2
PRODUCTION
Note: PRODUCTION ACCURACY 1: calibration by PEP; single samples PRODUCTION ACCURACY 2: best case calibration (not supported by PEP); mean average
of samples (sample count > 100)
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 1 - 11
Page 28
Introduction CP371

1.7 Applied Standards

The PEP Modular Computers’ CompactPCI systems comply with the requirements of the fol­lowing standards:
Table 1-6: Applied Standards
TYPE STANDARD
Emission EN50081-1
CE
MECHANICAL Mechanical Dimensions IEEE 1101.1
ENVIRONMENTAL
TESTS
Immunity, Industrial Environment EN50082-2 Immunity, IT Equipment EN55024 Electrical Safety EN60950
Vibration, Sinusoidal IEC68-2-6 Random Vibration, Broadband IEC68-2-64 (3U boards) Permanent Shock IEC68-2-29 Single Shock IEC68-2-27

1.8 Related Publications

Table 1-7: Related Publications
ISSUED BY DOCUMENT
CompactPCI
Systems
PICMG PEP Modular Computers CompactPCI Systems Manual (ID 19953)
CompactPCI Specification, V. 2.0, Rev. 3.0
Page 1 - 12 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 29
CP371 Functional Description
Chapter
2
Functional Description
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 2 - 1
Page 30
Functional Description CP371
This page was intentionally left blank.
Page 2 - 2 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 31
CP371 Functional Description

2. Functional Description

The following chapters present more detailed, board level information about t he CP371 analog input controller whereby the board components and their basic functionality are discussed in general.

2.1 General Information

The CP371 is comprised basically of the following:
Signal conditioning
Analog to digital converter
ADC ProComm controller
Realized in an FPGA device
Controls analog data acquisition and provides interfacing to the CPCI bus
System interfaces for:
Analog inputs
Two, 8 channel clusters: Cluster A, Cluster B
One, 62-pin, female, 3-pin row, D-sub connector (CON2)
CompactPCI bus
132-pin, female, 6-pin row connector (CON1)
CompactPCI specification
Testing and program development (JTAG/ISP) connector (CON3)
On board memory: Capability EEPROM (CapROM)
Monitor and Control
Two each, green status LED’s for cluster activation (channels 0-7 and 8-15)
Registers
Software

2.1.1 Signal Conditioning

Analog input signal conditioning is comprised of two clusters (A and B) each of the following:
Over-voltage and over-current protection
Low-pass signal filtering
Input conversion (differential and current) to single-ended
Signal pre-conditioning (gain and offset) prior to presentation to the ADC

2.1.2 Analog to Digital Converter

For each cluster there is one, eight channel, 12-bit analog to digital converter (ADC) available. After a cluster is activated, sampling is done starting with the lowest numbered channel of the cluster until all channels have been sampled. This is repeated as long as required. Within the ADC, the sampled data is serialized and made available for further processing by the ADC Pro­Comm controller.
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 2 - 3
Page 32
Functional Description CP371

2.1.3 ADC ProComm Controller

Within the CP371, the ADC ProComm controller is responsible for supervising and controlling the analog data acquisition process and providing communications with the CompactPCI sys­tem master. Applications address the CP371 through its software driver interface within the system master whereby the controller accepts requests from the driver , e xecutes them accord­ingly , and supervises the analog to digital co nversion process. Data from the ADC is processed through the ADC ProComm controller and then made available to the system master.
In addition to the raw digitized analog data, the ADC ProComm controller also has access to board calibration data for gain and offset error correction. Th is data is available to the applica­tion through the driver software.

2.1.4 System Interfaces

The CP371 provides interfacing capability for the following system elements:
Analog input
CompactPCI bus
Test and program development: JTAG/ISP
Analog input interfacing is achieved via the CON2 connector. Interfacing to the CompactPCI bus is accomplished via the CON1 connector. Test and program development is supported by the CON3 connector.

2.1.5 Monitor and Control

Various monitor and control functions are available for the operation of the CP371. Two LED’s are available for operator interaction. In addition, applications have access via the System Mas­ter driver software to board specific registers.

2.1.6 Software

Driver software is available for the System Master application software.

2.2 Board-Level Interfacing Diagram

The following figure demonstrates the interfacing structure between the internal processing modules of the CP371 and other major CP371 system components. Where CP371 system el­ements have common interfacing they are grouped into a block. Interfacing common to only one element of a block is indicated with a direct connecting line. The interfacing lines are shown in white where they are on board and in black for board external interfacing.
Page 2 - 4 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 33
CP371 Functional Description
Figure 2-1: CP371 Board Level Interfacing
CP371 Analog Input Controller
CPCI - Interface
ADC ProComm Controller
CLUSTER A
AD Converter
(ADC)
Analog Signal
Conditioning
analog
input
8 max
CLUSTER B
AD Converter
(ADC)
Analog Signal
Conditioning
analog
input
8 max
1
analog
input
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 2 - 5
analog
input
1
Page 34
Functional Description CP371

2.3 System Interfaces

2.3.1 Analog Input Interface

The analog input interface is accomplished through the CON2 connector. The following figure and table indicate the pin layout and pinout of this connector.
Figure 2-2: Pin Layout of the Analog Input Interface Connector CON2
Pin Naming Convention:
Ground (analog)
I
CP 371
0-7 8-15
0
I
1
I
2 3
I
+ Plus
- Minus
I I (current)
O Pin not connected
CHANNELS
10 11
12 13 14 15
I
4
I
5
I
6
I
7
I
8
I
9
I
Plus, minus, and I are names for these pins and do not indicate the polarity of the signal to be pre­sented to the CP371.
LED’s
0-7 Cluster A activated
(Channels 0 to 7)
8-15 Cluster B activated
(Channels 8 to 15)
I
I I I I
43
Page 2 - 6 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
1
22
Page 35
CP371 Functional Description
Table 2-1: Pinout of the Analog Input Interface Connector CON2
CHANNEL PIN SIGNAL PIN SIGNAL PIN SIGNAL
1NC 22 NC 43 AGND
15 14 13 12
11 10
2 AIN/I 15+ 23 AIN15- 44 I15­3 AIN/I 14+ 24 AIN14- 45 I14­4 AIN/I 13+ 25 AIN13- 46 I13­5 AIN/I 12+ 26 AIN12- 47 I12­6AGND27AGND48AGND 7 AIN/I 11+ 28 AIN11- 49 I11­8 AIN/I 10+ 29 AIN10- 50 I10-
9 8
7 6 5 4
9 AIN/I 9+ 30 AIN9- 51 I9­10 AIN/I 8+ 31 AIN8- 52 I8­11 AGND 32 AGND 53 AGND 12 AIN/I 7+ 33 AIN7- 54 I7­13 AIN/I 6+ 34 AIN6- 55 I6­14 AIN/I 5+ 35 AIN5- 56 I5­15 AIN/I 4+ 36 AIN4- 57 I4­16 AGND 37 AGND 58 AGND
3 2 1 0
17 AIN/I 3+ 38 AIN3- 59 I3­18 AIN/I 2+ 39 AIN2- 60 I2­19 AIN/I 1+ 40 AIN1- 61 I1­20 AIN/I 0+ 41 AIN0- 62 I0­21 AGND 42 AGND
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 2 - 7
Page 36
Functional Description CP371

2.3.2 CPCI Interface and Pinout

The CPCI interface is based on the specification PICMG 2.0 R 3.0, 10/1/99. The following fig­ure and table indicate the pin layout and pinout of the CPCI connector, CON1 (J1).
Figure 2-3: CPCI Connector
CON1 (J1)
F EDCBA
25
CON1
1
Table 2-2: CPCI Connector CON1 (J1)
PIN ROW
PIN
A B C D E F
1 VCC NC NC NC VCC GND 2 NC VCC NC TDO TDI GND 3 INTA# NC NC VCC NC GND 4 NC GND NC NC NC GND 5NCNCRSTGNDNCGND 6 NC GND 3,3V CLK AD[31] GND 7 AD[30] AD[29] AD[28] GND AD[27] GND 8 AD[26] GND NC AD[25] AD[24] GND 9 C/BE[3] IDSEL AD[23] GND AD[22] GND
10 AD[21] GND 3,3V AD[20] AD[19] GND
11 AD[18] AD[17] AD[16] GND C/BE[2] GND
12-14 Key Area 15 3,3V FRAME# IRDY GND TRDY GND 16 DEVSEL# GND NC STOP LOCK GND 17 3,3V NC NC GND PERR GND 18 SERR# GND 3,3V PAR C/BE[1] GND 19 3,3V AD[15] AD[14] GND AD[13] GND 20 AD[12] GND NC AD[11] AD[10] GND 21 3,3V AD[9] AD[8] M66EN C/BE[0] GND 22 AD[7] GND 3,3V AD[6] AD[5] GND 23 3,3V AD[4] AD[3] VCC AD[2] GND 24 AD[1] VCC NC AD[0] NC GND 25 VCC NC NC 3,3V VCC GND
Page 2 - 8 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 37
CP371 Functional Description

2.3.3 Test and Program Development

2.3.3.1 JTAG/ISP Interface and Pinout
A JT AG/ISP interface is provided on the CP371 for the manufacturer’s use (logic programming, JTAG test). This is a SAMTEC 10-pin, male, dual row connector (0.050” pin pitch).
Figure 2-4: JTAG Connector (CON3)
2
1
Table 2-3: JTAG Connector (CON3) Pinout
SIGNAL PIN PIN SIGNAL
TCK 1 2 GND TDO 3 4 VCC TMS 5 6 NC NC 7 8 N/C TDI 9 10 GND
10
9

2.4 CapROM EEPROM

The CapROM is a 4 kBit (512 byte) EEPROM for storing gain and offset error correction data as well as providing the ability to store board control relevant information for allowing software configuration of the CP371.

2.5 Monitor and Control (M/C)

Monitor and Control functions are divided essentially into Pre-operation and Operation. Pre-op­eration M/C deals with board configuration and system requirements. Operation M/C covers di­rect operator interfaces.

2.5.1 Pre-Operation M/C

Pre-operation M/C is a direct function of the application and the system requirements. These requirements dictate the analog input configuration as well as the overall system integration. Analog input configuration is addressed in detail in chapters 4 and 5. These chapters provide detailed information concerning input signal conditioning and environment a l aspe ct s which re-
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 2 - 9
Page 38
Functional Description CP371
late to the operation and performance of the CP371. Overall system integration and compli­ance with its requirements is beyond the scope of this manual.

2.5.2 Operation M/C

Operation M/C is a function of the CP371 drive r software and the application. Direct inter action by the operator is limited to the function provided by the cluster activation LED’ s (0-7 for cluster A; 8-15 for cluster B). When lit, these LED’s indicate that the corresponding cluster has been activated for operation.
Page 2 - 10 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 39
CP371 Installation
Chapter
3
Installation
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 3 - 1
Page 40
Installation CP371
This page was intentionally left blank.
Page 3 - 2 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 41
CP371 Installation

3. Installation

The CP371 has been designed for easy installation. However, the following standard precau­tions, installation procedures, and general information must be observed to ensure proper in­stallation and to preclude damage to the board or injury to personnel.

3.1 Hardware Installation

The product described in this manual can be installed in any available 3U slot of a CompactPCI system except for the system master slot.

3.1.1 Safety Requirements

The board must be securely fastened to the chassis using the two front panel retaining screws located at the top and bottom of the board to ensure proper grounding and to avoid loosening caused by vibration or shock.
In addition the following electrical hazard precautions must be observed.
Caution, Electric Shock Hazard!
Ensure that the system main power is removed prior to installing or removing this board. Ensure that there are no other external voltages or signals being applied to this board or other boards within the system. Failure to comply with the above could endanger your life or health and may cause damage to this board or other system components including process-side signal conditio ning equipment.
ESD Equipment!
This PEP board contains electrostatically sensitive devices. Please observe the following precautions to avoid damage to your board:
Discharge your clothing before touching the assembly. Tools must be dis­charged before use.
Do not touch any on board components, connector pins, or board conductive circuits.
If working at an anti-static workbench with professional discharging equip­ment, ensure compliance with its usage when handling this product.
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 3 - 3
Page 42
Installation CP371

3.1.2 Installation Procedures

To install the board proceed as follows:
1. Ensure that the safety requirements indicated above are observed.
Warning!
Failure to comply with the instruction below may cause damage to the board or result in improper system operation. Please refer to chapters 4 and 5 for configuration information.
2. Ensure that the board is properly configured for operation before installing.
Note...
Care must be taken when applying the procedures below to ensure that when the board is inserted it is not damaged through conta ct with other boards in the system.
3. To install the board perform the following:
1. Prior to installation of the board disengage the insertion/extraction handle by first un­locking the handle and pressing it down.
2. Insert the board into an appropriate slot, and, using the insertion/extraction handle, en­sure that it is properly seated in the backplane. (Front panel is flush with the rack front; the insertion/extraction handle is locked.)
4. Fasten the front panel retaining screws.
Warning!
Proper and safe operation of the CP371 Analog Input Controller depends on the correct configuration of input signals and signal con­ditioning. System integrators must ensure that all signals presented to the CP371 comply with the specifications set forth in this manual.
Failure to comply with the above may cause damage to the board or result in improper system operation. Please refer to chapters 4 and 5 for configuration information.
5. Connect external interfacing cables to the board as required.
6. Ensure that the interfacing cables are properly secured.
Page 3 - 4 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 43
CP371 Installation

3.1.3 Removal Procedures

To remove the board proceed as follows:
1. Ensure that the safety requirements indicated above are observed.
Warning!
Care must be taken when applying the procedures below to ensure that when the board is removed it is not damaged through contact with other boards in the system.
2. Disconnect any interfacing cables that may be connected to the board.
3. Loosen both of the front panel retaining screws.
4. To remove the board from the backplane perform the following:
1. Unlock the insertion/extraction handle by pressing down on the grey locking mecha­nism in the middle of the handle. (This should be achievable with a minimum of f orce. If necessary lift the handle up slightly while pressing down on the grey locking mech­anism.)
2. Disengage the board from the backplane by pressing down on th e insertion/extraction handle and pull the board out of the slot ensuring that the board does not make cont act with adjacent boards. (If the handle does not move, it is not unlocked. Repeat the un­locking procedure above and try again. Do not use force!)

3.2 Software Installation

Installation of the CP371 driver software is a function of the application operating system. For further information refer to the appropriate software documentation.
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 3 - 5
Page 44
Installation CP371
This page was intentionally left blank.
Page 3 - 6 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 45
CP371 Configuration
Chapter
4
Configuration
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 4 - 1
Page 46
Configuration CP371
This page was intentionally left blank.
Page 4 - 2 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 47
CP371 Configuration

4. Configuration

The following chapters provide information for configuring the CP371 board for operation.

4.1 Jumper Settings

The CP371 does not have any jumpers which require configuring.

4.2 Analog Input Signal Requirements.

In addition to the input signal types and their ranges which have been specified in chapter 1, system integrators must be aware of the need for certain types of input configuration require­ments for the CP371. The following chapters describe each of the signal types with regards to their individual connection configuration requirements.

4.2.1 Channels

The CON2 connector of the CP371 is layed out so that for each input channel there are three input pins per channel available. This allows for each channel to be configured separately as required. As can be seen from Figure 2-2, each channel’s respective pins are grouped together starting at the top of the connector with channel 0 (cluster A). The configuration of each cha nnel is dependent of the type of signal being presented to the CP371. The following chapters ad­dress the basic requirements for each type of possible signal.

4.2.2 Single-ended Input Signals

Signals of this type are required to be connected: plus to plus; minus to minus. In addition the minus pole must be connected externally to the analog ground of the CON2 connector. Refer to the figure below for this type of connection.
Figure 4-1: Single-ended Input Configuration
Example for channel 0
analog ground
pin 21 or 42
pin 41
V
pin 20
+ +
pin 62NC
I
CON 2
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 4 - 3
CP371
Page 48
Configuration CP371

4.2.3 Differential Input Signals

Signals of this type are required to have connections to plus and minus. Analog ground is a function of the input signal and is connected as required. Refer to the figure below for this type of connection.
Figure 4-2: Differential Input Configuration
Example for channel 0
analog ground
pin 21 or 42
pin 41
V
pin 20
+ +
NC
pin 62
I
CON 2

4.2.4 Current Input Signals

Signals of this type are required to be connected: plus to plus; minus to I. In addition the minus pole must be connected externally to minus of the CON2 connector. Refer to the figure below for this type of connection.
Figure 4-3: Current Input Configuration
Example for channel 0
not relevant for current inputs
CP371
analog ground
pin 41
V
pin 20
+ +
pin 62
I
CON 2
Page 4 - 4 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
CP371
Page 49
CP371 Configuration

4.2.5 Analog Ground Usage

Analog ground usage must be carefully considered in order to avoid ground loops or floating signals which can ultimately lead to the degradation of the system performance. The figure be­low indicates the nominal analog grounding situation, but is, of course, very much subject to the requirements of the application as a whole. What is important, however, is to ensure that ground loops do not get created in the course of the wiring up of the various system compo­nents. Additionally , it may be necessary to use heavier gauge wiring to avoid excessive loading of single wires.
Figure 4-4: Analog Grounding
central analog grounding point 1
Lines with X’s indicate the type of analog ground connections which should not be made.
X
X
PROCESS SIDE
11 16 21 27 32 37 42 43
CP371
6
48
central analog grounding point n
53 58
CON 2
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 4 - 5
Page 50
Configuration CP371

4.3 Programming Interface

4.3.1 Access Control Logic

All the resources of the CP371 are mapped within the 64KB PCI memory address space which itself is set in the PCI configuration register BAR0. The port size of all local or backend registers is 32-bit by default. The address map of the registers is as follows.
Table 4-1: Backend Register Address Map
BASE
ADDRESS
(BAR0)
+ 0x0000 4 kB COMMON BOARD REGISTER
0x0800 32 bit com_sta Hardware Status Register
SIZE FUNCTION
0x0C00 32 bit com_ctl Hardware Debug Register
+ 0x1000 4 kB CAPABILITY ROM, SERIAL EEPROM
0x1000 32 bit cmd_r Command Register
0x1400 32 bit ctl_r Control Register
0x1800 32 bit sta_r Status Regsiter
0x1C00 32 bit dat_r Data Register
+ 0x2000 4 kB ADC CLUSTER A
0x2400 32 bit ctl_a, Cluster a Common Control Register
0x2C00 32 bit dat_a_0 ADC Data channel # 0
0x2C04 32 bit dat_a_1 ADC Data channel # 1
0x2C08 32 bit dat_a_2 ADC Data channel # 2
0x2C0C 32 bit dat_a_3 ADC Data channel # 3
0x2C10 32 bit dat_a_4 ADC Data channel # 4
0x2C14 32 bit dat_a_5 ADC Data channel # 5
0x2C18 32 bit dat_a_6 ADC Data channel # 6
0x2C1C 32 bit dat_a_7 ADC Data channel # 7
Page 4 - 6 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 51
CP371 Configuration
Table 4-1: Backend Register Address Map
BASE
ADDRESS
(BAR0)
+ 0x3000 4 kB ADC CLUS TER B
0x3400 32 bit ctl_b, Cluster b Common Control Register
0x3C00 32 bit dat_b_0 ADC Data channel # 0
0x3C04 32 bit dat_b_1 ADC Data channel # 1
0x3C08 32 bit dat_b_2 ADC Data channel # 2
0x3C0C 32 bit dat_b_3 ADC Data channel # 3
SIZE FUNCTION
0x3C10 32 bit dat_b_4 ADC Data channel # 4
0x3C14 32 bit dat_b_5 ADC Data channel # 5
0x3C18 32 bit dat_b_6 ADC Data channel # 6
0x3C1C 32 bit dat_b_7 ADC Data channel # 7
+ 0x4000 48 kB reserved for additional clusters
0xFFFF
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 4 - 7
Page 52
Configuration CP371

4.3.2 ADC Control Logic

This part of the IO Control Logic controls the communication with the ADC (MAX1270). The ADC integrates 8 channels per chip ( 2 clusters for a total of 16 channels) and has a serial bus interface operating at 2 MHz.
ADC operating mode is individually programmable for each channel, i.e. the polarity (unipo­lar/bipolar) and range (5/10/20V). After initialization of the corresponding ADC Control Regis­ters an Enable Bit must be set to ‘1’.
The ADC Control Logic handles the cyclic setup of the necessary ADC control word including start bit, channel address, channel mode, and clock mode without any software intervention. The digitized data are automatically stored in dual-ported data registers. An arbiter avoids ac­cess conflicts between PCI access and ADC access to the same data register.
T able 4-2: ADC Common Control Register
Bit Map
Table 4-3: RNG, BIP Bits
BITS TYP. DEF. FUNCTION
31 R/W 0 Enable 30 - 16 R/W 00 reserved 15 - 14 R/W 00 RNG, BIP for ADC channel # 7 13 - 12 R/W 00 RNG, BIP for ADC channel # 6 11 - 10 R/W 00 RNG, BIP for ADC channel # 5
9 - 8 R/W 00 RNG, BIP for ADC channel # 4 7 - 6 R/W 00 RNG, BIP for ADC channel # 3 5 - 4 R/W 00 RNG, BIP for ADC channel # 2 3 - 2 R/W 00 RNG, BIP for ADC channel # 1 1 - 0 R/W 00 RNG, BIP for ADC channel # 0
Table 4-4: ADC Data Registers Bit Map
BITS TYPE DEFAULT FUNCTION
RNG BIP INPUT RANGE
0 0 0 – 5 V 1 0 0 – 10 V 0 1 – 5 V 1 1 – 10 V
31 - 12 R 0 reserved
11 - 0 R 0 Data, 12 bit digit
Page 4 - 8 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 53
CP371 Configuration

4.3.3 Programming the Board Capability ROM

Besides correction data for gain and offset erro rs other board specific capabilities can be stored in this dedicated onboard ROM. The purpose is that software will be able to configure itself, according to the hardware version (i.e. type, number of channels, insertion of components, in­put circuit, etc.).
The Board Capability ROM is implemented using a 4 KBit serial EEPROM of the type 93LC66 from Microchip.
The serial interface of the device has been realized in hardware resulting in a very simple reg­ister based programming interface with command, control, and data registers. All protocol and serial timing specifications are resolved by hardware.
Programming of the Board Capability ROM is undertaken as follows: The control word is written into the ROM Control Register including command opcode and internal address. Then optional data (in case of Write action) is written into the ROM Data Register. Command execution is started by setting the S tartbit in the ROM Command Register . Then Ready/Busy must be polled in the ROM St atus Register . After reaching Ready st atus, the next command can be set up and data (in case of Read action) can be fetched from the ROM Data Register.
Table 4-5: ROM Command Register Bit Map
BITS TYPE DEFAULT FUNCTION
31 R/W 0 Startbit
30 - 0 R/W 00 reserved
Note: The Startbit will automatically be reset as soon as an action is completed.
Table 4-6: ROM Control Register Bit Map
BITS TYPE DEFAULT FUNCTION
31 - 18 R/W 0 reserved 17 - 16 R/W 00 Opcode
15 - 9 R/W 00 reserved
8 - 0 R/W 00 internal address (A8..A0)
Note: The commands READ, EWEN (write enable) and WRITE are sufficient for all purposes.
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 4 - 9
Page 54
Configuration CP371
Table 4-7: Opcodes and Commands
OPCODE A8 … A0 COMMAND
00 11xxxxxxx EWEN 10 xxxxxxxxx READ 01 xxxxxxxxx WRITE
Note: The EWEN (Erase and Write enable) command must be executed once before the first
write.
Table 4-8: ROM Status Register Bit Map
BITS TYPE DEFAULT FUNCTION
31 R/W 0 Busy
30 - 0 R/W 00 reserved
Note: As soon as the Start bit is set the Busy/Ready bit becomes active (Busy=1). It remains set
as long as the command is executed and is reset when command execution is complete.
Table 4-9: ROM Data Register Bit Map
BITS TYPE DEFAULT FUNCTION
31-8 R/W 0 reserved
7-0 R/W 0 Data (for data read and write commands)

4.3.4 Common Board Registers

These registers are for internal test and debug only. The Common Status Register contains Logic- Version and PCB- Version. The Common Control Register is a read/write register with­out any further functionality. Neither of these should be used by standard software.
Table 4-10: Hardware Debug Register Bit Map
BITS TYPE DEFAULT FUNCTION
31-0 R/W 0 reserved
Page 4 - 10 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 55
CP371 Configuration
Table 4-11: Hardware Status Register Bit Map
BITS TYPE DEFAULT FUNCTION
31 - 16 R 0 reserved
15 - 8 R 00 HW Version (PCB Index)
7 - 0 R 01 Logic Version
Note: The HW version starts with 0, Logic Version with 1. It will be incremented for each re-
leased version.
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 4 - 11
Page 56
Configuration CP371
This page was intentionally left blank.
Page 4 - 12 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 57
CP371 System Considerations
Chapter
5
System Considerations
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 5 - 1
Page 58
System Considerations CP371
This page was intentionally left blank.
Page 5 - 2 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Page 59
CP371 System Considerations

5. System Considerations

5.1 Introduction

In addition to the basic specification requirements for signals being presented to the CP371 which have been addressed in chapter 4, system integrators need to be aware of the overall system environment and the application needs when designing the interfacing to the CP371. There are certain basic considerations which require explicit reso lution as well as others which are of a more subtle nature that may under circumstances impact the performance or validity of the analog to digital conversion process. The following chapters address a number of more apparent considerations which should be addressed but certainly not all of the possible situa­tions which may be encountered. Many of the considerations presented here are recommen­dations, but some are definite requirements if the CP371 is to successfully achieve its purp ose.

5.2 General

Considerations:
1. All unused input channels must have their pins tied to analog ground.
2. For input channels in use, the
3. Distribute analog ground connections over all the available CON2 analog ground pins. Don’t just use one or two pins.
4. It is recommended to use twisted pair wiring for input signals.
5. Mixing of input signal types (single-ended, differential, and current) presented to the CP371 is permitted.
6. The type of signal presented to each input channel the CP371 must correspond to the driver software configuration for that channel. If not the result will be erroneous and the CP371 may be damaged.
7. Care must be taken to ensure that proper grounding concept s are followed, and that the integrity of the grounding system within the application be maintained.
8. Input wire routing should avoid proximity to high voltage or current sources.
9. Where possible input wiring length should be kept as short as possible.
I pin is not connected except when required.

5.3 Shielding

Considerations:
1. Input cable shielding in general is recommended.
2. The requirements for shielding can be seen primarily as a function of the system design and environment, but empirical results must also be considered.
3. The CON2 connector has a metal housing which is connected to the CP371 shield and is isolated from the analog ground.
4. Ensure that if shielding is used that it is not in anyway connected to the analog ground.
ID 23762, Rev. 02 © 2002 PEP Modular Computers GmbH Page 5 - 3
Page 60
System Considerations CP371

5.4 Process-side Signal Conditioning

Considerations:
1. Input signals presented to the CP371 must be within the ranges specified for the signal type or erroneous results will occur as well as possible damage to the CP371.
2. Ensure that when analog ground pins on CON2 are used that on the process side no grounding loops are created. Refer to chapter 4 for further information.

5.5 Cable Interfacing

Considerations:
1. No modification to the CP371 itself is permitted (i.e. connector pin shorting).
2. If necessary, cabling to the CP371 CON2 connector should physically fixed to prevent strain on the CON2 connector.
Page 5 - 4 © 2002 PEP Modular Computers GmbH ID 23762, Rev. 02
Loading...