background image

 

ACCES I/O Products, Inc. 

MADE IN THE USA 

mPCIe- and M.2-AIO16-16F Family Manual 

 

Rev B6e 

 

CONFIG: If CONFIG is set then the ADC control bits (D15 through D0 of this register) will be written to the ADAS3022 

GO: 

If GO is set then, if +10 is non-zero the card will begin taking ADC conversions or scans at the rate set via +10; if +10 is zero then a single ADC conversion or scan will be 
taken. 

INx2:0:  INx specifies the individual channel to convert (in non-sequenced modes) or the last channel of the 0-INx sequence to be converted. 

COM: 

If COM is set then each conversion will be the measurement between the IN+ pin and COMMON (single-ended or pseudo-differential mode).  If COM is clear then 
differential mode is set, and each conversion will be the measurement between the IN+ and IN- pins. 

Gain2:0: If BASIC or non-sequenced mode is configured via the SEQ1:0 bits then Gain2:0 selects the gain to be used for the conversion(s) commanded.  If advanced sequence 

mode is configured then these bits are ignored (bits 2:0 at +18 take precedence in advanced sequencer mode) 

/MUX: 

All users should set this bit to “1” unless otherwise instructed by the factory.  If MUX is clear (0) then the conversion wil

l be from the auxiliary mux inputs (in non-

sequencer mode) or the sequence will include the aux input (sequencer modes).  Not recommended. 

SEQ1:0:  

Use “00” for non

-

sequenced mode and “10” for advanced sequencer mode.  “11” sets basic sequencer mode, and “01” updates the basic sequence

-in-progress.  Not 

recommended. 

/TEMP:  If TEMP is clear (0) then the conversion will be from the onboard temperature reference (in non-sequencer mode) or the sequence will include the temperature input 

(sequencer modes). Not recommended. Most users should set this bit to 1. 

CMS: 

Must be set if conversion will occur slower than 1kHz. Must be clear if conversions will occur faster than 900kHz. 

ADC Control #2, 3C of 32-bit Memory BAR[1]Read/Write 32-bits only 

bit  D31 through D19 

D18 

D17 

D16  D15  D14 through D12 

D11 

D10  D9 through D7  D6 

D5 

D4 

D3 

D2 

D1 

D0 

Name  UNUSED 

RSV 

CONFIG 

RSV 

RSV 

IN

x

2: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, 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  enEXT1  enEXT0  enLDAC  enFOF  enFAF  enDTO  enDDONE 

enADCSTART 

enADCTRIG 

Read IRQ Status to determine which/if any IRQs have fired (D23…D16), if the Watchdog has Barked (D31), and which IRQs are enabled (D7…D0):

 

WDG:  

If WDG is SET then the Watchdog Timer has Barked (timed out).  Refer to Watchdog Control (+4C) for details on using the Watchdog Timer feature. 

EXT

n

:  

If EXT

n

 is SET then an IRQ has been fired from the DIO

n

 

Secondary Function “External IRQ

n

”.  Refer to DIO Control (+48) for details on DIO Secondary Functions.

 

LDAC: 

If LDAC is 

SET then an IRQ has been fired from the DIO 1 Secondary Function “LDAC”.  Refer to DIO Control (+48) for details on DIO Secon

dary Functions. 

FOF: 

If FOF is SET then an IRQ has been fired because the ADC FIFO has Overrun: More data was acquired than fit in the ADC FIFO. 

FAF:  

If FAF is SET then an IRQ has been fired because the ADC FIFO Count (+28) has reached the configured FIFO Almost Full IRQ Threshold (+20). 

DTO: 

If DTO is SET then a DMA Timeout 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 DIO 0 Secondary Function “ADCSTART”.  Refer to DIO Control (+48) for d

etails on DIO Secondary Functions. 

ADCTRIG: 

If ADCTRIG is SET then an IRQ has been fired from th

e DIO 0 Secondary Function “ADCTRIG”. Refer to DIO Control (+48) for details on DIO Secondary Functions.

 

 

Bits D8 through D0 indicate if the corresponding IRQ has been enabled.   

Write IRQ Status bits SET to clear the latched IRQ Status bit(s).  Typically, code will read +40 and write the value to +40 to clear all detected IRQs and leave the IRQ enables unchanged. 

Summary of Contents for M.2-/mPCIe-AI12-16

Page 1: ...t 800 326 1649 http accesio com mPCIe AIO16 16F http accesio com M 2 AIO16 16F San Diego CA 92121 1506 USA sales accesio com MADE IN THE USA 16 ANALOG INPUT 4 ANALOG OUTPUT 2 DIGITAL I O FOR M 2 AND PCI EXPRESS MINI CARD HARDWARE MANUAL MODELS M 2 AND MPCIE AIO16 16F FAMILY ...

Page 2: ... 32k FIFO plus DMA for efficient robust data streaming 2 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 Outputs Drive 10mA Guaranteed Onboard Watchdog with status output RoHS compliant standard CHAPTER 3 HARDWARE This manual applies to the following models VENDEV M 2 mPCIe AIO16 16F mPCIe A D 16 bit 2Ms...

Page 3: ...rer if it requires a different size The mPCIe standard like its PCI Mini Card predecessor was designed assuming use primarily in Laptop or Notebook and similar devices where physical dimension is often the paramount design constraint In Data Acquisition and Control applications low weight and vibration tolerance tend to be of more concern CHAPTER 6 I O INTERFACE Most customers will use the optiona...

Page 4: ...er 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 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 autom...

Page 5: ...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 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 Divis...

Page 6: ...A1 A0 16 bit DAC Counts 0 FFFF Please refer to the 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 ADC Base Clock Offset C of 32 bit Memory BAR 1 Read Only 32 bits only ADC Base Clock Reading this 32 bit register returns the speed in Hertz of the cl...

Page 7: ...ak 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 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 GAIN2 0 RSV AIN 8...

Page 8: ...6 16F does not have anything usefully connected to the Aux Mux 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 Contr...

Page 9: ...t D31 through D19 D18 D17 D16 D15 D14 through D12 D11 D10 D9 through D7 D6 D5 D4 D3 D2 D1 D0 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...

Page 10: ...an IRQ enSTART SET enSTART to enable the ADC Start Conversion Digital Input Secondary Function on DIO 0 so the selected edge will cause an ADC Start Event and optionally generate an IRQ enTRIG SET enTRIG to enable the ADC Trigger Digital Input Secondary Function on DIO 0 so the selected edge will trigger timed ADC conversions and optionally generate an IRQ Consult the Software Tips section for det...

Page 11: ...dern Operating Systems have 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 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 ...

Page 12: ...ting Female D Sub Miniature 37 pin Model Options T Extended Temperature Operation 40 to 85 C I ID 4 20mA inputs Singled ended Differential PD Pull downs on digital bits Sxx Special configurations 10 50mA inputs input voltage dividers conformal coating etc CHAPTER 9 CERTIFICATIONS CE FCC These devices are designed to meet all applicable EM interference and emission standards However as they are int...

Page 13: ... package All units components should be properly packed for handling and returned with freight prepaid to the ACCES designated Service Center and will be returned to the customer s user s site freight prepaid 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 ...

Reviews: