Reference Frameworks 13 Introduction Introduction This chapter provides an introduction to the Reference Frameworks for expressdsp TM, recently introduced by TI 1. 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 book 2 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 compli- 1.Texas Instruments Application Report, Reference Frameworks for ExpressDSP Software: A White Paper, SPRA094A, December 2002. 2.S. Blonstein and M. Katorgi, expressdsp TM 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
Introduction The Software and Entry Points expressdsp Reference Application Memory Mgmt / Overlays Framework Starterware Channel Abstraction VOL_TI FIR_TI Algorithm Manager DSP/BIOS driver (e.g. IOM-based codec driver for RF Levels 1, 3, & 5) DSP/BIOS Chip Support Library TMS320 'C5000/'C6000 DSP TI DSK/EVM (e.g. 'C5402 DSK with RF Level 1) Application-Specific Code Application-specific behavior (e.g., digital hearing aid [RF 1] or client-side telephony [RF 3] ) TMS320 Algorithm Standard Replace FIR_TI with expressdsp-compliant algorithms from multiple vendors (e.g., G.723 from vendor ABC and DTMF from vendor XYZ) Reference Framework Starterware Skeletal "blueprint" starterware Algorithm "containers" Optimized for intended system complexity (e.g., single vs. multi-channel) Reusable components Custom DSP/BIOS I/O Drivers Additions/mods to IOM mini-driver Additional drivers (e.g., UART, DAA) Customer target hardware (e.g., 'C55x) ECE 5655/4655 Real-Time DSP 13 3
Chapter 13 Reference Frameworks Frameworks Overview Presently there are three frameworks levels: Design Parameter RF1 RF3 RF5 Absolute minimum memory footprint Static configuration Dynamic object creation (e.g., DSP/BIOS objects) Supported, but static configuration preferred for simplicity and footprint Static memory management Dynamic memory allocation Number of channels recommended 1-3+ 1-10+ 1-100+ Number of expressdsp-compliant 1-3+ 1-10+ 1-100+ algorithms recommended Uses DSP/BIOS real-time analysis In stop-mode only. RTDX not configured by default. Uses DSP/BIOS scheduling kernel HWI and IDL only no TSKs Uses Chip Support Library Uses XDAIS algorithms Portable to other devices, ISAs, boards Supports multiple execution rates and priorities Single rate per channel 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 Figure A 2. 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