DAQ PCI-EK01 User manual

PCI-EK01 Users Manual (Rev 1.0)
-1- http://www.daqsystem.com
PCI-EK01
User’s Manual
Windows, Windows2000, Windows NT and Windows XP are trademarks of Microsoft. We acknowledge that the
trademarks or service names of all other organizations mentioned in this document as their own property.
Information furnished by DAQ system is believed to be accurate and reliable. However, no responsibility is assumed by DAQ
system for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is
granted by implication or otherwise under any patent or copyrights of DAQ system.
The information in this document is subject to change without notice and no part of this document may be copied or
reproduced without the prior written consent.
Copyrights 2005 DAQ system, All rights reserved.

PCI-EK01 Users Manual (Rev 1.0)
-2- http://www.daqsystem.com
-- Contents –
1. Introduction
2. Installation
2.1 Confirm Contents
2.2 Hardware Installation
2.3 Software installation
3. PCI-EK01 Board Explanation
3.1 PCI-EK01 Function
3.2 Address Map
3.3 Jumper Option and Connector Pin-out
3.4 CDROM Folder
4. Sample Program & Test
4.1 Analog Output
4.2 Analog Input
4.3 Digital Input/Output
4.4 Counter
4.5 Timer
5. Specification
6.1 General Information
6.2 Hardware
6.3 Software
6.4 Physical/Environment
References

PCI-EK01 Users Manual (Rev 1.0)
-3- http://www.daqsystem.com
1. PCI-EK01 Introduction
The PCI-EK01 is specially designed for PCI master and target logic development and an analog data
acquisition board. Also it can be used for multi-purpose applications, for example waveform generator,
ADC(Analog to Digital Converter), DAC(Digital to Analog Converter), high current driver and high speed
analog data logger.
[Figure 1-1. PCI-EK01 Functional Blocks]
PRODUCT INFORMATION
Application
PCI development and evaluation
Data acquisition
Laboratory instrumentation
Process control systems
Factory automation
Specification
General
PCI Target 32bit/33Mhz, 5V/3.3V compatible
Full 33Mhz burst read/write operation
Average data rate is 30MB data to, 8MB data from the board without
DMA.
Analog
Input/
Output
Digital
Input/
Output
Counter/
Timer
PCI Core Logic
(FPGA)
High
Speed
SRAM

PCI-EK01 Users Manual (Rev 1.0)
-4- http://www.daqsystem.com
Very flexible to upgrade because of FPGA is used as PCI bridge and
overall board
Analog Input
12bit resolution/ 8 Single ended or 4 differential input
0 to +3.3V, ±1.65V input range/ MAX 200Ksps(5uSEC) conversion
time
Can change sampling interval in auto scanning mode by 2.5uSEC
increment
Power on auto-calibration/ ±1 (LSB) INL/DNL
±1uA analog input leakage current/ 20pF analog input capacitance
On-board 1024 x 16 data FIFO/ On-board 256K(type A) x 16 data
SRAM
Analog Output
12bit resolution/ 4 channel output/ 0 to +3.3V output range
MAX 1M (1uSEC) update rate
Can change update interval in waveform generation mode by 1uSEC
increment
Simultaneous update of outputs
±16 (LSB) INL/ ±1 (LSB) DNL/ ±3 (LSB) Offset error/ Slew Rate
0.7V/usec
On-board 1024 x 16 waveform generation dual-port RAM
Digital I/O
On-board 82C55 chip/ 24bit general purpose I/O
Three 8bit group(Port A/B/C)/ 3.3V CMOS logic level
Port B has high current sink capability (max 500mA)
Timer/Counter
32-bit Timer/ 32-bit Counter
Input frequency max 60Mhz/ 25n timer resolution
One-shot or alternate timer output mode/ 3.3V CMOS logic level
Software
Supported OS
Windows 2000/XP/Windows 7
API
Kernel mode WDM Driver/ User mode DLL
Test Application(Waveform Generator, Waveform Display)

PCI-EK01 Users Manual (Rev 1.0)
-5- http://www.daqsystem.com
2. Installation
You confirm whether or not the packing contents are in good order before installation.
2.1 Confirm Contents
[Figure 2-1. PCI-EK01 Product Contents]
Product Contents
1. PCI-EK01 Board
2. Windows2000/XP Driver (CDROM)
3. Application Sample Source (CDROM)
4. Schematic/Part List etc (CDROM)
2.2 Hardware Installation
For PCI-EK01 board installation to PC is as follows. There isn’t a jumper especially to set up for
board installation in case of PCI boards because it is Plug & Play devices.
(1) First, turn off the power.
(2) Take off the computer case, and PCI-EK01 connects to empty slot. At this time, you like to use

PCI-EK01 Users Manual (Rev 1.0)
-6- http://www.daqsystem.com
the slot that is close to a CPU side with a lot of empty slots.
(3) After bracket of board fix to computer by using a screw, close the case.
(4) Turn on the switch after assembly.
[Figure 2-2. PCI-EK01 connect to PC]
* Above picture shows no PC case for user understanding. Generally it use in case of PC
mother board.
(5) When the power on, two LED is lighting on like Figure 2-2. If the board finishes the configuration
Normally, ALED4 lights on. ALED6 lights on/off per 1 second in order to ideal of clock.
(6) From LED1 to LED5 light on in order to PCI bus operation.

PCI-EK01 Users Manual (Rev 1.0)
-7- http://www.daqsystem.com
2.3 Software installation
After hardware installation, you install a Driver and sample application program on CPU board. You
use a CD that provided it to a box for installation.
The installation order is as follows, explain Windows XP with basis if there isn’t special explanation.
(1) After finished booting that you can show the picture of “Found New Hardware Wizard”window.
Select the item “Install from a list or specific location (Advanced)”and click “Next”.
[Figure 2-3. PCI-EK01 Device Search Window]
(2) Insert the accompanying CDROM in the CDROM driver and press the “Browse”to point out the
folder which contains the Driver. ex) F:\CDROM_PCI_EK01\drivers
The driver folder includes a file of “pci_ek01.inf” and “pci_ek01.sys” that it is necessary for
driver installation.

PCI-EK01 Users Manual (Rev 1.0)
-8- http://www.daqsystem.com
[Figure 2-4. PCI-EK01 Device Driver Search Window]
A warning message appears during installation here, press “Continue Anyway”button.
You can show below message window. Process progress as follows.

PCI-EK01 Users Manual (Rev 1.0)
-9- http://www.daqsystem.com
(3) If the installation is completely finished, you can show below message window.
[Figure 2-5. PCI-EK01 Completing Device Driver Window]
(4) If the installation is completely finished, you can use the USB-DIO6400 board.
But, it confirm a driver normally installation in the following ways. Do the following steps to show
up the “Device Manager”window. [My Computer -> Properties -> Hardware -> Device Manager ->
Multifunction Adaptors -> “PCI-EK01”]
[Figure 2-6. “System Properties” window-“Hardware” Tab]

PCI-EK01 Users Manual (Rev 1.0)
-10- http://www.daqsystem.com
[Figure 2-7. “Device Manager” window]
If you can see the “PCI-EK01” at Multifunction Adaptors, the driver installation is to have been
over. (Check the red circle)
Important Notice : After installation, you should re-boot the system for the proper operation.

PCI-EK01 Users Manual (Rev 1.0)
-11- http://www.daqsystem.com
3. PCI-EK01 Board Explanation
It simply explains about board functions. Refer to a “Specification part”regarding a detailed function.
3.1 PCI-EK01 Function
POWER DISTRIBUTION
DPRAM
ADC
Core control
PCI BUS
TIMER
COUNTER
FIFO
UART
TARGET
PCI
INTERFACE
DAC
T/Rx
USER I/O
SRAM
I/O Switch & LED
LEVEL
SHIFTER
[Figure 3-1. PCI-EK01 Block Diagram]
Figure 3-1 shows that the PCI-EK01 has a lot of functions for various test. Each configuration
function is as follows.
(1) Core Control
The PCI-EK01 composes a PCI Target, external ADC, DAC interface and FIFO/TIMER/Counter
with using a FPGA(Spartan3). It is not used a UART function, it will be upgrade later.
(2) Level Shifter
A Level shifter exchanges a logic level of PCI to a logic level of FPGA. So, it is handily usable
just place to a slot without jumper setup of PCI 3.3V system or PCI 5V bus system.
(3) Power Distribution
It gets from 5V power at PCI bus and it supply as making the necessary 1.2V, 2.5V, 3V, 3.3V
power to use at board.

PCI-EK01 Users Manual (Rev 1.0)
-12- http://www.daqsystem.com
(4) Switch & LED
There is the LED which can confirm action state of a board. There are 5 switches 매that a
user test it to a manual.
(5) I/O
It can interface with the outside by 24bit I/O as it equip 82C55. It is a 3.3V logic level and 8bits
of these 24bits can drive 500mA.
(6) SRAM
It is used to high speed data transfer (Max 33Mhz) and ADC’s data buffer as it equip
maximum 8Mbit(1M Byte) high speed RAM.
(7) T/Rx
It is a RS232C Transceiver. It can use it to connect at PC or device.
(8) ADC
It’s an Analog to Digital Converter. It can use the methods of 8-Ch Single Ended or 4-Ch
Differential, can make sampling 200K(5uSEC) per second.
(9) DAC
It’s 4-Ch Digital toAnalog Converter, it can update a DAC’s value with maximum 1M (1uSEC).

PCI-EK01 Users Manual (Rev 1.0)
-13- http://www.daqsystem.com
3.2 Address Map
As it uses CPU of the x86 system which we use mainly, it can classify greatly it to memory and I/O
area. In order to support Plug & Play in case of PCI bus that has a special Configuration. It can save
the resource and device state control register etc.
Memory Area
I/O Area Configuration
Area
4G
64K
64DWORD
[Figure 3-2. Address Map of IBM PC Series]
The PCI-EK01 use a memory and I/O that have been assigned to system for operation, the contents
are as follows that they required.
Memory Max. 64MByte
I/O 256Byte
An area of assigned address in PCI-EK01 is used like Figure 3-3. All peripheral device’s control and
status register located in I/O area, only high speed SRAM located in memory area.

PCI-EK01 Users Manual (Rev 1.0)
-14- http://www.daqsystem.com
[Figure 4-3. PCI-EK01 Address map]
(Notice) 1. Currently it is not used a UART function, it will be upgrade later.
2. Currently it is not used a VGA function, it will be upgrade later.

PCI-EK01 Users Manual (Rev 1.0)
-15- http://www.daqsystem.com
3.3 Jumper Option and Connector Pin-out
The PCI-EK01 is prepared a lot of Jumpers and Connectors. Each Jumper & Connector is used to
select a function and extend a function, basic setting recommands that you use it with state set up in
case of product shipment. But, a user can exchange setting and connection for special test. Yhis
chapter will be explained this situation.
JP4JP5
JP2
JP12JP11
JH1JP1
P1
P2
JP3
LED4
JP6
JP8JP9
JP7
JP13
JP10
SW1
SW2
SW3
SW4
SW5
COM1
LED1
LED2
LED3
LED5
LED6
LED7
Y1
[Figure 3-4. PCI-EK01 External Connection & Jumper]
[Table 1. Connector and Jumper List]
No.
Name
Description
Remark
1
P1
Analog Input/Output, Counter/Timer
2
P2
VGA video signal
Future Upgrade
3
JH1
Local Address & Data Bus
4
JP1
Digital Input/Output
5
JP2
ADC Reference Voltage
Close
6
JP3
Select Digital Power
3.3V or 5V
7
JP4
DAC Power Selection
AVCC or DVCC

PCI-EK01 Users Manual (Rev 1.0)
-16- http://www.daqsystem.com
8
JP5
DAC Reference Voltage Selection
ADC reference out or
DAC Power
9
JP6
FPGA Parallel configuration
Not used
10
JP7
EPLD(XC9536XL) JTAG
11
JP8
FPGA configuration Mode Selection
12
JP9
Serial Flash Mode Selection
Future Upgrade
13
JP10
FPGA & Serial Flash Program JTAG
14
JP11
+/- 12V Power
Not used
15
JP12
PCI I/O Power
Not used
16
JP13
User defined Jumper –Connection Tact Switch
17
LED1-3
LED5
For PCI Transition Monitor
18
LED4
FPGA configuration Indicator
19
LED6
Clock Indicator
20
LED7
PCI Target select
21
SW1-3
User Definition
Not used
22
SW4
FPGA Re-configuration
23
SW5
User Definition
Not used
24
COM1
RS232C
Future Upgrade
25
Y1
User Definition Clock
A user gets arbitrary clock at Timer/Counter
function so as usable.
Future Upgrade
The basically explanation is like [Table 1]. Each connector jumper continuous explains in detail.

PCI-EK01 Users Manual (Rev 1.0)
-17- http://www.daqsystem.com
[P1 Description]
A DSUB-25PIN PLUG connector is connected to Analog Input/Output, Timer Output, Counter
Input. The Analog Input/Output range of ADC & DAC refers to product specification. The
Input/Output level of Timer and Counter is 3.3V CMOS logic level.
Notice) You should use an Analog Ground in case of external interface of an analog signal.
3
10
9
8
7
6
1
2
5
4
19
18
17
16
15
14
13
12
11
25
24
23
22
21
20
Analog Power(+3.3V)
Analog Input 1
Analog Input 7
Analog Input 5
Analog Input 3
Analog Output 0
Analog Output 2
Timer1 Out
Digital Power(+3.3V)
Analog Ground
Counter0 In
Counter2 In
Analog Input 0
Digital Ground
Analog Input 2
Analog Input 4
Analog Input 6
Analog Ground
Analog Output 0
Analog Output 3
Digital Power(+3.3V)
Timer0 Out
Timer2 Out
Counter1 In
Digital Ground
[Figure 3-5. PCI-EK01 P1 Connector Pin-out]

PCI-EK01 Users Manual (Rev 1.0)
-18- http://www.daqsystem.com
[P2 Description]
It is not used currently a VGA Video signal, it will be upgrade.
3
10
9
8
7
6
1
2
5
4
15
14
13
12
11
BLUE
GREEN
RED
VSYNC
HSYNC
VGND
VGND
VGND
VGND
VGND
[Figure 3-6. PCI-EK01 P2 Connector Pin-out]

PCI-EK01 Users Manual (Rev 1.0)
-19- http://www.daqsystem.com
[JH1 Description]
We made external interface as it prepared local address and data signal on board to a connector so
as to be easy. A user can easily add the hardware function with this connector.
3
109
87
6
1 2
5
4
19
1817
1615
1413
1211
2423
2221
20
VDD(+3.3V)VDD(+3.3V)
33
3231
3029
2827
2625
3837
3635
34
47
4645
4443
4241
4039
5251
5049
48
62
59 60
57 58
55 56
53 54
63 64
61
DATA 0
DATA 1
DATA 2
DATA 3
DATA 4
DATA 5
DATA 6
DATA 7
DATA 8
DATA 9
DATA 10
DATA 11
DATA 12
DATA 13
DATA 14
DATA 15
BYTE EN1 LOW#
BYTE EN1 HIGH#
OE#
ADDRESS 00
ADDRESS 01
ADDRESS 02
ADDRESS 03
ADDRESS 04
ADDRESS 05
ADDRESS 06
ADDRESS 07
ADDRESS 08
ADDRESS 09
ADDRESS 10
ADDRESS 11
ADDRESS 12
ADDRESS 13
ADDRESS 14
ADDRESS 15
ADDRESS 16
ADDRESS 17
Digital Ground
WE#
CE1#
Digital Ground
DATA 27
DATA 28
DATA 29
DATA 30
DATA 31
BYTE EN2 LOW#
BYTE EN2 HIGH#
CE2#
Digital Ground
DATA 16
DATA 17
DATA 18
DATA 19
DATA 20
DATA 21
DATA 22
DATA 23
DATA 24
DATA 25
DATA 26
Digital Ground
[Figure 3-7. PCI-EK01 JH1 Connector Pin-out]

PCI-EK01 Users Manual (Rev 1.0)
-20- http://www.daqsystem.com
[JP1 Description]
It is connected to 82C55 I/O port. It have three 8bits Port (A/B/C), can use input or output
according to program setup. You can see “PORTB DRV 0” ~ “PORTB DRV 7” like under Figure 3-8.
This is connected by driver that applied a lot of current. (Refer to Schematic)
3
109
87
6
1 2
5
4
19
1817
1615
1413
1211
2423
2221
20
PVCC(+3.3V/5V)PVCC(+3.3V/5V)
33
3231
3029
2827
2625
3837
3635
34
4039
PORTB 0
PORTB 1
PORTB 2
PORTB 3
PORTB 4
PORTB 5
PORTB 6
PORTB 7
Digital Ground
PORTC 0
PORTC 1
PORTC 2
PORTC 3
PORTC 4
PORTC 5
PORTC 6
PORTC 7
Digital Ground
PORTA 0
PORTA 1
PORTA 2
PORTA 3
PORTA 4
PORTA 5
PORTA 6
PORTA 7
Digital Ground
PORTB DRV 0
PORTB DRV 1
PORTB DRV 2
PORTB DRV 3
PORTB DRV 4
PORTB DRV 5
PORTB DRV 6
PORTB DRV 7
EXT RESET
Digital Ground
[Figure 3-8. PCI-EK01 JP1 Connector Pin-out]
Table of contents
Other DAQ PCI Card manuals