User`s guide

5 Exporting F ilter Coefficients from FDATool
About FDATool
Signal Processing Toolbox™ software provides the Filter Design and Analysis
tool (FD ATo ol) that lets you design a lter and then export the lter
coefcients to a matching lter implemented in a CCS project.
Using FDATool with CCS IDE enables you to:
Design your lter in FDATool
Use CCS to test your lter on a processor
Redesign and optimize the lter in FDATool
Test your redesigned lter on the pro cesso r
For instructions on using FDATool, refer to the section “Filter Design and
Analysis Tool” in the Signal Processing Toolbox documentation.
Procedures in this chapter demo n stratehowtousetheFDAToolexport
options to export lter coefcie nts to CCS. Using these procedures, you can
perform the following tasks:
Export lter coefcients from FD AT ool in a header le— “Exporting Filter
Coefcients from FDATool to the CCS IDE Editor” o n page 5-9
Export lte r co efcients from FDATool to processor memory—“Replacing
Existing Coefcients in Memory with Updated Coefcients” on page 5-16
Caution As a b est practice, export coefcients in a header le for the most
reliable results. Exporting coefcients directly to processor m emory can
generate unexpected results o r corrupt memory.
Also see the reference pages for the following E mbedded IDE Link CC
functions. These primary functions allow you use to access variables and
write them to processor memory from the MATLAB Command window.
address R eturn the address of a symbol so y ou can read or write to it.
5-2