Kontron Modular Computers GmbH rejects any liability for the correctnesss
and completeness of this manual as well as its suitability for any particular
purpose.
This document contains information proprietary to Kontron Modular Computers GmbH. It may
not be copied or transmitted by any means, disclosed to others, or stored in any retrieval
system or media without the prior written consent of Kontron Modular Computers GmbH or one
of its authorized agents.
The information contained in this document is, to the best of our knowledge, entirely correct.
However, Kontro n Modular Computers GmbH cannot accept liability for any inaccuracies or the
consequences thereof, or for any liability arising from the use or application of any circuit,
product, or example shown in this document.
Kontron Modular Computers GmbH reserves the right to change, modify, or improve this
document or the product described herein, as seen fit by Kontron Modular Computers GmbH
without further notice.
Trademarks
Kontron Modular Computers GmbH, the PEP logo and, if occurring in this manual, “CXM” are
trade marks owned by Kontron Modular Computers GmbH, Kaufbeuren (Germany). In addition, this document may include names, company logos and trademarks, which are registered
trademarks and, 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
Y our new Kontron product was developed and tested carefully to provide all features necessary
to ensure its compliance with electrical safety requirements. It was also designed for a long
fault-free life. However, the life expectancy of your product can be drastically reduced by
improper treatment during unpacking and installation. Therefore, in the interest of your own
safety and of the correct operation of your new Kontron product, you are requested to conform
with the following guidelines.
High Voltage Safety Instructions
Warning!
All operations on this device must be carried out by sufficiently skilled
personnel only.
Caution, Electric Shock!
Before installing your new Kontron product into a system always
ensure that yo ur 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.
P R E L I M I N A R Y
25780.01.VC.021121/111236
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 Kontron’s product warranty, this product must not be altered or modified in
any way. Changes or modifications to the device, which are not explicitly approved by Kontron
Modular Computers GmbH and described in this manual or received from Kontron’s Technica l
Support as a special handling instruction, will void your warranty.
This device should only be installed in or connected to systems that fulfill all necessary
technical and specific environmental requirements. This applies also to the operational
temperature range of the specific board version, which must not be exceeded. If 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 shipments. 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.
Kontron Modular Computers GmbH grants the original purchaser of Kontron’s products aTWO
YEAR
LIMITEDHARDWAREWARRANTYas described in the following. However, no other warranties
that may be granted or implied by anyone on behalf of Kontron are valid unless the consumer
has the express written consent of Kontron Modular Computers GmbH.
Kontron Modular Computers GmbH warrants their own products, excludin g 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 longterm storage of the product. It does not cover products which have been modified, altered or
repaired by any other party than Kontron Modular Computers GmbH or their authorized agent s.
Furthermore, any product which has been, or is suspected of being da maged as a result of negligence, improper use, incorrect handling, servicing or maintenance, or which has been damaged as a result of excessive current/voltage or temperature, or which has had its serial
number(s), any other markings or parts thereof altered, defaced or removed will also be excluded from this warranty.
If the customer’s eligibility for warranty has not been voided, in the event of any claim, he may
return the product at the earliest possible convenience to the original place of 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).
Kontron provides for repair or replacement of any p art, assembly or su b-assembly at their own
discretion, or to refund the original cost of purchase, if appropriate. In the event of repair, refunding or replacement of any part, the ownership of the removed or replaced parts reverts to
Kontron Modular Computers GmbH, and the remaining part of the original guarantee, or any
new guarantee to cover the repaired or replaced items, will be transferred to cover the new or
repaired items. Any extensions to the original guarantee are considered gestures of goodwill,
and will be defined in the “Repair Report” issued by Kontron with the rep aired or replaced item.
Kontron Modular Computers GmbH will not accept liability for any further claims resulting
directly or indirectly from any warranty claim, other than the above specified repair,
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 Kontron Modular Computers GmbH liability to the
customer shall not exceed the original purchase price of the item for which the claim exists.
Kontron Modular Computers GmbH issues no warranty or representation, either explicit or
implicit, with respect to its products’ reliability, fitness, quality , market ability or ability to fulfil any
particular application or purpose. As a result, the products are sold “as is,” and the responsibility
to ensure their suitability for any given task remains that of the purchaser. In no event will
Kontron be liable for direct, indirect or consequential damages resulting from the use of our
hardware or software products, or documentation, even if Kontron were advised of the
possibility of such claims prior to the purchase of the product or during any period since the
date of its purchase.
P R E L I M I N A R Y
25780.01.VC.021121/111236
Please remember that no Kontron Modular Computers GmbH employee, dealer or agent is
authorized to make any modification or addition to the above specified terms, either verb ally 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 Kontron Modular Computers
CompactPCI systems may be found described in the Kontron CompactPCI 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 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.
• 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 CP372 Analog Output Controller is a part of a co mprehensive concept to provide CompactPCI 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 software, perform
digital to analog signal conversion, and to make the analog output signal available to the application process. The major components involved in these processes are: the Digital to Analog
Conversion Process and Communications (DAC ProComm) controller which is realized in a
field-programmable gate array (FPGA), digital to analog converters (DACs), and the front end
(process side) signal conditioning. The DAC ProComm Controller is designed to provide effective and efficient control of the digit al to analog conversion process as well as interfacing to the
CPCI System Controller.
The following table provides a quick overview of the CP372 board.
Table 1-1: CP372 Product Overview
CP372 FEATURESDESCRIPTION
Product TypeCompactPCI Analog Output Controller:
• Form factor: 3U, 4HP
• 33 MHz system clock
• 32-bit address and data bus
• Designed for Plug and Play
• Complies with the CPCI specification
OutputsPrimary:
Up to eight channels (divided into two clusters) of the following analog signal types:
• Vol ta g e s : 0 t o 5 V, 0 t o 1 0 V, ± 5 V, and ± 10 V
• Current: 0 to 20 mA
Secondary: N/A
InputsPrimary:
Up to eight logical channels of digital data (12-bit channel resolution) which are pro-
P R E L I M I N A R Y
Monitor and ControlM/C functionality includes:
vided by the application software
Secondary:
External power supply source voltage(s) – V
current outputs
The CP372 is an eight channel, dual cluster (four channels each), analog output board. Application software can provide up to eight logical channels of digital dat a per board for processing
to analog signal outputs. Output data is presented to the CP372 via the Comp a ctPCI interface
for conversion to either an output voltage or output current and makes it available for application process use.
Output signal generation begins with the presentation of digit al data to the DAC ProComm Controller which is responsible for controlling the digital to analo g data conversion process as well
as the interface to the CompactPCI bus. The DAC ProComm controller then in turn provides
data to the two DACs accordingly . The analog outputs of the DACs are then processed through
appropriate signal conditioning prior to being made available to the application process at the
board’s front panel interface.
Output signal types and ranges are as follows:
• Voltages:
• Unipolar:
• 0 to 15 V
• 0 to 10 V
• Bipolar:
•± 15 V
• ± 10 V
• Current:
• 0 to 20 mA
(requires external power supply source voltage for analog current output)
Input data are:
• Up to eight logical channels of digital data for conversion to analog output signals
(supplied by the application software)
1.3.2Board Specific Information
Specific board components involved in the digital to analog conversion and data handling process are:
• One front panel connector (62-pin, female, D-Sub type)
• Eight channels of output signal conditioning
• Two, 12-bit DACs (one for each cluster of 4 channels each)
• Ten optocouplers (four dual high speed and six general purpose (four quad, and two
singles)
• One FPGA (the DAC 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 (one +5 V and one ± 15 V, both with 3 kV isolation)
The following system relevant information is general in nature but should still be considered
when developing applications using the CP372.
Table 1-2: System Relevant Information
SUBJECTINFORMATION
System ConfigurationThe CP372 operates with a system clock frequency of 33 MHz.
The number of CP372’s which can be installed in any one system depends
solely on the number of CPCI slots available.
Master/Slave FunctionalityThe CP372 functions only as a slave. As such it requires a system master for
servicing.
System ControllerThe CP372 cannot function as a system controller.
Analog OutputsThe process interfacing to the CP372 must comply with the output
specifications set forth in this manual.
In particular, for analog current outputs, an external power source is required
to supply an input voltage for generation of the analog output current.
Because this type of output is a direct function of the application, this input
voltage can only be provided by the application.
1.4.1System Configuration
When implementing applications, precautions must be taken to ensure that the output signals
of the CP372 are properly terminated in accordance with the specifications set forth in this manual. For this reason it will be necessary system integrators to ensure proper signal conditioning
for their applications before accepting analog outputs from the CP372. 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 CP372 is supplied with appropriate driver software which provides software interfacing to
the system master.
1.5Board Diagrams
P R E L I M I N A R Y
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 OutputOne, 62-pin, female, three row, D-sub connector
Supports up to eight analog output 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 ConsumptionWatts:0.5 W for the 3.3 V power source
2.9 W for the 5 V power source
Temperature RangeOperational:0ºC to+70ºC Standard
-40ºC to+85ºC E2
Storage:-55ºC to +125ºC
Software Driver
Information
Humidity0% to 95% non-condensing
Dimensions100 mm x 160 mm single height Eurocard
Board Weight155 g (2 cluster configuration)
PCI HeaderDevice ID: 0x5555
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 CP372 uses 64kB in PCI memory space, BAR0,
is not pre-affectable, and no interrupts are used.
This external source voltage is required for the generation of analog current
outputs. The V
application and is dependent upon the channel source resistance (R
such it is possible for each channel of analog current output to have a different
requirement.
V
ext
The absolute specification for a given V
28.0 VDC maximum
whereby the actual minimum source voltage required must be determined
based on the actual source resistance. The minimum source voltage indicated
above is required to ensure full scale, 0 to 20 mA, operation.
It is imperative that the application complies with the above specification, otherwise, the CP372 may be damaged or fail to function properly.
For more information refer to chapters 2 and 4.
Optional:4 channels total (one cluster of 4 channels)
requirement for each output channel is a function of the
ext
6.0 VDC minimum
(two clusters of 4 channels each)
(Note: Requires V
is:
ext
for generation.)
ext
). As
s
Channel Connections8 dedicated connector pins for voltage outputs; 8 dedicated connector pins for
current outputs; 8 analog ground pins distributed over the connector; 4 dedi-
P R E L I M I N A R Y
ConversionContinuous serial sampling of the digital 16-bit output words (2 bits address
Throughput Rate31.25 kHz per channel
Resolution12-bit
AccuracySee table 1-5
Output Protection8 kV ESD; short circuit; and EMI filtering
Isolation2 kV process to system
The following chapters present more detailed, board level information about t he CP372 analog
output controller whereby the board components and their basic functionality are discussed in
general.
2.1General Information
The CP372 is comprised basically of the following:
• Signal conditioning
• Digital to analog converter
• Optocouplers
• DAC ProComm controller
• Realized in an FPGA device
• Controls analog signal generation and provides interfacing to the CPCI bus
• System interfaces for:
• Analog outputs
• Two, four channel clusters: Cluster A, Cluster B
• 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-3 and 4-7)
• Cluster enable/disable control
• Software
25780.01.VC.021121/111237
2.1.1Signal Conditioning
Analog output signal conditioning is comprised of two clusters (A and B) each of the following:
• Overvoltage Protection
• EMI Suppression Filters (each signal line)
• Gain and unipolar/bipolar conversion
• Generation of analog voltage output as required
• Generation of analog current output as required
(external source voltage (V
• Analog switches for range selection
) required)
ext
2.1.2Digital to Analog Converter
For each cluster there is one, four channel, 12-bit digital to analog converter (DAC) available.
After power on, the DAC ProComm controller automatically begins supplying each cluster DAC
with channel control signals and a serial data stream with digital output values for ea ch cluster
channel. The actual channel digital input values are set to 0V initially and remain so until the
application software supplies new values. The DAC itself converts the digital inputs to analog
output signals and then presents these to the signal conditioning fun ctions for appropriate processing before being made available to the front panel interface.
2.1.3Optocouplers
The CP372 provides full galvanic isolation between the process and application control system.
This is accomplished by the use of optocouplers for all data and control signal lines between
the DAC ProComm controller and the DACs and signal conditioning functions.
Signals directly supplied to the DACs are isolated using special high speed dual optocouplers.
Signals supplied to the signal conditioning functions are isolated using standard quad or single
optocouplers as required.
2.1.4DAC ProComm Controller
Within the CP372, the DAC ProComm controller is responsible for supervising and controlling
the analog signal generation process and providing communications with the CompactPCI system master. Applications address the CP372 through its software driver interface within the
system master whereby the controller accepts requests and digit al output dat a from the driver,
processes both of them accordingly, and supervises the digital to analog conversion process
and the signal conditioning functions.
2.1.5System Interfaces
The CP372 provides interfacing capability for the following system elements:
• Analog output
• CompactPCI bus
• Test and program development: JTAG/ISP
Analog output 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.6Monitor and Control
V arious monit or and control functions are available for the operation of the CP372. Two cluster
operational status LED’s and an external cluster enable/disable function are a vailable for operator interaction. In addition, applications have access via the System Master driver software to
P R E L I M I N A R Y
board specific registers.
2.1.7Software
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 CP372 and other major CP372 system components. Where CP372 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 output interface is accomplished through the CON2 connector . This connector provides connections for analog outputs as well as the supplying of V
generation of current outputs
2.3.1.1Pin Layout and Signal Assignment of CON2
The following figure and table indicate the pin layout and signal pinout of connector CON2.
Figure 2-2: Pin Layout of the Analog Output Interface Connector CON2
which is required for the
ext
I
0
I
CP 372
0-3 4-7
1
I
2
3
I
off
V
V
I
4
I
5
I
6
I
7
CHANNELS
off
V
V
P R E L I M I N A R Y
Pin Naming Convention:
●not connected
+Analog voltage output
T
Analog ground
IAnalog current output
VV
offCluster enable/disable
LED’s
0-3Cluster A activated (Channels
4-7Cluster B activated (Channels
Note:
common tie point
ext
0 to 3)
4 to 7)
Each cluster has its own enable /
disable and V
pins.
Pins 16 and 37 (SUPPLY_A) are tied together and pins 11 and 32 (SUPPLY_B)
are tied together on the board side of the connector. These pins can be used to
provide a common tie point for an external source voltage (V
However, in the event that different V
voltages are required, it is IMPERATIVE
ext
) if required.
ext
to ensure that their use does not create a hazard for the operation of the CP372,
external equipment, or to operating personnel. Their misuse can result in electrical short circuiting, fire, or injury to operating personnel.
In order to generate analog current output signals, the CP372 requires that the application provide an appropriate external source voltage (V
channel.
The source voltage to be provided is by definition a function of the total output channel source
resistance and the maximum required output current. To take advantage of full scale, 0 to 20
mA, output, each channel must be supplied with a corresponding given minimum source voltage which in many cases will vary from channel to channel due to varying channel source resistance.
As the CP372 allows for any combination of signal outputs: volt age or current, and current with
different source resistances, care must be taken to ensure that V
well as proper connection of output signals to their respective channels.
Where current outputs share a common V
CON2 for application usage. For each cluster there are two pins available , an d th e two pins of
each cluster are permanently tied together on the CP372 side of the CON2 connector. For this
reason only one common tie point is available for each cluster.
Refer to chapter 1 for the specification of V
cerning the configuration of analog outputs and system considerations for the integration of the
CP372 in applications.
Functionality by Analog Current Outputs
ext
) for each individual analog current output
ext
, so called common tie point pins are available at
The CompactPCI 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 CP372 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
P R E L I M I N A R Y
configuration of the CP372.
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 d irect 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 output configuration as well as the overall system integration.
Analog output configuration is addressed in detail in chapters 4 and 5. These chapters provide
detailed information concerning output signal conditioning and environment al aspects which re-
late to the operation and performance of the CP372. 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 primarily a function of the CP372 driver software and the application. However,
when the CP372 is in operation, there are cluster operational status LEDs available as well as an
external cluster enable/disable function.
The cluster activation LEDs (0-3 for cluster A; 4-7 for cluster B) indicate when lit that the corresponding cluster has been activated for operation.
Use of the external cluster enable/disable function requires the process side of the application
to provide switching functionality in order to disable all of the outputs of each single cluster at
one time. This function permits the separate physical disabling of all of each cluster ’s outputs
independent of the application software. This functionality may either be controlled by an operator or automatically by an independent process function. For further information concerning
this function refer to chapters 4 and 5.
The CP372 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.
The CP372 is designed to accept external source voltages (V
depending on the application configuration, represent a hazard. In particular,
it is possible that hazardous voltages are present on the application interfacing cable to the CP372 front panel connector. It is IMPERATIVE to ensure
that the V
interface cable.
If this is not possible, it is IMPERATIVE to ensure that no contact is made
with the interface cable pins during cable handling, and that when the cable is
connected to the CP372, that no short circuiting of cable pins occurs.
ESD Equipment!
This PEP board contains electrostatically sensitive devices. Please observe
the following precautions to avoid damage to your board:
voltages are removed prior to connecting or disconnecting the
ext
) which can,
ext
P R E L I M I N A R Y
25780.01.VC.021121/111237
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 in chapter 3.1.1 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. Inse rt 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 CP372 Analog Output Controller
depends on the correct configuration of external source voltages
(V
) and output signal conditioning. System integrators must ensure
ext
that all signals to and from the CP372 comply with the specifications
set forth in this manual. In particular, at no time may V
P R E L I M I N A R Y
including times when there is no power applied to the CP372 or system.
DO NOT PROCEED with the next step of this procedure before
ensuring compliance with the above mentioned safety requirement.
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.
exceed 28 V
ext
5. Connect external interfacing cable(s) to the board as required.
6. Ensure that the interfacing cables are properly secured.
1. Ensure that the safety requirements indicated in chapter 3.1.1 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 cable(s) 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. Disenga ge the board from the backplane by pressing down on the 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!)
5. Dispose the board as require d observing applicable environmental regulations governing
the handling and disposition of this type of product.
3.2Software Installation
Installation of the CP372 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 CP372 board for operation.
4.1Jumper Settings
The CP372 does not have any jumpers which require configuring.
4.2Analog Output Signal Requirements
In addition to the output signal types and their ranges which have been specified in chapter 1,
system integrators must be aware of the need for certain types of output and input configuration
requirements for the CP372. The following chapters describe each of the signal types with regards to their individual connection configuration requirements.
4.2.1Channels
The pinout of the CON2 connector of the CP372 is designed so that for each output channel
there are three output 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 channel is dependent on the type of analog output signal generated by the CP372.
The following chapters address the basic requirements for each type of possible signal.
4.2.2Analog Voltage Output Signals
The analog voltage output signals are single-ended with a variety of ranges: uni-polar: 0V to
5V and 0V to 10V; and bipolar: -5V to +5V and -10V to +10V. The current of each output is
limited to 5 mA. For the ranges 0 to 5 volts and - 5 to + 5 volts, a load of at least 1 k ohm is
required. For the ranges 0 to 10 volts and - 10 to + 10 volts, a load of at least 2 k ohm is required.
Signals of this type are required to be connected: plus to plus, and ground to ground. Refer to
Figure 4-1 for this type of connection.
Figure 4-1: Analog Voltage Signal Output Configuration
Example for Cluster A
+
pin 20 (VOUT0)
+
pin 19 (VOUT1)
+
pin 18 (VOUT2)
R
load
R
load
R
load
R
analog ground
4.2.3Analog Current Output Signals
The analog current output signals are single-ended with a range of 0 to 20 mA. Signals of this
type are required to be connected: R
type of connection.
CON 2
+
pin 17 (VOUT3)
load
pins 38 to 41 (AGND)
CP372
to I and analog ground to . Refer to Figure 4-2 for this
s
T
As can be seen from Figure 4-2, V
output channel of the CP372. To determine the minimum V
the following formula:
The following two figures, Figures 4- 2 and 4-3, provide examples of the configuration of analog
current signal outputs.
Figure 4-2 indicates a configuration where the external source volt age (V
four channels of cluster A. This example demonstrates the use of the common tie point pins for
V
.
ext
Figure 4-2: Current Output Configuration With a Common External Source Tie Point
Figure 4-3 demonstrates a configuration for cluster A where each output channel’s external
source voltage is different due to different source resistances (R
Figure 4-3: Current Output Configuration With Different External Sources (V
The CP372 provides two possibilities to enable or disable all the outputs of an e ntire cluster at
one time. Each individual cluster may be controlled either per software or hardware, whereby
the hardware control has priority over the software control. Information regarding the software
control is provided with the driver software. The hardware control capability is described as follows.
To make use of the hardware control capability the application must provide some form of external switching capabilty. Figure 4-3 provides basic information for configuring an external
switch. Upon power up of the CP372, the output of each cluster is disabled until such time as
the application software requests an output of the cluster . After cluster output is enabled, it can
still be controlled by external switching. This feature permits external intervention either automatically or manually at any time independent of the applicaton software.
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 f igure 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-5: Analog Grounding
PROCESS SIDE
central
analog
grounding
point 1
X
Lines with X’s
indicate the type
of analog grou nd
connections
which should
not be made.
All the resources of the CP372 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: I/O Address Map of CP372
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 kBDAC CLUSTER A
0x240032 bit ctl_a, Cluster a Common Control Register
0x340032 bit ctl_b, Cluster b Common Control Register
0x3C0032 bit dat_b_0 DAC Data channel # 0
0x3C0432 bit dat_b_1 DAC Data channel # 1
0x3C0832 bit dat_b_2 DAC Data channel # 2
0x3C0C32 bit dat_b_3 DAC Data channel # 3
SIZEFUNCTION
+0x4000
0xFFFF
48 kBreserved for additional clusters
4.3.2DAC Control Logic
This part of the IO Control Logic controls the communication with the DAC. The DAC integrates
4 channels per chip (2 clusters for a total of 8 channels) and has a serial bus interface operating
at 2 MHz.
DAC operating mode is individually programmable for each channel, i.e. the polarity (unipolar/
bipolar) and range (5/10V and 20mA). After initialization of the corresponding DAC Control
Registers an Enable Bit must be set to ‘1’.
The DAC Control Logic handles the cyclic setup of the necessary DAC control word including
start bit, channel address, channel mode, and clock mode without any software intervention.
The digital output data are automatically stored in dual-ported data registers. An a rbiter avoids
access conflicts between PCI access and DAC access to the same data register.
P R E L I M I N A R Y
The architecture of the CP372 integrates the memory mapped data registers which are visible
to the programmer only and the actual DAC channel registers which are not visible to the programmer. Data is serialized and transferred between data register and the actual DAC by a
hardware sequencer automatically and continuously in a loop.
The DAC data registers can be written to at any time and independently of whether the DAC
cluster is enable or not.
7 - 6R/W00RNG, BIP for DAC channel # 3
5 - 4R/W00RNG, BIP for DAC channel # 2
3 - 2R/W00RNG, BIP for DAC channel # 1
1 - 0R/W00RNG, BIP for DAC channel # 0
Table 4-4: DAC Data Registers Bit Map
BITSTYPEDEFAULTFUNCTION
31 - 12R0reserved
11 - 0R0Data, 12 bit digit
4.3.3Programming the Board Capability ROM
RNGBIPINPUT RANGE
000 – 5 V
0 - 20 mA
100 – 10 V
01± 5 V
11± 10 V
Besides correction data for gain and offset erro rs other board specific capabilities can be stored
in this dedicated onboard ROM. The purpose is to allow the software to configure itself according to the hardware version (e.g. 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:
Tthe control word is written into the ROM Control Register including command opcode and in-
ternal address. Then optional data (in case of Write action) is written into the ROM Data Register. Command execution is started by setting the Startbit in the ROM Command Register.
Then Ready/Busy must be polled in the ROM S tatus Register . Af ter reaching Ready status, the
next command can be set up and data (in case of Read action) can be fetched from the ROM
Data Register.
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.
Table 4-7: Opcodes and Commands
OPCODEA8 … A0COMMAND
0011xxxxxxxEWEN
10xxxxxxxxxREAD
01xxxxxxxxxWRITE
P R E L I M I N A R Y
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.
These registers are for internal test and debug only. The Common Status Register contains
Logic Ve rsion 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.
Table 4-10:Hardware Debug Register Bit Map
BITSTYPEDEFAULTFUNCTION
31-0R/W0reserved
Table 4-11:Hardware Status Register Bit Map
BITSTYPEDEFAULTFUNCTION
31 - 16R0reserved
15 - 8R00HW Version (PCB Index)
7 - 0R01Logic Version
Note: The HW version starts with 0, Logic Version with 1. It will be incremented for each released version.
In addition to the basic specification requirements for signals to and from the CP372 which
have been addressed in the previous chapters, system integrators need to be aware of the
overall system environment and the application needs when designing the interfacing to the
CP372. There are certain basic considerations which require explicit resolution as well as others which are of a more subtle nature that may under circumstances impact the performance
or validity of the digital to analog conversion process. The following chapters address a number
of more apparent considerations which should be addressed but certainly not all of the po ssible
situations which may be encountered. Many of the considerations presented here are recommendations, but some are definite requirements if the CP372 is to successfully achieve its purpose.
5.2General
Considerations:
1. For output channels, the
required.
2. It is recommended to use twisted pair wiring for output signals.
3. Mixing of output signal types to be generated by the CP372 is permitted.
4. The type of signal expected to b e generated for each ou tput channel of t he CP372 must
correspond to the driver software configuration for that channel. If not the result will be
erroneous and the CP372 may be damaged.
5. Care mu st be t aken to ensure that pro per grounding concept s are followed, and that the
integrity of the grounding system within the application be maintained.
6. Output wire routing should avoid proximity to high voltage or current sources.
7. Where possible output wiring length should be kept as short as possible.
I or V pins respectively are not to be connected except when
5.3Shielding
Considerations:
1. Output cable shielding in general is recommended.
2. The requ irement s for shielding can be seen prim arily 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 CP372 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.
P R E L I M I N A R Y
25780.01.VC.021121/111238
5.4Process-side Signal Conditioning
Considerations:
1. Output signal con ditioning on the process side of the application must be as specified for
the signal type or erroneous results will occur as well as possible damage to the CP372.
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.
1. No modification to the CP372 itself is permitted (i.e. connector pin shorting).
2. The r esistance of cabling cont acts shou ld be kept to an absolute minimum. In any event
the contact resistance must be t aken into consideration when determining the signal conditioning requirements of the application. In p articular , for analog current output s this can
be a significant fac tor in determining V
erational performance degradation.
3. If nece ssary , cabling to the CP372 CON2 connector should physically be fixed to prevent
strain on the CON2 connector.