Edu presentation - SCSLABS Web Page
Download
Report
Transcript Edu presentation - SCSLABS Web Page
Educational Capabilities of
MathWorks Products for
Texas Instruments DSP
Anne Mascarin
DSP Marketing
The MathWorks
The MathWorks
Headquarters in
Natick, near Boston
Founded in 1984 and
privately held
Over 1000 employees
Direct offices in UK,
France, Germany,
Switzerland, Spain,
and Benelux
Distributors in 21
countries
The MathWorks
Accelerating engineering design and discovery
MATLAB for algorithm development and
analysis
Simulink for system-level design
The MathWorks Product Family: MATLAB
Toolboxes
for Modeling, Analysis, and Computation
Specific functionality for data analysis, modeling, optimization,
math, and other capabilities
Toolboxes for Data Input/Output
MATLAB extensions for I/O of live and archived data
with general-purpose and application-specific sources
MATLAB Deployment Tools
Deploy algorithms and applications to reports,
Web servers, and standalone applications
Toolboxes
External tools
Instruments
Databases and files
Desktop Applications
Automated Reports
The MathWorks Product Family: Simulink
Blocksets
Block libraries for fixed-point, visualization, DSP, communications, and more
Stateflow
®
Model and simulate reactive systems, state machines, and logic constructs
Automatic Code Generation
For rapid prototyping, hardware-in-the-loop, and production embedded software
Real-Time Systems
Target systems for rapid prototyping, HIL, and deployment
Blocksets
Stateflow
Stateflow
Code Generation
Real-time
embedded systems
The MathWorks Product Family
Integrated for:
technical computing, data analysis and visualization
•system modeling and simulation
• implementation and verification of real-time embedded software
•
Blocksets
Toolboxes
Stateflow
Stateflow
Code Generation
Real-time
embedded systems
External tools
Instruments
Databases and files
Desktop Applications
Automated Reports
MathWorks and TI working together
1989: MathWorks/TI development alliance begins
2001: Developer’s Kit for TI DSP released 2001
August 2002: Developer’s Kit split into two
products
– MATLAB Link for Code Composer Studio Development
Tools
– Embedded Target for C6000 DSP Platform
Diverse Areas of DSP study
Aerospace Engineering
– radar, sonar
Biomedical Engineering (biotech)
Communications
Earth and Ocean Sciences
Electronics
m
Developer Kit for TI DSP is now TWO
products
Developer Kit for TI DSP v.1.2
MATLAB® Link for
Code Composer Studio
Development Tools
Embedded Target for
TI C6000TM DSP
Data transfer/program control
Auto code generation for
C5000/C6000/C28xx DSPs
TI C6000 DSPs
MATLAB Link for Code Composer Studio
Development Tools
Execute CCS commands
from MATLAB for
debugging, analysis, and
automation
Upload data from DSP memory
Download program data, parameters, and
test vectors
Exchange real-time data
between MATLAB and a running DSP
via RTDX without halting the DSP program
Using the MATLAB Link for Code
Composer Studio Development Tools
CCS communicates
with TI board
MATLAB controls CCS
DSP application in CCS
Real-Time DSP Data in MATLAB
Demo: MATLAB Link for Code Composer
Studio Development Tools
Create filter in MATLAB
Plot idealized filter in MATLAB
Transfer filter and data into CCS
Filter data, transfer back to MATLAB
Plot data in MATLAB, compare
How does MATLAB Link for Code
Composer Studio Development Tools help
students?
Visualize signals and data
Design algorithms for individual components
Learn processor concepts/commands
Grasp implications of
real-time processing
Visualizing signals and data
Signals from:
– Signal Processing Toolbox
– Real-time DSP
Data from:
– CCS Simulator
– Real-Time DSP
– Other sources, through
MATLAB workspace
Designing algorithms for components
Design
•
•
•
•
•
Filters
Transforms
Windows
Converters
PLLs, etc.
Explore
design alternatives
• Extensive support
Simulate
Processor concepts/commands
Students become familiar with memory, read/write,…
Example commands:
MATLAB/CCS:
– regwrite - Write a value to a specified register on the target
processor
– write - Write data to memory on the target processor
– get - Return the property values for a link to CCS
– MATLAB/RTDX:
– enable - Enable the RTDX interface, a specified channel, or all
RTDX channels
– readmat - Read a matrix of data from specified RTDX channels
Implications of real-time
Read/write order
Interrupts
Cycle times
JTAG/RTDX
Embedded Target for C6000 DSP Platform
Generates board-specific
C code:
•C6711 DSK
•C6701 EVM boards
Creates CCS projects
from C code:
compiles
links
Runs executable on target board
Using the Embedded Target for C6000 DSP
Platform
Design and simulate model from:
–
–
–
–
DSPBS
Comm
Simulink
Stateflow
Connect board specific blocks
– A/D, D/A, LED, DIP Switches, JTAG RTDX
Automated code compile, link, load,
and execute-on-target support
Supports C67x, C62x, C64x
families of DSPs
Supports DSP Bios
Demo: Embedded Target for C6000 DSP
Create model in Simulink
Automatically generate C code
Automatically link, compile, build in CCS
Automatically load onto C6711 DSK
How does Embedded Target help students?
System design and hierarchy
– how subparts relate to whole
Explore design tradeoffs
Understand C code structure
– readable C code in MathWorks environment
– components of C code in CCS
Grasp real-time algorithm processing
- how parameters affect whole system
System Design and Hierarchy
Explore design tradeoffs
• Extensive support for
DSP algorithms in
DSP Blockset and
Communications Blockset
• Easy to drag, drop,
and simulate
Understand C code structure
Grasp real-time algorithm processing
Pricing and resources
Educational Pricing:
MATLAB Link for Code Composer Studio Development Tools:
$200 (PC individual)
– Requires MATLAB, Signal Processing Toolbox
Embedded Target for C6000 DSP Platform
$200 (PC individual)
– Requires MATLAB, Simulink, Signal Processing Toolbox,
DSP Blockset, MATLAB Link for CCS
Available at www.mathworks.com