Introduction TMS320C6713

of 18 /18
Introduction to Introduction to TMS320C6713 TMS320C6713 DSP DSP Starter Kit Starter Kit ( ( DSK) DSK)

Embed Size (px)

Transcript of Introduction TMS320C6713

Introduction to TMS320C6713 DSP Starter Kit (DSK)

Introductiony y y y y y

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 floatingpoint DSP. VLIW architecture. low-cost standalone development platform that enables users to evaluate and develop applications for the TI C67xx DSP family.


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 Overviewy

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 onboard AIC23 codec and four 3.5 mm audio jacks (microphone input, line input, line output, and headphone output).

y y



A programmable logic device called a CPLD is used to implement glue logic that ties the board components together The DSK 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)y

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. It has 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. The assembler assembles an.asm source file to produce a machine language object file with extension.obj.






The linker combines object files and object libraries as input to produce an executable file with extension .out. This executable file can be loaded and run directly on the C6713 processor.


Code Composer Studio - ExampleCCS is TIs proprietary IDE that provides a transition between a high-level DSP program and an on-board machine language program. y It is used to:y

Generate programs for the C6713 DSP using C language, Load them into the DSK, Run them, Monitor program execution.11

Code Composer Studio - ExampleMake sure DSK is connected to PC via USB and to power outlet before opening CCS. y Open CCS by double clicking on the CCS icon y To connect to the DSK, go to: Debug Connect. y To start a new project, go to: Project NewyChoose Appropriate DSP Family12

Code Composer Studio - ExampleAdd C source file to dsplab.c: y Add a linker command (.cmd)y

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.y

Add the run-time support library functions file rts6700.lib to the project


Code Composer Studio - Exampley

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.


Debugging featuresy

Setting breakpoints 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/directoriesy y y y y y y y

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.

Assignmentsy 1.

WRITE C PROGRAM AND SIMULATE USING THE KIT TMS320C6713LINEAR CONVOLUTION OF ANY TWO GIVEN SEQUENCESEx: 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};


CIRCULAR CONVOLUTION OF ANY TWO GIVEN SEQUENCESEx: 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};


TO OBTAINEx: N = 4 and x[4]={1,2,3,4};



TO FIND THE DIFFERENCE EQUATION OF THE GIVEN SYSTEMEx: 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.