Sie sind auf Seite 1von 22

Introduction to

What is CCS?
Code Composer Studio (CCStudio) is an
integrated development environment (IDE) for
Texas Instruments (TI) embedded processor
families.
Equipped with a suite of tools used to develop
and debug embedded applications.
CCS is built on the Eclipse open source
software framework and utilizes advanced
embedded debug capabilities from TI.
Why CCS?
Working with Microprocessors ,
Microcontrollers and Digital Signal Processors
Assembly level coding or C-programming.
Programming a vast varieties of devices like
ARM, TIs DS processors including various
development boards.
Code
Development Flow
Architecture of DSP
TMS320C6713 DSP Features
32 bit instruction cycle.
Typical 225 MHz, up to 300 MHz clock frequency.
2400 MIPS / 1800 MFLOPS instruction processing.
4xALU and 2x32-Bit MAC functional unit.
4KB Level1 program cache, 4KB Level1 data
cache, 256KB Level2 data cache.
32 bit external memory interface up to 512 MB
addressable external memory space.
2xI2C ports, 2xMCBSP (SPI) ports, 2x32-Bit timers
TMS320C6713 Development Kit
Features
A Texas Instruments TMS320C6713 DSP operating at 225 MHz
An AIC23 stereo codec.
16 MB synchronous DRAM.
512 KB non-volatile Flash memory (256 KB usable in default
configuration).
4 user accessible LEDs and DIP switches
Software board configuration through registers implemented in
Complex Programmable Logic Device (CPLD).
Configurable boot options.
Standard expansion connectors for daughter card usage.
JTAG emulation through on-board JTAG emulator with USB host
interface or external emulator.
Single voltage power supply (+5V).

Functional block diagram of the software
development kit C6713 DSK
Getting Started with CCS5
Workbench refers to the main CCSv4 GUI window
CCS has Two Perspectives namely
Edit Perspective
Debug Perspective
Projects are folder based
Files can be added by copying into the projects folder or
Linked to their location (use of dependencies).
Create New Project:
File->New->CCS Project
Need to Do:-------
1.Create Project
2.Create Target
configuration file
3.Create DSP/BIOS
configuration file
4.Create Source file
Give a name and select
location for project
Select project type as C600 and
check both debug and Release
configuration
Additional
Project settings
Configuring workspace settings can be done
in this step: Changing preferences in
appearance, coding style, editor, debugger,
file types etc
Project Settings: Select Output
Type, Device, Endianness, Output
format and Linker.
Select an empty/example
project and click finish.
Create New Target
Configuration file
Right click on the project
name in project tree
->New->Target
configuration File
Choose appropriate Device and Endianness
We use TMS320C6713 So
device=C6713, little Endian
Create DSP/BIOS
Configuration file
Right click on the project
name in project tree
->New->DSP/BIOS
configuration File
Select appropriate DSP/BIOS
configuration file
There are different variant of DSP
kits with C6713. Choose
appropriate clock frequency and
SDRAM size.
Configuration complete window:
Users have the freedom to alter the configuration settings according
to their requirements
Create source file, Build, Debug and
Run Project
To create the source file, right click on the name
of your project on the project tree. Select "New-
>Source File.
Enter a name to your source file with an
extension .c and Click on "Finish".
After completion of writing the code, follow
these
Project->Build Active Project
Target->Debug Active Project
On debug window press RUN
A sample project tree
THANK YOU

Das könnte Ihnen auch gefallen