background image

 

ACCES I/O Products, Inc. 

MADE IN THE USA 

mPCIe-ADIO16-8F Family Manual 

 

4

 

Rev B1f 

C

HAPTER 

7:

 

S

OFTWARE 

I

NTERFACE

 

How to use 

The ADAS3022 is a flexible data acquisition system-on-chip that has numerous features and modes of operation, and additional modes and features are added by our advanced FPGA 
design. 

This flexibility can seem overwhelming, 

but we’ve designed our AIOAIO.dll API to make using this ADC simp

le for 99% of customer use-cases, based on 30+ years of customer feedback. 

We strongly recommend you ignore the register details provided in Chapter x: Software Interface and the discussions regarding low-level control of the ADC in the second half of this 
chapter.  Instead, simply refer to the AIOAIO Software Reference (.html) manual [link] and the source code to the variety of sample programs provided in the Software Installation 
Package [link]. 

Tip: 

Taking data from every channel can be as simple as calling “ADC_GetImmediateScanV(0, rangeCode, &data);”, which converts all 

channels at the specified range and stuffs the data 

(as double-precision floating point Voltages) into the data array.  This function can be called many thousands of times per second.  Please refer to the samples and the software reference 
for details on this and other available API functions, including how to acquire 1MHz data via callback or polling. 

Advanced Topics 

BASIC, ADVANCED, AND NON-SEQUENCED MODES  

The ADAS3022 uses the SEQ1:0 bits in the +38 control register to select between non-sequenced mode, basic sequence mode, and advanced sequence mode. 

SEQ1  SEQ0  Mode 

Description 

non-Sequenced  

The ADAS will acquire data from the channel specified in the INx2:0 bits, at the gain specified in the Gain2:0 bits. 

Modify Basic 
Sequence 

Allows the gain and such to be modified while running a basic sequence, without starting conversions over at CH0. 

Advanced 
Sequence  

Acquires Channel 0 using the gain selected via +18 bits 2:0.  Conversion-starts will automatically cycle through the channels from CH0 through INx2:0, 
and each channel is acquired at the per-channel gain set in +18.  The sequence repeats, starting at CH0 after INx2:0 is acquired. 

Basic Sequence  

Acquires channel 0 using the gain set in Gain2:0.  Conversion-starts will automatically cycle through the channels from CH0 through INx2:0, but all 
channels are acquired using the gain set in Gain2:0 rather than using the gains from +18. The sequence repeats, starting at CH0 after INx2:0 is 
acquired. 

 

SOFTWARE, PERIODIC, AND EXTERNAL START ADC CONVERSION TIMING MODES  

ADC data can be acquired periodically, synchronous to an external digital input, or asynchronously via software command. 

Single, Asynchronous: If the +10 ADC Timing divisor is zero then writing to +38 with bit 16 set (to 1) will initiate a single ADC Start Event under software control. 

Periodic, Asynchronous: If the +10 ADC Timing divisor is non-zero, and the External ADC Trigger Digital Input Secondary function is 

not

 enabled, writing to +38 with bit 16 set will initiate a 

single ADC Start Event, and subsequent events will occur at the rate selected via +10’s divisor.

  

This is “software initiated periodic timed ADC” data.

 

External Trigger, Periodic, Synchronous: If the +10 ADC Timing divisor is non-zero, and the External ADC Trigger Digital Input Secondary function 

is

 enabled, writing to +38 with bit 16 set 

ARMS

 the card to begin the periodic collection of ADC data.  No data will be collected until the selected edge occurs on the ADC Trigger input. (Refer to +44 for additional details on the 

Digital I/O Secondary Functions.)  Once triggered, data will be collected until manually stopped by w38 with bit 16 clear (or various resets etc). 

External Start, Single, Synchronous: The digital input secondary function “ADC Start” can be configured to initiate individua

l ADC Start Events on a selected edge input. 

Содержание mPCIe-ADI12-8

Страница 1: ...com 10623 Roselle Street 800 326 1649 http accesio com mPCIe ADIO16 8F San Diego CA 92121 1506 USA sales accesio com MADE IN THE USA 8 ANALOG INPUT 4 ANALOG OUTPUT 16 DIGITAL I O FOR MINI PCI EXPRESS...

Страница 2: ...timer A D Scan Start mode optimizes inter channel timing High impedance 8 channel input 1 M 32k FIFO plus DMA for efficient robust data streaming Four 16 bit analog outputs 5 per channel programmable...

Страница 3: ...m and 2 5mm sizes Some computers may provide stand offs Please consult your computer manufacturer if it requires a different size The mPCIe standard like its PCI Mini Card predecessor was designed ass...

Страница 4: ...conversions over at CH0 1 0 Advanced Sequence Acquires Channel 0 using the gain selected via 18 bits 2 0 Conversion starts will automatically cycle through the channels from CH0 through INx2 0 and ea...

Страница 5: ...scription Note All registers must be accessed as 32 bits 0 R W Resets and Power Board and Feature Reset command bits and ADC Power Down control bit and status 4 W DAC Control DAC LTC1664 Command Regis...

Страница 6: ...ing a 1 will reset the entire device to its power on reset state All RST bits are command bits a 1 causes the reset to occur and the reset clears the 1 DAC Control Offset 4 of 64 bit Memory BAR 2 3 Re...

Страница 7: ...IRQ is fired In Software ADC Start mode ADC Rate Divisor 10 cleared to zero the FIFO is 32 bits wide able to hold up to 4095 conversion results statuses In all other ADC Start Modes the ADC FIFO is 6...

Страница 8: ...C_GetImmediateV iBoard pVolts iChannel iRange ADC_GetImmediateScanV iBoard pVolts etc ADC Control Offset 38 of 64 bit Memory BAR 2 3 Read Write 32 bits only bit D31 through D19 D18 D17 D16 D15 D14 thr...

Страница 9: ...imeout IRQ has been fired DDONE If DDONE is SET then a DMA Done IRQ has been fired ADCSTART If ADCSTART is SET then an IRQ has been fired from the DIO14 Secondary Function ADCSTART Refer to DIO Contro...

Страница 10: ...d timeout period write the value read from C to 4C When the Watchdog Barks the board is RESET as if just powered on or as if a 1 is written to the Resets and Power 0 register with the following except...

Страница 11: ...d on the product page on the website Here are some useful links Links to useful downloads ACCES web site http accesio com Product web page accesio com mPCIe DIO 24S This manual accesio com MANUALS mPC...

Страница 12: ...on condensing Dimensions Length 50 95mm 2 006 Width 30 00mm 1 181 Power Power required from mPCIe Bus 3 3VDC 190mA idle 290mA full load 1 5VDC 270mA idle 285mA full load I O Interface Connectors On ca...

Страница 13: ...on RMA number which must appear on the outer label of the return package All units components should be properly packed for handling and returned with freight prepaid to the ACCES designated Service C...

Отзывы: