PEP Modular Computers GmbH rejects any liability for the correctness
and completeness of this manual as well as its suitability for any particular purpose.
This manual was realized by: TPD/Engineering, PEP Modular Computers GmbH.
This document contains information proprietary to PEP Modular Computers. It may not be copied 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 consequences 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.
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 precautions 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 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.
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.
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 faultfree 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 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 PEP 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 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 piggybacks, 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 plastics or sponges. They can cause short circuits and damage the batteries or con ductive circuit s
on the board.
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 ModularComputers 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 technical 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 instructions supplied by the present manual.
Keep all the original packaging material for future storage or warranty shipment s. If it is necessary 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.
PEP Modular Computers grants the original purchaser of PEP products a TWO YEARLIMITED
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 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 PEP Modular Computers or their authorized agents. Furthermore, 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 warranty.
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, 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).
PEP provides for repair or replacement of any part, assembly or sub-assemb ly 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 PEPModular 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 indirectly 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 employed, 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 ensure 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.
The CompactPCI board described in this manual operates with the PCI bus architecture to support 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 information 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 CompactPCI systems may be found described in the PEP Comp actPCI System Manual. 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 information, 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 configuration 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 environment, 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/output characteristics, redundant operation and distinctive features, as well as an overview
of the PEP CompactPCI standard power supply unit family.
The CP371 Analog Input Controller is a part of a comprehensive concept to p rovide Comp actPCI 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 separate 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 processes 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 conversion 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 FEATURESDESCRIPTION
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
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 converted 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.2Board Specific Information
Specific board components involved in the analog to digital conversion and data handling process 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)
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
SUBJECTINFORMATION
System ConfigurationThe 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 FunctionalityThe CP371 functions only as a slave. As such it requires a system master for
servicing.
System ControllerThe CP371 cannot function as a system controller.
Analog InputsAnalog 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 conditioning will be required on the process side prior to a signal being presented
to the CP371.
1.4.1System 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 minimum. Refer to chapters 4 and 5 for further information.
1.4.2Driver Software
The CP371 is supplied with appropriate driver software which provides software interfacing to
the system master.
1.5Board Diagrams
The following diagrams provide additional information concerning board functionality and component layout.
FPGA Logic DeviceProvides PCI interfacing and IO control logic
CapROM4 kBit (512 byte) EEPROM
Analog InputOne, 62-pin, female, three row, D-sub connector
Supports up to sixteen analog input channels
CPCI BusOne, 132-pin, female, six row connector (standard CPCI type
connector for J1)
JTAG/ISPJTAG/ISP 10-pin SMD connector for programming and testing
purposes
Front Panel LEDTwo, green LED’s for indicating cluster operation status
(enabled or disabled)
MechanicalConforms with IEEE 1101.1
Power RequirementsVoltages:3.3 V
5 V VCC
Power ConsumptionVoltages:3.3 V = 0.132 W
5 V = 1.90W
Temperature RangeOperational: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 controllers 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 prefetchable, and no interrupts are used.
Humidity0% to 95% non-condensing
Dimensions100 mm x 160 mm single height Eurocard
Board Weight152 g (2 cluster configuration)
PCI HeaderDevice ID: 0x5555
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.1General 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
•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.1Signal 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.2Analog 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 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 system 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 accordingly , 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 application through the driver software.
2.1.4System 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.5Monitor 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 Master driver software to board specific registers.
2.1.6Software
Driver software is available for the System Master application software.
2.2Board-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 elements 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.
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
II (current)
OPin 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 presented to the CP371.
The CPCI interface is based on the specification PICMG 2.0 R 3.0, 10/1/99. The following figure and table indicate the pin layout and pinout of the CPCI connector, CON1 (J1).
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
SIGNALPINPINSIGNAL
TCK12GND
TDO34VCC
TMS56NC
NC78N/C
TDI910GND
10
9
2.4CapROM 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.5Monitor and Control (M/C)
Monitor and Control functions are divided essentially into Pre-operation and Operation. Pre-operation M/C deals with board configuration and system requirements. Operation M/C covers direct operator interfaces.
2.5.1Pre-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-
late to the operation and performance of the CP371. Overall system integration and compliance 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.
The CP371 has been designed for easy installation. However, the following standard precautions, installation procedures, and general information must be observed to ensure proper installation and to preclude damage to the board or injury to personnel.
3.1Hardware 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.1Safety 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 discharged 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 equipment, ensure compliance with its usage when handling this product.
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 unlocking the handle and pressing it down.
2. Insert the board into an appropriate slot, and, using the insertion/extraction handle, ensure 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 conditioning. 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.
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 mechanism 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 mechanism.)
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 unlocking procedure above and try again. Do not use force!)
3.2Software Installation
Installation of the CP371 driver software is a function of the application operating system. For
further information refer to the appropriate software documentation.
The following chapters provide information for configuring the CP371 board for operation.
4.1Jumper Settings
The CP371 does not have any jumpers which require configuring.
4.2Analog 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 requirements for the CP371. The following chapters describe each of the signal types with regards to
their individual connection configuration requirements.
4.2.1Channels
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 address the basic requirements for each type of possible signal.
4.2.2Single-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.
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.4Current 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.
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 below 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 components. 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.
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)
+ 0x00004 kBCOMMON BOARD REGISTER
0x080032 bit com_sta Hardware Status Register
SIZEFUNCTION
0x0C0032 bit com_ctl Hardware Debug Register
+ 0x10004 kBCAPABILITY ROM, SERIAL EEPROM
0x100032 bit cmd_r Command Register
0x140032 bit ctl_r Control Register
0x180032 bit sta_r Status Regsiter
0x1C0032 bit dat_r Data Register
+ 0x20004 kBADC CLUSTER A
0x240032 bit ctl_a, Cluster a Common Control Register
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 (unipolar/bipolar) and range (5/10/20V). After initialization of the corresponding ADC Control Registers 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 access conflicts between PCI access and ADC access to the same data register.
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, input 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 register 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
BITSTYPEDEFAULTFUNCTION
31R/W0Startbit
30 - 0R/W00reserved
Note: The Startbit will automatically be reset as soon as an action is completed.
Table 4-6: ROM Control Register Bit Map
BITSTYPEDEFAULTFUNCTION
31 - 18R/W0reserved
17 - 16R/W00Opcode
15 - 9R/W00reserved
8 - 0R/W00internal address (A8..A0)
Note: The commands READ, EWEN (write enable) and WRITE are sufficient for all
purposes.
Note: The EWEN (Erase and Write enable) command must be executed once before the first
write.
Table 4-8: ROM Status Register Bit Map
BITSTYPEDEFAULTFUNCTION
31R/W0Busy
30 - 0R/W00reserved
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
BITSTYPEDEFAULTFUNCTION
31-8R/W0reserved
7-0R/W0Data (for data read and write commands)
4.3.4Common 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 without any further functionality. Neither of these should be used by standard software.
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 situations which may be encountered. Many of the considerations presented here are recommendations, but some are definite requirements if the CP371 is to successfully achieve its purp ose.
5.2General
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.3Shielding
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.
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.5Cable 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.