Digital Signal Processing Reference
In-Depth Information
•
In the field
Project Type
, verify that
Executable (.out)
is selected,
and in the field
Target
, verify that
TMS320C67XX
is selected.
•
Finally, click on
Finish
. CCS has now created a project file
filtering_audio.pjt
, which will be used to build an executable
program. This file is stored in the folder
c:\ti\myprojects\
filtering_audio.
The .
pjt
file stores project information on build
options, source filenames, and dependencies.
•
Loading the support files
Add the following support files to the project
c:\ti\myprojects\
filtering_audio
. After adding all files, including source files, scan all
dependencies to include header files.
•
C6xdsk.cmd
•
C6x.h
•
C6xdskinit.c
•
Vectors_11.asm
•
C6xdsk.h
•
C6xinterrupts.h
•
C6xdskinit.h
•
rts6701.lib
•
Loading the program files
Add the C source file
Fir4types.c
into the project. The four filter
coefficient files
lowpass.cof, highpass.cof, bandpass.cof,
and
band-
stop.cof
will be automatically included into the project upon scan-
ning all dependencies
.
Step 4: Hardware setup for the filtering of audio signals
•
•
Connect the hardware components, as shown in
Figure 8.5
.
Set the AM/FM radio receiver at a clearly received audio station,
such as FM 92.5 or AM 1320, for example. It would be typical to try
this experiment for one
voice
signal and one
music
signal.
•
Connect the radio received
audio output
directly to the speaker and
check the audio output on the speaker.
•
Also take a printout of the frequency spectrum of the signal on the
Signal Analyzer, in a frequency range of 0-25 KHz.
•
Now connect the system again, as shown in Figure 8.5, to include
the 'C6711 DSK.
Step 5: Running the DSK and making measurements
•
Go to
Project
pull-down menu in the
CCS window
, and then select
Build
(or press the button with three red down arrows on the top
toolbar in the CCS window). A new subwindow will appear on the
bottom of the CCS window. When building is complete, you should
see the following message in the new subwindow: