User Manual: Simultaneous 4-Ch Analog Input Card For The Compactpci
User Manual: Simultaneous 4-Ch Analog Input Card For The Compactpci
Simultaneous 4-CH
Analog Input Card for the
CompactPCI
User Manual
Copyright
The documentation and the software included with this product are copy-
righted by Advantech Co., Ltd. All rights are reserved. Advantech Co.,
Ltd. reserves the right to make improvements in the products described in
this manual at any time without notice. No part of this manual may be
reproduced, copied, translated or transmitted in any form or by any means
without the prior written permission of Advantech Co., Ltd. Information
provided in this manual is intended to be accurate and reliable. However,
Advantech Co., Ltd. assumes no responsibility for its use, nor for any
infringements of the rights of third parties, which may result from its use.
Acknowledgments
PC-LabCard is a trademark of Advantech Co., Ltd. IBM and PC are
trademarks of International Business Machines Corporation. MS-DOS,
Windows, Microsoft Visual C++ and Visual BASIC are trademarks of
Microsoft Corporation. Intel and Pentium are trademarks of Intel Corpo-
ration. Delphi and C++ Builder are trademarks of Borland Corporation.
CE notification
The MIC-3714, developed by ADVANTECH CO., LTD., has passed the
CE test for environmental specifications when shielded cables are used
for external wiring. We recommend the use of shielded cables. This kind
of cable is available from Advantech. Please contact your local supplier
for ordering information.
On-line Technical Support
For technical support and service, please visit our support website at:
http://www.advantech.com/support
iii
Declaration of Conformity
CE
This product has passed the CE test for environmental specifications
when shielded cables are used for external wiring. We recommend the
use of shielded cables. This kind of cable is available from Advantech.
Please contact your local supplier for ordering information.
FCC Class A
Note: This equipment has been tested and found to comply with the limits
for a Class A digital device, pursuant to part 15 of the FCC Rules. These
limits are designed to provide reasonable protection against harmful
interference when the equipment is operated in a commercial environ-
ment. This equipment generates, uses, and can radiate radio frequency
energy and, if not installed and used in accordance with the instruction
manual, may cause harmful interference to radio communications. Opera-
tion of this equipment in a residential area is likely to cause harmful inter-
ference in which case the user will be required to correct the interference
at his own expense.
FCC Class B
Note: This equipment has been tested and found to comply with the limits
for a Class B digital device, pursuant to part 15 of the FCC Rules. These
limits are designed to provide reasonable protection against harmful
interference in a residential installation. This equipment generates, uses
and can radiate radio frequency energy and, if not installed and used in
accordance with the instructions, may cause harmful interference to radio
communications. However, there is no guarantee that interference will
not occur in a particular installation. If this equipment does cause harmful
interference to radio or television reception, which can be determined by
turning the equipment off and on, the user is encouraged to try to correct
the interference by one or more of the following measures:
• Reorient or relocate the receiving antenna.
• Increase the separation between the equipment and receiver.
• Connect the equipment into an outlet on a circuit different from that to
which the receiver is connected.
FM
The MIC-3714 has passed the FM certification. According to the
National Fire Protection Association, work sites are classified into differ-
ent classes, divisions and groups, based on hazard considerations.
MIC-3714 is compliant with the specifications of Class I, Division 2,
Groups A, B, C and D indoor hazards.
Document Feedback
To assist us in making improvements to this manual, we would welcome
comments and constructive criticism. Please send all such - in writing to:
support@advantech.com
Safety Instructions
1. Read these safety instructions carefully.
2. Keep this User's Manual for later reference.
3. Disconnect this equipment from any AC outlet before cleaning.
Use a damp cloth. Do not use liquid or spray detergents for clean-
ing.
4. For plug-in equipment, the power outlet socket must be located
near the equipment and must be easily accessible.
5. Keep this equipment away from humidity.
v
6. Put this equipment on a reliable surface during installation. Drop-
ping it or letting it fall may cause damage.
7. The openings on the enclosure are for air convection. Protect the
equipment from overheating. DO NOT COVER THE OPENINGS.
8. Make sure the voltage of the power source is correct before con-
necting the equipment to the power outlet.
9. Position the power cord so that people cannot step on it. Do not
place anything over the power cord.
10. All cautions and warnings on the equipment should be noted.
11. If the equipment is not used for a long time, disconnect it from the
power source to avoid damage by transient overvoltage.
12. Never pour any liquid into an opening. This may cause fire or elec-
trical shock.
13. Never open the equipment. For safety reasons, the equipment
should be opened only by qualified service personnel.
14. If one of the following situations arises, get the equipment checked
by service personnel:
a. The power cord or plug is damaged.
b. Liquid has penetrated into the equipment.
c. The equipment has been exposed to moisture.
d. The equipment does not work well, or you cannot get it to work
according to the user's manual.
e. The equipment has been dropped and damaged.
f. The equipment has obvious signs of breakage.
15. DO NOT LEAVE THIS EQUIPMENT IN AN ENVIRONMENT
WHERE THE STORAGE TEMPERATURE MAY GO BELOW -
20° C (-4° F) OR ABOVE 60° C (140° F). THIS COULD DAM-
AGE THE EQUIPMENT. THE EQUIPMENT SHOULD BE IN A
CONTROLLED ENVIRONMENT.
16. CAUTION: DANGER OF EXPLOSION IF BATTERY IS
INCORRECTLY REPLACED. REPLACE ONLY WITH THE
SAME OR EQUIVALENT TYPE RECOMMENDED BY THE
MANUFACTURER, DISCARD USED BATTERIES ACCORD-
ING TO THE MANUFACTURER'S INSTRUCTIONS.
The sound pressure level at the operator's position according to IEC 704-
1:1982 is no more than 70 dB (A).
Wichtige Sicherheishinweise
1. 1. Bitte lesen sie Sich diese Hinweise sorgfältig durch.
2. Heben Sie diese Anleitung für den späteren Gebrauch auf.
3. Vor jedem Reinigen ist das Gerät vom Stromnetz zu trennen. Ver-
wenden Sie Keine Flüssig-oder Aerosolreiniger. Am besten dient
ein angefeuchtetes Tuch zur Reinigung.
4. Die NetzanschluBsteckdose soll nahe dem Gerät angebracht und
leicht zugänglich sein.
5. Das Gerät ist vor Feuchtigkeit zu schützen.
6. Bei der Aufstellung des Gerätes ist auf sicheren Stand zu achten.
Ein Kippen oder Fallen könnte Verletzungen hervorrufen.
7. Die Belüftungsöffnungen dienen zur Luftzirkulation die das Gerät
vor überhitzung schützt. Sorgen Sie dafür, daB diese Öffnungen
nicht abgedeckt werden.
8. Beachten Sie beim. AnschluB an das Stromnetz die AnschluBw-
erte.
9. Verlegen Sie die NetzanschluBleitung so, daB niemand darüber
fallen kann. Es sollte auch nichts auf der Leitung abgestellt werden.
10. Alle Hinweise und Warnungen die sich am Geräten befinden sind
zu beachten.
11. Wird das Gerät über einen längeren Zeitraum nicht benutzt, sollten
Sie es vom Stromnetz trennen. Somit wird im Falle einer Überspan-
nung eine Beschädigung vermieden.
12. Durch die Lüftungsöffnungen dürfen niemals Gegenstände oder
Flüssigkeiten in das Gerät gelangen. Dies könnte einen Brand bzw.
elektrischen Schlag auslösen.
13. Öffnen Sie niemals das Gerät. Das Gerät darf aus Gründen der ele-
ktrischen Sicherheit nur von authorisiertem Servicepersonal geöff-
net werden.
14. Wenn folgende Situationen auftreten ist das Gerät vom Stromnetz
zu trennen und von einer qualifizierten Servicestelle zu überprüfen:
a - Netzkabel oder Netzstecker sind beschädigt.
vii
b - Flüssigkeit ist in das Gerät eingedrungen.
c - Das Gerät war Feuchtigkeit ausgesetzt.
d - Wenn das Gerät nicht der Bedienungsanleitung entsprechend funk-
tioniert oder Sie mit Hilfe dieser Anleitung keine Verbesserung
erzielen.
e - Das Gerät ist gefallen und/oder das Gehäuse ist beschädigt.
f - Wenn das Gerät deutliche Anzeichen eines Defektes aufweist.
15. VOSICHT: Explisionsgefahr bei unsachgemaben Austausch der
Batterie.Ersatz nur durch densellben order einem vom Hersteller
empfohlene-mahnlichen Typ. Entsorgung gebrauchter Batterien
navh Angaben des Herstellers.
16. ACHTUNG: Es besteht die Explosionsgefahr, falls die Batterie auf
nicht fach-männische Weise gewechselt wird. Verfangen Sie die
Batterie nur gleicher oder entsprechender Type, wie vom Hersteller
empfohlen. Entsorgen Sie Batterien nach Anweisung des Herstell-
ers.
Der arbeitsplatzbezogene Schalldruckpegel nach DIN 45 635 Teil 1000
beträgt 70dB(A) oder weiger.
Haftungsausschluss: Die Bedienungsanleitungen wurden entsprechend
der IEC-704-1 erstellt. Advantech lehnt jegliche Verantwortung für die
Richtigkeit der in diesem Zusammenhang getätigten Aussagen ab.
CHAPTER
2
Introduction
Sections include:
• Features
• Applications
• Installation Guide
• Software Overview
• Device Drivers Roadmap
• Accesories
Chapter 1 Introduction
Thank you for buying the Advantech MIC-3714. MIC-3714 is a 30MHz
Simultaneous 4-CH Analog Input Card for the PCI bus. It is an advanced-
performance data acquisition card based on 32-bit CompactPCI architec-
ture. The maximum sampling rate of MIC-3714 is up to 30MHz samples
per second, with an emphasis on continuous, non-stop, high-speed,
streaming data of A/D samples to host memory.
The following sections of this chapter will provide further information
about features of the multifunction cards, a Quick Start for installation,
together with some brief information on software and accessories for the
MIC-3714 card.
1.1 Features
Some of them are highlighted and more detailed, such as the following:
Auto Calibration
MIC-3714 features software auto calibration. There is no variable resister
trimming required. This is convenient for user to calibrate.
Note: For detailed specifications of the MIC-3714, please refer to Appendix
A, Specifications.
1.2 Applications
3 Chapter 1
1.3 Installation Guide
Before you install your MIC-3714 card, please make sure if you have the
following necessary components:
After you get the necessary components and maybe some of the accesso-
ries for enhanced operation of your Multifunction card, you can then
begin the Installation procedures. Fig. 1-1 on the next page provides a
concise flow chart to give users a broad picture of the software and hard-
ware installation procedures:
5 Chapter 1
1.4 Software Overview
Device Drivers
The Advantech Device Drivers software is included on the companion
CD-ROM at no extra charge. It also comes with all Advantech DA&C
cards. Advantech’s device drivers feature a complete I/O function library
to help boost your application performance. The Advantech Device Driv-
ers for Windows 98/2000/XP work seamlessly with development tools
such as Visual C++, Visual Basic, Borland C++ Builder and Borland
Delphi.
Register-level Programming
Register-level programming is reserved for experienced programmers
who find it necessary to write code directly at the level of device regis-
ters. Since register-level programming requires much effort and time, we
recommend that you use the Advantech Device Drivers instead. How-
ever, if register-level programming is necessary, you should refer to the
relevant information in Appendix C, Register Structure and Format, or to
the example codes included on the companion CD-ROM.
Programming Tools
Programmers can develop application programs with their favorite devel-
opment tools:
• Visual C++
• Visual Basic
• Delphi
• C++ Builder
7 Chapter 1
Programming with Device Drivers Function Library
Advantech Device Drivers offers a rich function library to be utilized in
various application programs. This function
library consists of numerous APIs that support many development tools,
such as Visual C++, Visual Basic, Delphi and C++ Builder.
According to their specific functions or services, those APIs can be cate-
gorized into several function groups:
Device Function
Analog Input/Output Function
Digital Input/Output Function
Port I/O Function
Counter Function
Temperature Measurement Function
Alarm Function
Communication port Function
High speed Function
Hardware Function
For the usage and parameters of each function, please refer to the Func-
tion Description chapter in the Device Drivers Manual.
Wiring Cable
Wiring Board
9 Chapter 1
MIC-3714 User Manual 10
2
CHAPTER
2
Installation
Sections include:
• Installation
• Unpacking
• Driver Installation
• Hardware Installation
• Device Setup and Configuration
• Device Testing
Chapter 2 Installation
This chapter gives users a package item checklist, proper instructions
about unpacking and step-by-step procedures for both driver and card
installation.
2.1 Unpacking
After receiving your MIC-3714 package, please inspect its contents first.
The package should contain the following items:
• MIC-3714 card
• Companion CD-ROM (DLL driver included)
• User’s Manual
Before removing the card from the antistatic plastic bag, you should
take following precautions to ward off possible ESD damage:
• Touch the metal part of your computer chassis with your hand to dis-
charge static electricity accumulated on your body. Or use a grounding
strap.
• Touch the anti-static bag to a metal part of your computer chassis
before opening the bag.
• Take hold of the card only by the metal bracket when removing it from
the bag.
After taking out the card, first you should:
Inspect the card for any possible signs of external damage (loose or dam-
aged components, etc.). If the card is visibly damaged, please notify our
service department or the local sales representative immediately. Avoid
installing a damaged card into your system.
Note: Keep the anti-static bag for future use. You might need the original bag
to store the card if you have to remove the card from the PC or transport it
elsewhere.
We recommend you to install the driver before you install the MIC-
3714 card into your system, since this will guarantee a smooth installa-
tion process.
The Advantech Device Drivers setup program for the MIC-3714 card is
included on the companion CD-ROM that is shipped with your DA&C
card package. Please follow the steps below to install the driver software:
Step 1: Insert the companion CD-ROM into your CD-ROM drive.
Step 2: The Setup program will be launched automatically if you have
the AUTORUN function enabled on your system. When the Setup pro-
gram is launched, you’ll see the following setup screen.
Note: If the AUTORUN function is not enabled on your computer, use Win-
dows Explorer or the Windows Run command to execute SETUP.EXE on the
companion CD-ROM.
13 Chapter 2
Figure 2.1: Automation Software Setup Screen
Step 3: Select the Individual Drivers option.
Step 4: Select the specific device then just follow the installation instruc-
tions step by step to complete your device driver setup.
Note: Make sure you first install the driver before installing the card. We
strongly recommend that you install the software driver before installing the
hardware into your system, since this will guarantee a smooth and trouble-
free installation process. For more information about the driver installation,
configuration and removal procedures for Windows 9X, Windows NT, Win-
dows 2000 and Windows XP, please see the Device Driver Manual.
When installing the MIC-3714 card, please make sure the DLL driver of
MIC-3714 installation is completed. You can then go on to install the
MIC-3714 card in your CompactPCI system. If you have any doubts,
please consult the user manual or related documentation. Please follow
the below steps to install the card in your system.
Step 6: Now push the card into the right place, and the Blue LED will
turn off.
Step 7: After the Blue LED is off, push the handle to secure the card and
lock it into place.
15 Chapter 2
Note: In case you installed the card without installing the DLL driver first,
Windows 98/200/XP will recognize your card as an “unknown device” after
rebooting, and will prompt you to provide the necessary driver. You should
ignore the prompting messages (just click the Cancel button) and set up the
driver according to the steps described in 2.2 Driver Installation.
After the MIC-3714 card is installed, you can verify whether it is properly
installed on your system in the Device Manager:
1. Access the Device Manager through:
Start /Control Panel /System /Device Manager.
2. The device name of the MIC-3714 should be listed on the Device Man-
ager tab on the System Property Page.
Note: If your card is properly installed, you should see the device name of
your card listed on the Device Manager tab. If you do see your device name
listed on it but marked with an exclamation sign “!”, it means your card has
not been correctly installed. In this case, remove the card device from the
Device Manager by selecting its device name and press the Remove button.
Then go through the driver installation process again.
After your card is properly installed on your system, you can now config-
ure your device using the Device Manager program that has itself already
been installed on your system during driver setup. A complete device
installation procedure should include board selection and device setup.
After that, you can operate this card through the operation. The following
sections will guide you through the board selection, device setup and
operation of your device.
The Device Manager program is a utility that allows you to setup, config-
ure and test your device, and later store your settings on the system regis-
try. These settings will be used when you call the APIs of Advantech
Device Drivers.
Step 3: After you have finished configuring the device, click OK and the
device name will appear in the Installed Devices box as the following:
17 Chapter 2
Figure 2.4: Device Names in the Device Box
On the Device Test dialog box, users are free to test various functions of
MIC-3714 on the Analog input tabs, functions on the other tabs are not
supported for this model.
19 Chapter 2
Figure 2.6: Analog Input Tab
CHAPTER
2
Signal Connections
Sections include:
• Signal Connections
• Overview
• Switch and Jumper Settings
• Software Overview
• Device Drivers Roadmap
• Accesories
Chapter 3 Signal Connections
Maintaining proper signal connections is one of the most important fac-
tors to ensure that your application system is sending and receiving data
correctly. A good signal connection can avoid unnecessary and costly
damage to your PC and other hardware devices. This chapter provides
useful information about how to connect input and output signals to the
MIC-3714 via the I/O connector.
3.1 Overview
The MIC-3714 card has one function switch and five jumper settings.
23 Chapter 3
JP2, JP3, JP4, JP5 Input terminator select
50Ω
1MΩ
High Impedance
EXT TRIG0 1
4 9 GND
EXT CLK1 NC 2
EXT TRIG0 1
6
8 GND
EXT CLK0+ 3
NC 2 7 GND
5 GND 4
3
EXT CLK0- 6 EXT CLK1
EXT CLK0- 5
EXT CLK0+
CHAPTER
2
Principles of Operation
Sections include:
Each channel on the MIC-3714 can measure bipolar analog input signals
ranging within ± 5 V FSR, and can be set up with different input ranges
respectively. The sampling rate can be up to 30 MS/s.
MIC-3714 also provides various gain levels that are programmable per
channel. Table 4-1 lists the effective ranges supported by the MIC-3714
using these gains.
Table 4.1: Gains and Analog Input Range
Gain Analog Input Range
1 ±5 V
2 ±2.5 V
5 ±1 V
10 ±0.5 V
For each channel, choose the gain level that provides most optimal range
that can accommodate the signal range you have to measure. For detailed
information, please refer to Appendix C.4 AI Range Control.
27 Chapter 4
Delay Trigger Acquisition Mode
In delay trigger mode, data acquisition will be activated after a preset
delay number of sample has been taken after the trigger event. The delay
number of sample ranges from 2 to 65535 as defined in DMA counter.
Delay-trigger acquisition starts when the MIC-3714 detects the trigger
event and stops when the specified number of A/D samples has been
acquired or when you stop the operation. This triggering mode must work
with the DMA data transfer mode enabled Please specify the following
parameters when using software in delay trigger mode:
• Set to Delay-Trigger Acquisition Mode
• The sample clock source and sampling rate
• The trigger source
• The acquired sample number N
• The sample number M delays after the delay-trigger event happened
The MIC-3714 can adopt both internal and external clock sources for
pacer, post-trigger, delay-trigger, about-trigger acquisition modes:
• Internal A/D sample clock with 8-bit Counter
• External A/D sample clock that is connected to either the EXT-CLK0
(the differential clock source) or the EXT_CLK1 (the single ended
clock source) on the ADAM-3909 screw terminal board.
The internal and both external A/D sample clocks are described in more
details as the following.
Internal
EXT_CLK0
Trigger
Source
EXT_CLK1
The MIC-3714 supports the following trigger sources for post-, delay-,
about- and pre-trigger acquisition modes:
• Software trigger,
• External digital (TTL) trigger, and
• Analog threshold trigger.
With MIC-3714, user can define the type of trigger source as rising-edge
or falling-edge. These following sections describe these trigger sources in
more detail.
Software Trigger
A software trigger event occurs when you start the analog input operation
(the computer issues a write to the board to begin acquisitions). When
you write the value to analog input trigger flag TRGF on Write
BASE+Eh to produce either a rising-edge or falling-edge trigger, depend-
ing upon the trigger source type you choose. This edge will then act as an
A/D trigger event.
For detailed information, please refer to Appendix C.7 Trigger Mode and
Source.
31 Chapter 4
External Digital (TTL) Trigger
For analog input operations, an external digital trigger event occurs when
the MIC-3714 detects either a rising or falling edge on the External A/D
TTL trigger input signal from screw terminal EXT_TRIG on the ADAM-
3909 screw terminal board. The trigger signal is TTL-compatible.
CHAPTER
2
Calibration
Chapter 5 Calibration
This chapter offers you a brief guide to the calibration procedure. The
MIC-3714 has been well calibrated at the factory for initial use. Users are
not necessary to calibrate the MIC-3714 in normal conditions. However,
if some other conditions that the users have to calibrate the MIC-3714,
then they can follow the procedure listed below to perform the necessary
calibration.
Calibration Procedure
Step 1: Click the Setup button on the Advantech Device Manager win-
dow (Fig.5-1) to launch the MIC-3714 Device Setting window (Fig.5-2).
Step 3: Click the Calibration button to start the calibration process. The
Calibration Wizard window will pop up.
Note: Each calibration process can calibrate only one channel and one input
range at a time.
35 Chapter 5
Figure 5.3: Start-up Window for Offset Calibration
Step 5: Click the Start button to start the Offset Calibration. Note that the
Status will indicate Unknown as default at the beginning.
Step 7: Once the Status indicates Failed, please check if both the wiring
and the input voltage are correct. When finished checking, click the Start
button again to restart the procedure, or click the Cancel button to stop the
calibration.
37 Chapter 5
Figure 5.6: Offset Calibration Failed
Step 9: When the gain calibration is completed then click the Next button
to proceed.
39 Chapter 5
Step 9: Once the Status indicates Failed, please check if both the wiring
and the input voltage are correct. When finished checking, click the Start
button again to restart the procedure, or click the Cancel button to stop the
calibration.
APPENDIX
2
Specifications
Appendix A Specifications
Table A.1: Analog Input
Channels 4 single-ended analog input channels
Drift Gain 1 2 5 10
Zero (µV/°C) 200 100 40 20
Gain (ppm/°C) ±30 ±30 ±30 ±30
Small Signal Gain 1 2 5 10
Bandwidth for PGA Bandwidth 7MHz 7MHz 7MH 7MHz
(-3dB) z
Max. Input Voltage ±15 V Input Surge 30 Vp-p
Protect
Input Impedance 50Ω /1MΩ /∞ jumper selectable 100pF
Certification CE certified
43 Appendix A
MIC-3714 User Manual 44
B
APPENDIX
2
Block Diagram
Appendix B Block Diagram
APPENDIX
2
Table C-1 shows the function of each register of the MIC-3714 or driver
and its address relative to the card's base address.
49
TRGF OV G1 G0 AD11 AD10 AD9 AD8 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0
8h W AI Range Control Register
CH3_G1 CH3_G0 CH2_G1 CH2_G0 CH1_G1 CH1_G0 CH0_G1 CH0_G0
R
CH3_G1 CH3_G0 CH2_G1 CH2_G0 CH1_G1 CH1_G0 CH0_G1 CH0_G0
Ah W A/D Converter Enable Register
CH3 CH2 CH1 CH0
R
CH3 CH2 CH1 CH0
Ch W Clock Source and Divider Register
CKS1 CKS0 DIV7 DIV6 DIV5 DIV4 DIV3 DIV2 DIV1 DIV0
R
CKS1 CKS0 DIV7 DIV6 DIV5 DIV4 DIV3 DIV2 DIV1 DIV0
Eh W Trigger Mode and Source Register
TRGF DMA_TCF TSE TS2 TS1 TS0 TM2 TM1 TM0
R
TRGF DMA_TCF TSE TS2 TS1 TS0 TM2 TM1 TM0
Base MIC-3714 Register Format
Address 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
10h W FIFO Control Register
FRST1 FCLR1 FRST0 FCLR0
R FIFO Status Register
FIFO1_AF FIFO1_AE FIFO1_FF FIFO1_HF FIFO1_EF FIFO0_AF FIFO0_AE FIFO0_FF FIFO0_HF FIFO0_EF
Table C.2: MIC-3714 Register Format (Part 2)
50
PF14 PF13 FP12 PF11 PF10 PF9 PF8 PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0
18h W FIFO 2 Programmable Flag Register
PF14 PF13 FP12 PF11 PF10 PF9 PF8 PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0
R FIFO 2 Programmable Flag Register
PF14 PF13 FP12 PF11 PF10 PF9 PF8 PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0
1Ah W FIFO 3 Programmable Flag Register
PF14 PF13 FP12 PF11 PF10 PF9 PF8 PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0
R FIFO 3 Programmable Flag Register
R N/A
R N/A
2Ch W Board ID
R
BID BID BID BID
3 2 1 0
2Eh W
51 Appendix C
Table C.4: MIC-3714 Register Format (Part 4)
Base MIC-3714 Register Format
Address
+ HEX
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
30h W Reset start read channel to CH0
R AD Channel n DATA
TR OV G1 G0 AD AD AD AD AD AD AD AD AD AD AD AD
GF 11 10 9 8 7 6 5 4 3 2 1 0
32h W N/A
TR OV G1 G0 AD AD AD AD AD AD AD AD AD AD AD AD
GF 11 10 9 8 7 6 5 4 3 2 1 0
34h W DMA Request selector
DS0
In single value acquisition mode (SW trigger), the A/D converter will
convert one sample when you write to the register Write BASE+0, 2, 4, 6
with any value. User can check the A/D FIFO status (FIFOn_FE) to make
sure if the data is ready to be received.
R AI Channel 0 Data
TR OV G1 G0 AD AD AD AD AD AD AD AD AD AD AD AD
GF 11 10 9 8 7 6 5 4 3 2 1 0
2h W AI Channel 1 Single Value Acquisition
R AI Channel 1 Data
TR OV G1 G0 AD AD AD AD AD AD AD AD AD AD AD AD
GF 11 10 9 8 7 6 5 4 3 2 1 0
4h W AI Channel 2 Single Value Acquisition
R AI Channel 2 Data
TR OV G1 G0 AD AD AD AD AD AD AD AD AD AD AD AD
GF 11 10 9 8 7 6 5 4 3 2 1 0
6h W AI Channel 3 Single Value Acquisition
R AI Channel 3 Data
TR OV G1 G0 AD AD AD AD AD AD AD AD AD AD AD AD
GF 11 10 9 8 7 6 5 4 3 2 1 0
53 Appendix C
G1: G0 Range Code
These 2 bits indicate the input range of the data.
G1 G0 Input range
0 0 -5 to +5V
0 1 -2.5 to +2.5V
1 0 -1 to +1V
1 1 -0.5 to +0.5V
(n = 0~3)
CH CH CH CH
3 2 1 0
R
CH CH CH CH
3 2 1 0
55 Appendix C
C.6 Clock Source and Divider
57 Appendix C
TS2: TS0 Trigger Source Selector
FIF FIF FIF FIF FIF FIF FIF FIF FIF FIF
O1_ O1_ O1_ O1_ O1_ O0_ O0_ O0_ O0_ O0_
AF AE FF HF EF AF AE FF HF EF
12h R FIFO Status Register
FIF FIF FIF FIF FIF FIF FIF FIF FIF FIF
O3_ O3_ O3_ O3_ O3_ O2_ O2_ O2_ O2_ O2_
AF AE FF HF EF AF AE FF HF EF
59 Appendix C
FIFOn_EF (n = 0~3) FIFO Empty Flag
1 FIFO is empty
0 FIFO is not empty
FIFOn_HF (n = 0~3) FIFO Half Full Flag
1 FIFO is half full
0 FIFO is not half full
FIFOn_FF (n = 0~3) FIFO Full Flag
1 FIFO is full
0 FIFO is not full
FIFOn_AE (n = 0~3) FIFO Almost Empty Flag
1 FIFO is almost empty
0 FIFO is not almost empty
FIFOn_AF (n = 0~3) FIFO Almost Full Flag
1 FIFO is almost full
0 FIFO is not almost full
PF 14 PF13 FP12 PF11 PF10 PF9 PF8 PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0
PF 14 PF13 FP12 PF11 PF10 PF9 PF8 PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0
PF 14 PF13 FP12 PF11 PF10 PF9 PF8 PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0
PF 14 PF13 FP12 PF11 PF10 PF9 PF8 PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0
PF14 PF13 FP12 PF11 PF10 PF9 PF8 PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0
PF 14 PF13 FP12 PF11 PF10 PF9 PF8 PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0
PF 14 PF13 FP12 PF11 PF10 PF9 PF8 PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0
PF 14 PF13 FP12 PF11 PF10 PF9 PF8 PF7 PF6 PF5 PF4 PF3 PF2 PF1 PF0
61 Appendix C
C.11 DMA Counter
INT INT INT INT INT INT INT INT INT INT
F F8 F7 F6 F5 F4 F3 F2 F1 F0
Interrupt Flag
63 Appendix C
These bits correspond to the same bit number of the interrupt control reg-
ister to indicate which interrupt occurred. Read 1 means interrupt
occurred.
INTF0 FIFO 0 Half Full interrupt flag
INTF1 FIFO 0 Almost Full interrupt flag
INTF2 FIFO 1 Half Full interrupt flag
INTF3 FIFO 1 Almost Full interrupt flag
INTF4 FIFO 2 Half Full interrupt flag
INTF5 FIFO 2 Almost Full interrupt flag
INTF6 FIFO 3 Half Full interrupt flag
INTF7 FIFO 3 Almost Full interrupt flag
INTF8 DMA counter Terminal Count interrupt flag
INTF Total Interrupt flag
Clear Interrupt
Write any value to this address will clear interrupt. It will clear all flags to
0 if there is no any interrupt in coming.
65 Appendix C
C.15 Calibration Command
67 Appendix C
C.18 AD Channel nDATA
AD Channel nDATA (n = 0 or 2)
BASE + 30, 32 are for four channels DMA data transfer. Data transfer
will alternate from CH0 + CH1 to CH2 + CH3 automatically. The format
is the same as BASE + 0, 2 or BASE + 4, 6. CH0 + CH1 is first 32-bit,
CH2 + CH3 is the second and CH0 + CH1, …and so on. User only want
to transfer CH0 + CH1, please use BASE + 0, 2, transfer CH2 + CH3,
please use BASE + 4, 6. About DMA data transfer, please refer to
PCI9056 datasheet.
DMA data transfer support 1, 2 or 4 channels data acquisition.
For 1 channel data acquisition, only channel 0 or 2 is acceptable. For 2
channels data acquisition, only channel 0,1 or 2,3 is acceptable.
69 Appendix C
Note: When the user applies the single AI channel (channel 0), this bit should
be set to 0. If user applied AI to channel 0 and channel 1, this bit should be set
to 1. In the other words, if the user sets AI to channel 2 and channel 3, this bit
will be set as 1. When the user applies the total 4 AI channels, this bit can be
either 0 or 1.