Introduction to
TMS320C6713 DSP Starter Kit (DSK)
Introduction
The TI's TMS320C6713 DSK is designed and
optimized to perform digital signal processing
operations.
For short this DSP will be referred to as
'C6713.
The family of this DSP is referred to as 'C6x or
'C6000.
'C6713 is a high performance 32-bit floating-
point DSP.
VLIW architecture.
low-cost standalone development platform that
enables users to evaluate and develop
applications for the TI C67xx DSP family.
Purpose
Start
getting familiar with TI's
TMS320C6713 by learning the following.
◦ An overview of the functional blocks of the
board.
◦ Code Composer Studio (CCS).
◦ Writing, compiling and running a simple code.
Diagram of TMS320C6713 DSK
Board diagram
Functional Overview
Interfaces
to on-board peripherals through a 32-bit wide
EMIF (External Memory Inter Face).
The SDRAM, Flash and CPLD are all connected to the bus.
EMIF signals are also connected daughter card expansion
connectors which are used for third party add-in boards.
The DSP interfaces to analog audio signals through an on-
board AIC23 codec and four 3.5 mm audio jacks
(microphone input, line input, line output, and headphone
output).
Contd…
A programmable logic device called a CPLD is used to
implement glue logic that ties the board components
together
TheDSK includes 4 LEDs and a 4 position DIP switch as a
simple way to provide the user with interactive feedback
Code
Composer communicates with the DSK through an
embedded JTAG emulator with a USB host interface
Programming the
TMS320C6713
Simplified Code Composer Studio IDE Development Flow
Code Composer Studio (CCS)
CCS provides an IDE to incorporate the software tools.
CCS includes tools for code generation, such as a C
compiler, an assembler, and a linker.
Ithas graphical capabilities and supports real-time
debugging
The C compiler compiles a C source program with
extension .c to produce an assembly source file with
extension .asm.
Theassembler assembles an.asm source file to produce a
machine language object file with extension.obj.
Contd…
The linker combines object files and object libraries as
input to produce an executable file with extension .out.
Thisexecutable file can be loaded and run directly on the
C6713 processor.
Code Composer Studio - Example
CCS is TI’s proprietary IDE that provides a
transition between a high-level DSP program
and an on-board machine language program.
It is used to:
◦ Generate programs for the C6713 DSP using C
language,
◦ Load them into the DSK,
◦ Run them,
◦ Monitor program execution.
11
Code Composer Studio - Example
Make sure DSK is connected to PC via USB
and to power outlet before opening CCS.
Open CCS by double clicking on the CCS
icon
To connect to the DSK, go to: “Debug →
Connect”.
To start a new project,
go to: “Project → New…”
Choose Appropriate
DSP Family
12
Code Composer Studio - Example
Add C source file to “dsplab.c”:
Add a linker command (.cmd)
◦ linker command file - sets up the memory map
for the CCS linker to make sure the code and
data are loaded to the desired locations.
Add the run-time support library functions
file rts6700.lib to the project
13
Code Composer Studio - Example
Now,
◦ Compile code: “Project → Compile File”,
◦ Build project: “Project → Build”,
◦ Load program to DSK: “File → Load Program”
and choose “.out” file in “Debug” folder,
◦ Run the program on DSP: “Debug → Run”.
14
Debugging features
Settingbreakpoints and watching variables;
viewing memory, registers, and mixed C and
assembly code;
Graphing results; and monitoring execution
time.
One can step through a program in different
ways (step into, over, or out).
Useful sub folders/directories
myprojects: a folder supplied for your projects.
bin: contains many utilities.
docs: contains documentation and manuals.
c6000\cgtools: contains code generation tools.
c6000\RTDX: contains support files for real-time
data transfer.
c6000\bios: contains support files for DSP/BIOS.
examples: contains examples included with CCS.
tutorial: contains additional examples supplied
with CCS.
Assignments
WRITE C PROGRAM AND SIMULATE USING THE KIT
TMS320C6713
1. LINEAR CONVOLUTION OF ANY TWO GIVEN SEQUENCES
Ex:
Input Signal Samples – {10,11,12,13,14,15,0,0,0,0,0,0};
Impulse Response Co-efficients - {10,11,12,13,14,15,0,0,0,0,0,0};
2. CIRCULAR CONVOLUTION OF ANY TWO GIVEN SEQUENCES
Ex:
Input Signal Samples – {10,11,12,13,14,15,0,0,0,0,0,0};
Impulse Response Co-efficients - {10,11,12,13,14,15,0,0,0,0,0,0};
3. TO OBTAIN DFT FOR A GIVEN SEQUENCE
Ex:
N = 4 and
x[4]={1,2,3,4};
4. TO FIND THE DIFFERENCE EQUATION OF THE GIVEN
SYSTEM
Ex:
Let, M=N=5
b[5] = {1, -0.7478, 0,0,0.2722};
a[5] = {0.1311, 0.2622, 0.1311,0,0}; and x[7] = {1,0,0}
Thank You….