1 / 23

Chapter 21b Reference Frameworks

Chapter 21b Reference Frameworks. Learning Objectives. Introduce The Reference Frameworks Laboratory experiment. What are the DSP applications. There are many DSP applications and every day many new applications are emerging. What are the DSP applications?.

margaretlee
Download Presentation

Chapter 21b Reference Frameworks

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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 D/A n Control (HOST) 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

  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

  13. Reference Framework by application,RF1 RF1 Design Parameter 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 1 to 3 Recommended # of Channels Recommended # of Channels Recommended # of Channels 1 to 3 Recommended # of XDAIS Algos Recommended # of XDAIS Recommended # of XDAIS Algos Recommended # of XDAIS 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 HWI Supports Supports Supports HWI HWI Implements DSPLink (DSPGPP) « Implements Implements DSPLink DSPLink (DSP (DSP GPP) GPP) « 3.5KW Total Memory Footprint (less algos) Total Memory Footprint (less Total Memory Footprint (less algos algos ) ) C5000 Processor Family Supported Processor Family Supported C5000 Processor Family Supported C5000

  14. Reference Framework by application,RF3 Reference Framework by application, RF3 ü 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 1 to 10+ Recommended # of Channels Recommended # of Channels Recommended # of Channels 1 to 10+ Recommended # of XDAIS Algos Recommended # of XDAIS Recommended # of XDAIS Algos Recommended # of XDAIS Algos Absolute Minimum Footprint Absolute Minimum Footprint Absolute Minimum Footprint multi 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 HWI, SWI Supports Supports Supports HWI HWI Implements DSPLink (DSPGPP) « Implements Implements DSPLink DSPLink (DSP (DSP GPP) GPP) « 11 KW Total Memory Footprint (less algos) Total Memory Footprint (less Total Memory Footprint (less algos algos ) ) C5000 C6000 Processor Family Supported Processor Family Supported Processor Family Supported C5000 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, Reference Framework by application, RF5 ü 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 1 to 100 Recommended # of Channels Recommended # of Channels Recommended # of Channels 1 to 100 Recommended # of XDAIS Algos Recommended # of XDAIS Recommended # of XDAIS Algos Recommended # of XDAIS Algos Absolute Minimum Footprint Absolute Minimum Footprint Absolute Minimum Footprint multi 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 HWI, SWI,TSK Supports Supports Supports HWI HWI Implements DSPLink (DSPGPP) « Implements Implements DSPLink DSPLink (DSP (DSP GPP) GPP) « 25 KW Total Memory Footprint (less algos) Total Memory Footprint (less Total Memory Footprint (less algos algos ) ) C5000 C6000 Processor Family Supported Processor Family Supported Processor Family Supported C5000 Reference Framework by application,RF5 RF5 is suited to applications which: • Are use for video applications • Require 100 + different channels or algorithms Design Parameter ü ü ü Reference Frameworks for eXpressDSP Software: RF5, An Extensive, High-Density System\Links\spra75a.pdf

  16. RF6 ü 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 1 to 100 Recommended # of Channels Recommended # of Channels Recommended # of Channels 1 to 100 Recommended # of XDAIS Algos Recommended # of XDAIS Recommended # of XDAIS Algos Recommended # of XDAIS Algos Absolute Minimum Footprint Absolute Minimum Footprint Absolute Minimum Footprint multi 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 HWI, SWI,TSK Supports Supports Supports HWI HWI Implements DSPLink (DSPGPP) « Implements Implements DSPLink DSPLink (DSP (DSP GPP) GPP) « tbd Total Memory Footprint (less algos) Total Memory Footprint (less Total Memory Footprint (less algos algos ) ) Processor Family Supported Processor Family Supported Processor Family Supported C5000 none curently Reference Framework by application,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 FrameworkSummary • 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, RF3Laboratory Demonstration Memory clkControl PIP PIP 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 Control Thread (swiControl) SWI Audio 0 FIR Vol R R R R R R Out Join SWI Split SWI In SWI Audio 1 FIR Vol L L L L L L IOM IOM

  19. Reference Framework, RF3 Memory clkControl Control Thread (swiControl) SWI Audio 0 FIR Vol Out In Join SWI Split SWI PIP PIP SWI Audio 1 FIR Vol IOM IOM • 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

More Related