MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Podręcznik Użytkownika Strona 203

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 575
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 202
Exporting Filter Coefficients to Your Code Composer Studio Project
Expor ting Filter Coefficients to Your Code Composer Studio
Project
In this section...
“Exporting Filter Coefcients from FDAT oo l to the CCS IDE Editor” o n
page 5-9
“Reviewing ANS I C Header F ile Contents” on pa ge 5-12
Exporting Filter Coefficients from FDATool to the CCS
IDE Editor
In th is section , you e xp ort lter coefcients to a project by generating an
ANSI C header le that contains the coefcients. The header le denes
global arrays for the lter coefcients. When you compile and link the project
to which you added the header le, the linker allocates the global arrays in
static memory locations in processor memory.
Loading the executable le into your process or allocates enough memory
to store the exported lter coefcients in proce ssor memory and writes the
coefcients to the allocated memory.
Use the followin g s tep s to export lter coefcients from FDATool to the CCS
IDE text editor.
1 Start FDATool by entering fdatool at the MATLAB command prompt.
fdatool % Starts FDATool.
2 Design a lter with the same structure, length, design method,
specications, and data type you implemented in your source co de lte r
algorithm.
The following gure shows a Direct-form II IIR lter example that uses
second-order sections.
3 Click Store Filter to store your lter design. S toring the lter allows
you to recall the design to modify it.
5-9
Przeglądanie stron 202
1 2 ... 198 199 200 201 202 203 204 205 206 207 208 ... 574 575

Komentarze do niniejszej Instrukcji

Brak uwag