background image

 

ACCES I/O Products, Inc. 

MADE IN THE USA 

PCIe-ADIO16-16F Family Manual 

 

Rev B1 

SINGLE AND SCAN START MODES  

Each ADC Start Event can be configured to start either a Scan of channels or a single channel conversion. 

Single Start Mode: Writing to +38 with b

it 18 clear (to 0) selects “Single Start Mode”.

  Each ADC Start Event, regardless of source, will acquire one channel.  No subsequent conversions 

will occur until the next ADC Start Event. 

Scan Start Mode: Writing to +38 with bit 18 set (to 1) selects “Scan Start Mode”.

  Each ADC Start Event will acquire the full configured sequence of channels, starting with CH0 and 

proceeding through INx2:0, then no further data will be acquired until a subsequent ADC Start Event.  

The channels within this “scan” of data 

are acquired at the rate selected via +14.  Bit 

18 is ignored (assumed zero) if non-Sequenced mode is set (SEQ1:0=00) or if INx2:0==0. 

Software Pro Tips: 

 

Use our API.  Avoid accessing the card registers unless you really know you need to.  Contact us 

for any questions, we’re here to help.

 

 

Always use Advanced Sequencer Mode.   

 

Always prefer Scan Start Mode unless you have unusual timing needs. 

 

Set the periodic rate at +10, set the inside-scan channel rate at +14, configure External Trigger if you are using it, configure the per-channel gains at +18 and +1C, then write to 
+3C then +38 to Start or Arm (in Software or ADC Trigger modes, respectively) the Periodic Scans. 

Register Overview 

 

Register 
Offset [hex] 

Read 
/Write 

 
Register Name 

Register Description 
Note: All registers 4-68 must be accessed as 32-bits. Only +0 and +1 are 8-bits 

+0  RW 

Resets and Power 

Board and Feature Reset command bits and ADC Power-Down control bit and status 

+4  W 

DAC Control 

DAC (LTC2664) Command Register bits 

+8  R 

DAC 4-20mA mode 

Indicates which DACs, if any, have current-output circuit installed 

+C  R 

ADC Base Clock 

Frequency of the ADC Sequencer Base Clock (Hz) used to calculate the ADC Rate Divisor for desired conversion rates 

+10  W/R 

ADC Rate Divisor  

ADC Start Rate = ADC Base Clock / ADC Rate Divisor (this register)

 

+14  W/R 

ADC Rate Divisor #2 

Controls rate of channels inside each scan when running in scan-start mode 

+18  W/R 

ADC #0 ADV Sequence Gain   Each nybble controls the gain code (input range) of the respective ADC channel (0-7) 

+1C  W/R 

ADC #1 ADV Sequence Gain  Each nybble controls the gain code (input range) of the respective ADC channel (8-15) 

+20  W/R 

ADC FAF Threshold 

ADC FIFO Almost Full Threshold, can be enabled to generate IRQs when the threshold amount of ADC data is available in the FIFO 

+28  R 

ADC FIFO Count 

ADC FIFO Depth: read to determine how much data is available in the FIFO 

+30  R 

ADC FIFO Data 

ADC FIFO 

+38  W/R 

ADC #0 Control 

ADAS3022 #0 and ADC Control bits 

+3C  W/R 

ADC #1 Control 

ADAS3022 #1 

+40  W/R 

IRQ Enable / Status 

IRQ Latch Clear bits and IRQ Enable Control bits / IRQ Latch Status and IRQ Enable Status 

+44  W/R 

DIO Data 

16-bits of DIO Data 

+48  W/R 

DIO Control 

Digital Secondary Function enable bits and direction control for each I/O Group 

+68  R 

Revision 

FPGA code revision  

All these registers can be operated from any operating system using any programming language, using either no driver at all (kernel mode, Linux ioperm(3), DOS, etc.) or using one of the 
ACCES provided drivers (AIOWDM [for Windows], APCI [for Linux & OSX]), or using any 3

rd

 party APIs such as provided with Real-Time OSes.  Addresses not explicitly documented are 

reserved and should not be accessed. 

Содержание PCIE-ADIO16-16F

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

Страница 2: ...art mode optimizes inter channel timing High impedance 8 channel input 1 MΩ 32k FIFO plus DMA for efficient robust data streaming 16 Digital I O pins with flexible secondary functions Four 16 bit analog outputs 5 per channel programmable ranges 0V to 5V 0V to 10V 2 5V 5V 10V Optional 4 20mA outputs Outputs Drive 10mA Guaranteed Onboard Watchdog with status output RoHS compliant standard CHAPTER 3 ...

Страница 3: ...8 9 43 ADC IN 9 ADC IN 10 11 45 ADC IN 11 ADC IN 12 13 47 ADC IN 13 ADC IN 14 15 49 ADC IN 15 ADC1 COMMON 17 51 ADC2 COMMON DAC 0 19 53 DAC2 DAC 1 21 55 DAC 3 Digital Ground 23 57 Digital Ground Digital Ground 24 58 Digital Ground DIO BitIndex 14 25 59 DIO BitIndex 15 Group 1 DIO BitIndex 12 26 60 DIO BitIndex 13 DIO BitIndex 10 27 61 DIO BitIndex 11 DIO BitIndex 8 28 62 DIO BitIndex 9 DIO BitInde...

Страница 4: ... 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 each channel is acquired at the per channel gain set in 18 The sequence repeats starting at CH0 after INx2 0 is acquired 1 1 Basic Sequence Acquires channel 0 using the gain set in Gain2 0 Conversion starts will automatica...

Страница 5: ...nd Feature Reset command bits and ADC Power Down control bit and status 4 W DAC Control DAC LTC2664 Command Register bits 8 R DAC 4 20mA mode Indicates which DACs if any have current output circuit installed C R ADC Base Clock Frequency of the ADC Sequencer Base Clock Hz used to calculate the ADC Rate Divisor for desired conversion rates 10 W R ADC Rate Divisor ADC Start Rate ADC Base Clock ADC Ra...

Страница 6: ...he LTC2664 Data Sheet for details Consult the AIOAIO Software Reference or our sample programs source to avoid the hassle DAC_SetRange1 iBoard iChannel iRange DAC_OutputV iBoard iChannel double Voltage DAC 4 20mA mode Offset 8 of 32 bit Memory BAR 1 Read 32 bits only bit D31 through D4 D3 D2 D1 D0 Name UNUSED DAC3 current mode only DAC2 current mode only DAC1 current mode only DAC0 current mode on...

Страница 7: ...V to IN or ADC COMMON results in 2 V span reversing the voltage polarity results in another 2 V span for a total Peak to Peak measurement capability of 4 V p p ADC Advanced Sequencer Gain Control 2 Offset 1C of 32 bit Memory BAR 1 Read Write 32 bits only bit D31 D30 D29 D28 D27 D26 D25 D24 D23 D22 D21 D20 D19 D18 D17 D16 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Name RSV AIN 15 GAIN2 0...

Страница 8: ... inputs and you should not bother acquiring data from them SEQ The SEQ bit indicates which ADC the data is from and can be thought of as Channel 3 That is if SEQ is set add 8 to the channel reported by the Channel2 0 bits Channel2 0 The 3 Channel bits indicate from which Analog Input the paired ADC Counts were sampled Refer to ADC Control 38 for important information about the Channel bits re Diff...

Страница 9: ...Name UNUSED RSV CONFIG RSV RSV INx2 0 COM RSV Gain2 0 MUX SEQ1 SEQ0 TEMP RSV CMS RSV Controls ADAS 1 channels 8 15 Refer to 38 ADC Control 1 for details IRQ Enable Clear and Status Offset 40 of 64 bit Memory BAR 2 3 Read Write 32 bits only bit D31 D30 D25 D24 D23 D22 D21 D20 D19 D18 D17 D16 D15 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Name WDG UNUSED EXT1 EXT0 LDAC FOF FAF DTO DDONE ADCSTART ADCTRIG UNUSED e...

Страница 10: ...d optionally generate an IRQ enTRIG SET enTRIG to enable the ADC Trigger Digital Input Secondary Function on DIO15 so the selected edge will trigger timed ADC conversions and optionally generate an IRQ Consult the Software Tips section for details on using ADC Trigger Each Digital Input Secondary function has a configurable active edge rising or falling SET the corresponding edgeXXX bit to select ...

Страница 11: ...ch must transition to the kernel in order to perform any hardware operation This transition adds quite a lot of latency which varies between different OSes motherboards and revisions thereof etcetera A Windows XP system can see an additional 7µs per transaction a modern computer might see 3µs or less Any transaction from the kernel itself however avoids this additional overhead Real time operating...

Страница 12: ...et all applicable EM interference and emission standards However as they are intended for use installed on motherboards and inside the chassis of industrial PCs important care in the selection of PC and chassis is important to achieve compliance for the computer as a whole UL TUV Neither DC voltages above 3 3V nor AC voltages of any kind are consumed or produced during normal operation of this dev...

Страница 13: ... and invoiced COVERAGE FIRST THREE YEARS Returned unit part will be repaired and or replaced at ACCES option with no charge for labor or parts not excluded by warranty Warranty commences with equipment shipment FOLLOWING YEARS Throughout your equipment s lifetime ACCES stands ready to provide on site or in plant service at reasonable rates similar to those of other manufacturers in the industry EQ...

Отзывы: