background image

 

ACCES I/O Products, Inc. 

MADE IN THE USA 

PCIe-ADIO16-16F Family Manual 

 

Rev B3d 

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 bit 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*  W 

DAC Waveform Divisor 

DAC Waveform Points/second divisor = Base Clock / DAC Waveform Rate (this register) 

+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 

+50*  RW 

DAC Waveform FIFO 

Write DAC Control values here to load into the DAC Waveform FIFO; read to determine how many samples are in the FIFO 

+54*  W 

DAC Waveform DACs/Point  Write 1, 2, 3, or 4 to configure how many samples are written from the DAC Waveform FIFO to the DACs on each DAC Waveform tick 

+58*  R 

DAC Waveform FIFO Size 

Size of the DAC Waveform FIFO (+50) in number of 32-bit DAC control values (0x2000 is typical) 

+68  R 

Revision 

FPGA code revision  

Note *: These registers are only functional on the FDS models. 

Summary of Contents for PCIe-ADIO16-16A

Page 1: ...Sio 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...

Page 2: ...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 16 Digital I O pins with flexible secondary functions Four 1...

Page 3: ...0 Ch 0 1 35 ADC IN 1 Ch 0 ADAS3022 1 ADC IN 2 Ch 1 3 37 ADC IN 3 Ch 1 ADC IN 4 Ch 2 5 39 ADC IN 5 Ch 2 ADC IN 6 Ch 3 7 41 ADC IN 7 Ch 3 ADC IN 8 Ch 4 9 43 ADC IN 9 Ch 4 ADC IN 10 Ch 5 11 45 ADC IN 11...

Page 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 acquir...

Page 5: ...ol bit and status 4 W DAC Control DAC LTC2664 Command Register bits 8 W DAC Waveform Divisor DAC Waveform Points second divisor Base Clock DAC Waveform Rate this register C R ADC Base Clock Frequency...

Page 6: ...to their power on reset state see each ADC Register for more details RST BOARD Writing a 1 will reset the entire device to its power on reset state All RST bits are command bits a 1 causes the reset t...

Page 7: ...llion 125MHz but for broadest compatibility software should always read this register during init and always use the read value when calculating what if any divisor to write to the ADC Rate Divisor re...

Page 8: ...19 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 RSV AIN 14 GAIN2 0 RSV AIN 13 GAIN2 0 RSV AIN 12 GAIN2 0 RSV AIN 11 GAIN2 0 RSV AIN 10 GAIN2 0 RSV AIN 9 GA...

Page 9: ...rol 38 for important information about the Channel bits re Differential operation Diff SET indicates the paired ADC Counts were sampled in Differential mode Refer to ADC Control 38 for important infor...

Page 10: ...5 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Name WDG UNUSED EXT1 EXT0 LDAC FOF FAF DTO DDONE ADCSTART ADCTRIG UNUSED enEXT1 enEXT0 enLDAC enFOF enFAF enDTO enDDONE enADCSTART enADCTRIG Read IRQ Status to determin...

Page 11: ...as a configurable active edge rising or falling SET the corresponding edgeXXX bit to select rising edge CLEAR the bit for falling edge IOGx SET each IOGx bit to configure the digital I O bits in the a...

Page 12: ...ave introduced a new source of latency the kernel userland division Application code runs in userland which must transition to the kernel in order to perform any hardware operation This transition add...

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

Page 14: ...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 equipmen...

Reviews: