background image

 

ACCES I/O Products, Inc. 

MADE IN THE USA 

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

 

Rev B7a 

 

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

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 / AIOAIO [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. 

REGISTER DETAILS  

Register bits labeled UNUSED or RSV are reserved and should be cleared to zero in all write operations and ignored in all read operations. 

Resets and Power, 0 of 64-bit Memory BAR[2+3] Read/Write 32-bits only 

bit  D31 THROUGH D7 

D6 

D5 

D4 

D3 

D2 

D1 

D0 

Name  UNUSED 

RST FIFO 

RST DIO 

UNUSED 

RST DAC 

PD ADC 

RST ADC 

RST BOARD 

RST FIFO:  

Writing with bit D6 set will reset the ADC FIFO, returning it to the power-on / reset state:  emptying the FIFO by throwing away the contents. 

RST DIO:  

Writing with bit D5 set will reset the Digital I/O circuits to their power-on / reset state: returning all I/O Groups to input mode and disabling secondary 
functions. 

RST DAC: 

Writing with bit D3 set will reset the Analog Output circuits to their power-on / reset state: ±10V range on all DAC outputs with 0V on each output. 

PD ADC: 

Writing a 1 will power the ADAS3022 down.  Write a 0 to power the ADAS3022 back up.  Only this bit does not auto-clear to zero on write. 

RST ADC:  

Writing a 1 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 are “command” bits: a 1 causes the reset to occur, and the reset clears the 1.

 

DAC Control, 4 of 32-bit Memory BAR[1]Read/Write 32-bits only 

bit  D31 

D30 

D29 

D28 

D27-D24  D23 through D20  D19 through D16 

D15 through D0 

Name  DAC SPI busy  unused  DAC Waveform Running  DAC FHE  unused 

C3  C2  C1  C0  A3  A2  A1  A0 

16-bit DAC Counts (0-FFFF) 

Bits 31, 29, and 28 are read-only.  Bits 29 and 28 only exist on the FDS models. 
Bit 31:   If set the DAC SPI bus is busy; avoid writing to +4 while this bit is set 
Bit 29:   If set the DAC Waveform Playback is in-process 
Bit 28:   If set the DAC Waveform FIFO is less than half full 
Please refer to the LTC2664 Data Sheet for details regarding bits D23-D0 

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 Waveform Rate Divisor, 8 of 32-bit Memory BAR[1]Read/Write 32-bits only 

Write a 32-bit divisor to control the speed at which DAC Waveform playback occurs (Points per second).  Each timeout of this clock causes the DACs to simultaneously output the 
last loaded values; the FPGA then writes the next Point from the DAC Waveform FIFO to the DAC chip.  A Point consists of 1, 2, 3, or 4 DAC control words as specified at +54. 

DAC Waveform Rate Divisor = integer(Base Clock ÷ Target DAC Waveform Output Rate) 
Actual DAC Waveform playback (Points/second) Rate (Hz) = Base Clock ÷ DAC Waveform Rate Divisor 

 

FDS models only 

Base Clock, C of 32-bit Memory BAR[1]Read Only 32-bits only 

Содержание M.2-AI12-16

Страница 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 ...

Страница 2: ... to 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 standard CHAPTER 3 HARDWARE This manual applies to the following models VENDEV M 2 mPCIe AIO16 16FDS A D 16 bit 2Msps 4 D A w timed DAC Waveform playback 494F C0EB M 2 mPCIe AIO16 16F A D 16 bit 2Msps 4 D...

Страница 3: ...milar 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 optional cable assembly CAB mPCIe AIOs D Sub Miniature 37 pin Male connector For Singled Ended analog inputs connect GND to ADC COMMON A Note About Unused Analog...

Страница 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...

Страница 5: ...n 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 register C R 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 Base Clock ADC Rate Divisor...

Страница 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 are command bits a 1 causes the reset to occur and the reset clears the 1 DAC Control Offset 4 of 32 bit Memory BAR 1 Read Write 32 bits only bit D31 D30 D29 D28 D27 D24 D23 through D20 D19 through D16...

Страница 7: ...te 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 AIN 4 GAIN2 0 RSV AIN 3 GAIN2 0 RSV AIN 2 GAIN2 0 RSV AIN 1 GAIN2 0 RSV AIN 0 GAIN2 0 Each nybble configures the gain of the corresponding Analog Input channel ONLY when the ADC is running in Advance...

Страница 8: ...NUSED 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 RUNNI...

Страница 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 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 bi...

Страница 10: ...ite 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 digital pin s high low state for those bits in I O Groups configured as Outputs SET bits will output high voltage CLEAR bits will output GND Refer to DIO Control 48 for how to configure the input vs ou...

Страница 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 FIFO FDS models only DAC Waveform DACs Point Offset 54 of 64 bit Memory BAR 2 3 Read Write 32 bits only DAC Waveform DACs Point Write 1 2 3 or 4 to specify how many DACs are being used for Waveform Pl...

Страница 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 the highest transaction rates possible all the way up to the hardware limits The latest information can always be found on the product page on the website Here are some useful links Links to useful ...

Страница 13: ...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...

Страница 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 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 ...

Отзывы: