Specifications

4-1
Chapter 4
Testing Algorithms and Data from a File
This chapter shows the process for creating and testing a simple algorithm
and introduces additional Code Composer Studio features.
In this chapter, you create a program that performs basic signal processing.
You expand on this example in the following two chapters.
You create and test a simple algorithm using data stored in a file on your PC.
You also use Probe Points, graphs, animation, and GEL files with Code
Composer Studio.
4.1 Opening and Examining the Project . . . . . . . . . . . . . . . . . . . . . . . . . 42
4.2 Reviewing the Source Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
4.3 Adding a Probe Point for File I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.4 Displaying Graphs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4.5 Animating the Program and Graphs . . . . . . . . . . . . . . . . . . . . . . . . 410
4.6 Adjusting the Gain. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
4.7 Viewing Out-of-Scope Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
4.8 Using a GEL File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
4.9 Adjusting and Profiling the Processing Load. . . . . . . . . . . . . . . . . 416
4.10 Things to Try . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418
4.11 Learning More . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418
Topic Page