Digital i/o board for compactpci applications (68 pages)
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.
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.
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.
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.
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.
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.
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.
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.
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.
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...
“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...
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...
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.
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.
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.
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)
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.
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.
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.
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.
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.
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.
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.
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.
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.