Download presentation
Presentation is loading. Please wait.
1
Chapter 21b Reference Frameworks
2
Learning Objectives Introduce The Reference Frameworks
Laboratory experiment
3
What are the DSP applications
There are many DSP applications and every day many new applications are emerging.
4
What are the DSP applications?
Wireless terminals, radios, GPS applications Digital Still Cameras, portable Fingerprint Analyzer Internet Audio and MP3 players IP telephone
5
What are the DSP applications?
Wireless base-stations and transcoders DSL Home theater audio IBOC digital radio Imaging and video servers & gateways
6
What are the DSP applications?
HardDisk Drive Servo Control Industrial Motor Drives Digital Motor Control in White Goods HVAC Motor Control Un-interruptible Power Supply PFC Optical Lasers
7
What are the DSP applications
There are many DSP applications and every day many new applications are emerging. Wireless terminals, radios, GPS applications Digital Still Cameras, portable Fingerprint Analyzer Internet Audio and MP3 players IP telephone HardDisk Drive Servo Control Industrial Motor Drives Digital Motor Control in White Goods HVAC Motor Control Un-interruptible Power Supply PFC Optical Lasers C5000 Wireless base-stations and transcoders DSL Home theater audio IBOC digital radio Imaging and video servers & gateways C2000 C6000
8
Reference Frameworks, RF
We have seen that there are many applications. However, most of the systems look like the Generic system shown below D/A 1 A/D 1 Processing Engine A/D 2 D/A 2 Control (HOST) D/A n A/D n Figure 1 Generic System
9
Reference Frameworks, RF
If your system is similar to the one shown in Figure 1, Then why not take the source code and modify it to suit your application. If you examine all the applications in this CD Rom, you will find that they are similar to the Generic System and with a maxim of two channel I/Os Hidden slide
10
Reference Frameworks, RF
What is reference Framework? A reference framework is an application “blueprint” What the reference framework contains? It contains: Memory management software Algorithm management software Channel encapsulations software Where the reference framework is located in the system?
11
Reference Frameworks, RF
Where the reference framework is located in the system?
12
Reference Frameworks, RF
How many Reference Frameworks exist? To minimise the size and complexity many reference frameworks exist. Four reference frameworks are currently available: RF1, RF3, RF5 and RF6 Design Parameter RF1 RF3 RF5 RF6 Static Configuration Dynamic Object Creation Static Memory Management Dynamic Memory Allocation Recommended # of Channels 1 to 3 1 to 10+ 1 to 100 Recommended # of XDAIS Algos Absolute Minimum Footprint Single/Multi Rate Operation single multi Thread Preemption and Blocking Implements Control Functionality Supports HWI HWI, SWI HWI, SWI, TSK Implements DSPLink (DSPGPP) Total Memory Footprint (less algos) 3.5KW 11KW 25KW tbd Processor Family Supported C5000 C5000 C6000 None Currently
13
Reference Framework by application, RF1
Design Parameter RF1 RF1 is suited to applications such as: Speakerphones Smart toys Digital Headsets Network cameras Digital scanners Portable medical devices etc. Main Advantage of RF1: Absolute minimum footprint. Static Configuration Static Configuration Static Configuration ü ü ü Dynamic Object Creation Dynamic Object Creation Dynamic Object Creation Static Memory Management Static Memory Management Static Memory Management ü ü ü Dynamic Memory Allocation Dynamic Memory Allocation Dynamic Memory Allocation Recommended # of Channels Recommended # of Channels 1 to 3 Recommended # of Channels 1 to 3 Recommended # of XDAIS Recommended # of XDAIS Recommended # of XDAIS Algos Recommended # of XDAIS Algos Algos Absolute Minimum Footprint Absolute Minimum Footprint Absolute Minimum Footprint ü ü ü single Single/Multi Rate Operation Single/Multi Rate Operation Single/Multi Rate Operation Thread Preemption and Blocking Thread Preemption and Blocking Thread Preemption and Blocking Implements Control Functionality Implements Control Functionality Implements Control Functionality Supports Supports Supports HWI HWI HWI Implements DSPLink (DSPGPP) Implements Implements DSPLink DSPLink (DSP (DSP GPP) GPP) Total Memory Footprint (less Total Memory Footprint (less Total Memory Footprint (less algos) 3.5KW algos algos ) ) Processor Family Supported Processor Family Supported C5000 Processor Family Supported C5000 C5000
14
Reference Framework by application, RF3
Implements DSPLink (DSP GPP) Total Memory Footprint (less algos ) HWI Supports C5000 Processor Family Supported Implements Control Functionality Thread Preemption and Blocking Single/Multi Rate Operation Absolute Minimum Footprint Recommended # of XDAIS Algos Recommended # of Channels Dynamic Memory Allocation ü Static Memory Management Dynamic Object Creation Static Configuration Implements DSPLink (DSPGPP) 11 KW Total Memory Footprint (less algos) HWI, SWI C6000 multi 1 to 10+ Recommended # of XDAIS Algos RF3 Design Parameter RF3 is suited to applications such as: Internet audio players Multi-channel phones Digital still/video cameras Main Advantage of RF3: More channels Multi-rate operations Flexibility
15
Reference Framework by application, RF5
Implements DSPLink (DSP GPP) Total Memory Footprint (less algos ) HWI Supports C5000 Processor Family Supported Implements Control Functionality Thread Preemption and Blocking Single/Multi Rate Operation Absolute Minimum Footprint Recommended # of XDAIS Algos Recommended # of Channels Dynamic Memory Allocation ü Static Memory Management Dynamic Object Creation Static Configuration Implements DSPLink (DSPGPP) 25 KW Total Memory Footprint (less algos) HWI, SWI,TSK C6000 multi 1 to 100 Recommended # of XDAIS Algos RF5 Design Parameter RF5 is suited to applications which: Are use for video applications Require different channels or algorithms ü ü ü Reference Frameworks for eXpressDSP Software: RF5, An Extensive, High-Density System \Links\spra75a.pdf
16
Reference Framework by application, RF6
Implements DSPLink (DSP GPP) Total Memory Footprint (less algos ) HWI Supports C5000 Processor Family Supported Implements Control Functionality Thread Preemption and Blocking Single/Multi Rate Operation Absolute Minimum Footprint Recommended # of XDAIS Algos Recommended # of Channels Dynamic Memory Allocation Static Memory Management Dynamic Object Creation ü Static Configuration Implements DSPLink (DSPGPP) tbd Total Memory Footprint (less algos) HWI, SWI,TSK none curently multi 1 to 100 Recommended # of XDAIS Algos RF6 Design Parameter RF6 is provided for developing applications involving multiprocessor, eg a General Purpose Processor (GPP) which is an ARM9TDMI and a DSP processor which is a TMS320C55: \Links\ OMAP5910.pdf Main Advantage: Utilise two processors, a GPP and a DSP ü ü ü ü An RF6 JPEG Decoder Adaptation on the OMAP5910 Processor : \Links\spra979.pdf
17
Reference Framework Summary
Provides a blue-print for different applications. Source code in C language and complete and working examples are provided Examples provided with Xdais compliant FIR filters. System benchmarks available in advance in terms of (a) Memory footprint (b) instruction cycles. Good documentation and all the software in Royalty Free. Useful documentation: spra793d.pdf spru352e.pdf spru616.pdf
18
Reference Framework, RF3 Laboratory Demonstration
In this chapter the reference framework 3 is taken as an example and a working application (for the TMS320C6416 DSK) is presented To illustrate how the RF3 works we will consider the following example Memory clkControl Control Thread (swiControl) SWI Audio 0 FIR Vol R R R R R R Out In PIP Split SWI Join SWI PIP SWI Audio 1 FIR Vol L L L L L L IOM IOM
19
Reference Framework, RF3
SWI Audio 1 Split SWI Join SWI In Out PIP IOM SWI Audio 0 FIR Vol Control Thread (swiControl) Memory clkControl RF3 converts an incoming audio signal to digital data at a given sampling rate. Then the signal is separated into two channels. Both channels are processed independently (in this case FIR filters are used) Then the volume of each channel is controlled (this is done in real-time) The signals are then combined and sent to the output codec.
20
Reference Framework, hardware setup
PC (CCS) Power supply DSK Oscilloscope Signal Generator
21
Reference Framework, RF3
Let’s first locate, build and run the code for the RF3 application. File location: c:\ti\referenceframework\ or in this CD it can be found in : \DSP Code for DSK6416\Chapter 21 - RF3_XDAIS
22
Reference Framework, RF3
Build and run the code for the RF3 application: Now that you have located the RF3 software, open the CCS and load the project “app.pjt” Build, and run the project. (the .out file will be automatically loaded as the “load program” option is already set in the project options. If the build output shows no errors and no warnings, you can proceed to the rest of the lab which is shown in the linked PDF file: RF3 Demo on the TMS320C6416
23
Chapter 21b Reference Frameworks END
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.