6u compactpci low power pentium-iii cpu module with advanced agp display (53 pages)
Summary of Contents for ADLINK Technology cPCI-9116
Page 1
64 Ch, 16 bit, 250KS/s Analog input Card For 3U CompactPCI User’s Guide Recycled Paper...
Page 3
Trademarks NuDAQ®, NuIPC® are registered trademarks of ADLINK Technology Inc. Other products names mentioned herein are used for identification purposes only and may be trademarks and/or registered trademarks of their respective...
Page 4
Getting service from ADLINK • Customer Satisfaction is the most important priority for ADLINK Tech Inc. If you need any help or service, please contact us. ADLINK Technology Inc. Web Site http://www.adlinktech.com Sales & Service Service@adlinktech.com NuDAQ + USBDAQ nudaq@adlinktech.com...
: ActiveX Controls..........6 Chapter 2 Installation ..............7 What You Have ..............7 Unpacking ................8 cPCI-9116 and cPCI-9116R Layout ........9 PCI Configuration .............. 11 Chapter 3 Signal Connections..........12 Connectors and Pin Assignment ........12 Analog Input Signal Connection ......... 15 3.2.1...
Page 6
Channel Gain Queue Register ........... 24 A/D & FIFO Control Register ..........25 A/D & FIFO Status Register ..........27 Digital I/O register ............. 28 4.10 A/D Trigger Mode Register ..........29 4.11 Interrupt Control Register........... 31 4.12 Interrupt Status Register............ 33 Chapter 5 Operation Theory...........34 A/D Conversion ..............
How to Use This Guide This manual is designed to help you use the 9116 series. The manual describes how to modify various settings on the card to meet your requirements. It is divided into seven chapters: Chapter1, “Introduction”, gives an overview of the product features, applications, and specifications.
The 9116 series products are advanced data acquisition cards based on the 32-bit CompactPCI architecture. The 9116 series include: • cPCI-9116 : 16-bit 250KHz DAS card for 3U CompactPCI • cPCI-9116R : 16-bit 250KHz DAS card for 3U CompactPCI with Rear I/O...
Software Polling, Interrupt and Bus-mastering DMA data transfer available • 8 digital input and 8 digital o utput channels • 100-pin D-type SCSI-II connector for cPCI-9116 • 100-pin D-type SCSI-II connector on a rear I/O transition board for cPCI-9116R •...
Specifications ♦ Analog Input (A/D) • Converter: LT1606 (or equivalent) 250KHz • Number of channels: (programmable) 64 single-ended (SE) 32 differential input (DI) Mixing of SE and DI analog signal between channel allowed • A/D Data FIFO Buffer Size: 1024 locations •...
Page 14
• Trigger Mode: Software-trigger. Pre-trigger. Post-trigger. Middle-Trigger. Delay Trigger • Data Transfer: Polling. EOC interrupt transfer. FIFO half-full Interrupt transfer. Bus-mastering DMA. • Data Throughput: 250KHz (maximum) ♦ Digital I/O (DIO) • Channel: 8 TTL compatible digital inputs and outputs •...
+5V @ 560mA typical +3.3V@ 100mA typical ± 15V (pin35, pin85) Output Current (max): 5mA • • +5V(pin49, pin99) Output Current (max): 500mA • Dimension: Standard Compact PCI 3U size Software Support ADLINK provides versatile software drivers and packages for users’ different approach to building a system.
® 1.4.2 PCIS-LVIEW: LabVIEW Driver PCIS-LVIEW contains the VIs, which are used to interface with NI’s LabVIEW® software package. The PCIS-LVIEW supports Windows 95/98/NT/2000. The LabVIEW® drivers is shipped free with the board. You can install and use them without a license. For more information about PCIS-LVIEW, please refer...
What You Have In addition to this User's Guide, the package should also include the following items: • cPCI-9116 or cPCI-9116R with rear I/O adaptor Analog input Data Acquisition Card • ADLINK All-in-one Compact Disc •...
Do this only with the module place on a firm flat surface. Note: DO NOT APPLY POWER TO THE CARD IF IT HAS BEEN DAMAGED. You are now ready to install your cPCI-9116/R. 8 • Installation...
PCI Configuration 1. Plug and Play: As a plug and play component, the board requests an interrupt number via a system call. The system BIOS responds with an interrupt assignment based on the board information and on known system parameters. These system parameters are determined by the installed drivers and the hardware load seen by the system.
Figure 3.1. With the REAR I/O adaptor specifically designed for the cPCI-9116R, the cPCI-9116R connector pin assignments are identical to that of the cPCI-9116. The red LED positioned on the front panel is used as a power indicator.
Legend of J1: Signal Name Definition U_CMMD User Common Mode Analog Input Channel n (single-ended) AIHn Analog High Input Channel n (differential) AILn Analog Low Input Channel n (differential) Digital Input Signal Channel n Digital Output Signal Channel n ExtTimeBase External Timebase Clock Input ExtTrg External Digital Trigger Signal...
Analog Input Signal Connection The 9116 series provides up to 64 single-ended or 32 differential analog input channels. You can set and fill the Channel Gain Queue to get the desired combination of the input signal types. The analog signals can be converted to digital value by the A/D converter.
Differential input mode The differential input mode provides two inputs that respond to signal voltage differences between them. If the signal source is ground- referenced, the differential mode can be used for common-mode noise rejection. Figure 5 shows the connection of ground-referenced signal sources under differential input mode.
User Common Mode (U_CMMD) To measure ground-referenced signal sources, which are connected to the same ground point, you can connect the signals in a User-Common-Mode (U_CMMD) configuration. Fig 7 illustrates the connections. The signal local ground reference is connected to the negative input of the instrumentation Amplifier, and the common-mode ground potential to signal ground.
Registers The descriptions of the registers and structure of the PCI-9116 are outlined in this chapter. The information in this chapter will assist programmers, who wish to handle the card with low-level programs. In addition, the low level programming syntax is introduced. This information can help beginners to operate the PCI-9116 in the shortest possible time.
Internal Timer/Counter Register The 9116 series card basically has 6 counters, which are responsible for the scan timing of the analog input data acquisition. The 6 counters occupy 6 I/O address locations in the 9116 card as shown below. Address: BASE + 0 ~ BASE + 14 Attribute: read / write Data Format: Base + 0x00...
General Purpose Timer/Counter Register One 16-bit, general-purpose timer/counter exists in the 9116 series card. Writing to this register loads the initial count value into the general-purpose timer/counter. Reading from this register feedbacks the current count value of the general-purpose timer/counter Address: BASE + 0x18 Attribute: write / read Data Format:...
General Purpose Timer/Counter Control Register Address: BASE + 0x20 Attribute: write only Data Format: Counter Clk_sr MODE Gate_src MODE1 Down Down Table 5. General Purpose Timer/Counter Control Register Counter en (bit7): GPTC0 count enable 1: enable GPTC0 0: disable GPTC0 UpDown (bit6): GPTC0’s up/down pin software control 1: Up counter...
Clk_src (bit3): GPTC0’s clock source 1: External Input (Pin 96) 0: Internal Timebase MODE1~MODE0 (bit1 ~ bit0): GPTC0’s Mode selection MODE1 MODE0 Description General Counter Pulse Generation Table 6. GPTC0’s Mode selection A/D Data Registers The digital converted data is 16-bits and is stored into 32-bit registers. Address: BASE +24 Attribute: read Data Format:...
Channel Gain Queue Register This register is used to fill the Channel Gain Queue. We recommend users use our call function to avoid any possible errors from these settings. Address: BASE + 0x24 Attribute: write Data Format: EN0 HL_sel UNIP DIFF U_CMMD Gain1 Gain0...
HL_sel(bit3): >31 channel selection (single ended) 1: when channel number is larger than 31 0: when channel number is smaller than or equal to 31 DIFF(bit1): Analog Input Signals Type 1: Differential 0: Single ended UNIP(bit2): Analog Input Signals Polarity 1: Unipolar 0: Bipolar U_CMMD (bit0): User Defined Common Mode Selection...
Page 36
DMA (Bit8): Write Only, set for DMA transfer SC_dis (Bit7): Write Only, set to disable the SC counter Clear Channel Gain Queue (Bit6): Write Only Clear the Channel Gain Queue 0: no effect on the Channel Gain Queue 1: clear the Channel Gain Queue Set done (Bit5): Write Only 0: indicate the Channel Gain Queue is not ready 1: indicate the Channel Gain Queue is OK...
A/D & FIFO Status Register Address: BASE + 28 Attribute: read Data Format: Full HFull Empty Trg_det SC_TC ADOR ADOS Table 11. A/D & FIFO Status Register ACQ (Bit7): Read Only, set when acquisition is in progress. Full (Bit6): Read Only A/D FIFO Full status (Fatal Error!) 0: FIFO Full 1: FIFO not Full HFull(Bit5): Read only A/D FIFO Half Full status...
SC_TC(Bit2) : Read/ Write 1 to clear Scan Counter Terminal Count Status 1: Scan Counter counts to 0 0: Scan Counter not completed ADOR(Bit1) : Read/ Write 1 to clear A/D Overrun Status (Fatal Error !) 1: A/D Overrun 0: A/D not Overrun ADOS(Bit0) : Read/ Write 1 to clear A/D Over Speed Status (Warning !) 1: A/D Over Speed 0: A/D not Over Speed...
softconv (bit10): ADC direct conversion control 1: generate 1 convert pulse 0: no effect ACQ_EN (bit9): Acquisition enable bit 1: enable the acquisition timing 0: disable the acquisition timing M_enable (bit8): M counter enable bit 1: ignore trigger signals before M counter reaches 0 0: accept the trigger signal anytime Retrig (bit7): Re-triggerability in an acquisition 1: Re-triggerable...
4.11 Interrupt Control Register Address: BASE + 0x38 Attribute: write Data Format: Clr_Timer Clr_STTC Clr_Hfull Clr_DTrg Clr_EOC Timer_en STTC_en Hfull_en DTrg_en EOC_en Table 16. Interrupt Control Register Timer_en (bit12): General Purpose Timer Interrupt Enable Control 1: Enable 0: Disable SCTC_en (bit11): Trigger Complete Interrupt Enable Control 1: Enable 0: Disable Hfull_en (bit10): A/D FIFO Half Full Interrupt Enable Control...
Page 42
EOC_en (bit8): End of conversion Interrupt Enable Control 1: Enable 0: Disable Clr_Timer (bit4): write 1 to clear the GPTC Interrupt status 1: clear interrupt from the GPTC 0: no effect Clr_SCTC (bit3): write 1 to clear the SCTC Interrupt 1: clear the interrupt on terminal count of the Scan counter 0: no effect...
Operation Theory The operation theory of the functions on the 9116 series is described in this chapter. The functions include the A/D conversion, Digital I/O and General Purpose Counter / Timer. The operation theory can help you better understand how to configure and program the 9116 series card. A/D Conversion 5.1.1 A/D Conversion Procedure...
5.1.2 Software conversion with polling data transfer acquisition mode (Software Polling) This is the easiest way to acquire a single A/D data. The A/D converter starts a conversion when the user writes 1 into bit10 of the A/D trigger mode register (BASE+34).
5.1.2.1 Specifying Channels, Gains, and input configurations in the Channel Gain Queue In both Software Polling and programmable scan acquisition mode, the channel, gain, and input configuration (single-end, differential, and U_CMMD), where you want to acquire samples from, can be specified in the Channel Gain Queue.
Timebase clock source In scan acquisition mode, all the A/D conversions start on the output of counters, which use Timebase as the clock source. With the software you can specify the Timebase to be either an internal clock source (on board 24MHz) or an external clock input on pin 45 of J1.
Note: 1.The maximum A/D sampling rate is 250kHz. Therefore, SI2_counter can’t be smaller than 96 while using the internal Timebase. 2.The SI_counter is a 24-bit counter and the SI2_counter is a 16-bit counter. Therefore, the maximum scan interval while using the internal Timebase = /24M s = 0.699s, and the maximum sampling interval between 2 channels while using the internal Timebase = 2 /24M s = 2.73ms.
(M_counter = M = 3, DIV_counter=4, SC_counter=0) ExtTrg(pin46) Scan_start AD_conversion Scan_in_progress (SSH_OUT)(pin47) Acquisition_in_progress Aquired data Acquired & stored data (M scans) Operation start Figure 10: Pre-trigger (trigger occurs after M scans) Note: If an external trigger event occurs when a scan is in progress, the data acquisition won’t stop until this scan completes, and the stored M scans of data include the last scan.
When an external trigger signal occurs before the first M scans of data are converted, the amount of stored data could be fewer than the originally specified amount of DIV_counter * M_counter, as illustrated in fig 12. This situation can be avoided by setting M_enable. If M_enable is set to 1, the trigger signal will be ignored until the first M scans of data are converted, and it assures user of obtaining M scans of data under pre-trigger mode, as illustrated in fig 13.
(M_counter = M = 3, DIV_counter=4, SC_counter=0) The first M scans Trigger signals which occur in the shadow region(the first M scans) will be ignored ExtTrg(pin46) Scan_start AD_conversion Scan_in_progress (SSH_OUT )(pin47) Acquisition_in_progress Aquired data Acquired & stored data (M scans) Operation start Figure 13: Pre-trigger with M_enable = 1 Note: The SC_counter must be set to 0 in pre-trigger acquisition mode.
(M_Counter=M=3, DIV_Counter=4, SC_Counter=N=1) The first M scans Trigger signals which occur in the shadow region(the first M scans) will be ignored ExtTrg(pin46) Scan_start AD_conversion Scan_in_progress ( SSH_OUT )(pin47) Acquisition_in_progress Aquired data M scans before N scans trigger after trigger Operation start Acquired &...
(M_Counter=M=2, DIV_Counter=4, SC_Counter=N=2) Trigger occurs when a scan is in progress ExtTrg(pin46) Scan_start AD_conversion Scan_in_progress (SSH_OUT)(pin47) Acquisition_in_progress Acquired data M scans before N scans trigger after trigger Operation start Acquired & stored data (M+N scans) Figure 15: Middle trigger (trigger with scan is in progress) Post-Trigger Acquisition Use post-trigger acquisition in applications where you want to collect data after an external trigger event.
Delay Trigger Acquisition Use delay trigger acquisition in applications where you want to delay the data collection after the occurrence of a specified trigger event. The delay time is controlled by the value, which is pre-loaded in the Delay_counter (16bit). The counter counts down on the rising edge of Delay_counter clock source after the trigger condition is met.
Post-Trigger or Delay-trigger Acquisition with re-trigger Use post-trigger or delay-trigger acquisition with re-trigger function in applications where you want to collect data after several external trigger events. The number of scans after each trigger is specified in SC_counter, and users could program Retrig_no to specify the number of re-triggers.
5.1.4 A/D Data Transfer Modes After the end of the A/D conversion, A/D data are buffered into the Data FIFO memory. The FIFO size on the 9116 series card is 1024 (1K) words. If the sampling rate is 10 KHz, the FIFO can buffer 102.4 ms of analog signal. After the FIFO is full, any data after this time will be lost.
DMA Transfer PCI bus-mastering DMA is necessary for high speed DAQ in order to utilize the maximum PCI bandwidth. The bus -mastering controller, which is built-in into the AMCC-5933 PCI controller, controls the PCI bus when it becomes the master on the bus. Bus mastering reduces the size of the on-board memory and reduces the CPU loading because data is directly transferred to the computer’s memory without host CPU intervention.
General Purpose Timer/Counter Operation An independent 16-bit up/down timer/counter is designed in the FPGA for user applications. Fig 19 shows a simplified model of the timer/counter on the 9116 series card. It has the following features: CPCI-9116 Controller Initial Mode...
• Two programmable timer modes are provided: Mode 0: Interrupt on Terminal Count Mode 0 is typically used for event counting, as illustrated in fig 20. After the initial count is written, OUT is initially low, and will remain low until the Counter counts to zero.
The utility is described in the following sections. Note that the software driver for the cPCI-9116 and cPCI-9116R are the same. Running 9116util.exe program After finishing the DOS installation, you can execute the utility by typing the following command.
9116 series card and the Variable Resister (VR) that needs to be adjusted will blink. ****** cPCI-9116 Calibration ****** <1> A/D PGA offset adjusting <2> A/D (Bipolar Gain = 1, -5V ~ 5V) adjusting <3>...
6.2.3.1 PGA offset Calibration 1. Short the A/D channel 0 (pin 2 of J1) to ground (pin51 of J1). 2. Use multi -meter to measure the voltage between TP1 and TP2 on board. 3. Adjust VR4 to obtain the multi-meter value as close as possible to 0V. 6.2.3.2 Bipolar input Calibration 1.
<Esc>: Quit. Select 0 to 9 or <Esc> to quit function testing Figure 24: cPCI-9116 Function Testing Screen A calibration utility is supported in the software CD that is included in the product package. The calibration procedures and descriptions can be found in the utility.
Warranty Policy Thank you for choosing ADLINK. To understand your rights and enjoy all the after-sales services we offer, please read the following carefully. 1. Before using ADLINK’s products, please read the user manual and follow the instructions exactly. When sending in damaged products for repair, please attach an RMA application form.
Page 67
4. Customers are responsible for the fees regarding transportation of damaged products to our company or to the sales office. 5. To ensure the speed and quality of product repair, please download an RMA application form from our company website www.adlinktech.com Damaged products with RMA forms a ttached receive priority.
Need help?
Do you have a question about the cPCI-9116 and is the answer not in the manual?
Questions and answers