0% found this document useful (0 votes)
46 views

Advanced Discrete Time Filters

The document provides steps to design and implement a finite impulse response (FIR) filter on a DSK6713 board using Code Composer Studio and MATLAB. The steps include: 1. Connecting a function generator and oscilloscope to the DSK board. 2. Creating a Code Composer Studio project, adding source files and libraries. 3. Compiling and loading the program onto the DSK chip. 4. Using the Filter Design toolbox in MATLAB to design filter coefficients and generate C header code. 5. Saving the filter coefficients header file in the Code Composer Studio project folder.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

Advanced Discrete Time Filters

The document provides steps to design and implement a finite impulse response (FIR) filter on a DSK6713 board using Code Composer Studio and MATLAB. The steps include: 1. Connecting a function generator and oscilloscope to the DSK board. 2. Creating a Code Composer Studio project, adding source files and libraries. 3. Compiling and loading the program onto the DSK chip. 4. Using the Filter Design toolbox in MATLAB to design filter coefficients and generate C header code. 5. Saving the filter coefficients header file in the Code Composer Studio project folder.
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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