You are on page 1of 3

ADVANCED DISCRETE TIME FILTER ( FIR )

 
PROCEDURE 
1. Connect DSO / Spectrum Analyser to the LINE OUT socket. 
2. Give Sine wave from the Arbitrary Function Generator to the LINE IN socket. 
3. Now switch ON the DSK and bring up Code Composer Studio on PC 
4. Create a new project with name firfilter.pjt 
5. From File menu   New   DSP/BIOS Configuration   Choose “dsk6713.cdb” from the list  
    and save the configuration as “xyz.cdb” in the same folder as the project. 
6. Add xyz.cdb to the current project 
7. Create a new source file and save it as firfilter.c 
8. Add the source file firfilter.c to the project 
9. Add the library file “dsk6713bsl.lib” to the project the path is C:\CCStudio\C6000\dsk6713\  
    lib\dsk6713bsl.lib 
10. Select menu   Project   Build options Select ‘Compiler’ tab  select ‘Preprocessor’ 
      from the given menu to the ‘Include Search’ path text box add path C:\CCStudio \C6000\  
      dsk6713\ include   
11. Build (F7) and Compile File (Ctrl+F7) 
12. Load the program to the DSP Chip   File  Load Program 
13. Run the program (F5) 
13. Give Sine wave from the Arbitrary Function Generator and output in the DSO / Spectrum   
       Analyser 
 
Procedure for Generating Filter Coefficients in MATLAB 
 
1. Open Matlab 
2. Start   Toolboxes   Filter Design  Filter Design & Analysis Tool 

 
 
3. Select the filter type and give the order and specifications for the filter and click Design filter
 

4. Select men Targets option select Code Composer Studio (r) IDE

   

 
5.Save the configuration as “firfilter.h” in the project  folder. 
 

You might also like