educational capabilities of mathworks products for texas instruments dsp anne mascarin dsp marketing...
TRANSCRIPT
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
External toolsInstruments
Databases and files
Desktop ApplicationsAutomated Reports
Toolboxes for Modeling, Analysis, and ComputationSpecific 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 ToolsDeploy algorithms and applications to reports, Web servers, and standalone applications
Toolboxes
The MathWorks Product Family: SimulinkBlocksets Block libraries for fixed-point, visualization, DSP, communications, and more
Stateflow®
Model and simulate reactive systems, state machines, and logic constructs
Automatic Code GenerationFor rapid prototyping, hardware-in-the-loop, and production
embedded software
Real-Time SystemsTarget systems for rapid prototyping, HIL, and deployment
Blocksets
Code Generation
Real-time embedded systems
StateflowStateflowStateflow
The MathWorks Product Family
Integrated for:• technical computing, data analysis and visualization•system modeling and simulation• implementation and verification of real-time embedded software
Toolboxes
Desktop ApplicationsAutomated Reports
Code Generation
Blocksets
Real-time embedded systems
StateflowStateflowStateflow
External toolsInstruments
Databases and files
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
m
Diverse Areas of DSP study
Aerospace Engineering– radar, sonar
Biomedical Engineering (biotech) Communications Earth and Ocean Sciences Electronics
Developer Kit for TI DSP is now TWO products
Auto code generation for
TI C6000 DSPs
Data transfer/program control
C5000/C6000/C28xx DSPs
Developer Kit for TI DSP v.1.2
MATLAB® Link forCode Composer Studio
Development Tools
Embedded Target forTI C6000TM DSP
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
DSP application in CCS
MATLAB controls CCS
CCS communicates with TI board
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/commandsStudents 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 andCommunications 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