![](http://datasheet.mmic.net.cn/380000/CLC-CAPT-PCASM_datasheet_16752353/CLC-CAPT-PCASM_5.png)
5
http://www.national.com
Verify the connections and, if necessary, try the other
COM port. (Note that you must have a clock applied to
the ADC Evaluation board during this communication
veri
fi
cation stage. Check to make sure that either an
external clock or the TTL oscillator is installed, and that
LED6 is on at reduced intensity.) Once you get a proper
exit from this step, you are ready to con
fi
gure the capture
board. Right click on the capture control panel, then left
click on
“Configure Capture.”
screen:
You will see the following
To con
fi
gure the capture board for direct capture of a
contiguous 32k point record of ADC output codes, click
on the selections shown above. Left click on
Debug”
and select
“Upper 18 Bits.”
selections may seem rather cryptic when you are simply
capturing ADC data. The label names are derived from
functions in the DRCS and CLC5902, so they might
seem out of context for ADC capture uses. Don
’
t worry
about the label names, just make sure you have selected
the modes as shown above. Then click on
“Capture
The names of these
“OK.”
One
fi
nal con
fi
guration remains. You need to tell the
program where to store your data. Right click on the
capture control panel, then left click on
File.”
You will see the following menu:
“Change Data
By left clicking on the little box to the right of the text entry
window, you can select any disk, directory, and
fi
le name
that suits you. However, we recommend that you start
with the default
fi
le name and location shown. Click on
“Default”
C:\temp directory, please make one. The reason for this
is that the Matlab script
fi
les for data analysis look
automatically for the
fi
le
C:\temp\data.dat
store the data elsewhere, you will need to modify the
Matlab m-
fi
les to look for your data
fi
le in a different
location. Obviously, if you are using your own software
for data analysis this is not a concern.
and then on
“OK”
. If you do not have a
. If you wish to
Capture Data!
We are
fi
nally ready to capture data from the ADC. As a
fi
nal check, you can move the mouse until it is on top of
the progress bar (the big bar on the data capture control
panel that now reads (0%). You should see a little yellow
box appear that con
fi
rms your capture settings.
Now, simply left-click on the
control panel to start the process. You will see LED 2 light
up on the board, and the bar at the top of the capture
control panel will show the progress of the data transfer.
At 52MSPS, the 32768 samples are collected in only 630
microseconds; the rest of the time is the serial port trans-
fer. Typical times for this transfer are on the order of 10 to
15 seconds. To analyze the data using the Matlab M
fi
les
that we have provided, please start Matlab at this time. To
include the provided script
fi
les in your Matlab path, type
the following command at the Matlab command prompt:
“Start”
button on the capture
>> path(path,’c:\nsc\mfiles’)
Alternatively, you can change directories at the Matlab
prompt until this is the current directory. From the Matlab
command prompt, type
“analysis_menu”
up the following menu:
. This will bring