background image

Functional Description

Chapter

2

ID 24107, Rev. 01

© 2002 PEP Modular Computers GmbH

Page 2 - 1

CP381

Functional Description

Summary of Contents for 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: ...le form in whole or in part without prior written approval of PEP Modular Computers GmbH This manual was realized by TPD Engineering PEP Modular Computers GmbH Manual Product Title CP381 Manual ID Number 24107 Rev Index Brief Description of Changes Board Index Date of Issue 01 Initial Issue 00 Feb 2002 DISCLAIMER PEP Modular Computers GmbH rejects any liability for the correctness and completeness...

Page 3: ...Handling and Unpacking Instructions xiii General Instructions on Usage xiv Two Year Warranty xv Chapter 1 1 Introduction 1 3 1 1 System Overview 1 3 1 2 Product Overview 1 4 1 3 Board Overview 1 5 1 3 1 Board Introduction 1 5 1 3 2 Board Specific Information 1 5 1 4 System Relevant Information 1 6 1 4 1 System Configuration 1 6 1 4 2 Driver Software 1 6 1 5 Board Diagrams 1 7 1 5 1 System Level In...

Page 4: ...terfacing Diagram 2 5 2 3 System Interfaces 2 6 2 3 1 Digital Input Interface 2 6 2 3 2 CompactPCI Interface and Pinout 2 8 2 3 3 Test and Program Development 2 9 2 3 3 1 JTAG ISP Interface and Pinout 2 9 2 4 CapROM EEPROM 2 9 2 5 Monitor and Control M C 2 10 2 5 1 Pre Operation M C 2 10 2 5 2 Operation M C 2 10 Chapter 3 3 Installation 3 3 3 1 Hardware Installation 3 3 3 1 1 Safety Requirements 3...

Page 5: ...ontrol Logic Address Decoder 4 6 4 3 2 Reading Input Data 4 7 4 3 3 Debouncing Inputs 4 8 4 3 4 Detecting Input Events 4 9 4 3 5 Latching on Input Events 4 10 4 3 6 Comparing Input Patterns 4 10 4 3 7 Hardware Debug Test Registers 4 11 4 3 8 Generating Interrupts 4 12 4 3 9 Programming the Board Capability ROM 4 13 Chapter 5 5 System Considerations 5 3 5 1 Introduction 5 3 5 2 General 5 3 5 3 Shie...

Page 6: ...Preface CP381 This page was intentionally left blank Page vi 2002 PEP Modular Computers GmbH ID 24107 Rev 01 ...

Page 7: ... 1 3 CP381 Board Front View 1 8 2 1 CP381 Board Level Interfacing 2 5 2 2 Pin Layout of the Digital Input Interface Connector CON2 2 6 2 3 CPCI Connector CON1 J1 2 8 2 4 JTAG Connector CON3 2 9 4 1 Voltage Ranges 4 3 4 2 Input Configuration Example for Channel 0 4 4 4 3 Configuration Diagram for All Channels 4 4 4 4 Configuration Diagram for All Channels 4 5 ...

Page 8: ...Preface CP381 This page was intentionally left blank Page viii 2002 PEP Modular Computers GmbH ID 24107 Rev 01 ...

Page 9: ...ut Data Register Bit Map 4 7 4 4 Input Control Register 4 8 4 5 Programmable Input Sample Rates 4 8 4 6 Input Event Mask Register Bit Map 4 9 4 7 Input Event Polarity Register Bit Map 4 9 4 8 Input Status Register Bit Map 4 9 4 9 Input Latch on Event Register Bit Map 4 10 4 10 Input Pattern Mask Register Bit Map 4 10 4 11 Input Pattern Compare Register Bit Map 4 10 4 12 Hardware Debug Register Bit...

Page 10: ...Preface CP381 This page was intentionally left blank Page x 2002 PEP Modular Computers GmbH ID 24107 Rev 01 ...

Page 11: ...ar 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 ar...

Page 12: ...lease 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 compo nents 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 Spe...

Page 13: ...s 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 piggy backs 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 static plas tics or sponges They can cause short ci...

Page 14: ...cific 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 in structions supplied by the present manual Keep all the original packaging mate...

Page 15: ...d 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 PEP Modular 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 con...

Page 16: ...Preface CP381 This page was intentionally left blank Page xvi 2002 PEP Modular Computers GmbH ID 24107 Rev 01 ...

Page 17: ...Introduction Chapter 1 ID 24107 Rev 01 2002 PEP Modular Computers GmbH Page 1 1 CP381 Introduction ...

Page 18: ...Introduction CP381 This page was intentionally left blank Page 1 2 2002 PEP Modular Computers GmbH ID 24107 Rev 01 ...

Page 19: ...n Common information that is applicable to all system components such as safety infor mation 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 configura tion examples Data on rack dimensions and configurations as well as information on mecha...

Page 20: ...The major components involved in these processes are the front end process side Signal Conditioning and the Digital Input Process and Communications DIProcomm Controller which is realized within a Field Programmable Gate Array FPGA The DI ProComm controller is de signed to provide effective and efficient control of digital input signal conditioning as well as in terfacing with the CPCI system cont...

Page 21: ... status registers are set The DI ProComm controller controls the interface with the CompactPCI bus and the dedicated software Input signal types and ranges are as follows Edge frequency Maximum 10 kHz Voltage Ranges High range 11V to 30V 24V nominal Low range 3V to 5V Signal is single ended Output data The following outputs are routed from the DI ProComm controller to the CompactPCI bus Input data...

Page 22: ...r to chapters 4 and 5 for further information 1 4 2 Driver Software The CP381 is supplied with appropriate driver software which provides software interfacing with the system master Table 1 2 System Relevant Information SUBJECT INFORMATION System Configuration The CP381 operates with a system clock frequency of 33 MHz The number of CP381 s which can be installed in any one system depends solely on...

Page 23: ...ollowing 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 Input System CP381 CP381 1 n digital input digital input 1 30 max 1 30 max digital input digital input ...

Page 24: ...Front View CP 381 RUN HIT LEGEND 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 C O N 1 1 25 CapROM DI ProComm Controller LED1 C O N 2 Channels 0 29 Signal Conditioning CON3 1 2 10 9 O P T O O P T O O P T O O P T O O P T O O P T O O P T O OPTO ...

Page 25: ... purposes Indicators Front Panel LED s Two green LED s to indicate operational status General Mechanical Conforms with IEEE 1101 1 Power Requirements Voltage 3 3V Power Consumption 370 mW maximum Temperature Range Operational 0ºC to 70ºC Standard 40ºC to 85ºC E2 Storage 55ºC to 125ºC Humidity 0 to 95 non condensing Dimensions 100 mm x 160 mm single height Eurocard Board Weight 145 grams Software D...

Page 26: ... Protection 8 kV ESD Isolation 2 kV process to system Input Impedance Minimum 1 5 k ohm Maximum 6 k ohm at 30V Table 1 5 Applied Standards TYPE STANDARD CE Emission EN50081 1 Immunity Industrial Environment EN50082 2 Immunity IT Equipment EN55024 Electrical Safety EN60950 MECHANICAL Mechanical Dimensions IEEE 1101 1 ENVIRONMENTAL TESTS Vibration Sinusoidal IEC68 2 6 Random Vibration Broadband IEC6...

Page 27: ...Functional Description Chapter 2 ID 24107 Rev 01 2002 PEP Modular Computers GmbH Page 2 1 CP381 Functional Description ...

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: ...n board memory Capability EEPROM CapROM Monitor and Control Two green LED s Registers Software 2 1 1 Signal Conditioning The digital input signal conditioning consists of the following Overvoltage protection Low pass signal filtering Current limitation Inverse polarity protection Input signal high low determination Output signal stabilization buffering Optoisolation galvanic isolation of process s...

Page 30: ...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 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 speci...

Page 31: ...ponents 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 The interfacing lines are shown in white where they are onboard and in black for board external interfacing Figure 2 1 CP381 Board Level Interfacing CP381 Digital Input Controller Channel 0 Channel 29 CPCI Interface ...

Page 32: ...hrough the CON2 connector The following figure and table indicate the pin layout and pinout of this connector Figure 2 2 Pin Layout of the Digital Input Interface Connector CON2 CP 381 RUN HIT Pin 1 Pin 22 Pin 43 7 4 1 13 10 16 29 25 22 28 19 5 3 8 6 2 0 9 11 12 17 15 14 18 26 23 20 21 24 27 26 2 8 5 9 11 3 6 15 14 18 17 12 20 23 24 21 27 29 NC NC 1 7 4 10 13 16 25 22 28 19 0 ...

Page 33: ... 23 6 DIGIN 22 27 DIGIN 23 48 DIGIN 22 7 DIGIN 21 28 DIGIN 21 49 DIGIN 20 8 DIGIN 19 29 DIGIN 20 50 DIGIN 19 9 DIGIN 18 30 DIGIN 18 51 DIGIN 17 10 DIGIN 16 31 DIGIN 17 52 DIGIN 16 11 DIGIN 15 32 DIGIN 15 53 DIGIN 14 12 DIGIN 13 33 DIGIN 14 54 DIGIN 13 13 DIGIN 12 34 DIGIN 12 55 DIGIN 11 14 DIGIN 10 35 DIGIN 11 56 DIGIN 10 15 DIGIN 9 36 DIGIN 9 57 DIGIN 8 16 DIGIN 7 37 DIGIN 8 58 DIGIN 7 17 DIGIN 6...

Page 34: ...ND 2 NC NC NC TDO TDI GND 3 INTA NC NC NC NC GND 4 NC GND NC NC NC GND 5 NC NC RST GND NC GND 6 NC GND 3 3V CLK AD 31 GND 7 AD 30 AD 29 AD 28 GND AD 27 GND 8 AD 26 GND NC AD 25 AD 24 GND 9 C BE 3 IDSEL AD 23 GND AD 22 GND 10 AD 21 GND 3 3V AD 20 AD 19 GND 11 AD 18 AD 17 AD 16 GND C BE 2 GND 12 14 Key Area 15 3 3V FRAME IRDY GND TRDY GND 16 DEVSEL GND NC STOP LOCK GND 17 3 3V NC NC GND PERR GND 18 ...

Page 35: ...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 4 CapROM EEPROM The CapROM is a 4 kBit 512 byte EEPROM which provides the capability to store board con trol relevant information to allow software configuration of the CP381 Table 2 3 JTAG Connector CON3 Pinout SIGNAL PIN PIN SIGNAL TCK 1 2 GND TDO 3 4 3 3V TMS 5 6 NC N...

Page 36: ...s describe the LED status combinations and the meanings of the modes Table 2 4 System Status Indicators LED State Description Run ON The different LED status combinations have the following meanings Run Hit Description Off Off Board is disabled On Off Board is enabled and the modes Event hit Compare hit and Latch hit are dis abled or no hit has occurred Off On Board is enabled and Latch hit mode i...

Page 37: ...Installation Chapter 3 ID 24107 Rev 01 2002 PEP Modular Computers GmbH Page 3 1 CP381 Installation ...

Page 38: ...Installation CP381 This page was intentionally left blank Page 3 2 2002 PEP Modular Computers GmbH ID 24107 Rev 01 ...

Page 39: ... 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 ...

Page 40: ...g screws 5 Connect external interfacing cables to the board as required 6 Ensure that the interfacing cables are properly secured 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 config uration information Note Care must be taken when applying the procedures below to ensure that when the b...

Page 41: ...f necessary lift the handle up slightly while pressing down on the grey locking mech anism 2 Disengage 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 contact with adjacent boards If the handle does not move it is not unlocked Repeat the un locking procedure above and try again Do not use forc...

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 Chapter 4 ID 24107 Rev 01 2002 PEP Modular Computers GmbH Page 4 1 CP381 Configuration ...

Page 44: ...Configuration CP381 This page was intentionally left blank Page 4 2 2002 PEP Modular Computers GmbH ID 24107 Rev 01 ...

Page 45: ...ovide some information regarding individual connec tion configuration requirements 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 ...

Page 46: ...uration Signals require to be connected plus to plus minus to ground as shown in figure 4 2 below Figure 4 2 Input Configuration Example for Channel 0 Figure 4 3 Configuration Diagram for All Channels Voltage Source V CP381 CON2 DIGIN0 Pin21 DIGIN0 Pin42 Ch 0 Ch n Ch 29 V Digital Sensors CP381 CON2 ...

Page 47: ...CP381 Configuration ID 24107 Rev 01 2002 PEP Modular Computers GmbH Page 4 5 Figure 4 4 Configuration Diagram for All Channels Ch 0 Ch n Ch 29 V Digital Sensors CP381 CON2 ...

Page 48: ...nterrupt Pending Register 0x0c00 32 bit hdr Hardware Debug Register bar0 0x1000 4 K Capability ROM serial EEPROM 0x1000 32 bit r_cmd Command Register 0x1400 32 bit r_ctl Control Register 0x1800 32 bit r_sta Status Register 0x1c00 32 bit r_dat Data Register bar0 0x2000 2 K Input Control 0x2400 32 bit i_ctl Input Control Register 0x2408 32 bit i_irqen Input Irq Enable Register 0x240c 32 bit e_pol In...

Page 49: ...he bit ordering naturally corresponds with the numbering of the input ports at the connector Table 4 2 Input Data Register Bit Map Bits Type Default Function 31 30 r 0 Reserved 29 0 r Input debounced Note Where the enhanced features such as interrupts pattern or event detection are not required only the input data register is relevant Table 4 3 Transparent Input Data Register Bit Map Bits Type Def...

Page 50: ... Register Bits Type Default Function 31 8 r w 0 Reserved 7 r w 0 Input enable 6 r w 0 Event detect enable 5 r w 0 Latch mode enable 4 r w 0 Pattern detect enable 2 0 r w 000 Debounce control deb 2 0 Note The Inputs are sampled through the debouncer after the Input Enable bit is set Additional features such as event and pattern detection and latch mode are also enabled in the input control register...

Page 51: ...9 0 r w 1 Input event mask bits Note A set bit means that event detection is disabled for the corresponding input port Table 4 7 Input Event Polarity Register Bit Map Bits Type Default Function 31 30 r w 0 Not used 29 0 r w 0 Input event polarity bits Note A bit setting of 0 bit means that an event is detected when the input port changes from 0 to 1 whereas a setting of 1 means that an event is de...

Page 52: ... activate Note A set bit means that a detected event on the corresponding input is latched If all bits are enabled all inputs are latched immediately To switch back from latch mode into active mode all detected events and the input latch on event status flag have to be reset by writing 1 to the corrresponding bits in the Input Status Register Table 4 10 Input Pattern Mask Register Bit Map Bits Typ...

Page 53: ...te register with out any further functionality Neither of these registers should be used by standard software Table 4 12 Hardware Debug Register Bit Map Bits Type Default Function 31 0 r w 0 Used for test purposes Table 4 13 Hardware Status Register Bit Map Bits Type Default Function 31 16 r 0 Reserved 15 8 r 00 HW Version PCB Index 7 0 r 01 Logic Version Note The HW version starts with 0 the Logi...

Page 54: ...reason for the interrupt by reading the input status register 3 Reset the corresponding Input Event Flag by writing a 1 to a set status bit 4 Reset the boards IRQ by resetting the General Interrupt Pending Bit by writing a 1 to that status bit 5 Return from Interrupt Note The board will continue issuing an interrupt until all interrupt sources are com pletely dealt with and no interrupt condition ...

Page 55: ...ws 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 Startbit in the ROM Command Register Then Ready Busy must be polled in the ROM Sta tus Register After reaching Ready status the next command can be set up and data in c...

Page 56: ...ted once before the first write Table 4 20 ROM Status Register Bit Map Bits Type Default Function 31 r w 0 Busy Ready 30 0 r w 00 Reserved Note As soon as the Startbit 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 21 ROM Data Register Bit Map Bits Type Default Function 31 8 r w 0 Reserved 7 ...

Page 57: ...System Considerations Chapter 5 ID 24107 Rev 01 2002 PEP Modular Computers GmbH Page 5 1 CP381 System Considerations ...

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: ...finite requirements if the CP381 is to successfully achieve its purpose 5 2 General Considerations 1 Care must be taken to ensure that proper grounding concepts are followed and that the integrity of the grounding system within the application be maintained 2 Input wire routing should avoid proximity to high voltage or current sources 3 Where possible input wiring length should be kept as short as...

Page 60: ...ioning Considerations 1 Input signals presented to the CP381 must be within the ranges specified for signals in chapter 1 3 1 or erroneous results will occur as well as possible damage to the CP381 5 6 Cable Interfacing Considerations 1 No modification to the CP381 itself is permitted 2 If necessary cabling to the CP381 CON2 connector should be physically fixed to prevent strain on the CON2 connec...

Reviews: