Digital Signal Processing Reference
In-Depth Information
•
Finally, click on
Finish
. CCS has now created a project file
filtering_signal&noise.pjt
, which will be used to build an exe-
cutable program. This file is stored in the folder
c:\ti\myprojects\
filtering_signal&noise.
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_signal&noise
. Remember header files are included by
scanning all dependencies, after all files have been added, including
source 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 files
fir.c
and the filter coefficient file
bandpass.cof
into the project directory
c:\ti\myprojects\filtering_signal&noise
.
Step 4: Hardware setup for the filtering of two sinusoidal signals
•
Connect the experimental setup as shown in Figure 8.4
•
Generate a sinusoidal signal,
s
(
t
), of amplitude 0.5 volts and fre-
quency of 3 KHz, using the HP 3324A Signal Generator. Check the
output of the generator on the HP 35665A Dynamic Signal Analyzer,
and make a plot of the pure sinusoidal signal on the printer.
HP 35665A
Dynamic
Signal
Analyzer
TMS320C6711
DSK
(Bandpass
filter)
HP 3324A
Signal
Generator
Signal 1:
s(t)
+
HP 35665A
Dynamic Signal
Analyzer
Noise:
n(t)
FIGURE 8.4
Experimental setup for filtering of a noisy signal.