Analog Devices AN628 Application Notes

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

7 STEPS TO EVALUATION KIT SETUP

The ADN2850 evaluation kit (EVAL-ADN2850-25) con­sists of a demonstration board and software for evaluating the ADN2850. It is a user-friendly tool that
1.
INSTALL THE ADN2850 SOFTWARE
2. INSTALL THE DRIVER
3. CONNECT THE PARALLEL PORT CABLE
4. CONFIGURE THE EVALUATION BOARD
you can control with your personal computer through the printer port. The driving program is self-contained, so no programming languages or skills are needed. Figure 1 provides an overview of how to set up the kit.
6. OPEN THE ADN2850 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-628

SETTING UP THE ADN2850 EVALUATION BOARD

Step 1—Installing the ADN2850 Software

To install the ADN2850 software from the Revision G CD, run setup.exe under D:\ADN2850 Evaluation Soft­ware 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 success­ful installation.

Step 2—Installing the Driver for PC Parallel Port Communications

In addition to installing the ADN2850 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-628
b.Locate Non-Plug and Play Drivers and dlportio in the Device Manager.
If the Non-Plug and Play Drivers entry is not visible, 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 Automatic, 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 department. You may need to consult them to change your PC administrative setting.
REV. 0
–3–
AN-628
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 –5V pin to V
of U1 and U3.
SS
Warning: Apply +2.5 V to Pin +5V and –2.5 V to Pin –5V 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 ADN2850 evaluation board according to Step 4 for a single supply or for dual supplies.

Step 6—Using the Evaluation Board

To open the ADN2850 software program, from Windows click Start Programs ADN2850 Rev G.
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 ADN2850 evaluation board.

Step 3—Connecting the Parallel Port Cable

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

Step 4—Configuring the Evaluation Board

Follow these requirements to configure the ADN2850 evaluation board:
For a single supply, connect JP14 and JP13 to
ground V
of U1 and U3. Apply 5 V to Pin +5V.
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 ADN2850 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 ADN2850 source code, send email to alan.li@analog.com for more information.
–4–
REV. 0
AN-628
Figure 2. ADN2850 Software Graphical Interface
REV. 0
–5–
Loading...
+ 11 hidden pages