Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 21b Reference Frameworks. Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 2 Learning Objectives Introduce.

Similar presentations


Presentation on theme: "Chapter 21b Reference Frameworks. Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 2 Learning Objectives Introduce."— Presentation transcript:

1 Chapter 21b Reference Frameworks

2 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 2 Learning Objectives Introduce The Reference Frameworks Introduce The Reference Frameworks Laboratory experiment Laboratory experiment

3 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 3 There are many DSP applications and every day many new applications are emerging. There are many DSP applications and every day many new applications are emerging. What are the DSP applications

4 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 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 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 5 What are the DSP applications? Wireless base-stations and transcoders DSL Home theater audio IBOC digital radio Imaging and video servers & gateways

6 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 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 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 7 What are the DSP applications There are many DSP applications and every day many new applications are emerging. 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 Wireless base-stations and transcoders DSL Home theater audio IBOC digital radio Imaging and video servers & gateways HardDisk Drive Servo Control Industrial Motor Drives Digital Motor Control in White Goods HVAC Motor Control Un-interruptible Power Supply PFC Optical Lasers C2000 C5000 C6000

8 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 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 Control (HOST) Processing Engine A/D 2 A/D n D/A 2 D/A n Figure 1 Generic System

9 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 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 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, 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 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 11 Reference Frameworks, RF Where the reference framework is located in the system?

12 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 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 RF1RF3RF5RF6 Static Configuration Dynamic Object Creation Static Memory Management Dynamic Memory Allocation Recommended # of Channels 1 to 3 1 to to 100 Recommended # of XDAIS Algos 1 to 3 1 to to 100 Absolute Minimum Footprint Single/Multi Rate Operation singlemultimultimulti Thread Preemption and Blocking Implements Control Functionality Supports HWI HWI, SWI HWI, SWI, TSK Implements DSPLink (DSP GPP) Total Memory Footprint (less algos) 3.5KW11KW25KWtbd Processor Family Supported C5000 C5000 C6000 None Currently

13 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 13 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. Reference Framework by application, RF1 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 (DSP GPP) 3.5KW Total Memory Footprint (less algos) HWI Supports C5000 Processor Family Supported Implements Control Functionality Thread Preemption and Blocking single Single/Multi Rate Operation Absolute Minimum Footprint 1 to 3 Recommended # of XDAIS Recommended # of XDAIS Algos 1 to 3 Recommended # of Channels Dynamic Memory Allocation Static Memory Management Dynamic Object Creation Static Configuration RF1 Design Parameter

14 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 14 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 Design Parameter

15 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 15 Reference Framework by application, RF5 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 Design Parameter

16 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 16 Reference Framework by application, RF6 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 \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 Design Parameter

17 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 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 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 18 L L L R R R L L L 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 SWI Audio 1 Split SWI Join SWI In PIP IOM SWI Audio 0 FIRVol FIRVol Control Thread (swiControl) Memory clkControl PIP Out

19 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 19 Reference Framework, RF3 1. RF3 converts an incoming audio signal to digital data at a given sampling rate. 2. Then the signal is separated into two channels. 3. Both channels are processed independently (in this case FIR filters are used) 4. Then the volume of each channel is controlled (this is done in real-time) 5. The signals are then combined and sent to the output codec. SWI Audio 1 Split SWI Join SWI In Out PIP IOM SWI Audio 0 FIRVol FIRVol Control Thread (swiControl) Memory clkControl PIP

20 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 20 Reference Framework, hardware setup Signal Generator DSK Oscilloscope PC (CCS) Power supply

21 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 21 Reference Framework, RF3 Lets 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 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 22 Reference Framework, RF3 Build and run the code for the RF3 application: 1. Now that you have located the RF3 software, open the CCS and load the projectapp.pjt 2. 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 Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 23 Chapter 21b Reference Frameworks END


Download ppt "Chapter 21b Reference Frameworks. Dr. Naim Dahnoun, Bristol University, (c) Texas Instruments 2004 Chapter 21b, Slide 2 Learning Objectives Introduce."

Similar presentations


Ads by Google