background image

6-4        

PCI-AOB8/12 (16/12) User’s Guide

ä

ä

ä

ä

Mode 2:  Rate Generator

This mode provides a divide-by-N capability where N is the count loaded into the counter.  When 
triggered, the counter output goes low for one clock period after N counts, reloads the initial 
count, and the cycle starts over.  This mode is periodic, the same sequence is repeated 
indefinitely until the gate input is brought low.  This mode also works well as an alternative to 
mode 0 for event counting.

ä

ä

ä

ä

Mode 3:  Square Wave Generator

This mode operates like mode 2.  The output is high for half of the count and low for the other 
half.  If the count is even, the output is a symmetrical square wave.  If the count is odd, the 
output is high for (N+1)/2 counts and low for (N-1)/2 counts.  Periodic triggering or frequency 
synthesis are two possible applications for this mode.  Note that in this mode, to achieve the 
square wave, the counter decrements by two for the total loaded count, reloads, and then 
decrements by two for the second part of the wave form. 

ä

ä

ä

ä

Mode 4:  Software Triggered Strobe

This mode sets the output high and, when the count is loaded, the counter begins to count down. 
When the counter reaches zero, the output will go low for one input period.   The counter must be 
reloaded to repeat the cycle.  A low gate input will inhibit the counter.

ä

ä

ä

ä

Mode 5:  Hardware Triggered Strobe

In this mode, the counter will start counting after the rising edge of the trigger input and will go 
low for one clock period when the terminal count is reached.  The counter is retriggerable.  The 
output will not go low until the full count after the rising edge of the trigger.

Содержание PCI-AOB16/12

Страница 1: ...www kontron com PCI AOB8 12 16 12 User s Guide Manual PN 00650 151 2A May 2002...

Страница 2: ...y copyrights or patents and does not convey any license under the patent rights of Kontron nor the rights of others Kontron is a registered trademark of Kontron All trademarks registered trademarks an...

Страница 3: ...Statements xxi Guarantee and Warranty Policy xxiii Guarantee xxiii Limited Warranty xxiii Return Procedure xxiv Limitation of Liability xxv Chapter 1 Introduction Features 1 3 Description 1 3 Specifi...

Страница 4: ...ter Map 5 4 Table 5 2 I O Address Map for Digital I O Counter Timers 5 6 Programming the Digital I O Circuit 5 8 Table 5 3 I O Address Table for Digital 5 8 Table 5 4 Control Register Bit Assignments...

Страница 5: ...CI AOB8 12 16 12 User s Guide Chapter 9 Connector Pin Assignments Introduction 9 3 Table 9 1 DAC Pin Assignments DB37M 9 3 Table 9 2 Pin Assignments 40 Pin Header 9 5 Table 9 3 Pin Assignments DF37F 9...

Страница 6: ...vi PCI AOB8 12 16 12 User s Guide This page intentionally left blank...

Страница 7: ...vii PCI AOB8 12 16 12 User s Guide Figures Figure 1 1 PCI AOB8 12 16 12 Block Diagram 1 10 Figure 3 1 PCI AOB8 12 16 12 Option Selection Map 3 5...

Страница 8: ...viii PCI AOB8 12 16 12 User s Guide This page intentionally left blank...

Страница 9: ...Safety Instructions Contents Before You Begin xi When Working Inside a Computer xii Preventing Electrostatic Discharge xiii...

Страница 10: ...x PCI AOB8 12 16 12 User s Guide This page intentionally left blank...

Страница 11: ...authorized electronics service personnel should access the interior of the computer The power supplies produce high voltages and energy hazards which can cause bodily harm J Use extreme caution when...

Страница 12: ...avoid possible damage to system boards wait five seconds after turning off the computer before removing a component removing a system board or disconnecting a peripheral device from the computer J Wh...

Страница 13: ...ady to install the component in a computer Just before unwrapping the antistatic packaging be sure you are at an ESD workstation or grounded This will discharge any static electricity that may have bu...

Страница 14: ...xiv PCI AOB8 12 16 12 User s Guide This page intentionally left blank...

Страница 15: ...Guide xvii Customer Comments xviii Advisory Conventions xix Unpacking xx Regulatory Compliance Statements xxi Guarantee and Warranty Policy xxiii Guarantee xxiii Limited Warranty xxiii Return Procedur...

Страница 16: ...xvi PCI AOB8 12 16 12 User s Guide This page intentionally left blank...

Страница 17: ...Chapter 4 Address Selection describes how I O address spaces are used by the board and how to determine the board s base address and IRQ level assigned by the BIOS or operating system J J J J Chapter...

Страница 18: ...using the online form under Contact Us on our web site www kontron com under Technical Support Detail any errors you find We will correct the errors or problems as soon as possible and post the revis...

Страница 19: ...y electrical component Disclaimer We have tried to identify all situations that may pose a warning or caution condition in this user s guide However Kontron does not claim to have covered all situatio...

Страница 20: ...aterial for possible future shipment 2 Remove all items from the box If any items listed on the purchase order are missing notify Kontron customer service immediately 3 Inspect the product for damage...

Страница 21: ...ontron offers accessories the customer must ensure that these products are installed with proper shielding to maintain CE compliance Kontron does not offer engineering services for designing cabling s...

Страница 22: ...xxii PCI AOB8 12 16 12 User s Guide This page intentionally left blank...

Страница 23: ...software cables etc within 30 days of receipt and in an as new and resalable condition The Return Procedure must be followed to assure a prompt refund Restocking Charges Product returned after 30 day...

Страница 24: ...All product s returned to Kontron for service or credit must be accompanied by a Return Material Authorization RMA Number Freight on all returned items must be prepaid by the customer who is responsib...

Страница 25: ...uct furnished hereunder Kontron s liability shall in no event exceed the purchase price of the product purchased hereunder The foregoing limitation of liability shall be equally applicable to any serv...

Страница 26: ...r 1 Introduction Contents Features 1 3 Description 1 3 Specifications 1 5 Analog Outputs 1 5 AD7237 D A Converter Double Buffered Simultaneous Update 1 6 Digital I O 1 7 Counter Timer 1 7 Environmenta...

Страница 27: ...ng PCI slot of PC AT class computers They contain either eight or sixteen double buffered digital to analog converters DACs that provide independent analog output channels of 12 bit resolution Each an...

Страница 28: ...utputs on three 8 bit ports designated Ports A B and C Port C can be further divided into two 4 bit nibbles Each I O line is buffered by a type 74LS245 tristate buffer transceiver capable of sourcing...

Страница 29: ...fications Analog Outputs Resolution 12 binary bits 0 to 4095 decimal Channels 16 or 8 voltage output or current sink channels Current Range 4 to 20mA with excitation voltage 8 36VDC Voltage ranges 5mA...

Страница 30: ...te Relative Accuracy LSB Monotonicity 12 bits over operating temperature range Settling Time 8 usec to one LSB for full scale step input Linearity LSB integral non linearity over rated temperature ran...

Страница 31: ...polar outputs Digital I O Output 0 to 24 Channels Logic High 2 5VDC min source 15mA Logic Low 0 5VDC max sink 24mA 64mA optional Input 0 to 24 Channels Logic High 2 0 to 5 0VDC Input Load 20 A Logic L...

Страница 32: ...ve Count Edge Negative edge Timer Range 32 bits Event Counter Range 16 bits Minimum Clock Pulse Width 30 nsec high 50nsec low Environmental Operating Temperature Range 0 to 60 C Storage Temperature Ra...

Страница 33: ...2 16 12 User s Guide Introduction 5V Source output 0 to 500mA fused resetting Size 12 2 long 310 mm Power Required 12VDC at 310mA max 16 channels 12VDC at 150mA max 5VDC at 662mA typical with all digi...

Страница 34: ...LECT RANGE SELECT UPDATE DACS 12 BIT DAC 0 12 BIT DAC 15 DAC OUTPUT DAC OUTPUT OUTER DATA REGISTER INNER DATA REGISTER OUTER DATA REGISTER INNER DATA REGISTER PPI GROUP 0 GATE GATE GATE OUT OUT 5V 1MH...

Страница 35: ...Chapter 2 Installation Contents Software Installation 2 3 CD Installation 2 3 Directories Created on the Hard Disk 2 4 System Installation 2 7...

Страница 36: ...vely in the examples below CD Installation DOS WIN3 x 1 Place the CD into your CD ROM drive 2 Type d and press Enter to change the active drive to the CD ROM drive 3 Type install and press Enter to ru...

Страница 37: ...o help you configure jumpers and calibrate the card DOS PSAMPLES A subdirectory of CARDNAME that contains Pascal samples DOS CSAMPLES A subdirectory of CARDNAME that contains C samples Win32 language...

Страница 38: ...ier much easier but also one source file can be used for both Windows 95 98 2000 and WindowsNT One executable can run under both operating systems and still have full access to the hardware registers...

Страница 39: ...N32IRQ This directory provides a generic interface for IRQ handling in Windows 95 98 2000 NT Source code is provided for the driver greatly simplifying the creation of custom drivers for specific need...

Страница 40: ...can be installed in a five volt PCI slot of an IBM or compatible computer Before installing the card carefully read Chapter 3 Option Selection and configure the card according to your requirements Fi...

Страница 41: ...am of your system and verify that the PCI plug and play option is set appropriately for your system Systems running Windows95 or any other PNP compliant operating system should set the CMOS option to...

Страница 42: ...Chapter 3 Option Selection Contents Introduction 3 3 Output Ranges 3 3 Analog Output Update 3 4...

Страница 43: ...AC channel to make voltage range selection switches S1 Channel 0 through S16 Channel 15 A silk screen diagram on the card defines switch positions to use for each range In addition to the switch one j...

Страница 44: ...taneous updating for all outputs preloading the low and high bytes of each DAC and then initiating a simultaneous update by software command J Timer Update The counter timer can initiate updates First...

Страница 45: ...Analog Output Update 3 5 PCI AOB8 12 16 12 User s Guide Option Selection Figure 3 1 PCI AOB8 12 16 12 Option Selection Map...

Страница 46: ...Chapter 4 Address Selection...

Страница 47: ...ll of the Kontron cards detected on the PCI bus the addresses assigned to each function on each of the cards and the respective IRQs Alternatively some operating systems Windows 9x and NT 2000 can be...

Страница 48: ...troduction 5 3 Table 5 1 Register Map 5 4 Table 5 2 I O Address Map for Digital I O Counter Timers 5 6 Programming the Digital I O Circuit 5 8 Table 5 3 I O Address Table for Digital 5 8 Table 5 4 Con...

Страница 49: ...fe value and the card is set in Simultaneous Update mode Since the pre load register is not cleared upon power up but left at an undefined value a known value must be written to the preload registers...

Страница 50: ...put Voltage Limits the output of all DAC channels This is done by reading Base Address E The previous outputs will be restored when a Clear Restrict Output Voltage command is issued by a read of Base...

Страница 51: ...Base D DAC 6 High Byte Base E DAC 7 Low Byte Restrict output voltage limits outputs to 15 of full scale range Base F DAC 7 High Byte Clear restrict output voltage allows full operating output voltage...

Страница 52: ...A Input Base 21 Digital I O Port B Output Digital I O Port B Input Base 22 Digital I O Port C Output Digital I O Port C Input Base 23 Digital I O Control Byte Base 24 Counter Timer 0 Counter Timer 0...

Страница 53: ...s data are in true binary form XXXX 0000 0000 0000 Zero XXXX 1000 0000 0000 1 2 Scale XXXX 1111 1111 1111 Full Scale MSB or B11 B0 or LSB For Bipolar ranges For Bipolar ranges data are in offset binar...

Страница 54: ...tailed description of the PPI Table 5 3 I O Address Table for Digital The circuit is designed to use the PPI in mode 0 wherein J There are two 8 bit ports A and B and two 4 bit ports C Hi and C Lo J A...

Страница 55: ...ple hex 80 is sent to Base Address 23 the group 0 PPI will be configured in mode 0 with ports A B and C as outputs Bit Assignment Function D0 Port C Lo C0 C3 1 Input 0 Output D1 Port B 1 Input 0 Outpu...

Страница 56: ...are to be set as outputs you may set the values of the respective port with the outputs still in tristate condition Lastly to enable the ports a control byte of hex 00 must be sent to Base Address 23...

Страница 57: ...Chapter 6 8245 Counter Timer Contents Introduction 6 3 Operational Modes 6 3 Programming the 8254 6 5 Reading and Loading the Counters 6 7 8254 Driver 6 9...

Страница 58: ...ivalent manufacturers data sheets The following conventions apply for use in describing operation of the 8254 Clock A positive pulse into the counter s clock input Trigger A rising edge input to the c...

Страница 59: ...nts and low for N 1 2 counts Periodic triggering or frequency synthesis are two possible applications for this mode Note that in this mode to achieve the square wave the counter decrements by two for...

Страница 60: ...ers are programmed by writing a control byte into a counter control register at Base Address 27 The control byte specifies the counter to be programmed the counter mode the type of read write operatio...

Страница 61: ...set the operational mode of the selected counter BCD Set the selected counter to count in binary BCD 0 or BCD BCD 1 RW1 RW0 Counter Read Write Function 0 0 Counter Latch Command 0 1 Read Write LS Byte...

Страница 62: ...ommand to be discussed later A subsequent read operation on the selected counter returns the held value Latching is the best way to read a counter on the fly without disturbing the counting process Yo...

Страница 63: ...cted Until the count is loaded into the counter it cannot be read RW1 RW0 Read Write command M2 M1 M0 Counter mode BCD BCD 0 is binary mode otherwise counter is in BCD mode If both STA and CNT bits in...

Страница 64: ...ess of the card as well as an additional parameter The additional parameter identifies which features should be implemented on this call to the function Each feature can be identified by its unique in...

Страница 65: ...e read on the CLOCK OUT pin of the card void generatefrequency unsigned BaseAddress unsigned long frequency Pulse Width The Pulse Width function will measure the width of an applied event from its ris...

Страница 66: ...Chapter 7 Software...

Страница 67: ...log value with 12 bit resolution a corresponding decimal number N between 0 and 4095 is calculated 212 4096 N 4096 V out V full scale Next the data is written to the selected analog output channel See...

Страница 68: ...Chapter 8 Calibration...

Страница 69: ...noisy locations or with a noisy calibration setup The calibration program stores various data to the card to facilitate calibrating the data output in a run time environment The data collected during...

Страница 70: ...ble of data to be reconfigured If this data is incorrect calibration is not guaranteed Word Address Range Offset b in formula Span a in formula Base 00h to Base 1Eh 0 to 5 V DAC 0 to DAC 15 DAC 0 to D...

Страница 71: ...g the calibration program provided is generally the easiest method of ensuring the table remains accurate Word Address Channel Value Range Base F0h Channel 0 0 0 5 V Base F1h Channel 1 Base F2h Channe...

Страница 72: ...Chapter 9 Connector Pin Assignments Contents Introduction 9 3 Table 9 1 DAC Pin Assignments DB37M 9 3 Table 9 2 Pin Assignments 40 Pin Header 9 5 Table 9 3 Pin Assignments DF37F 9 6...

Страница 73: ...DAC 4 Output 6 D A 5 Out Analog DAC 5 Output 7 D A 6 Out Analog DAC 6 Output 8 D A 7 Out Analog DAC 7 Output 9 D A 8 Out Analog DAC 8 Output 10 D A 9 Out Analog DAC 9 Output 11 D A 10 Out Analog DAC...

Страница 74: ...log Ground 27 Return GND Return Analog Ground 28 Return GND Return Analog Ground 29 Return GND Return Analog Ground 30 Return GND Return Analog Ground 31 Return GND Return Analog Ground 32 Return GND...

Страница 75: ...ort A Bit 3 24 Digital I O Port C Bit 3 5 Digital I O Port A Bit 4 25 Return Ground 6 Digital I O Port A Bit 5 26 Return Ground 7 Digital I O Port A Bit 6 27 Digital I O Port C Bit 4 8 Digital I O Por...

Страница 76: ...gital I O Port A Bit 5 32 Return Ground 4 Digital I O Port A Bit 6 14 Digital I O Port C Bit 4 23 Digital I O Port A Bit 7 33 Digital I O Port C Bit 5 5 Return Ground 15 Digital I O Port C Bit 6 24 Re...

Страница 77: ...n Note The figure below shows how pins are numbered on D type connectors 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ___________________________________________ ___________________________________...

Страница 78: ...t The technical documentation required to demonstrate this product meets the requirements of the EMC Directive and the Low Voltage Directive has been compiled by Kontron and is available for inspectio...

Отзывы: