Вы находитесь на странице: 1из 13

Fundamentals of

Programming With
DSK6713
Santhosh Kumar.S
Assistant Professor
Department of Electronics and Communication
Government Engineering College Thiruvananthapuram
http://ece.cet.ac.in/santhosh

Copyright Santhosh kumar.S


What is DSK6713 ?
► DSP Starter kit based on TMS320C6713 DSP
Processor
► 32 bit Stereo Codec TLV320AIC23
► Stereo Codec Supports Built in A/D and D/A
Conversion
► 16MB external SDRAM
► JTAG Interface for Host Computer Interface
► Cost Approximately 400$

Copyright Santhosh kumar.S


TMS320C6713 DSP BOARD
( Courtsey Texas Instruments)

Copyright Santhosh kumar.S


Inside DSK6713

► Volatage Regulator
 1.25 V for TMS320C6713 DSP Processor
 3.3 V For Memory
► AIC23 Codec UsingTLV320AIC23
 1 Line IN and 1 Mic IN port
 1 Line OUT and 1 Head Phone Outputs
 ADC and DAC using Sigma –Delta Technology
 Sampling Rate From 8,16,24,32,441.,48 and
96kHz

Copyright Santhosh kumar.S


Inside DSK 6713 Continued…
► DSK Operating Frequency 225Mhz

► Memory
 16MB SDRAM
 256kB FlASH RAM
 External Memory Interface with LED’s and LCD for
Spectrum Display

► JTAG (Joint Test Action Group) Interface for Host


Computer to DSK board

Copyright Santhosh kumar.S


Inside TMS320C6713 DSP Processor
► Belongs to C67XX Family (6701, 6711, 6713)
► Floating Point Processor
► VLIW (Very Long Instruction Word) Architecture
► Eight 32 bit Instruction can be fetched per cycle
(Cycle Period 1/225Mhz=4.44ns)
► 264 k Internal Memory
 8 KB L1 Cache
 256 kB L2 Cache shared between Program and Data
► 6 ALUs and 2 Multiplier Units
► 32 Bit address bus to address 4GB
► Two Sets of 32–Bit General Purpose Registers
► Two McBSPs (Multi channel Buffered Serial Ports)
Copyright Santhosh kumar.S
How DSP Works ?

Analog Input
DSP
A/D D/A
Processor Analog Output

Copyright Santhosh kumar.S


How To Program With DSP ?

► Using Assembly Language Programming

► Using C Programming

Copyright Santhosh kumar.S


What is Code Composer Studio (CCS) ?
► CCS is Provided By Texas Instruments for DSP development,
► IDE (Integrated Development Enviornment)
 Editor
 C Compiler -> .c file to .asm file
 Assembler -> .asm file to .obj file
 Linker produces executable files .out
(.out – COFF format Common Object File Format)
 Debugging Features
 Real Time Data Exchange (RTDX) with DSK through JTAG
Interface

Copyright Santhosh kumar.S


Components of a CCS Project File
► Project File it self with extension .pjt eg: fir.pjt
 Main C source file (.c) eg: fir.c
 Supporting C files eg: dskinit.c
 Supporting Header Files (.h ) eg: dskinit.h
 Supporting Assembler files (.asm)
(vectors_poll.asm , vectors_intr.asm)
 Supporting Library Files (.lib)
(rts6700.lib, dsk6713.bsl.lib, csl6713.lib))
 Supporing command files (.cmd) (dsk6713.cmd)

Copyright Santhosh kumar.S


Programming Examples
► Waveform Generation
► FIR Filter
► IIR Filter
► Random Noise Generation
► Haar Wavelet Decomposition

Copyright Santhosh kumar.S


REFERENCE

► “DIGITAL SIGNAL PROCESSING AND APPLICATIONS


WITH C6713 and C6416 DSK”
Rulph Chassaing, Wiley Publications

Copyright Santhosh kumar.S


Functions Implemented in
c6713dskinit.c
► void c6713_dsk_init()
► void comm_poll()
► void comm_intr()
► void output_sample(int out_data)
► void output_left_sample(short out_data)
► void output_right_sample(short out_data)
► Uint32 input_sample()
► short input_left_sample()
► short input_right_sample()

Copyright Santhosh kumar.S

Вам также может понравиться