PEP CP381 Manual

30 channel compactpci digital input controller
Table of Contents

Advertisement

Quick Links

CP381
30 Channel CompactPCI
Digital Input Controller
Manual ID: 24107, Rev. Index 01
February 2002
The product described in this manual is
in compliance with all applied CE stan-
dards.

Advertisement

Table of Contents
loading

Summary of Contents for PEP CP381

  • Page 1 CP381 30 Channel CompactPCI Digital Input Controller Manual ID: 24107, Rev. Index 01 February 2002 The product described in this manual is in compliance with all applied CE stan- dards.
  • Page 2: Imprint

    PEP Modular Computers GmbH. DISCLAIMER: PEP Modular Computers GmbH rejects any liability for the correctness and completeness of this manual as well as its suitability for any partic- ular purpose.
  • Page 3: Table Of Contents

    Front Panel ................... 1 - 8 1.5.3 Board Layout ................1 - 8 Technical Specifications ..............1 - 9 Applied Standards ................1 - 10 Related Publications ................1 - 10 ID 24107, Rev. 01 © 2002 PEP Modular Computers GmbH Page iii...
  • Page 4 Hardware Installation ................3 - 3 3.1.1 Safety Requirements ..............3 - 3 3.1.2 Installation Procedures ..............3 - 4 3.1.3 Removal Procedures ..............3 - 5 Software Installation ................3 - 5 Page iv © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 5 General ....................5 - 3 Shielding ....................5 - 3 Debouncing ................... 5 - 4 Process-side Signal Conditioning ............5 - 4 Cable Interfacing ................... 5 - 4 ID 24107, Rev. 01 © 2002 PEP Modular Computers GmbH Page v...
  • Page 6 Preface CP381 This page was intentionally left blank. Page vi © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 7: List Of Figures

    CP381 Preface List of Figures CP381 System Level Interfacing Diagram ..........1 - 7 CP381 Front Panel .................. 1 - 8 CP381 Board (Front View) ............... 1 - 8 CP381 Board Level Interfacing ..............2 - 5 Pin Layout of the Digital Input Interface Connector CON2 ..... 2 - 6 CPCI Connector CON1 (J1) ..............
  • Page 8 Preface CP381 This page was intentionally left blank. Page viii © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 9: List Of Tables

    JTAG Connector (CON3) Pinout .............. 2 - 9 System Status Indicators ............... 2 - 10 Function Modes of the CP381 ............... 2 - 10 Backend Register Address Map .............. 4 - 6 Input Data Register Bit Map ..............4 - 7 Transparent Input Data Register Bit Map ..........
  • Page 10 Preface CP381 This page was intentionally left blank. Page x © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 11: Proprietary Note

    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.
  • Page 12: Explanation Of Symbols

    Note... This symbol and title emphasize aspects the reader should read through carefully for his or her own advantage. Page xii © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 13: For Your Safety

    However, the life expectancy of your product can be drastically reduced by improper treatment during unpacking and installation. Therefore, in the interest of your own safety and of the correct operation of your new PEP product, you are requested to conform with the fol- lowing guidelines.
  • Page 14: General Instructions On Usage

    CP381 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.
  • Page 15: Two Year Warranty

    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.
  • Page 16 Preface CP381 This page was intentionally left blank. Page xvi © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 17: Introduction

    CP381 Introduction Chapter Introduction ID 24107, Rev. 01 © 2002 PEP Modular Computers GmbH Page 1 - 1...
  • Page 18 Introduction CP381 This page was intentionally left blank. Page 1 - 2 © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 19: System Overview

    Many system relevant CompactPCI features that are specific to PEP Modular Computers Com- pactPCI systems may be found described in the PEP CompactPCI System Manual. Please re- fer to the section “Related Publications” at the end of this chapter for the relevant ordering information.
  • Page 20: Product Overview

    CP381 Product Overview The CP381 Digital Input controller is part of a comprehensive concept whose goal is to provide CompactPCI system integrators with a complete range of CompactPCI I/O products which in- clude the functions of analog input, analog output, digital input and digital output implemented on separate individual boards.
  • Page 21: Board Overview

    1.3.1 Board Introduction The CP381 is a 30 channel digital input board. The source of the digital inputs must be a voltage generator. The board accepts only single-ended voltages up to a maximum of +30V. The input current is limited to 5 mA over the specified input voltage range.
  • Page 22: System Relevant Information

    CP381. In addition, it is imperative that signal interference be kept to a min- imum. Please refer to chapters 4 and 5 for further information.
  • Page 23: Board Diagrams

    CP381 Introduction Board Diagrams The following diagrams illustrate board functionality and component layout. 1.5.1 System Level Interfacing Figure 1-1: CP381 System Level Interfacing Diagram CompactPCI System System Master CPCI - BUS Digital CP381 Input System CP381 digital digital input input...
  • Page 24: Front Panel

    “RUN” and “HIT” are status LED’s. The different LED status combi- nations are illustrated and an explanation of their meaning given in the Operation M/C section in chapter 2.5 RUN HIT 1.5.3 Board Layout Figure 1-3: CP381 Board (Front View) LED1 CON3 Channels 0...29 CapROM Signal...
  • Page 25: Technical Specifications

    “11” relates to the data acquisition and signal processing control- lers and “0000” relates to the DPIO modules. Subsystem Device ID and Sub- system Vendor ID are defined by PEP. ID 24107, Rev. 01 © 2002 PEP Modular Computers GmbH...
  • Page 26: Applied Standards

    2 kV process to system Input Impedance Minimum: 1.5 k ohm Maximum: 6 k ohm at 30V Applied Standards The PEP Modular Computers’ CompactPCI systems comply with the requirements of the fol- lowing standards: Table 1-5: Applied Standards TYPE STANDARD Emission EN50081-1...
  • Page 27: Functional Description

    CP381 Functional Description Chapter Functional Description ID 24107, Rev. 01 © 2002 PEP Modular Computers GmbH Page 2 - 1...
  • Page 28 Functional Description CP381 This page was intentionally left blank. Page 2 - 2 © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 29: General Information

    The DI ProComm controller is responsible for supervising and controlling the digital data acqui- sition process and maintaining communication with the CompactPCI system master. Applica- tions address the CP381 through its software driver interface within the system master whereby the controller accepts requests from the driver and executes them accordingly. Digital data from the signal conditioning is processed through the DI ProComm controller and then made avail- able to the system master.
  • Page 30: Software

    2.1.4 Monitor and Control Various monitor and control functions are available for the operation of the CP381. Two LED’s are available for operator interaction. In addition, applications have access via the System Mas- ter driver software to board specific registers.
  • Page 31: Board Level Interfacing Diagram

    Board Level Interfacing Diagram The following figure demonstrates the interfacing structure between the internal processing modules of the CP381 and other major CP381 system components. Where CP381 system el- ements have common interfacing they are grouped into a block. Interfacing common to only one element of a block is indicated with a direct connecting line.
  • Page 32: System Interfaces

    Figure 2-2: Pin Layout of the Digital Input Interface Connector CON2 CP 381 RUN HIT Pin 43 Pin 1 Pin 22 Page 2 - 6 © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 33: Pinout Of The Digital Input Interface Connector Con2

    DIGIN 6- DIGIN 5- DIGIN 4- DIGIN 5+ DIGIN 4+ DIGIN 3+ DIGIN 3- DIGIN 2- DIGIN 1- DIGIN 2+ DIGIN 1+ DIGIN 0+ DIGIN 0- ID 24107, Rev. 01 © 2002 PEP Modular Computers GmbH Page 2 - 7...
  • Page 34: Compactpci Interface And Pinout

    SERR# 3,3V C/BE[1] 3,3V AD[15] AD[14] AD[13] AD[12] AD[11] AD[10] 3,3V AD[9] AD[8] M66EN C/BE[0] AD[7] 3,3V AD[6] AD[5] 3,3V AD[4] AD[3] AD[2] AD[1] AD[0] 3,3V Page 2 - 8 © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 35: Test And Program Development

    Test and Program Development 2.3.3.1 JTAG/ISP Interface and Pinout A JTAG/ISP interface is provided on the CP381 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)
  • Page 36: Monitor And Control (M/C)

    Digital input configuration is addressed in detail in chapters 4 and 5. These chapters provide detailed information concerning input signal conditioning and environmental aspects which re- late to the operation and performance of the CP381. Overall system integration and compli- ance with its requirements is beyond the scope of this manual.
  • Page 37: Installation

    CP381 Installation Chapter Installation ID 24107, Rev. 01 © 2002 PEP Modular Computers GmbH Page 3 - 1...
  • Page 38 Installation CP381 This page was intentionally left blank. Page 3 - 2 © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 39: Hardware Installation

    Installation Installation The CP381 has been designed for easy installation. However, the following standard precau- tions, installation procedures and general information must be observed to ensure proper in- stallation and to preclude damage to the board or injury to personnel.
  • Page 40: Installation Procedures

    4. Fasten the front panel retaining screws. Warning! Proper and safe operation of the CP381 Digital Input Controller depends on the correct configuration of input signals and signal conditioning. System integrators must ensure that all signals presented to the CP381 comply with the specifications set forth in this manual.
  • Page 41: Removal Procedures

    (If the handle does not move, it is not unlocked. Repeat the un- locking procedure above and try again. Do not use force!) Software Installation Installation of the CP381 driver software is a function of the application operating system. For further information refer to the appropriate software documentation. ID 24107, Rev. 01 ©...
  • Page 42 Installation CP381 This page was intentionally left blank. Page 3 - 6 © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 43: Configuration

    CP381 Configuration Chapter Configuration ID 24107, Rev. 01 © 2002 PEP Modular Computers GmbH Page 4 - 1...
  • Page 44 Configuration CP381 This page was intentionally left blank. Page 4 - 2 © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 45: Jumper Settings

    4.2.1 Channels The CON2 connector of the CP381 is designed so that there are two input pins per channel. This allows each channel to be configured separately as required. This is illustrated in Figure 2-2, which shows the front panel connector pinout, with the 30 channels shown starting at the top of the connector with channel 0.
  • Page 46: Channel Configuration

    Figure 4-2: Input Configuration (Example for Channel 0) CP381 Voltage DIGIN0+ Source Pin21 DIGIN0- Pin42 CON2 Figure 4-3: Configuration Diagram for All Channels CON2 Digital Sensors Ch 0 Ch n Ch 29 CP381 Page 4 - 4 © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 47: Configuration Diagram For All Channels

    CP381 Configuration Figure 4-4: Configuration Diagram for All Channels CON2 Digital Sensors Ch 0 Ch n Ch 29 CP381 ID 24107, Rev. 01 © 2002 PEP Modular Computers GmbH Page 4 - 5...
  • Page 48: Programming Interface

    Access Control Logic (Address Decoder) All the resources of the CP381 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.
  • Page 49: Reading Input Data

    Type Default Function 31-30 Reserved 29-0 Input (transparent) Note... In addition to the Input Data Register, there is a second non-latched input regis- ter (debouncer bypassed). ID 24107, Rev. 01 © 2002 PEP Modular Computers GmbH Page 4 - 7...
  • Page 50: Debouncing Inputs

    By default, all inputs are filtered through a passive analog low-pass filter placed immediately behind the input connector. Additionally, the CP381 provides a programmable digital debounc- er which is common for all inputs. It functions as follows; the input ports are sampled at a pro- grammable sample rate which is derived from PCI bus clock.
  • Page 51: Detecting Input Events

    4.3.4 Detecting Input Events Detecting events on input means that the CP381 hardware can supervise the input ports upon their changing state and without being continuously polled. This mode is controlled by three control registers. In the Input Event Mask Register, individual input events can be enabled which should be monitored.
  • Page 52: Latching On Input Events

    Input Status Register (Bit 31). To reset a compare match, the status flag has to be reset by writing "1" to it and also the match condition must cease. Page 4 - 10 © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 53: Hardware Debug/Test Registers

    HW Version (PCB Index) Logic Version Note... The HW version starts with 0, the Logic version starts with 1. At each further release it will be incremented by 1. ID 24107, Rev. 01 © 2002 PEP Modular Computers GmbH Page 4 - 11...
  • Page 54: Generating Interrupts

    "1" to the corresponding input event flag. Table 4-16: Input IRQ Enable Register, Bit Map Bits Type Default Function Not used Input compare interrupt enable 29 - 0 Input event interrupt enable Page 4 - 12 © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 55: Programming The Board Capability Rom

    Type Default Function 31-18 Reserved 17-16 Opcode 15-9 Reserved Internal address (A8..A0) Note... The commands READ, EWEN (Write Enable) and WRITE are sufficient for all purposes. ID 24107, Rev. 01 © 2002 PEP Modular Computers GmbH Page 4 - 13...
  • Page 56: Opcodes And Commands

    Table 4-21: ROM Data Register Bit Map Bits Type Default Function 31-8 Reserved Data (for data read and write commands) Page 4 - 14 © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 57: System Considerations

    CP381 System Considerations Chapter System Considerations ID 24107, Rev. 01 © 2002 PEP Modular Computers GmbH Page 5 - 1...
  • Page 58 System Considerations CP381 This page was intentionally left blank. Page 5 - 2 © 2002 PEP Modular Computers GmbH ID 24107, Rev. 01...
  • Page 59: Introduction

    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 CP381 shield and is isolated from the system ground.
  • Page 60: Debouncing

    CP381 Debouncing On the CP381 it is possible to select from a number of debouncing times, dependant on the type of switches/sensors in use. For example, when using mechanical switches or relays to switch the input, bouncing will always occur and therefore debouncing is necessary. A de- bounce period may be selected from a range of values available, accessible via software in the register depending on the settle time.

Table of Contents