Chapter 1 Getting Started
Chapter 1 Getting Started
Getting Started
Texas Instruments University Programme Teaching Materials
0-1
Getting Started
Chapter 1 - Slide 2
Objectives
To build your first project using the TMS320C5505 USB Stick. Playback music using the TMS320C5505 USB stick.
Chapter 1 - Slide 3
Important
Follow the steps carefully! If the wrong memory models are used, the project will not build.
Chapter 1 - Slide 4
Compatibility
All of the applications provided on this teaching CD will also run on the TMS320C5505 and TMS320C5515 USB Stick without modification. To run the applications on the older TMS320VC5505 USB stick, it is necessary to make a change to the file csl_general.h
Chapter 1 - Slide 5
USB to PC
CD Player Headphones
Chapter 1 - Slide 6
Microphone Headphones
Chapter 1 - Slide 7
Compatible Microphone
A 600 Ohm dynamic microphone is recommended. A low-cost karaoke microphone can be used.
Chapter 1 - Slide 8
Microphone Adaptor
The USB stick uses a 3.5mm stereo jack For a 6.35mm jack (microphone or guitar), an adaptor is required.
Chapter 1 - Slide 9
Workspace
Code Composer Studio creates a workspace, that is a folder where projects are stored
Chapter 1 - Slide 10
Chapter 1 - Slide 11
Chapter 1 - Slide 12
Chapter 1 - Slide 13
Chapter 1 - Slide 14
Chapter 1 - Slide 15
Chapter 1 - Slide 16
Chapter 1 - Slide 17
Chapter 1 - Slide 18
Chapter 1 - Slide 19
Select TMS320C5505
From the pull-down menu, select TMS320C5505 Note: This and others windows may look slightly different, depending on the release version of CCS 4.
Chapter 1 - Slide 20
Chapter 1 - Slide 21
Chapter 1 - Slide 22
Active Project
The the C/C++ Projects window, MyFirstProject is the Active Project for Debug.
Chapter 1 - Slide 23
Chapter 1 - Slide 24
View main.c
Double left click on main.c to open the main.c file.
Chapter 1 - Slide 25
Chapter 1 - Slide 26
Chapter 1 - Slide 27
Chapter 1 - Slide 28
Basic Options
Click on Basic Options.
Chapter 1 - Slide 29
Chapter 1 - Slide 30
Chapter 1 - Slide 31
Chapter 1 - Slide 32
Chapter 1 - Slide 33
Chapter 1 - Slide 34
Chapter 1 - Slide 35
Chapter 1 - Slide 36
Chapter 1 - Slide 37
Build Complete
Console windows shows build is complete Problems window should contain no errors or warnings.
Chapter 1 - Slide 38
Chapter 1 - Slide 39
Chapter 1 - Slide 40
Chapter 1 - Slide 41
Launch TI Debugger
Select Target -> Launch TI Debugger
Chapter 1 - Slide 42
Chapter 1 - Slide 43
Chapter 1 - Slide 44
Chapter 1 - Slide 45
Chapter 1 - Slide 46
Chapter 1 - Slide 47
Chapter 1 - Slide 48
Chapter 1 - Slide 49
Debugging MyFirstProject
XDS100 USB Emulator is debugging MyFirstProject.
Chapter 1 - Slide 50
Go to main()
Arrow shows that the program is ready to run from the beginning of main().
Chapter 1 - Slide 51
Run Program
Select Target -> Run.
Chapter 1 - Slide 52
Program Running
The following text is shown in the Console Window:
Chapter 1 - Slide 53
Chapter 1 - Slide 54
Modifying C Code
Chapter 1 - Slide 55
Before Modification
main.c before modification
Chapter 1 - Slide 56
After Modification
main.c after modification. Change gain of channels.
Chapter 1 - Slide 57
Chapter 1 - Slide 58
Chapter 1 - Slide 59
Chapter 1 - Slide 60
Summary
Chapter 1 - Slide 61
Summary
You have now learnt how to set up the TMS320C5505 USB Stick
All of the other applications are self-contained, so if you have a specific interest, you can go straight to that application
It is recommended that the chapters be followed in sequence because some of the later chapters use concepts explained earlier.
Chapter 1 - Slide 62