ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

14
ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne

Transcript of ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

Page 1: ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

ECSE436 Tutorial

Introduction to the C6713

Laurier Boulianne

Page 2: ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

L. Boulianne

Outline

• Tools : C6713, CCS, PC, etc.

• C6713 in more details

• CCS in more details

• AIC23

• Polling

• Assignments

Page 3: ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

L. Boulianne

Tools

• TI C6713 DSP board

• Code Composer Studio 3.1

• PC

• Oscilloscope, signal generator, microphone, speakers

Page 4: ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

L. Boulianne

TI C6713

Page 5: ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

L. Boulianne

TI C6713

• Running at 225 MHz

• 4 I/0 (mic in, line in, line out, headphone)

• 8k cache L1

• 256k cache L2

• 16M of SDRAM

• Floating point processor

• AIC23 -> stereo codec for I/O

• Sampling rate from 8 to 96kHz

Page 6: ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

L. Boulianne

TI C6713

• VLIW architecture

• Up to 8 instructions / cc

• 2 completely independent data paths

• 2 x 32 registers

• Connected to PC

with an USB cable

Page 7: ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

L. Boulianne

Code Composer Studio

• Similar to visual studio for GPPs

• Compiler, assembler, linker

• Debugger

• Graphical capabilities (memory arrays, plots, etc.)

Page 8: ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

L. Boulianne

AIC23

• Accept inputs of 6V p-p

• Supported sample rates :– 8 , 16 , 24 , 32, 44.1, 48, 96 (KHz)

• Data length :– 16, 20, 24, 32 (bit)

• Automatically performs :– ADC, DAC, lowpass filtering, oversampling

Page 9: ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

L. Boulianne

AIC23

• Multi-Channel Buffered Serial Port

Page 10: ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

L. Boulianne

TI Libraries

Page 11: ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

L. Boulianne

Using AIC23 in your program

• Add “dsk6713bsl.lib” to your project

• Add CHIP_6713 to the preprocessor symbol list– Need to add it in Project Build Options

• Include “dsk6713.h” and “dsk6713_aic23.h”– Located in c6000/dsk6713/(include or lib)

Page 12: ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

L. Boulianne

Using AIC23 in your program

• Configure and create a codec handle

Page 13: ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

L. Boulianne

Using AIC23 in your program

• Initialize, open and set sampling frequency of the codec

• Read and write date using polling

• Close Codec

Stereo Codec2 channels

Page 14: ECSE436 Tutorial Introduction to the C6713 Laurier Boulianne.

L. Boulianne

Assignments

• Read C6713 One-day Workshop from TI (chapter 1,2) (WebCT)

• Read chapter 1 and 2 of Chassaing (muse.mcgill.ca)

• Handout