Home
Embedded SDK (Software Development Kit)
Contents
1. pConfig DIRECTION MFCR2_BACKWARD pMFCR2Detect MFCR2DetectCreate amp pConfig if pMFCR2Detect NULL assert Cannot allocate memory MOTOROLA MFCR2 Detection Library Interfaces 3 7 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 MFCR2 Detection Library Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 3 3 2 MFCR2Detectlnit Call s void MFCR2DetectInit MFCR2_sHandle pMFCR2Detect FCR2_sConfigure pConfig Required Header MFCR2Detect h Arguments Table 3 2 MFCR2Detectlnit Arguments pMFCR2Detect in Handle to an instance of MFCR2 Detection pConfig in A pointer to a data structure containing data for initializing the MFCR2 Detection algorithm Description The MFCR2Detectlnit function initializes the MFCR2 Detection algorithm During initialization all resources will be set to their initial values in preparation for MFCR2 Detection operation The parameter pConfig points to a data structure of type MFCR2 sConfigure the MFCR2Detectlnit function initializes the filter states filter coefficients and other parameters used for MFCR2 detection Returns None Special Considerations If MFCR2DetectCreate is called then the user need not call the MFCR2Detectinit function which is called internally in the MFCR2DetectCreate fun
2. These defines should be used by the user to initialize the configuration structure define MFCR2 FORWARD 0x0000 define MFCR2 BACKWARD 0x0001 MOTOROLA MFCR2 Detection Library Interfaces 3 1 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 MFCR2 Detection Library Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 RRR RRR kk RK k ko k k k k KK KK KK Errors returned by MFCR2 A kok k kok k k KAKAK KKK define MFCR2 INVALID 0x8000 BK KK k k k kk ko ke ke ke k ke k k k Status returned by MFCR2 kok ee A KKK define MFCR2_SIGNAL1_DETECTED 0x0001 define MFCR2_SIGNAL2_DETECTED 0x0002 define MFCR2 SIGNAL3 DETECTED 0x0003 define MFCR2 SIGNAL4 DETECTED 0x0004 define MFCR2 SIGNAL5 DETECTED 0x0005 define MFCR2 SIGNAL6 DETECTED 0x0006 define MFCR2 SIGNAL7 DETECTED 0x0007 define MFCR2 SIGNAL8 DETECTED 0x0008 define MFCR2 SIGNAL9 DETECTED 0x0009 define MFCR2 SIGNAL10 DETECTED 0x000a d
3. HL bsp m config s include F modem I security F signal a speech I sys Em aec im caller_id cas_detect I cpt ctg __ dtmf det Ec dtmf gen Hi 9165 Z 9168 HB 9711 Z 9723 Z 9726 1 Mfcr2 HI vad Hi tools Figure 2 2 DSP568XX Directories HHH HHE H AHA H 2 2 MFCR2 Detection Library MOTOROLA For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semicondugtor WG hin Specific Directories ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 The Mfcr2 directory includes MFCR2 Detection specific algorithms Figure 2 3 shows the Mfcr2 directory structure H 9726 EI Mfer2 asm sources c_sources BE mi c_sources E Config J inputs Figure 2 3 Mfcr2 Directory Structure The Mfcr2 directory includes these sub directories asm sources includes all assembly source files c sources includes C source files providing a C callable API for MFCR2 Detection fest includes C source files and configuration necessary for testing MFCR2 Detection library modules c sources contains test code used to confirm correct operation of the MFCR2 Detection library Config contains configuration fi
4. ae daaeuEtusR uw REPE 2 2 Chapter 3 MFCR2 Detection Library Interfaces 3 1 MFCR Detection QU DE Sde oo HO SEHE B gard Ke ORE EHE OR Y 3 22 oo og cee eyo dee eee dass 3H E der Sd Rus iod bns dn 3 3 3 E O i a ias EE ETIT E een AA Max d T SE ETT EET ETET 3 4 ke MPL R o vz o asddadk ka ska dak o oa aided der dace d as 3 5 c MCT Bot s 8 s ra Bod o kc baba dO ded Ed i 3 8 EN CN l iQ ib o PT rwnrrever 3 10 3 3 4 hola Wh P o R R P TAI S Er a re I OG EGER A 3 14 Chapter 4 Building the MFCR2 Detection Library 4 1 Building the MPCR2 Detection Libraty i iisodsosoaneesooak bah ERE 4 4 1 1 b s an a4 Eu oe adh Sade dol oases ok Ace Bad h t 4 4 1 2 Direct PEINE oo date Rd adi d o dip cat teases pa 4 2 MOTOROLA Table of Contents For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Chapter 5 Linking Applications with the MFCR2 Detection Library 24 MFCR2 CeO LO Leo a44X TERES EE REESE HER ARA p Lon QNUM ARO OA o R i bea Chapter 6 MFCR2 Detection Applications 6 1 Test and Demo Applications nna ERE ok ELE RIDE RR PEE db Chapter 7 License Fel Limited Use License Apreement 12 124pest sed 4e v i Sand ees desi es ii MFCR2 Detection Library For More Information On This Product Go to www freescale com MOTOROLA ARCHIVED BY FREESCALE SEMICONDUCTO
5. SDK Audience This document targets software developers implementing MFCR2 Detection within software applications Organization This manual is arranged in the following sections e e e Chapter 1 Introduction provides a brief overview of this document Chapter 2 Directory Structure provides a description of the required core directories Chapter 3 MFCR2 Detection Library Interfaces describes all of the MFCR2 Detection Library functions Chapter 4 Building the MFCR2 Detection Library tells how to execute the system library project build Chapter 5 Linking Applications with the MFCR2 Detection Library describes organization of the MFCR2 Detection Library Chapter 6 MFCR2 Detection Applications describes the use of MFCR2 Detection Library through test applications Chapter 7 License provides the license required to use this product Suggested Reading We recommend that you have a copy of the following references e e e Motorola DSP56800 Family Manual DSP56800FM AD Motorola DSP56800E Reference Manual DSP56800ERM D Motorola DSP568xx User s Manual for the DSP device you re implementing Inside CodeWarrior Core Tools Metrowerks Corp MOTOROLA Preface ix For More Information On This Product Go to www freescale com Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Conventions This document uses the following notational conventions Typefac
6. Centre 2 Dai King Street Tai Po Industrial Estate Tai Po N T Hong Kong 852 26668334 Technical Information Center 1 800 521 6274 HOME PAGE http www motorola com semiconductors MOTOROLA For More Information On This Product SDK151 D Go to www freescale com
7. MOTOROLA ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Chapter 1 Introduction Welcome to Motorola s Family of Digital Signal Processors DSPs This document describes the Multi Frequency Compelled R2 MFCR2 Detection Library which is a part of Motorola s comprehensive Software Development Kit SDK for its DSPs In this document you will find all the information required to use and maintain the MFCR2 Detection Library interface and algorithms Motorola provides these algorithms to you for use with Motorola DSPs to expedite your application development and reduce the time it takes to bring your own products to market Motorola s MFCR2 Detection Library is licensed for your use on Motorola processors Please refer to the standard Software License Agreement in Chapter 7 for license terms and conditions please consult with your Motorola representative for premium product licensing 1 1 Quick Start Motorola Embedded SDK is targeted to a large variety of hardware platforms To take full advantage of a particular hardware platform use Quick Start from the Targeting DSP568xx Platform documentation For example the Targeting DSP56826 Platform manual provides more specific information and examples about this hardware architecture If you are developing an application for the DSP56826EVM board or any other DSP56826 development syste
8. NULL MFCR2DetectInit pMFCR2Detect pConfig return pMFCR2Detect For details on the MFCR2 sHandle structure please refer to Code Example 3 1 If the MFCR2DetectCreate function is called to create an instance then MFCR2DetectDestroy discussed in Section 3 3 4 should be used to destroy the instance Alternatively the user can allocate memory statically which reguires duplicating all statements in the MFCR2DetectCreate function In this case the user can call the MFCR2Detectlnit function directly bypassing the MFCR2DetectCreate function If the user dynamically allocates memory without calling MFCR2DetectCreate then the user himself must destroy the memory allocated Returns A pointer to an instance of MFCR2 Detection Special Considerations If MFCR2DetectCreate is called then the user need not call the MFCR2Detectinit function as it is called internally in the MFCR2DetectCreate function 3 6 MFCR2 Detection Library MOTOROLA For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Code Example 3 3 Use of MFCR2DetectCreate Interface include MFCR2Detect h Specifications void testMFCR2DetectCreate void FCR2_sHandle pMFCR2Detect FCR2_sConfigure pConfig Initialize the pConfig structure
9. any intellectual property including patents copyrights and trade secrets applicable thereto shall remain vested in Motorola For the Source Motorola grants Licensee a personal non exclusive non assignable revocable royalty free right to use copy and make derivatives of the Source solely in a development system environment in order to produce object code solely for operating on a Motorola semiconductor device having a central processing unit Derivative Object For the Object and Derivative Object Motorola grants Licensee a personal non exclusive non assignable revocable royalty free right to copy use and distribute the Object and the Derivative Object solely for operating on a Motorola semiconductor device having a central processing unit Licensee agrees to a not use modify or copy the Software except as expressly provided herein b not distribute disclose transfer sell assign rent lease or otherwise make available the Software any derivatives thereof or this license to a third party except as expressly provided herein c not remove obliterate or otherwise defeat any copyright trademark patent or proprietary notices related to the MOTOROLA License 7 1 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Software d not in any form export re export resell ship or di
10. define FRAME SZ 32 endif MOTOROLA MFCR2 Detection Library Interfaces 3 3 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 MFCR2 Detection Library Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 3 3 Specifications The following pages describe the MFCR2 Detection library functions Function arguments for each routine are described as in out or inout An in argument means that the parameter value is an input only to the function An out argument means that the parameter value is an output only from the function An inout argument means that a parameter value is an input to the function but the same parameter is also an output from the function Typically inout parameters are input pointer variables in which the caller passes the address of a preallocated data structure to a function The function stores its results within that data structure The actual value of the inout pointer parameter is not changed 3 4 MFCR2 Detection Library MOTOROLA For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 3 3 1 MFCR2DetectCreate Call s Specifications FCR2_sHandle MFCR2DetectCreate MFCR2_sConfigure pConfig Required Header MFCR2Detect h mem h Argument
11. pvec main application code text sections text rtlib text fp engine text user text gt pram main application data Define variables for C initialization code F_Xdata_start_addr_in_ROM ADDR rom SIZEOF rom 2 F_StackAddr ADDR stack F_StackEndAddr ADDR stack SIZEOF stack 2 1 F Xdata start addr in RAM Memory layout data for SDK INCLUDE_MEMORY mem h support 5 2 MFCR2 Detection Library MOTOROLA For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 FmemEXbit WRITEH _EX_BIT FmemNumIMpartitions WRITEH NUM IM PARTITIONS FmemNumEMpartitions WRITEH NUM EM PARTITIONS FmemIMpartitionList WRITEH ADDR iml WRITEH SIZEOF iml 2 WRITEH ADDR im2 WRITEH SIZEOF im2 2 FmemEMpartitionList WI WI RITEH ADDR em RITEH SIZEOF em 2 data sections data fp state data rtlib data F_Xdata_ROMtoRAM_length 0 F_bss_start_addr _BSS_ADDR rtlib bss lo bss F bss length BSS ADDR Copy DATA gt data FArchIO ADDR onchip2 MFCR2 detect internal data starts here p FCR2 detect int dat
12. to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMI Int16 In Context buf UInt16 context buf length Wordl16 MFCR2 DATAStruct Fracl6 Circular Buffer Interface CONDUCTOR INC 2005 Fracl6 Copy Filter Coefs Should be allocated in internal memory MFCR2 sHandle RRR RRR KKK ko ke ko ko ke ke kk I I I KKK KAKI III k k k k k k Structure for MFCR2 Detect Configuration to be used by the user Use the defines MFCR2_FORWARD or MFCR2 BACKWARD defined in this file Fe IKK kok k oko I oko K o k AAA kokokok k IAA typedef struct Int16 DIRECTION MFCR2 sConfigure RRR RRR KKK ke ke RK ke ke I KK kk k KKK MFCR2 Detect Function Prototypes FI kk kk kk KR RK kkk KK KK KK pConfig Int16 pSamples UInt16 NumSamples EXPORT MFCR2_sHandle MFCR2DetectCreate MFCR2_sConfigure pConfig EXPORT void MFCR2DetectInit MFCR2 sHandle pMFCR2Detect MFCR2_sConfigure EXPORT Result MFCR2Detect MFCR2 sHandle pMFCR2Detect EXPORT void MFCR2DetectDestroy MFCR2 sHandle pMFCR2Detect BRR RRR KKK ko KK oko ok I I I ko ooo o k k kok k KI KKK Constants used by the detect algorithm User should not change this constant value KKK ee AA AAA A oko A ko k k kk kkk k kk kkk k k kok ke ee eee ek f
13. 12 stops 0x003d Value returned when Signal 13 stops 0x003e Value returned when Signal 14 stops 0x003f Value returned when Signal 15 stops MFCR2 BUSY is returned when the processing is still continuing Otherwise the returned value would indicate either the tone detected or an error Special Considerations The MFCR2Detect function expects input as 16 bit linear PCM samples sampled at 8KHz only Code Example 3 5 Use of MFCR2Detect Interface include MFCR2Detect h include lt stdio h gt void testMFCR2det void FCR2_sHandle pMFCR2Detect FCR2_sConfigure pConfig nt16 SampleBuf Int16 NumSamples esult result nt16 Loop 1 HUGH Initialize the pConfig structure pConfig DIRECTION BACKWARD pMFCR2Detect if pMFCR2Detect i NULL NumSamples 32 result 0 while Loop FCR2Detect Create amp pConfig assert Cannot allocate memory Fill the input buffer In this test we fill the input buffer SampleBuf with samples corresponding to Signal 1 result MFCR2Detect pMFCR2Detect if result MFCR2_BUSY continue lse if 3 12 MFCR2 Detection Library SampleBuf NumSamples result MFCR2_SIGNAL1_DETECTED MOTOROLA For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FR
14. ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 MOTOROLA Embedded SDK Software Development Kit MFCR2 Detection Library SDK151 D Rev 0 10 24 2002 o Q moroRor digitaldna A Motorola Inc 2002 All rights reserved intelligence everywhere For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Contents About This Document FL DU PETERET ee CAS wee Tq I TI TT ix BE MO S wed nena end able eas O d evo dod Mp dirae i coa Oh IX ERO IA ez cad bea as ehiteanns Gahindnr oan bau ss FRE Edd E ede ts ix Definitions Acronyms and Abbreviations 4444444444 xi E 06b resa i wad ae oR od ak diu eur G0 pies p xi Chapter 1 Introduction Ll PUE NU ek phi sako spaka MV eho E ERI Peeters 1 1 L3 Overview of MFCR Dee 1auusdacua d dob vee OR oho e do xc DR e e 1 1 1 2 1 po 1 NE eee ee 1 1 1 22 Features and Performan ps ba ed koa S EA a ka Ex ek He SERS SS 1 2 Chapter 2 Directory Structure 24 Meme Core Directori s bck cede RE ACER A E PIRA O eb d adici cr gd 2 1 2 2 Optional Domain Specific Directories n
15. BY FREESCALE SEMICONDUCTOR INC 2005 MFCR2 Detection Library For More Information On This Product Go to www freescale com MOTOROLA ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 List of Examples Code Example Code Example Code Example Code Example Code Example Code Example Code Example MOTOROLA 3 1 3 2 3 3 3 4 3 5 3 6 5 1 C Header Pile MFCRZDetect i iruawiki ss4setkvkeke ad rsen I EIE Ls or beri buss ER n Hold sd ada dex e Use of MFCR2DetectCreate Interface oiseessuo tr er r3 RR RES Use of MFCR2Detectinit Were cos aua qauuea ktbeun ordi hn Use of MFCR2Detect tere iiaesoqudoek exhesdeua r b eie Use of MFCR2DetectDestroy Interface 0 BEES etd d ve O O O i pean doe ENI List of Examples For More Information On This Product Go to www freescale com vii Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 viii Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 MFCR2 Detection Library For More Information On This Product Go to www freescale com MOTOROLA ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 About This Document This manual describes the Multi Freguency Compelled R2 MFCR2 Detection algorithm for use with Motorola s Embedded Software Development Kit
16. C 2005 Definitions Acronyms and Abbreviations The following list defines the acronyms and abbreviations used in this document As this template develops this list will be generated from the document As we develop more group resources these acronyms will be easily defined from a common acronym dictionary Please note that while the acronyms are in solid caps terms in the definition should be initial capped ONLY IF they are trademarked names or proper nouns DSP Digital Signal Processor or Digital Signal Processing Vo Input Output IDE Integrated Development Environment MFCR2 Multi Freguency Compelled Register Signaling MIPS Million Instructions Per Second OnCETM On Chip Emulation SDK Software Development Kit SRC Source References The following sources were used to produce this book 1 Motorola DSP56800 Family Manual DSP56800FM AD 2 Motorola DSP56800E Reference Manual DSP56800ERM D 3 Motorola DSP566xx User s Manual for the DSP device you re implementing 4 Targeting Motorola DSP568xx Platform for the DSP device you re implementing 5 Motorola Embedded SDK Programmer s Guide SDK101 D MOTOROLA Preface xi For More Information On This Product Go to www freescale com Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 xii Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 MFCR2 Detection Library For More Information On This Product Go to www freescale com
17. EESCALE SEMICONDUCTOR INC 2005 printf Signal detected correctly Specifications Loop 0 else printf Test Failed Signal not detected correctly exit 0 Loop 1 while Loop Fill the input buffer result MFCR2Detect pMFCR2Detect SampleBuf NumSamples if result MFCR2 SIGNAL1 DETECTED continue lse if result MFCR2 STOP DETECTED WITH SIGNAL1 printf Signal stop detected correctly Loop 0 else printf Test Failed Signal stop not detected correctly exit 0 MOTOROLA MFCR2 Detection Library Interfaces 3 13 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 MFCR2 Detection Library Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 3 3 4 MFCR2DetectDestroy Call s void MFCR2DetectDestroy MFCR2 sHandle pMFCR2Detect Required Header MFCR2Detect h and mem h Arguments Table 3 4 MFCR2DetectDestroy Arguments pMFCR2Detect in Handle to an instance of MFCR2 Detection generated by a call to MFCR2DetectCreate Description The MFCR2DetectDestroy function frees the instance of MFCR2 Detection originally created by a call to MFCR2DetectCreate Returns None Special Considerations None Code Example 3 6 Use of WFCR2DetectDestroy Interface include MFCR2Det
18. GTH 0x0010 C temp registrs in CodeWarrior iml RW ORIGIN 0x0040 LENGTH 0x07C0 data 1 rom R ORIGIN 0x0800 LENGTH 0x0800 internal data ROM MOTOROLA Linking Applications with the MFCR2 Detection Library 5 1 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Linking Applications with Ereeseale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 im2 RW ORIGIN 0x1000 LENGTH 0x0600 data 2 hole R ORIGIN 0x1600 LENGTH 0x0A00 hole data RW ORIGIN 0x2000 LENGTH 0xC000 data segment em RW ORIGIN 0xE000 LENGTH 0x1000 data 3 stack RW ORIGIN OxF000 LENGTH OxOF80 stack onchipl RW ORIGIN OxFF80 LENGTH 0x0040 onchip2 RW ORIGIN OxFFCO LENGTH 0x0040 FORCE ACTIVE FconfigInterruptVector SECTIONS Data X Memory Layout EX BIT 0 Internal Memory Partitions for mem h partitions NUM IM PARTITIONS 1 iml and im2 External Memory Partition for mem h partitions NUM EM PARTITIONS 1 em main application vector text sections vector c MUST be placed into pvec otherwise the Interrupt Vector configInterruptVector will not be located at the correct address P 0x0000 vector c text gt
19. ONDUCTOR INC 2005 3 3 3 MFCR2Detect Call s Result MFCR2Detect MFCR2 sHandle pMFCR2Detect Int16 pSamples UInt16 NumSamples Required Header MFCR2Detect h Arguments Table 3 3 MFCR2Detect Arguments PMFCR2Detect in Handle to an instance of MFCR2 Detection pSamples in Pointer to input buffer containing samples sampled at 8KHz Each sample is represented in Q15 format NumSamples in The number of input samples Description The MFCR2Detect function processes the input samples in blocks of 32 samples and checks for the presence of a valid MFCR2 tone Code Example 3 5 shows the use of MFCR2Detect interface Every time the MFCR2Detect function is called the user must check for the return value When the signal 1s yet to be detected the function returns MFCR2 BUSY Once the signal is detected the function returns the number corresponding to the detected signal For details on the exact values please refer to Returns which follows After the signal is detected the MFCR2Detect function watches for the signal to stop Until the signal stops the MFCR2Detect function keeps returning the value corresponding to the detected signal Once the signal stops the MFCR2Detect function returns the value corresponding to the signal stop For details on the exact values please refer to Returns which follows When there is no valid MFCR2 tone this function returns MFCR2_INVALID and the c
20. OR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Chapter 2 Directory Structure 2 1 Required Core Directories Figure 2 1 details required platform directories 3 src E E dsp568XXevm nos ERN applications HL bsp s config u include THEN sys tools Figure 2 1 Core Directories In Figure 2 1 DSP568X XEVM has no operating system nos support and contains these core directories applications contains applications software that can be exercised on this platform e bsp contains board support package specific for this platform config contains default HW SW configuration for this platform include contains SDK header files which define the Application Programming Interface e sys contains required system components fools contains utilities used by system components There are also optional directories that include domain specific libraries MOTOROLA Directory Structure 2 1 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 2 2 Optional Domain Specific Directories Directory Structure Figure 2 2 demonstrates how the MFCR2 Detection algorithm Mfcr2 is encapsulated in the domain specific directory telephony am src Ty dsp568XXevm CH nos applications
21. R INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 List of Tables Table 3 1 Table 3 2 Table 3 3 Table 3 4 MOTOROLA MPCR2 Detect reate Arguments oi bie eededdvsneesaiveavisdesscnus RIP eee Arguments 22221 3x eee de ewe eee AEC A 3 ka book ask a S A SEM S RA EN E S wees MPCR2DetectDesttoy Arguamens sauesaasesauessutatars nnd RR E Ra R List of Tables For More Information On This Product Go to www freescale com Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 MFCR2 Detection Library For More Information On This Product Go to www freescale com MOTOROLA ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 List of Figures Figure 2 1 Figure 2 2 Figure 2 3 Figure 4 1 Figure 4 2 Figure 4 3 MOTOROLA Lue DA ao dd EE rak r k ka p k d dde DP ER 22223 Koa ka P dna en Sd ed add exa eol BIG Directory Structure si aha k ss EE NECI RR DEUS e Ra RR Dependency Build for MFCR2 Detection Library BEC Dn PIER 4uisaaxadacick a RU CDU ERG E RUPEE dod AER Tj 1 ccr List of Figures For More Information On This Product Go to www freescale com Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 vi Freescale Semiconductor Inc ARCHIVED
22. a MFCR2 DETECT IN MFCR2 DETECT IN EM data EM bss gt iml MFCR2 detect internal data ends here MOTOROLA Linking Applications with the MFCR2 Detection Library For More Information On This Product Go to www freescale com INGiecR2 Detection Library ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Linking Applications with Frgpagale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 5 4 MFCR2 Detection Library For More Information On This Product Go to www freescale com MOTOROLA ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Chapter 6 MFCR2 Detection Applications 6 1 Test and Demo Applications To verify the MFCR2 Detection algorithm a test application has been developed Refer to the Targeting Motorola DSP568xx Platform Manual for the DSP you are using to see if the test application is available for your target MOTOROLA MFCR2 Detection Applications 6 1 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 MFCR2 Detection Applica Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 6 2 MFCR2 Detection Library For More Information On This Product Go to www freescale com MOTOROLA ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semicondu
23. alling routine may decide to stop calling MFCR2Detect Returns The return values specify the following conditions MFCR2 BUSY 0x0000 Value returned when processing is occurring MFCR2_INVALID 0x8000 This value is returned when there is no valid MFCR2 tone MFCR2 SIGNALI DETECTED 0x0001 Value returned when Signal is detected MFCR2 SIGNAL2 DETECTED 0x0002 Value returned when Signal 2 is detected MFCR2 SIGNAL3 DETECTED 0x0003 Value returned when Signal 3 is detected MFCR2 SIGNAL4 DETECTED 0x0004 Value returned when Signal 4 is detected MFCR2 SIGNAL5 DETECTED 0x0005 Value returned when Signal 5 is detected 3 10 MFCR2 Detection Library MOTOROLA For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 MFCR2_SIGNAL6_DETECTED 0x0006 Value returned when Signal 6 is detected Specifications MFCR2_SIGNAL7_DETECTED 0x0007 Value returned when Signal 7 is detected MFCR2_SIGNAL8 DETECTED 0x0008 Value returned when Signal 8 is detected MFCR2_SIGNAL9_DETECTED 0x0009 Value returned when Signal 9 is detected MFCR2 SIGNAL10 DETECTED 0x000a Value returned when Signal 10 is detected MFCR2 SIGNAL11 DETECTED 0x000b Value returned when Signal 11 is detected MFCR2 SIGNAL12 DETECTED 0x000c Value returned when Signal 12 is detected MFCR2 SIGNAL13 DETECTED 0x000d Value returned when Sig
24. brary For More Information On This Product Go to www freescale com MOTOROLA ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Chapter 5 Linking Applications with the MFCR2 Detection Library 5 1 MFCR2 Detection Library The MFCR2 Detection library consists of APIs which provide an interface between the user application and the MFCR2 Detection modules To invoke MFCR2 Detection the following APIs must be called in this order MFCR2DetectCreate Should be called only once MFCR2DetectInit Called within the MFCR2Detectcreate function MFCR2Detect Can be called as many times as the number of samples detected MFCR2DetectDestroy Should be called only once 5 1 1 Library Sections See Code Example 5 1 for a sample inker cmd file which may be used for testing the MFCR2 Detection library Code Example 5 1 inker cmd File Linker cmd file for DSP56824EVM External RAM using both internal and external data memory EX 0 and using external program memory Mode 3 EMORY pvec RWX ORIGIN 0x0000 LENGTH 0x002C interrupt vector table 22 2 pram RWX ORIGIN 0x002C LENGTH OxFFD4 external program memory avail RW ORIGIN 0x0000 LENGTH 0x0030 available cwregs RW ORIGIN 0x0030 LEN
25. ction Code Example 3 4 Use of MFCR2Detectlnit Interface include MFCR2Detect h void testMFCR2det void Allocate the memory for the handle structure FCR2_sHandle pMFCR2Detect FCR2_sConfigure pConfig Allocate memory for the MFCR2datastruct pMFCR2Detect gt MFCR2 DATAStruct 110 words of internal memory Allocate memory for the Copy Filter coefs in the Internal memory pMFCR2Detect gt Copy Filter Coefs 10 words of internal memory Allocate memory for the Circular buffer of size 64 pMFCR2Detect gt Circular Buffer Aligned Memory Buffer of 64 words Allocate memory for the In Context buf pMFCR2Detect gt In Context buf FRAME SZ words of memory Initialize the pConfig structure 3 8 MFCR2 Detection Library MOTOROLA For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 pConfig DIRECTION MFCR2_BACKWARD Specifications MFCR2DetectInit pMFCR2Detect pConfig MOTOROLA MFCR2 Detection Library Interfaces 3 9 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 MFCR2 Detection Library Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMIC
26. ctor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Chapter 7 License 7 1 Limited Use License Agreement LIMITED USE LICENSE AGREEMENT PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THIS SOFTWARE BY USING OR COPYING THE SOFTWARE YOU AGREE TO THE TERMS OF THIS AGREEMENT The software in either source code form Source or object code form Object cumulatively hereinafter Software is provided under a license agreement Agreement as described herein Any use of the Software including copying modifying or installing the Software so that it is usable by or accessible by a central processing unit constitutes acceptance of the terms of the Agreement by the person or persons making such use or if employed the employer thereof Licensee and if employed the person s making such use hereby warrants that they have the authority of their employer to enter this license agreement If Licensee does not agree with and accept the terms of this Agreement Licensee must return or destroy any media containing the Software or materials related thereto and destroy all copies of the Software The Software is licensed to Licensee by Motorola Incorporated Motorola for use under the terms of this Agreement Motorola retains ownership of the Software Motorola grants only the rights specifically granted in this Agreement and grants no other rights Title to the Software all copies thereof and all rights therein including all rights in
27. e Symbol or Term Meaning Examples Courier Code examples Process command for line flash Monospaced Type Italic Directory names and contains these core directories project names applications contains applications software calls functions CodeWarrior project 3des mcp is statements procedures the pConfig argument z routines arguments defined in the C header file aec h a file names G applications Z variables p directives O code snippets APIs 5 in text a Z Bold Reference sources refer to the Targeting DSP56F80x Platform O paths manual emphasis See C Program Files Motorola Embedded T SDK help tutorials m Blue Text Linkable on line refer to Chapter 7 License O Number Any number is considered a 3V d positive value unless preceded 10 m by a minus symbol to signify a DES negative value on ALL CAPITAL defines F define INCLUDE STACK CHECK Li LETTERS defined constants Brackets Function keys by pressing function key F7 o Quotation Returned messages the message Test Passed is displayed lt marks if unsuccessful for any reason it will return NULL MFCR2 Detection Library MOTOROLA For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR IN
28. ect h include mem h void testMFCR2det void FCR2_sHandle pMFCR2Detect FCR2_sConfigure pConfig Int16 SampleBuf UInt16 NumSamples Result result Initialize the pConfig structure pConfig DIRECTION BACKWARD pMFCR2Detect MFCR2DetectCreate amp pConfig if pMFCR2Detect i NULL assert Cannot allocate memory Fill the input buffer NumSamples 32 result 0 result MFCR2Detect pMPCR2Detect SampleBuf NumSamples MFCR2DetectDestroy pMFCR2Detect 3 14 MFCR2 Detection Library MOTOROLA For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Chapter 4 Building the MFCR2 Detection Library 4 1 Building the MFCR2 Detection Library The MFCR2 Detection library combines all of the components described in previous sections into one library mfcr2 lib To build this library a Metrowerks CodeWarrior project MFCR2 mcp is provided This project and all components necessary to build the MFCR2 Detection library are located in the nos telephony MFCR2 directory of the SDK directory structure There are two methods to execute the system library project build dependency build and direct build 4 1 1 Dependency Build Dependency build is the easies
29. efine MFCR2 SIGNAL11 DETECTED 0x000b define MFCR2 SIGNAL12 DETECTED 0x000c define MFCR2 SIGNAL13 DETECTED 0x000d define MFCR2_SIGNAL14_DETECTED 0x000e define MFCR2_SIGNAL15 DETECTED 0x000f define MFCR2 STOP DETECTED WITH SIGNAL1 0x0031 define MFCR2 STOP DETECTED WITH SIGNAL2 0x0032 define MFCR2 STOP DETECTED WITH SIGNAL3 0x0033 define MFCR2 STOP DETECTED WITH SIGNAL4 0x0034 define MFCR2 STOP DETECTED WITH SIGNAL5 0x0035 define MFCR2 STOP DETECTED WITH SIGNAL6 0x0036 define MFCR2 STOP DETECTED WITH SIGNAL7 0x0037 define MFCR2 STOP DETECTED WITH SIGNAL8 0x0038 define MFCR2 STOP DETECTED WITH SIGNAL9 0x0039 define MFCR2 STOP DETECTED WITH SIGNAL10 0x003a define MFCR2 STOP DETECTED WITH SIGNAL11 0x003b define MFCR2 STOP DETECTED WITH SIGNAL12 0x003c define MFCR2 STOP DETECTED WITH SIGNAL13 0x003d define MFCR2 STOP DETECTED WITH SIGNAL14 0x003e define MFCR2 STOP DETECTED WITH SIGNAL15 0x003f BK K K ok kok I KKK kk CK Kok kk ko Kk oko kk oko o k k ke ke k k kok MFCR2 BUSY is returned when the processing is still going on Otherwise returned value would indicate the tone detected or error ok ok ok AA AA AA ke A ke koc koe kk kok k k k f define MFCR2 BUSY 0x0000 KI KKK ko ko kk kk ko ke kk ko ko kk oko kk k k kk ke ke ke e Structure for MFCR2 Detect Handle ee AAA AAA A ko koe koc I k k k k k A typedef struct 3 2 MFCR2 Detection Library MOTOROLA For More Information On This Product Go
30. ein Motorola does not represent or warrant that the Software is free of defect or that it meets any particular requirements or need of the Licensee or that it conforms to any documentation or that it meets any standards Motorola shall not be responsible to maintain the Software provide upgrades to the Software or provide any field service of the Software Motorola reserves the right to make changes to the Software without further notice to Licensee The Software is not designed intended or authorized for use as components in systems intended for surgical implant into the body or other applications intended to support or sustain life or for any other application in which the failure of the Software could create a situation where personal injury or death may occur Should Licensee purchase or use the Software for any such unintended or unauthorized application Licensee shall indemnify and hold Motorola and its officers employees subsidiaries affiliates and distributors harmless against all claims costs damages and expenses and reasonable attorney fees arising out of directly or indirectly any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that Motorola was negligent regarding the design or manufacture of the Software The term of this Agreement is for as long as Licensee uses the Software for its intended purpose and is not in default of any provisions of this Agreemen
31. ended for surgical implant into the body or other applications intended to support or sustain life or for any other application in which the failure of the Motorola product could create a situation where personal injury or death may occur Should Buyer purchase or use Motorola products for any such unintended or unauthorized application Buyer shall indemnify and hold Motorola and its officers employees subsidiaries affiliates and distributors harmless against all claims costs damages and expenses and reasonable attorney fees arising out of directly or indirectly any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that Motorola was negligent regarding the design or manufacture of the part Motorola and the Stylized M Logo are registered trademarks of Motorola Inc Motorola Inc is an Equal Opportunity Affirmative Action Employer MOTOROLA and the Stylized M Logo are registered in the US Patent amp Trademark Office All other product or service names are the property of their respective owners Motorola Inc 2002 How to reach us USA EUROPE Locations Not Listed Motorola Literature Distribution P O Box 5405 Denver Colorado 80217 1 303 675 2140 or 1 800 441 2447 JAPAN Motorola Japan Ltd SPS Technical Information Center 3 20 1 Minami Azabu Minato ku Tokyo 106 8573 Japan 81 3 3440 3569 ASIA PACIFIC Motorola Semiconductors H K Ltd Silicon Harbour
32. iles 0 0 Figure 4 2 MFCR2 Detection Project Step 2 Execute the build by pressing function key F7 or by choosing the Make command from the Project menu see Figure 4 3 Metrowerks CodeWarrior File Edit View Search Mazza Debug DSP56800 Window Help Add MFCR mite te Project Add Files Create Group Sreate Target Greate Seament Myerlay heck syntar tilt m MFCR2 mcp ad La Prepracess 39 Library Precamplle Eompie ek Files Link Order Disassemble Chl Shitt F7 g File Bring Up To Date ASM Sourc F7 v mE C Sources Stop Build trl Break Remove Object Code Ctrl Re search for Files 14 files Reset Project Entry Paths Synchronize Modification Dates Debug E Bor tfe Set Default Project Set Default Target Figure 4 3 Execute Make 4 2 MFCR2 Detection Library MOTOROLA For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semicondugtor Inai cn Detection Library ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 At this point if the build is successful an mfcr2 lib library file is created in the directory nos telephony MFCR2 Debug MOTOROLA Building the MFCR2 Detection Library 4 3 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Building the MFCR2 pete SeGSGale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 4 4 MFCR2 Detection Li
33. les appconfig c appconfig h and linker cmd specific to MFCR2 Detection testing inputs contains the test input files MOTOROLA Directory Structure 2 3 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Directory Structure Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 MFCR2 Detection Library For More Information On This Product Go to www freescale com MOTOROLA ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Chapter 3 MFCR2 Detection Library Interfaces 3 1 MFCR2 Detection Services The MFCR2 signal consists of two frequencies taken either from the set of six forward frequencies or from the set of six backward frequencies The MFCR2 receiver must detect any valid MFCR2 tone and output the numerical value corresponding to that tone 3 2 Interface The C interface for the MFCR2 Detection library service is defined in the C header file MFCR2Detect h shown in Code Example 3 1 Code Example 3 1 C Header File VFCR2Detect h File MFCR2Detect h ifndef X MFCR2DETECT H define MFCR2DETECT H BOK ARK KK IK KI KK IK KKK KK KK Foundational Include Files AAA k k He HH HH f include port h kk kk k k kk kk I KK I KR k KK A IK A KK ke defines to be used to configure MFCR2 A k oko k k kok k I IK
34. m refer to the Targeting DSP56826 Platform manual for Quick Start or other DSP56826 specific information 1 2 Overview of MFCR2 Detection During the exchange of multi frequency combinations the link or multi link section is terminated at both ends by equipment allowing multi frequency combinations to be sent and received under mutual compelled control as indicated in Recommendation Q 440 of ITU T The MFCR2 library implements the receiving function of the multi frequency signaling equipment 1 2 1 Background The composition of the multi frequency combinations is specified in Recommendation Q 441 of ITU T MOTOROLA Introduction 1 1 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 The frequencies in the forward direction are Introduction fo 1380Hz e f 1500Hz f 1620Hz f 1740Hz e f 71860Hz e fs 1980Hz The frequencies in the backward direction are e f 1140Hz e fj 1020Hz e f2 900Hz e f3 780Hz e f4 660Hz e f5 540Hz 1 2 2 Features and Performance MFCR2 Detection is multi channel and re entrant For details on memory and MIPS for a particular DSP refer to the Libraries chapter of the appropriate Targeting manual 1 2 MFCR2 Detection Library For More Information On This Product Go to www freescale com MOTOROLA ARCHIVED BY FREESCALE SEMICONDUCT
35. nal 13 is detected MFCR2 SIGNALI4 DETECTED 0x000e Value returned when Signal 14 is detected MFCR2 SIGNALI5 DETECTED 0x000f Value returned when Signal 15 is detected MFCR2 STOP DETECTED WITH SIGNALI 0x0031 Value returned when Signal 1 stops MFCR2 STOP DETECTED WITH SIGNAL2 0x0032 Value returned when Signal 2stops MFCR2 STOP DETECTED WITH SIGNAL3 0x0033 Value returned when Signal 3stops MFCR2 STOP DETECTED WITH SIGNALA 0x0034 Value returned when Signal 4stops MFCR2 STOP DETECTED WITH SIGNAL5 0x0035 Value returned when Signal 5stops MFCR2 STOP DETECTED WITH SIGNAL6 0x0036 Value returned when Signal 6 stops MFCR2 STOP DETECTED WITH SIGNAL7 0x0037 Value returned when Signal 7 stops MFCR2 STOP DETECTED WITH SIGNAL8 0x0038 Value returned when Signal 8 stops MFCR2 STOP DETECTED WITH SIGNAL9 0x0039 Value returned when Signal 9 stops MFCR2 STOP DETECTED WITH SIGNAL10 0x003a Value returned when Signal 10 stops MFCR2 STOP DETECTED WITH SIGNALII 0x003b Value returned when Signal 11 stops MOTOROLA MFCR2 Detection Library Interfaces 3 11 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 escale Semiconductor Inc MFCR2 Detection Library Freese ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 MFCR2_STOP_DETECTED_WITH_SIGNAL12 MFCR2 STOP DETECTED WITH SIGNAL13 MFCR2 STOP DETECTED WITH SIGNAL14 MFCR2 STOP DETECTED WITH SIGNALI5 0x003c Value returned when Signal
36. s Table 3 1 MFCR2DetectCreate Arguments pConfig in Points to the configuration data for MFCR2 Detection Description The MFCR2 function creates an instance of MFCR2 Detection 216 words are dynamically allocated per instance and multiple instances are possible The pConfig argument points to a MFCR2 sConfigure structure which configures MFCR2 Detection operation Before calling MFCR2DetectCreate the user must initialize the DIRECTION parameter in the pConfig structure to either MFCR2 FORWARD or MFCR2 BACKWARD depending on whether the input is going to be a forward frequency combination or a backward frequency combination The function MFCR2DetectCreate itself calls the initialization function MFCR2DetectInit The library dynamically allocates memory using the mem library as shown in Code Example 3 2 Code Example 3 2 mem Library finclude mem h finclude MFCR2Detect nh MFCR2 sHandle MFCR2DetectCreate MFCR2 sConfigure pConfig FCR2 sHandle pMFCR2Detect Allocate the memory for the handle structure pMFCR2Detect MFCR2 sHandle memMallocEM sizeof MFCR2 sHandle if pMFCR2Detect NULL return NULL Allocate memory for the MFCR2datastruct pMFCR2Detect gt MFCR2 DATAStruct Wordl16 memMallocIM 110 sizeof Word16 if pMFCR2Detect gt MFCR2 DATAStruct NULL memIsIM pMFCR2Detec
37. t Motorola may terminate this Agreement if Licensee is in default of any of the terms and conditions of this Agreement This Agreement shall be governed by and construed in accordance with the laws of the State of Arizona and can only be modified in a writing signed by both parties Licensee agrees to jurisdiction and venue in the State of Arizona By using modifying installing compiling or copying the Software Licensee acknowledges that this Agreement has been read and understood and agrees to be bound by its terms and conditions Licensee agrees that this Agreement is the complete and exclusive statement of the agreement between Licensee and Motorola and supersedes any earlier proposal or prior arrangement whether oral or written and any other communications relative to the subject matter of this Agreement 7 2 MFCR2 Detection Library MOTOROLA For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Index D Digital Signal Processor DSP xi DSP xi VO xi IDE xi Input Output VO xi Integrated Development Environment IDE xi Metrowerks CodeWarrior 4 1 MFCR2 xi MFCR2 Detection library project MFCR2 mcp 4 1 Mfer2 directory 2 3 MFCR2 mcp 4 1 MFCR2DetectDestroy 3 14 Million Instructions Per Second MIPS xi MIPS xi Motorola DSP56800 Family Manual xi Motorola DSP56800E Reference Man
38. t gt MFCR2 DATAStruct false FCR2DetectDestroy pMFCR2Detect return NULL Allocate memory for the Copy Filter coefs in the Internal memory pMFCR2Detect gt Copy Filter Coefs Wordl6 memMallocIM 10 sizeof Word16 if pMFCR2Detect gt Copy Filter Coefs NULL memIsIM pMFCR2Detect gt Copy Filter Coefs false MOTOROLA MFCR2 Detection Library Interfaces 3 5 For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 MFCR2 Detection Library Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 FCR2DetectDestroy pMFCR2Detect return NULL Allocate memory for the Circular buffer of size 64 pMFCR2Detect gt Circular Buffer Fracl6 memMallocAlignedEM 64 sizeof Fracl6 if pMFCR2Detect gt Circular Buffer NULL memIsAligned pMFCR2Detect gt Circular Buffer 64 sizeof Fracl6 false FCR2DetectDestroy pMFCR2Detect return NULL Allocate memory for the In_Context_buf pMFCR2Detect gt In Context buf Int16 memMallocEM FRAME SZ sizeof Int16 if pMFCR2Detect gt In Context buf NULL FCR2DetectDestroy pMFCR2Detect return
39. t approach and requires no additional work on the user s part If you add the MFCR2 Detection library project MFCR2 mcp to your application project as shown in Figure 4 1 the MFCR2 Detection library will automatically build when the application is built m test MFCR2 mcp application i A s Files Link Order Targets File Ce Daa jk G3 Dependencies 51K EK e m C3 SDK Configuration 0 0 m C3 SDK Projects 0 0 bsp mep n a n a sys mcp n a n a tools mcp n a n a ff MFCR2 mcp n a n a Cy SDK Libs 2K A bsp lib B sys lib AB tools lib K mfcr2 lib 3 MSL EC Sources M testmfcr2detect c amp m L4 g g g g g amp amp amp t ls la ka la ka ka b ds be ds a c la 16 files Figure 4 1 Dependency Build for MFCR2 Detection Library MOTOROLA Building the MFCR2 Detection Library 4 1 For More Information On This Product Go to www freescale com Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Building the MFCR2 pete Ses Gale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 4 1 2 Direct Build Direct build allows you to build the MFCR2 Detection library independently of any other build Follow these steps Step 1 Open MFCR2 mcp project as shown in Figure 4 2 Library B B c A Files Link Order Targets W File el Data X ASM Sources 0 0 zz v HC Sources 0 0 m 14 f
40. ual xi Motorola DSP568xx User s Manual xi Motorola Embedded SDK Programmer s Guide xi Multi Frequency Compelled Register Signaling MFCR2 xi O OnCE xi On Chip Emulation OnCE xi S SDK xi Sotfware Development Kit SDK xi Source SRC xi SRC xi MOTOROLA T Targeting Motorola DSP568xx User s Manual xi telephony 2 2 Index For More Information On This Product Go to www freescale com ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Freescale Semiconductor Inc ARCHIVED BY FREESCALE SEMICONDUCTOR INC 2005 Motorola reserves the right to make changes without further notice to any products herein Motorola makes no warranty representation or guarantee regarding the suitability of its products for any particular purpose nor does Motorola assume any liability arising out of the application or use of any product or circuit and specifically disclaims any and all liability including without limitation consequential or incidental damages Typical parameters which may be provided in Motorola data sheets and or specifications can and do vary in different applications and actual performance may vary over time All operating parameters including Typicals must be validated for each customer application by customer s technical experts Motorola does not convey any license under its patent rights nor the rights of others Motorola products are not designed intended or authorized for use as components in systems int
41. vert or cause to be exported re exported resold shipped or diverted directly or indirectly the Software or a direct product thereof to any country which the United States government or any agency thereof at the time of export or re export requires an export license or other government approval without first obtaining such license or approval License THE SOFTWARE IS PROVIDED ON AN AS IS BASIS AND WITHOUT WARRANTY OF ANY KIND INCLUDING WITHOUT LIMITATION ANY WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE IN NO EVENT SHALL MOTOROLA BE LIABLE FOR ANY LIABILITY OR DAMAGES OF ANY KIND INCLUDING WITHOUT LIMITATION DIRECT OR INDIRECT OR INCIDENTAL OR CONSEQUENTIAL OR PUNITIVE DAMAGES OR LOST PROFITS OR LOSS OF USE ARISING FROM USE OF THE SOFTWARE OR THE PRODUCT REGARDLESS OF THE FORM OF ACTION OR THEORY OF LIABILITY INCLUDING WITHOUT LIMITATION ACTION IN CONTRACT NEGLIGENCE OR PRODUCT LIABILITY EVEN IF MOTOROLA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE THIS DISCLAIMER OF WARRANTY EXTENDS TO LICENSEE OR USERS OF PRODUCTS AND IS IN LIEU OF ALL WARRANTIES WHETHER EXPRESS IMPLIED OR STATUTORY INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR PARTICULAR PURPOSE Motorola does not represent or warrant that the Software is free of infringement of any third party patents copyrights trade secrets or other intellectual property rights or that Motorola has the right to grant the licenses contained her
Download Pdf Manuals
Related Search
Related Contents
HLA Fusion Release Notes - Research v3_0 Samsung UE32J6202AK Uporabniški priročnik コンビニ経営における会計的課題 菅原 史花 Veri-NAC™—the fastest to deploy, easiest to use Operating instructions DESMI TERMINATOR WEIR SKIMMER Philips 40PFL9904H User's Manual Programmateur hebdomadaire Programmateur APart TNW-VOL100 remote control Descargar PDF Copyright © All rights reserved.
Failed to retrieve file