Analog Devices AN627 Application Notes

AN-627
APPLICATION NOTE
One Technology Way • P.O. Box 9106 • Norwood, MA 02062-9106 • Tel: 781/329-4700 • Fax: 781/326-8703 • www.analog.com
AD5235 Evaluation Kit User Manual
by Alan Li

7 STEPS TO EVALUATION KIT SETUP

The AD5235 evaluation kit (AD5235EVAL25) consists of a demonstration board and software for evaluating the AD5235. It is a user-friendly tool that you can control
1.
INSTALL THE AD5235 SOFTWARE
2. INSTALL THE DRIVER
3. CONNECT THE PARALLEL PORT CABLE
4. CONFIGURE THE EVALUATION BOARD
with your personal computer through the printer port. The driving program is self-contained, so no program­ming languages or skills are needed. Figure 1 provides an overview of how to set up the kit.
H
AD5235
6. OPEN THE AD5235 SOFTWARE AND PROGRAM THE RESISTANCE SETTINGS
REV. 0
+5V
5. APPLY THE POWER SUPPLY
GND
Figure 1. Evaluation Kit Setup
W1
B1
7. MEASURE THE RESULT
AN-627

SETTING UP THE AD5235 EVALUATION BOARD

Step 1—Installing the AD5235 Software

To install the AD5235 software from the Revision H CD, run setup.exe under D:\AD5235 Evaluation Software Package. During the installation, select Ignore or Yes to bypass error messages if they occur. You may need to install the software a few times to get a successful installation.

Step 2—Installing the Driver for PC Parallel Port Communications

In addition to installing the AD5235 software, you need to install a third-party driver, NTPORT from Upper Canada Technologies (UCT), for access to the PC parallel port. UCT offers a free trial with a nominal license fee after 30 days.
1. Download the driver from www.uct.on.ca. From the UCT website, download NTPORT.OCX. Save ntport.zip in the default or specified directory. Unzip and extract all the files to the directory.
2. Run setup.exe. If the setup procedure indicates file violations during installation, select Ignore to bypass them.
3. Ensure that the driver file, dlportio.sys, is in the correct system directory.
Note: If Windows® displays an error message, such as “Can’t connect to service control manager,” contact the IS department for authority to continue installation.
b.Change the pathname of the driver according to
the operating system.
On a Windows 2000 or Window NT
enter c:\winnt\system32\drivers\dlportio.sys.
®
system,
On a Windows XP system, enter
c:\windows\system32\drivers\dlportio.sys.
c. Click the Install button, then the Start button. If
the status message indicates success, the driver is installed and operating. Click OK.
4. Set up the driver for automatic startup. Use the following steps that apply to your operating system.
For Windows 2000 and XP Systems
a. Go to the Device Manager.
On a Windows 2000 system, click
Start → Settings → Control Panel → System Hardware → Device Manager.
On a Windows XP system, click
Start → Control Panel → System → Hardware Device Manager.
a. Run loaddrv.exe under c:\program files\project1
or the specified directory. A dialog box appears.
–2–
REV. 0
AN-627
b.Locate Non-Plug and Play Drivers and dlportio
in the Device Manager.
If the Non-Plug and Play Drivers entry is not vis­ible, click the View menu in Device Manager and
select show Hidden Devices to make sure that hidden driver files are listed. If you do not see dlportio, reboot Windows or rerun loaddrv.exe and then reboot Windows.
c. Double-click dlportio in the Non-Plug and Play
Drivers list. The dlportio Properties page appears.
d.At the Driver tab, select Startup Type as Auto-
matic, click Current status to Start, and click OK.
Note: If Startup is not active and you cannot change Type,
your computer may be administered by your IS depart­ment. You may need to consult them to change your PC administrative setting.
REV. 0
–3–
AN-627
For Windows NT Systems
a. From the Windows NT Control Panel, select the
Devices icon. The Devices dialog box appears.
b.Select dlportio and click the Startup button. The
Device Startup Type dialog box appears. From the option buttons, select Automatic, and then click OK.
• For dual supplies, connect JP15 and JP12 to connect
the –5 V pin to V
of U1 and U3.
SS
Warning: Apply +2.5 V to Pin +5 V and –2.5 V to Pin –5 V instead.
• Select the states of PR and WP from the DIP switches
on the evaluation board.
• SDO can be monitored at TPSDO.

Step 5—Applying the Power Supply

Provide a power supply to the AD5235 evaluation board according to Step 4 for a single supply or for dual supplies.

Step 6—Using the Evaluation Board

To open the AD5235 software program, from Windows click Start Programs AD5235 Rev H.
Figure 2 shows the graphical interface. In the Direct Con­trol pane, on the right, you can move the scroll bars or click the buttons to control the device. In the top pane, you can adjust the bit pattern and then click Run to pro­gram the device. In the bottom pane, you can approximate R R
after power is applied.
AB
and RWB by first entering the measured
WA

Step 7—Measuring the Result

Use a multimeter to measure the result of your program applications on the AD5235 evaluation board.

Step 3—Connecting the Parallel Port Cable

Connect the parallel port cable from LPT1 on your PC to the AD5235 evaluation board.

Step 4—Configuring the Evaluation Board

Follow these requirements to configure the AD5235 evaluation board:
For a single supply, connect JP14 and JP13 to
ground V
of U1 and U3. Apply 5 V to Pin +5 V.
SS
Note: Some boards do not come with jumper caps. You should supply suitable caps or simply short the jumpers for proper operation.

UNINSTALLING SOFTWARE

To uninstall the AD5235 software and NTPORT driver, use Add/Remove Programs in the Control Panel.

TECHNICAL SUPPORT

Due to the variations in computer platforms and con­figurations, Analog Devices, Inc., cannot guarantee the software described in this application note to work on all systems. If you encounter problems, send email to digital.pots@analog.com or call 1-408-382-3082 for applications support. If you are interested in the AD5235 source code, send email to alan.li@analog.com for more information.
–4–
REV. 0
AN-627
Figure 2. AD5235 Software Graphical Interface
REV. 0
–5–
AN-627

EVALUATION BOARD SCHEMATIC

The general-purpose op amp AD820, U3A can be configured as various building block circuits in conjunction with the AD5235 for various circuit evaluations (see the Applications
AD5235 MAIN CIRCUIT
J1
DB25
NOTES USERS SHOULD IGNORE U1A, ADN2850CSP SIGNAL GROUND WITH NET DGND POWER GROUND WITH NET AGND
DGND
13 25 12 24 11 23 10 22
9
21
8
20
7
19
6
18
5
17
R_CS 100
4
16
R_CLK 100
3
15
R_SDI 100
2
14
1
TP/CS
TPCLK
TPSDI
ADN2850CSP
TPSDO
+5V
HEADER
HEADER
U1A
SDI16CLK15RDY14CS
1
SDO
2
GND
3
VSS
4
A1
R1 1k
1
2
3
4
5
6
7
8
JP14
JP15
(LOWER TO –2.5V IF DUAL SUPPLIES)
W15B16B2
SDI SDO GND V A1 W1
CLK
SS
7
RDY
CS PR
WP
V
W2
B1
U1B
AD5235TSSOP
C12
C13
0.1F
4.7F
section). Other op amps in PDIP can replace the AD820. For a single-supply, 2.5 V voltage reference, AD1582 can be used to offset the op amp bias point for ac operation.
+5V
+5V
13
PR
WP
VDD
A2
W2
8
16
15
14
13
12
DD
11
A2
10
9
B2
–5V
(LOWER TO +2.5V IF DUAL SUPPLIES)
R2
R3
10k
10kR410k
12
11
10
9
GND
–5V
C10
4.7F
C11
0.1F
TP/WPTP/PRTPRDY
HIGH LOW
18
27
36
45
A1
W1
B1
A2
W2
B2
S1
SW-DIP4
VI_DC
V
_AC
I
0.1F
C7
ADDITIONAL OP AMP FOR GENERAL-PURPOSE APPLICATIONS
V+ V– V
+5V
3
AD1582
V
IN
HEADER
U2
GND
V
OUT
JP5
C9
HEADER
HEADER
2
1
2.5 VREF
JP4
JP3
JP7
JP6 JP8
JP2
HEADER
C8
0.1F
2
AD820AR
3
JP1
JP9
U3A
4
–5V
+5
7
C5
0.1F
1, 5, 8
JP12 HEADER
C6
0.1F
6
Figure 3. Evaluation Board Schematic
–6–
O
JP10 JP11
JP13 HEADER
2
AD820AN
3
1
+5V
7
U3B
REPLACEABLE
4
OP AMP IN PDIP
V
O
8
6
5
REV. 0
Loading...
+ 14 hidden pages