Sixteen-line digital i/o serial peripheral expansion (spx) board (17 pages)
Summary of Contents for VersaLogic VCM-DAS-3
Page 1
Reference Manual REV. February 2020 VCM-DAS-3 Analog Output & Digital I/O Module for the PC/104 Bus...
Page 2
All Rights Reserved Notice: Although every effort has been made to ensure this document is error-free, VersaLogic makes no representations or warranties with respect to this product and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose.
Page 3
BIOS information and upgrades Utility routines and benchmark software Note: This is a private page for VCM-DAS-3 users that can be accessed only be entering this address directly. It cannot be reached from the VersaLogic homepage. VCM-DAS-3 Reference manual...
Enhanced Mode Data Registers ................20 Digital I/O Control Register ..................... 21 Digital I/O Data Registers ....................22 Digital Input Registers ..................22 Digital Output Registers ..................23 External Trigger Enable Register ..................24 Analog Output Data Registers ..................25 VCM-DAS-3 Reference Manual...
Page 5
Setting a Channel to Sleep Mode ................ 36 Reading the Sleep Status of a Channel ..............36 Digital I/O ........................37 Signal Direction ........................ 37 Signal Polarity ........................37 Digital Input ........................37 Digital Output ........................37 References ........................38 VCM-DAS-3 Reference manual...
Introduction Description The VCM-DAS-3 is a PC/104-format data acquisition board that provides analog outputs and digital I/O for process control and other applications. Its features include: 16 analog voltage outputs with 12-bit Software calibration resolution 16-bit or 8-bit ISA modes ...
Windows 95/85/NT/CE/XP, QNX, VxWorks, and Linux Driver Support: No native drivers. Fully compatible with Diamond Systems drivers. Compatibility: PC/104 – Full compliance, 8-bit and 16-bit Weight: 0.152 lbs (0.069 kg) Specifications are subject to change without notice. VCM-DAS-3 Reference Manual...
(PBDE) flame retardants, in certain electrical and electronic products sold in the European Union (EU) beginning July 1, 2006. VersaLogic Corporation is committed to supporting customers with high-quality products and services meeting the European Union’s RoHS directive.
Technical Support Technical Support If you are unable to solve a problem after reading this manual please visit the VCM-DAS-3 Product Support web page at http://www.VersaLogic.com/private/vcmdas3support.asp. If you have further questions, contact VersaLogic technical support at (503) 747-2261. VersaLogic technical support engineers are also available via e-mail at Support@VersaLogic.com.
Physical Description Dimensions The VCM-DAS-3 complies with all PC/104 standards. Dimensions are given below to help with pre-production planning and layout. 3.575 3.375 0.00 -0.20 = Pin 1 Figure 1. Dimensions and Mounting Holes (Not to scale. All dimensions in inches.)
ONNECTOR UNCTIONS AND NTERFACE ABLES Table 1 provides information about the function, mating connectors, and transition cables for VCM-DAS-3 connectors. Page numbers indicate where a detailed pinout is available. Table 1: Connector Functions and Interface Cables Connector Function Mating Connector...
DIO A6 Digital I/O A6 DIO A5 Digital I/O A5 DIO A4 Digital I/O A4 DIO A3 Digital I/O A3 DIO A2 Digital I/O A2 DIO A1 Digital I/O A1 DIO A0 Digital I/O A0 Ground Ground VCM-DAS-3 Reference Manual...
4 (IO30) DIO C1 Digital I/O C1 3 (IO31) DIO C0 Digital I/O C0* 2 (IO32) Ground Ground 1 (GND4) Pin 39 can also used as an external trigger for updating DAC channels. See External Trigger Update. VCM-DAS-3 Reference Manual...
DIO C0 Digital I/O C0* VOUT 15 Analog Output 15 V5_0 Protected +5.0 Volts DIO A7 Digital I/O A7 Ground Ground Pin 48 can also used as an external trigger for updating DAC channels. See External Trigger Update. VCM-DAS-3 Reference Manual...
ARDWARE SSEMBLY The VCM-DAS-3 uses pass-through PC/104 (ISA) connectors so that expansion modules can be added to the top or bottom of the stack. PC/104 modules must not be positioned between the CPU board and any PC/104-Plus (PCI) modules on the stack.
Bit Mode Selector 16-bit ISA Transactions 8-bit ISA Transactions 8-bit mode forces the VCM-DAS-3 to respond with 8-bit transactions. This mode is required when using the board on an 8-bit bus. The 16-bit mode allows both 8 and 16-bit transactions.
These jumpers set the initial power up span ranges for A/D channels 8-16. Base Address Configuration As shipped, the VCM-DAS-3 is configured for a base address of 0x300. The card occupies up to 16 consecutive I/O addresses in enhanced mode (only eight I/O addresses in compatible mode).
Figure 7. Base Address Jumpers Bit Mode Configuration The VCM-DAS-3 can operate using 8-bit or16-bit ISA transactions. For compatibility with 8-bit ISA buses, you must set the VCM-DAS-3 to use 8-bit ISA transactions. Jumper V1[15-16] selects the bit mode. When a jumper is present, the board will operate on either 16-bit or 8-bit ISA bus.
Enhanced Mode Configuration Jumper V1[13-14] enables you to select between compatible or enhanced modes. A jumper installed on V1[13-14] sets the VCM-DAS-3 to enhanced mode. When no jumper is installed, the board operates in compatible mode. The default mode is enhanced.
Registers I/O Port Mapping In enhanced mode, the VCM-DAS-3 operates occupies 16 ports in the I/O map. Eleven ports are mapped to functional registers, and the remaining five ports are decoded by the board and cannot be used by other PC/104 modules.
DIOCTRL Digital I/O control register DIOC Digital I/O port C data DIOB Digital I/O port B data DIOA Digital I/O port A data EXTRIG External trigger enable DACALL1 Update all DACs simultaneously DACALL0 Update all DACs simultaneously VCM-DAS-3 Reference Manual...
The data format of these registers depends on the operation executed in the ENCTRL register. See the sections listed below for information on data formats for specific operations. CTRL Code Operation (ENCTRL) Page Read DAC Read Span Set Gain Read Gain VCM-DAS-3 Reference Manual...
DIO Port B Direction – These bits control the direction of DIO port B (B7-B0). 0 = Output 1 = Input DIRCLO DIO Port C LSB Direction – These bits control the direction of the lower half of DIO port C (C3-C0). 0 = Output 1 = Input VCM-DAS-3 Reference Manual...
Normally, the data read would be the same as the data written to the output registers; however, if an output line is stuck high or shorted to ground, the fault will be reflected in the feedback data. VCM-DAS-3 Reference Manual...
1, the signal line is driven high; when a bit is reset to 0, the signal line is driven low. To operate a port in output mode, you must first set the direction of the port to output by clearing the appropriate bit in the DIOCTRL register. VCM-DAS-3 Reference Manual...
C0 is in input mode, or in software, when C0 is in output mode. If using an external trigger, make sure that the lower half of Port C is in input mode. 1 = Enable 0 = Disable VCM-DAS-3 Reference Manual...
Table 15: DACSEL Bit Assignments Mnemonic Description – Unused. These bits have no function. Channel Selection – These bits select the DAC channel upon which digital output functions will be performed. SEL3 SEL2 SEL1 SEL0 Selected Channel VCM-DAS-3 Reference Manual...
– DA11 DA10 DACALL0 (Read) 0300h Reading from these locations updates all DACs to the values written to them. Only DACs with new data written to them will change. The remaining channels will retain their current values. VCM-DAS-3 Reference Manual...
12-bit binary numbers. (See Analog Output Data Representation.) The table below shows the analog output ranges and resolutions available on the VCM-DAS-3. Negative full scale refers to the output voltage for a code of 0, and positive full scale refers to the output voltage for a code of 4095.
VCM-DAS-3 analog outputs have a resolution of 12 bits. Data is written to the board in 8-bit bytes, so two bytes must be used to write a single analog output value. These bytes are referred to as the least significant byte (LSB) and the most significant byte (MSB).
DIM fullscale AS SINGLE SELECT CASE range CASE 0 '+5V bipolar = 0 fullscale = 5 CASE 1 '+10V bipolar = 0 fullscale = 10 CASE 2 '+/-5V bipolar = 1 fullscale = 5 CASE 3 '+/-10V VCM-DAS-3 Reference Manual...
Page 38
WHILE NOT done y = y + 1 IF y < 2000 THEN 'timeout done = INP(BASE + &HA) AND &H01 '(ENHANCED MODE REGISTER) ELSE LIB_das3aout = 1 EXIT FUNCTION END IF WEND LIB_das3aout = 0 END FUNCTION VCM-DAS-3 Reference Manual...
The gain value you set is non-volatile. EADING THE To perform the Read Gain operation, write F0h to the ENCTRL register at I/O port 0x30A, and then read the value of the ENDATLO register at I/O port 0x308. VCM-DAS-3 Reference Manual...
Enhanced Mode Operations Enhanced Mode Operations The VCM-DAS-3 must be in enhanced mode to perform enhanced mode operations. DAC D EADING Reading a DAC using the Read DAC operation does not cause the DAC to be updated, as reading the DACALL0 register does. Performing a Read DAC operation loads the DAC voltage code in the ENDATHI and ENDATLO registers.
2. Read the SLEEPSTAT bit (bit 4) of the ENDATLO register at I/O port 0x308, as shown below. A value of 0 = awake. A value of 1 = sleep mode. ENDATLO LSB (Read) 0308h – – – SLEEPSTAT – – – – VCM-DAS-3 Reference Manual...
DIOCTRL register. The logic level on any digital I/O channel can be set by writing a 1 or 0 to the appropriate bit. The digital I/O interface of the VCM-DAS-3 are 82C55 Mode 0 compatible only.
DAC Controller LTC2704 Datasheet Linear Technology LTC2704 PC/104 Specification PC/104 Consortium PC/104 Resource Guide PC/104-Plus Specification VersaLogic Corporation PC/104 Resource Guide General PC Documentation Microsoft Press The Programmer’s PC Sourcebook General PC Documentation Powell’s Books The Undocumented PC VCM-DAS-3 Reference Manual...
Need help?
Do you have a question about the VCM-DAS-3 and is the answer not in the manual?
Questions and answers