Lab 1 Slides
Lab 1 Slides
Lab 1 Slides
Lab #1
Introduction to Hardware & Software
Tools of TMS320C6713 DSK
Outline
Introduction
C6713 DSK Board
C6713 DSP
C6700 Instruction Set Architecture
Code Composer Studio
LabVIEW
MATLAB/MathScript
2
Introduction
3
Fixed vs. Floating Point DSP’s
4
TI DSP Families
5
Advantages of DSP’s vs. Analog Circuit
6
TMS320C6713 DSK Block Diagram
7
DSK Features
8
DSK Features
5V Power Supply.
16 MB of synchronous DRAM.
512 KB of non-volatile flash memory.
4 user accessible LED’s and DIP (Dual In-line
Package) switches to provide user with some
interactive feedback (I/O).
Expansion connectors for daughter cards, external
memories and other DSP’s.
9
C6713 DSP Features
10
C6713 DSP Features
11
C6700 DSP Simplified Architecture
Program RAM
Data Cache
or Cache
Addr
Internal Buses
DMA
Data
.D1 .D2 Serial Port
Regs (A0-A15)
Regs (B0-B15)
External .M1 .M2 Host Port
Memory
-Sync .L1 .L2 Boot Load
-Async
.S1 .S2
Timers
Control Regs
Pwr Down
CPU
12
C6713 DSP Features
.M Multiplication Unit:
16-bit × 16-bit, 32-bit × 32-bit, 64-bit × 64-bit
.L Logic Unit:
Arithmetic, comparisons and logic operations.
.S Shifter Unit:
Bit manipulation (set, get, shift, rotate).
.D Data Unit:
Load/Store to/from memory (exclusively)
Performs addition and pointer arithmetic.
14
C67xx Instruction Set
15
Parallel Operations
16
Code Composer Studio
17
Code Composer Studio - Example
Choose Appropriate
DSP Family
18
Code Composer Studio - Example
19
Code Composer Studio - Example
20
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”.
Profiling is a feature in CCS that allows us to get the
time needed to execute certain sequence of
instructions.
21
LabVIEW
Front Panel
Block Diagram
23
MATLAB
MATrix LABoratory.
It is a numerical computing environment and
programming language.
Allows easy matrix manipulation, plotting of functions
and data, implementation of algorithms, creation of
GUI’s…
Includes many specialized toolboxes that extend the
regular MATLAB environment (communications,
Control, Signal Processing…).
24
MATLAB Command Window
Workspace
Current Directory
Command History
25
MATLAB
27
…The End!
28