background image

 

ACCES I/O Products, Inc. 

MADE IN THE USA 

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

 

Rev B7a 

 

ADC FIFO Almost Full IRQ Threshold, 20 of 32-bit Memory BAR[1]Read/Write 32-bits only 

bit  D31 through D12 

D11 through D0 

Name  UNUSED 

FAF  

FAF:  

Write any 12-bit value (0..4095) to set the amount of entries in the ADC FIFO allowed to accumulate before a FIFO Almost Full 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 64-bits wide, holds two ADC Conversions (+statuses) per FIFO entry and the FIFO thus holds 8190 conversion/status pairs.  Refer to 
the ADC FIFO (+30) register description for more details. 

 

ADC FIFO Count, 28 of 32-bit Memory BAR[1]Read-Only 32-bits only 

bit  D31 through D12 

D11 through D0 

Name  UNUSED 

FIFO Count 

FIFO Count:  

Read FIFO Count to determine how many entries the ADC FIFO contains.   

In Software ADC Start Mode (ADC Rate Divisor (+10) cleared to zero) the FIFO Count determines how many ADC Conversions (+statuses) are held in the FIFO.  Read the ADC FIFO 
this many times to gather the acquired ADC Data. 
In all other modes the FIFO Count reports the number of 

pairs

 of ADC Conversions are available in the FIFO.  Were you to read the data from the ADC FIFO (+30) you would read 

two 32-bit values per FIFO Count to gather the acquired data. However, in these modes it is generally best to let DMA transfer the FIFO data, which is performed at the native 
64-bit FIFO width. 

 

ADC FIFO Data, 30 of 32-bit Memory BAR[1]Read-Only 32-bits only 

bit  D31  

D30 

D29  D28  D27  D26  D25 

D24  D23  D22 through D20  D19  D18 through D16  D15 through D0 

Name  INVALID=1 

RUNNING  UNUSED 

 

0 (“VALID”)

  RSV 

DIO1  DIO0  RSV 

RSV 

TEMP  MUX  SEQ  Channel2:0 

Diff  Gain2:0 

ADC Counts (Two’s complement)

 

 

ADC FIFO Data:   Read the RAW-format ADC Conversion results (in twos-complement 16-bit form) and the associated status word. 

INVALID:  

If INVALID is SET then all other bits are undefined, and the entry should be discarded.  This can occur if you read from the ADC FIFO while the ADC FIFO Count 
(+28) is zero. 

RUNNING: 

SET indicates the ADC Sequencer is operating, taking either periodic (timer-driven) conversions or via the external ADC Start secondary digital function. 

DIO1:0: 

These bits indicate the state of the corresponding digital I/O pin at the time the paired ADC Conversion was sampled. 

TEMP: 

If TEMP is SET the ADC Counts are acquired from the ADAS3022’s onboard temperature sensor rather than from an analog input ch

annel.  Refer to ADC Control 

(+38) for more information about acquiring the temperature data. 

MUX:  

If MUX is SET the ADC Counts are acquired from the ADAS3022’s Auxiliary Mux inputs rather than from the normal Analog Input C

hannels.  Note, the mPCIe-

AIO16-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 Control (+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 information about the Channel bits re 
Differential operation. 

Gain2:0: 

The 3 Gain bits indicate at what gain code the paired ADC Counts were sampled.  Refer to the gain code table in ADC Advanced Sequencer Gain Control (+18) 
for how to interpret the Gain bits. 

Summary of Contents for M.2-AIO16-16F Series

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

Page 2: ...o 10V 2 5V 5V 10V Outputs Drive 10mA Guaranteed FDS models support Waveform playback on 1 2 3 or 4 DACs simultaneously at up to 1MHz aggregate Onboard Watchdog with status output RoHS compliant standa...

Page 3: ...ilar 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...

Page 4: ...r 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 ac...

Page 5: ...control bit and status 4 RW DAC Control Status DAC LTC2664 Command Register bits and DAC status bits 8 W DAC Waveform Divisor DAC Waveform Points second divisor Base Clock DAC Waveform Rate this regi...

Page 6: ...will reset the Analog Input circuits 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 ar...

Page 7: ...e 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 7 GAIN2 0 RSV AIN 6 GAIN2 0 RSV AIN 5 GAIN2 0 RSV...

Page 8: ...USED 0 VALID RSV DIO1 DIO0 RSV RSV TEMP MUX SEQ Channel2 0 Diff Gain2 0 ADC Counts Two s complement ADC FIFO Data Read the RAW format ADC Conversion results in twos complement 16 bit form and the asso...

Page 9: ...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 t...

Page 10: ...te 32 bits only bit D31 through D2 D1 D0 Name UNUSED DIO1 DIO0 Read DIO Data to read the digital input pins or to readback the last commanded digital output state Write to DIO Data to configure the di...

Page 11: ...bits only DAC Waveform FIFO Write DAC commands to load the DAC Waveform FIFO Generally 0x000nCCCC where n is the DAC and CCCC is the counts Read returns the number of control values currently in the F...

Page 12: ...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 systems will enable...

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

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

Reviews: