User`s guide

9
4 - Software
A number of software tools has been used and evaluated for this report, giving the user two
main alternatives when programming – either using Code Composer Studio (CCS) for
traditional coding, or modeling in Simulink. The specific programs and plugins used are:
Code Composer Studio v3.1
MATLAB R2007a
Simulink v6.6
Embedded IDE Link CC v3.0 (Link for Code Composer Studio)
Target Support Package TC2
The Code Composer Studio suite gives the user the choice of writing every row of code in
either c/c+ or assembler language, it is also in charge of the software-to-hardware handling.
Since most of the work in this report have been made through Simulink and automatic c-code
generation using the target- and link-package, CCS has more or less been reduced to a mere
compiler. It is nonetheless quite a powerful tool and a quick guide can be found in the
appendix section of this report.
The CCS v3.1 is shipped with a F2812-emulator – something which might prove itself useful
should the hardware be unavailable. All tested features in this report has however been
performed using the eZdsp F2812 from Spectrum Digital. It should also be noted that CCS is
compatible with a wide range of DSPs should one have second thoughts regarding the
suitability of the current DSP. Regarding the software compatibility CCS v3.1 is compatible
with Embedded Link CC v1.5-v3.0, in other words MATLAB R2006a-R2007a. For newer
releases of MATLAB, CCS v3.3 is required.
The screenshot below depicts CCS 3.1 in action. To the left the “Project window” with the
open project and all its associated files shown in a standard directory structure. The main part
of the screen is taken up by the “Program window”, allowing the user to view and edit opened
files. The “Output window” in the bottom left corner of the screen relays error messages and
warnings during and after compiling of projects. To the right of the “Output window” lays the
“Watch window”, an extremely useful tool when evaluating models due to the ability watch
variable values in realtime.