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 filter and then export the filter
coefficients to a matching filter implemented in a CCS project.
Using FDATool with CCS IDE enables you to:
• Design your filter in FDATool
• Use CCS to test your filter on a processor
• Redesign and optimize the filter in FDATool
• Test your redesigned filter 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 filter coeffi cie nts to CCS. Using these procedures, you can
perform the following tasks:
• Export filter coefficients from FD AT ool in a header file— “Exporting Filter
Coefficients from FDATool to the CCS IDE Editor” o n page 5-9
• Export filte r co efficients from FDATool to processor memory—“Replacing
Existing Coefficients in Memory with Updated Coefficients” on page 5-16
Caution As a b est practice, export coefficients in a header file for the most
reliable results. Exporting coefficients 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