CP382 24 Channel CompactPCI Digital Output Controller Manual ID: 24208, Rev. Index 01 March 2002 The product described in this manual is in compliance with all applied CE standards.
Preface CP382 Revision History Manual/Product Title: CP382 Manual ID Number: 24208 Rev. Index 01 Brief Description of Changes Initial Issue Board Index 00 Date of Issue Mar. 2002 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 machinereadable form in whole or in part without prior written approval of PEP Modular Computers GmbH.
CP382 Preface Table of Contents Revision History ........................................................................................................ ii Imprint ....................................................................................................................... ii Table of Contents ..................................................................................................... iii List of Tables ...................................................................................
Preface CP382 Chapter 2. Functional Description ................................................................................ 2 - 3 2.1 General Information ............................................................................... 2 - 3 2.1.1 High Side Driver Switches ............................................................. 2 - 4 2.1.2 Optoisolation ................................................................................. 2 - 4 2.1.3 DO ProComm Controller .....................
CP382 Preface Chapter 4. Configuration .............................................................................................. 4 - 3 4.1 Jumper Settings .................................................................................... 4 - 3 4.2 Digital Output Signal Properties ............................................................ 4 - 3 4.2.1 Channels ....................................................................................... 4 - 3 4.2.2 Connection of External Supply ..
Preface CP382 This page was intentionally left blank. Page vi © 2002 PEP Modular Computers GmbH ID 24208, Rev.
CP382 Preface List of Tables 1-1 CP382 Main Features .............................................................................. 1 - 3 1-2 System Relevant Information ................................................................... 1 - 4 1-3 CP382 Main Specifications ...................................................................... 1 - 7 1-4 CP382 Digital Output Specifications ........................................................ 1 - 8 1-5 Applied Standards .........................
Preface CP382 This page was intentionally left blank. Page viii © 2002 PEP Modular Computers GmbH ID 24208, Rev.
CP382 Preface List of Figures 1-1 CP382 Front Panel .................................................................................. 1 - 5 1-2 CP382 Board (Front View) ....................................................................... 1 - 6 2-1 CP382 Board Level Interfacing ................................................................ 2 - 6 2-2 Pin Layout of the Digital Output Interface Connector CON2 ................... 2 - 7 4-1 Digital Output Connection for One Cluster ..............
Preface CP382 This page was intentionally left blank. Page x © 2002 PEP Modular Computers GmbH ID 24208, Rev.
CP382 Preface Proprietary Note 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.
Preface CP382 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.
CP382 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 requirements. It was also designed for a long faultfree life. However, the life expectancy of your product can be drastically reduced by improper treatment during unpacking and installation.
Preface CP382 General Instructions on Usage In order to maintain PEP’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 PEP Modular Computers and described in this manual or received from PEP Technical Support as a special handling instruction, will void your warranty.
CP382 Preface Two Year Warranty PEP Modular Computers grants the original purchaser of PEP products a TWO YEAR LIMITED HARDWARE WARRANTY as described in the following. However, no other warranties that may be granted or implied by anyone on behalf of PEP are valid unless the consumer has the express written consent of PEP Modular Computers.
Preface CP382 This page was intentionally left blank. Page xvi © 2002 PEP Modular Computers GmbH ID 24208, Rev.
CP382 Introduction Chapter 1 Introduction ID 24208, Rev.
Introduction CP382 This page was intentionally left blank. Page 1 - 2 © 2002 PEP Modular Computers GmbH ID 24208, Rev.
CP382 Introduction 1. Introduction 1.1 Product Overview The CP382 digital output controller has been designed to provide a large number of automatically controlled, flexible digital outputs within a ruggedised board equipped with features for electrical protection. The flexibility is due to the fact that the 24 channels provided are organised into 3 separate clusters of 8 channels each, allowing the user to configure up to 3 different voltages as required.
Introduction CP382 1.2 Board Overview 1.2.1 Board Introduction The CP382 is a digital output board which provides twenty-four output channels grouped into three clusters of eight channels each. The major components involved are the front end High Side Driver switches (HSD = High Side Driver switch), output signal optoisolation, and the Digital Output Process and Communications (DO ProComm) controller which is realized within a Field-Programmable Gate Array (FPGA).
CP382 1.3.1 Introduction System Configuration The external supply voltage (VCC) used as the output voltage on the CP382, must be within the specified supply voltage range. In addition, it should be a DC supply with good ripple and noise characteristics. Please refer to chapters 4 and 5 for further information. 1.3.2 Driver Software The CP382 is supplied with appropriate driver software which provides software interfacing with the system master. 1.
Introduction 1.4.2 CP382 Board Layout Figure 1-2: CP382 Board (Front View) CLUSTER A OPTO LED1 O P T O Switches C O N 2 CLUSTER B O P T O OPTO Switches CapROM O P T O Switches CLUSTER C CON3 O P T O OPTO 25 C O N 1 DO ProComm Controller O P T O O P T O 1 NOTE CON3 is a test connector for manufacturer’s use only Page 1 - 6 © 2002 PEP Modular Computers GmbH ID 24208, Rev.
CP382 1.
Introduction CP382 Table 1-4: CP382 Digital Output Specifications TYPE Output Voltage Range DESCRIPTION Low state: =< +1.5 V High state: > +8.0 V and < +35 V Current per channel: max. 0.
CP382 Introduction 1.7 Applied Standards The PEP Modular Computers’ CompactPCI systems comply with the requirements of the following standards: Table 1-5: Applied Standards TYPE CE MECHANICAL ENVIRONMENTAL TESTS 1.8 STANDARD Emission EN50081-1 Immunity, Industrial Environment EN50082-2 Immunity, IT Equipment EN55024 Electrical Safety EN60950 Mechanical Dimensions IEEE 1101.
Introduction CP382 This page was intentionally left blank. Page 1 - 10 © 2002 PEP Modular Computers GmbH ID 24208, Rev.
CP382 Functional Description Chapter 2 Functional Description ID 24208, Rev.
Functional Description CP382 This page was intentionally left blank. Page 2 - 2 © 2002 PEP Modular Computers GmbH ID 24208, Rev.
CP382 2. Functional Description Functional Description The following sections present more detailed, board level information about the CP382 Digital Output controller whereby the board components and their basic functionality are discussed in general. 2.
Functional Description 2.1.1 CP382 High Side Driver Switches The High Side Driver switches (HSD switches) are able to drive inductive, capacitive or resistive loads. Diagnostic information for the system master and extensive use of electrical protection are among their main characteristics. The HSD switches (type L6376 manufactured by SGS THOMSON) constitute the most important part of the front end.
CP382 2.1.4 Functional Description System Interfaces The CP382 provides interfacing capability for the following system elements: • Front Panel connector • CompactPCI bus Digital outputs, external voltage, and external reset are routed 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. External supply each Cluster: The connection for the external supply (+24V DC [9.
Functional Description 2.2 CP382 Board Level Interfacing Diagram The following figure demonstrates the interfacing structure between the internal processing modules of the CP382 and other major CP382 system components. Where CP382 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 onboard and in black for board external interfacing.
CP382 Functional Description 2.3 System Interfaces 2.3.1 Digital Output Interface The digital output interface is routed through the CON2 connector. The following figure and table indicate the pin layout and pinout of this connector.
Functional Description CP382 Table 2-1: Pinout of the Digital Output Interface Connector CON2 CLUSTER CLUSTER C CLUSTER B CLUSTER A Page 2 - 8 PIN SIGNAL PIN SIGNAL PIN SIGNAL 1 NC 22 NC 2 NC 23 NC 43 NC 3 NC 24 NC 44 NC 4 NC 25 NC 45 NC 5 NC 26 NC 46 NC 6 NC 27 NC 47 NC 7 EXTGND_C 28 EXTGND_C 48 EXTRESET_C 8 EXTVCC_C 29 EXTVCC_C 49 EXTVCC_C 9 DOUT_C6 30 DOUT_C7 50 EXTVCC_C 10 DOUT_C3 31 DOUT_C4 51 DOUT_C5 11 DOUT_C0 32 DOUT_C1 52 D
CP382 2.4 Functional Description CapROM EEPROM The CapROM is a 4 kBit (512 byte) EEPROM which provides the capability to store board control relevant information to allow software configuration of the CP382. 2.5 Monitor and Control (M/C) The front panel of the board is equipped with two LED’s for user defined purposes. One green (RUN) and one red (FAIL) have been placed on the front panel in anticipation of their most likely use.
Functional Description CP382 This page was intentionally left blank. Page 2 - 10 © 2002 PEP Modular Computers GmbH ID 24208, Rev.
CP382 Installation Chapter 3 Installation ID 24208, Rev.
Installation CP382 This page was intentionally left blank. Page 3 - 2 © 2002 PEP Modular Computers GmbH ID 24208, Rev.
CP382 3. Installation Installation The CP382 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.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.
Installation 3.1.2 CP382 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...
CP382 3.1.3 Installation 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.
Installation CP382 This page was intentionally left blank. Page 3 - 6 © 2002 PEP Modular Computers GmbH ID 24208, Rev.
CP382 Configuration Chapter 4 Configuration ID 24208, Rev.
Configuration CP382 This page was intentionally left blank. Page 4 - 2 © 2002 PEP Modular Computers GmbH ID 24208, Rev.
CP382 4. Configuration Configuration This chapter provides information for configuring the CP382 board for operation. 4.1 Jumper Settings The CP382 does not have any jumpers which require configuring. 4.2 Digital Output Signal Properties In addition to the output signal type and its range, which have been specified in chapter 1, paragraph 1.3.1, system integrators must be aware of certain output configuration requirements for the CP382.
Configuration 4.2.3 CP382 Channel Connection The following diagrams illustrate the external connection of the CP382 to the application.
CP382 Configuration Figure 4-3: External Reset Connection for One Cluster CON2 Supply Voltage External VCC 0 Ch 0 7 Ch 7 R Reset + V LOAD LOAD EXTGND CP382 External GND Note... The voltage source for each cluster is an external supply (in the range +9.5V to +35V DC). Therefore the GND reference for the digital output is the ground potential of this external voltage supply. Important...
Configuration CP382 4.3 Programming Interface 4.3.1 Access Control Logic (Address Decoder) All the resources of the CP382 are mapped within the 64 kB 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.
CP382 4.3.2 Configuration Writing Output Data Table 4-2: Output Data Register Bit Map Bits Type 31-8 7-0 r/w r/w Default 0 0 Function Reserved Data, 8 bit digit Note... Output data is 8 bit (each cluster); this register is read/write enable. Table 4-3: Output Control Register Bits Type 31-2 1 0 r/w r/w r/w Default 0 0 1 Function Reserved irqen Reset Note... irqen is for diagnostic issuing an interrupt. The reset bit should be set to 0 to activate a cluster.
Configuration 4.3.3 CP382 Hardware Debug/Test Registers These registers are for internal test and debug only. The Common Status Register contains Logic-Version and PCB -Version. The Common Debug Register is a read/write register without any further functionality besides the front panel monitor and control LED’s.
CP382 4.3.4 Configuration Generating Interrupts A detected fail flag set in the register can trigger an interrupt. 1. Check if the board is the cause of the interrupt (General Interrupt Pending is set) 2. If yes, check the reason for the interrupt by reading the fail flag in the output status register 3. Reset the corresponding Flag by writing a 1 to a set status bit (fail). 4. Reset the boards’ IRQ by resetting the General Interrupt Pending Bit by writing a 1 to that status bit 5.
Configuration 4.3.5 CP382 Programming the Board Capability ROM The Board Capability ROM contains all the board data necessary to identify board, version, optional features, etc., and to setup the basic software. The BCR is implemented using a 4 KBit serial EEPROM of the type Microchip 93LC66. (The contents list of the BCR is not described here.
CP382 Configuration Table 4-12: Opcodes and Commands Opcode A8..A0 Command 00 10 01 11xxxxxxx xxxxxxxxx xxxxxxxxx EWEN READ WRITE Note... The EWEN (Erase and Write Enable) command must be executed once before the first write. Table 4-13: ROM Status Register Bit Map Bits Type 31 30-0 r/w r/w Default 0 00 Function Busy/Ready Reserved Note... As soon as the Startbit is set the Busy/Ready bit becomes active (Busy=1).
Configuration CP382 This page was intentionally left blank. Page 4 - 12 © 2002 PEP Modular Computers GmbH ID 24208, Rev.
CP382 System Considerations Chapter 5 System Considerations ID 24208, Rev.
System Considerations CP382 This page was intentionally left blank. Page 5 - 2 © 2002 PEP Modular Computers GmbH ID 24208, Rev.
CP382 System Considerations 5. System Considerations 5.1 Introduction In addition to the basic specification requirements for the CP382 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 CP382. 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.
System Considerations CP382 This page was intentionally left blank. Page 5 - 4 © 2002 PEP Modular Computers GmbH ID 24208, Rev.