ACCES I/O Products, Inc.
MADE IN THE USA
mPCIe-ADIO16-16F Family Manual
5
Rev B1f
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 use Scan Start Mode.
•
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, then write to +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 must be accessed as 32-bits
+0 R/W
Resets and Power
Board and Feature Reset command bits and ADC Power-Down control bit and status
+4 W
DAC Control
DAC (LTC1664) 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 Conversion Rate = ADC Base Clock / ADC Rate Divisor (this register)
+18 W/R
ADC ADV Sequence Gain
Each nybble controls the gain code (input range) of the respective ADC channel
+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 Control
ADAS3022 and ADC Control bits
+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. Must be read/written as a 32-bit DWORD value
+48 W/R
DIO Control
Digital Secondary Function enable bits and direction control for a total of nine I/O Groups (DIO 15, 14, 13, 12, 11, 10, 9, 8, and 7:0)
+4C W/R
Watchdog Timer
Watchdog Timer Control
+68 R
Revision
FPGA code revision
All of 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.
REGISTER DETAILS