Datasheet

EVAL-AD7328CB
Rev. 0 | Page 9 of 16
SETTING UP THE EVAL-CONTROL-BRD2
This section describes how the evaluation board, the
EVAL-CONTROL-BRD2, and the software should be set up
for the user to begin using the complete system.
The EVAL-CONTROL-BRD2 and evaluation board should
be connected together (via the 96-way connector). The power
should be applied to the EVAL-CONTROL-BRD2 via a
12 V ac transformer. At this stage, the red LED on the EVAL-
CONTROL-BRD2 should be flashing, which indicates that the
EVAL-CONTROL-BRD2 is functional and ready to receive
instructions. The software should be loaded before the printer
port cable is connected between the EVAL-CONTROL-BRD2
and the PC. This ensures that the printer port is initialized
properly. The printer port can then be connected between the
PC and the EVAL-CONTROL-BRD2.
Running the Software
With the hardware set up, the user can now use the software
to control the EVAL-CONTROL-BRD2 and the AD7328
evaluation board.
When running the software, click the Device Select button.
This displays the Load Configuration dialog box (as shown in
Figure 4). The Select a Configuration File: list located on the
top left of the Load Configuration dialog box lists the available
configuration files. The configuration files are text-based files that
contain information about the particular evaluation board to be
tested. The file covers the Part Name, number of samples (Num
Samples) to be taken, number of bits (Num Bits), default and
maximum sampling frequency (Sample Frequency and Max
Sample Frequency), power supply settings (Input V Max and
Input V Min), and Data Format. The configuration file also
contains the names of the DSP code *.prg that is to be
downloaded to the EVAL-CONTROL-BRD2. The user should
select the relevant configuration file and click OK. The EVAL-
CONTROL-BRD2 is reset, and the DSP program is downloaded.
When the download is completed, the power supply settings
indicated in the configuration file are set, and the user may hear
some of the relays clicking. The selection windows (for example,
Num Samples and Sample Frequency) will be set to the default
values specified by the configuration file. However, the user is
free to change these at will.
Taking Samples
When the user clicks Sample, the software instructs the EVAL-
CONTROL-BRD2 to take the required number of samples at
the required frequency from the evaluation board.
The samples taken are then uploaded and displayed. An FFT
and histogram are also calculated and displayed. If the user
clicks Continuous, the software will repeat the process
indefinitely until the user clicks Stop.
SOFTWARE CONFIGURATION FILES
Software configuration files give the EVAL-CONTROL-BRD2
software information on how the software and hardware should
perform. They contain information such as the name of the
DSP program to download, the default and maximum sample
frequencies, the number of samples to take, and the power
supply settings to use. A typical software configuration file
(*.cfg) follows.
[EVAL-CONTROL BOARD]
partname:AD7328
programname:ad7328.PRG
samplefrequency:100000
maxsamplefrequency:1000000
samples:2048
+/-12V:on
dvdd:5:on
avdd:5:on
bus:on
;options 2scomp, binary
dataformat:2scomp
numberofbits:13
inputVmax:+10V
inputVmin: -10V
[endofconfig]
CONFIGURING THE ANALOG INPUTS FOR SINGLE-
ENDED AND DIFFERENTIAL OPERATION
To select between single-ended and differential operation, click
the Control Reg button in the main dialog box and set the
Mode1 bit and Mode0 bit according to the
AD7328 data sheet.
The power-up default setting is single-ended mode, and the
analog input on the evaluation board is set for this mode.
Figure 5
shows the Control Reg setup for true differential mode.
06230-005
Figure 5.