User`s guide

Preparing to E xport F ilter Coefficients to Code Co mposer Studio™ Projects
type to suggest, refer to “How FDATool Determine s the Export Suggested
Data Type” on page 5-7.
Follow these best-practice gu idelines when you implement your lter
algorithm in source code and design your lter in FDATool:
Implement your lter using one of the data types FDATool exports w itho ut
modications.
Design your lter in FDATool using the data type you used to implement
your lter.
To Choose the Export Data Type
When you export your lter, follow this procedure to select the e xport data
type to en s ure the exported lter coefcients closely match the coefcients of
your lter in FDATool.
1 In FDATool, select Targets > Code Composer Studio IDE to open the
Export to Code Composer Studio IDE dialog box.
2 Perform one of the following actions:
Select Export suggested to export the coefcients in the suggested
data type.
Select Export as and choose the data type your lter requires from
the list.
Caution If you select Export as,theexportedlter coefcients can be
very different from the lter coefcients in FD AT ool. As a result, y our
lter cutoff frequencies and performance may not match your design
in FDATool.
How FDATool Determines the Export Suggested Data Type
By default, FDATool represents lter coefcients as double-precision
oating-point data. When you export your lte r coefcients, FD ATool
suggests the same data type.
5-7