Chapter 13 Lecture Notes

advertisement
13
Introduction
Reference
Frameworks
Introduction
This chapter provides an introduction to the Reference Frameworks for eXpressDSPTM, recently introduced by TI1. The fererence frameworks use a both DSP/BIOS and the TMS320 DSP
Algorithm Standard, also known as XDAIS. The C6713 and
C6416 DSK’s both include a tutorial book2 on this subject, however the frameworks can be used on the C5510 and C6711 DSK’s
as well.
In 1999 TI introduced the eXpressDSP software technology
which includes:
• DSP/BIOS, a optimized, scalable, and extensible software
kernel
• TMS320 DSP Algorithm Standard (XDAIS), which sets
rules and guidelines for algorithm developers, thus making
life easier for system integrators
• A network of third-party suppliers, to provide
eXpressDSP compliant algorithms and eXpressDSP compli1. Texas Instruments Application Report, Reference Frameworks for
ExpressDSP Software: A White Paper, SPRA094A, December 2002.
2. S. Blonstein and M. Katorgi, eXpressDSPTM for Dummies, Wile Publishing, 2003.
ECE 5655/4655 Real-Time DSP
13–1
Chapter 13 • Reference Frameworks
ant plug-ins for CCS
Simply put, “The reference frameworks contain design-ready,
reusable, C language source code for TMSC5x and C6x DSPs”.
A devaloper can then build on top of this framework with confidence that the components will work together. In application note
SPRA795A TI defines the reference framework as:
• Generic DSP starterware source code using DSP/BIOS and
the TMS320 DSP Algorithm Standard
• Customers can adapt the framework and populate it with
eXpressDSP-compliant algorithms to achieve applicationspecific solutions
Beyond the eXpressDSP for Dummies book TI application notes
SPRA094A, SPRA793D, SPRA793D, and SPRA795A, provide
descriptions of the reference frameworks ranging from an overall
white paper, details on a Compact Static System (RF1), A Flexible, Multi-Channel, Multi-Algorithm, Static System (RF3), to An
Extensive, High-Density System (RF5) respectively.
13–2
ECE 5655/4655 Real-Time DSP
ECE 5655/4655 Real-Time DSP
C hannel
Abstraction
FIR _TI
V O L_TI
Chip Support Library
T I D SK /EVM
(e.g. 'C5402 DSK with RF Level 1)
T M S320 'C5000/'C6000 DSP
DSP/B IOS
(e.g. IOM -based codec driver for
RF Levels 1, 3, & 5)
DSP/BIOS driver
Algorithm
M anager
Framework
Starterware
M em ory
M gm t /
O verlays
eXpressDSP Reference
Application
Customer target hardware (e.g., 'C55x)
y Additions/mods to IOM mini-driver
y Additional drivers (e.g., UART , DAA)
Custom DSP/B IO S I/O Drivers
y Skeletal "blueprint" starterware
y Algorithm "containers"
y Optimized for intended system complexity
(e.g., single vs. multi-channel)
y Reusable components
Reference Framew ork Starterw are
TM S320 Algorithm Standard
y Replace FIR_T I with eXpressDSP-compliant
algorithms from multiple vendors (e.g., G.723
from vendor AB C and DT M F from vendor
XYZ)
Application-Specific Code
y Application-specific behavior (e.g., digital
hearing aid [RF 1] or client-side telephony
[RF 3] )
Introduction
The Software and Entry Points
13–3
Chapter 13 • Reference Frameworks
Frameworks Overview
Presently there are three frameworks levels:
Design Parameter
RF1
RF3
RF5
Static configuration
Dynamic object creation
(e.g., DSP/BIOS objects)
Static memory management
Supported, but static
configuration preferred for
simplicity and footprint
Absolute minimum memory footprint
Dynamic memory allocation
Number of channels recommended
1-3+
1-10+
1-100+
Number of eXpressDSP-compliant
algorithms recommended
1-3+
1-10+
1-100+
Uses DSP/BIOS real-time analysis
In stop-mode only. RTDX
not configured by default.
no TSKs
HWI and IDL only
Single rate per
channel
Uses DSP/BIOS scheduling kernel
Uses Chip Support Library
Uses XDAIS algorithms
Portable to other devices, ISAs,
boards
Supports multiple execution rates
and priorities
Supports thread blocking
Implements control functionality
Implements DSP-GPP functionality
Will be key feature of RF6
All Reference Frameworks are application-agnostic. Each framework can be used for many
applications, including telecommunication, audio, video, and more.
13–4
ECE 5655/4655 Real-Time DSP
Frameworks Overview
Applications
Suited
to RF
1
g g
p
p
pp
A Digital hearing Aid System
A Low-Cost Internet Audio Player Running a Single Audio Decoder (MP3)
ECE 5655/4655 Real-Time DSP
13–5
Chapter 13 • Reference Frameworks
Applications Suited to RF 3
Figure 2.
Internet Audio Player
A Web Phone
13–6
ECE 5655/4655 Real-Time DSP
Frameworks Overview
Applications Suited to RF 5
p
pp
Surveillance
System
FigureA2.Video
Video
Surveillance
System
Other applications for which RF5 can be adapted include:
•
3G wireless infrastructure devices
•
Video infrastructure devices, for example, security applications
•
Interactive TV server
•
Universal Port Switch
ECE 5655/4655 Real-Time DSP
13–7
Chapter 13 • Reference Frameworks
13–8
ECE 5655/4655 Real-Time DSP
Download