Home
Call progress tones monitor for TMS320C6201 Overview
Contents
1. define TONE_KEY21 0x200000 KEY NUMBER 21 define TONE_SIN21 64 bin number for 2010Hz define SIN21_FD_LO 512 lt Must accept thrs TONE_SIN8 8 2 define SIN21_FD_HI 516 gt Must reject thrs TONE_SIN8 8 2 define SIN21_MARK_MAX 32767 Max mark time by 10ms define SIN21_MARK_MIN 20 min mark time by 10ms define SIN21_SPACE_MAX 0 Max space time by 10ms define SIN21 SPACE MIN 0 min space time by 10ms 15th single tone and the key state position is BIT22 define TONE KEY22 0x400000 KEY NUMBER 22 define TONE SIN22 29 bin number for 913 8Hz define SIN22 FD LO 230 lt Must accept thrs TONE SIN22 8 2 define SIN22 FD HI 234 gt Must reject thrs TONE SIN22 8 2 define SIN22 MARK MAX 26 max mark time by 10ms define SIN22 MARK MIN 24 min mark time by 10ms define SIN22 SPACE MAX 0 max space time by 10ms define SIN22 SPACE MIN 0 min space time by 10ms 16th single tone and the key state position is BIT23 define TONE KEY23 0x800000 KEY NUMBER 23 define TONE SIN23 32 bin number for 985 2Hz define SIN23 ED LO 254 lt Must accept thrs TONE SIN23 8 2 define SIN23 FD HI 258 gt Must reject thrs TONE SIN23 8 2 define SIN23 MARK MAX 26 max mark time by 10ms define SIN23 MA
2. SIN26 8 2 SIN26 8 2 SIN27 8 2 SIN27 8 2 S7 SIN28 8 2 SIN28 8 2 Wi SIN29 8 2 SIN29 8 2 Wi SIN30 8 2 SIN30 8 2 S W Kf kr Ko Kf E ke 13 RadiSys Corporation 24th single tone and the key state position is BIT31 Wi define TONE KEY31 0x80000000 KEY NUMBER 31 define TONE SIN31 64 bin number for xxxxHz define SIN31 FD LO 512 lt Must accept thrs TONE SIN31 8 2 define SIN31 FD HI 516 gt Must reject thrs TONE SIN31 8 2 define SIN31 MARK MAX 20 max mark time by 10ms define SIN31 MARK MIN 18 min mark time by 10ms define SIN31 SPACE MAX 0 max space time by 10ms define SIN31 SPACE MIN 0 min space time by 10ms TMS320C6X implementation test results Test results on call progress monitor All the tests have been performed on call progress monitor through the standard file IO using both the fixed point C simulation as well as c6x emulator It was confirmed that the c6x implementation was a bit exact match of the fixed point C simulation The results of these tests are presented in what follows All the files input PCM files are available upon request Frequency Freq Dev SNR Twist SigLev Input Detect Test Hz dB dB dBm file Y N Dial Tone 350 440 0 0 60 0 6 350 440dtone pcm YES 0 0 5 350 440dtone fdl pcm YES 0 0 5 350 440dtone fd2 pcm Y
3. define TONE KEY16 0x10000 KEY NUMBER 16 define TONE SIN16 83 bin number for 2600Hz define SIN16 ED LO 660 lt Must accept thrs TONE SIN8 8 2 define SIN16 FD HI 668 gt Must reject thrs TONE SINS 8 2 define SIN16_MARK_MAX 12 Max mark time by 10ms define SIN16_MARK_ MIN 8 min mark time by 10ms define SIN16_SPACE_MAX 12 Max space time by 10ms define SIN16 SPACE MIN 8 min space time by 10ms 10th single tone 1100Hz fax TX tone and the key state position is BIT17 xy define TONE_KEY17 0x20000 KEY NUMBER 17 define TONE SIN17 35 bin number for 1100Hz define SIN17 FD LO 276 lt Must accept thrs TONE SINS8 8 2 define SIN17 FD HI 284 gt Must reject thrs TONE SINS 8 2 define SIN17_MARK_MAX 32767 Max mark time by 10ms define SIN17 MARK MIN 28 min mark time by 10ms define SIN17 SPACE MAX 0 Max space time by 10ms define SIN17 SPACE MIN 0 min space time by 10ms Si Si 11th single tone 2100Hz fax rx tone and the key state position is BIT18 E define TONE KEY18 0x40000 KEY NUMBER 18 define TONE SIN18 67 bin number for 2100Hz define SIN18 FD LO 532 lt Must accept thrs TONE SIN8 8 2 define SIN18 FD HI 540 gt Must reject thrs TONE SINS 8 2 define SIN18 MARK MAX 32767 Max mark time by 10ms define
4. SINx SPACE MIN Minimum space time for single tones space tim tolerance 10 Definitions for 8 possible combined tones Oth combina tion 350 440Hz dial tone and key state position is BITO define TONE_KEYO 0x1 KEY NUMBER 0 define TONE COMOA 11 bin number for 350Hz define TONE COMOB 14 bin number for 440Hz define COMO FD LO 5 lt Must accept thrs 500 440 350 2 define COMO FD HI 7 gt Must reject thrs 500 440 350 2 define COMO MARK MAX 32767 Max mark time by 10ms define COMO MARK MIN 18 min mark time by 10ms define COMO SPACE MAX 0 Max space time by 10ms define COMO SPACE MIN 0 min space time by 10ms Ist combination 350 440Hz Recall Dial tone and key state position is BIT1 define TONE KEYL 0x2 KEY NUMBER 1 define TONE_COM1A 11 bin number for 350Hz define TONE_COM1B 14 bin number for 440Hz define COM1_FD_LO 5 lt Must accept thrs 500 440 350 2 define COM1_FD_HI 7 gt Must reject thrs 500 440 350 2 define COM1_MARK_MAX 12 Max mark time by 10ms define COM1_MARK_MIN 8 min mark time by 10ms define COM1_SPACE_MAX 12 Max space time by 10ms define COM1_SPACE_MIN 8 min s
5. 18 Call progress monitor for TMS320C6201 Overview Guide Where to get more information About the Call progress monitor for TMS320C6201 You can find out more about the Call progress monitor from these sources e Readme file Lists features and issues that arose too late to include in other documentation e World Wide Web RadiSys maintains an active site on the World Wide Web The site contains current information about the company and locations of sales offices new and existing products contacts for sales service and technical support information You can also send e mail to RadiSys using the web site When sending e mail for technical support please include information about both the hardware and software plus a detailed description of the problem including how to reproduce it To access the RadiSys web site enter this URL in your web browser http www radisys com Requests for sales service and technical support information receive prompt response About related products SP6040 The RadiSys SP6040 SPIRIT 6040 CompactPCI board is a high performance intelligent I O subsystem designed for telecom and datacom applications Based on Texas Instrumentst devices the SP6040 has a 200MHz DSP engine with an I O connector that provides interface to digital network interfaces DNI such as E1 T1 and ATM The SP6040 contains up to four TMS320C6201 digital signal processors SP6020 The RadiSys SP6020 SPIRIT 6020 bo
6. MARK MIN SIN25 SPACE MAX SIN25 SPACE MIN single tone and ONE KEY26 ONE SIN26 SIN26 FD LO SIN26 FD HI SIN26 MARK MAX SIN26 MARK MIN SIN26 SPACE MAX SIN26 SPACE MIN eg Si single tone and ONE KEY27 ONE SIN27 SIN27 ED LO SIN27 FD HI SIN27 MARK MAX SIN27 MARK MIN SIN27 SPACE MAX SIN27 SPACI eg Si MIN single tone and ONE KEY28 ONE SIN28 SIN28 FD LO SIN28 FD HI SIN28 MARK MAX SIN28 MARK MIN SIN28 SPACE MAX SIN28 SPACE MIN single tone and ONE KEY29 ONE SIN29 SIN29 FD LO SIN29 FD HI SIN29 MARK MAX SIN29 MARK MIN SIN29 SPACE MAX SIN29 SPACE MIN single tone and ONE KEY30 ONE SIN30 SIN30 FD LO SIN30 FD HI SIN30 MARK MAX SIN30 MARK MIN SIN30 SPACE MAX SIN30 SPACE MIN 0x2000000 KEY NUMBER 25 bin number for 1428 5Hz 46 364 368 26 24 0 0 lt Must accept thrs gt Must reject thrs max min max min mark time by 10ms mark time by 10ms space time by 10ms space time by 10ms the key state position is BIT26 0x4000000 KEY NUMBER 26 DU 453 457 26 24 0 0 ONE SIN25 8 2 ONE SIN25 8 2 y bin number for 1776 7Hz max lt Must accept thrs TONE gt Must reject thrs TONE mark time by 10ms mark time by 10
7. SIN18 MARK MIN 18 min mark time by 10ms define SIN18 SPACE MAX 0 Max space time by 10ms define SIN18 SPACE MIN 0 min space time by 10ms P P 12th single tone 2100Hz data modem tone and the key state position is BIT19 Wi define TONE KEY19 0x80000 KEY NUMBER 19 define TONE SIN19 67 bin number for 2100Hz define SIN19 FD LO 532 lt Must accept thrs TONE SINS8 8 2 1 RadiSys Corporation define SIN19_FD_HI 540 gt Must reject thrs TONE_SIN8 8 2 define SIN19_MARK_ MAX 32767 Max mark time by 10ms define SIN19 MARK MIN 48 min mark time by 10ms define SINl19 SPACE MAX 0 Max space time by 10ms define SIN19 SPACE MIN 0 min space time by 10ms 13th single tone 1004Hz line test tone and the key state position is BIT20 r define TONE KEY20 0x100000 KEY NUMBER 20 define TONE SIN20 32 bin number for 1004Hz define SIN20 FD LO 252 lt Must accept thrs TONE SIN8 8 2 define SIN20 FD HI 260 gt Must reject thrs TONE SINS 8 2 define SIN20 MARK MAX 32767 Max mark time by 10ms define SIN20 MARK MIN 20 min mark time by 10ms define SIN20 SPACE MAX 0 Max space time by 10ms define SIN20 SPACE MIN 0 min space time by 10ms Pai Ja 14th single tone 2010Hz SS7 tone and the key state position is BIT21
8. detect the CPM tone duration pTdVar gt ToneDurationis a Short Word16 variable defined as a count of 10ms intervals For actual time duration multiply this count with 10ms For examples if ptdvar gt ToneDuration is 5 then the actual tone duration is 50ms This duration available to the application as soon as pIdVar gt ToneStatus becomes TRUE Testing and performance specifications Call progress monitor tests on the c6x evaluation board The c6x call progress monitor implementation must satisfy all the TIA EIA 464 B specification These tests are performed using the c6x evaluation board and standard file I O Results should match the results of the RadiSysfixed point C simulation Call progress monitor initialization CPM uses the following constants cpmdef h which specifies frequencies cadences and tolerance for detection User has an option to set a specific CPM tones by making the corresponding bit fields 1 in the structure variable pvar gt keystate Then CPM state machine looks for the user specified tones for detection Configuring CPM 1 CPM state machine optimized to make it simple by restricting it to a lower level That means it just has a capability to detect amp continue to detect the tone with specified cadences For example it has a capability to detect 500ms phase reversals in case of data modem tone Its up to the higher level state machine user wrapper code to decide how many phase reversals one s
9. then to the c6xsim sub directory 2 If you ve already installed the TI tools you can build the C6x version of the Call progress monitor by entering this command at the MS DOS command prompt NMAKE f cpmbuild mak Call progress monitor for TMS320C6201 Overview Guide Code organization When installed the Call progress monitor software files reside in this directory structure Directory Extension File type Description pm pdf Manual Includes this guide in PDF format cpm c6xsim CPM example test program and working directory C C files Includes cpmc c c the main test program C X Output file The tonefile c6x file includes test results cmd Linker command files The cpmc6x cmd file controls object modules linking options and memory maps for the Call progress monitor module lib Library files The cpm lib file includes object modules used to build DSP executables Jin Input files The tonefile lin file includes PCM test vectors mak Build file The cpmc6x mak file controls the build process for cpmc6x out the test program cpm include ch Header files Header files used to build the Call progress monitor Applications can share these files as well I This file is tested to work with the Microsoft NMAKE utility and can be modified to work with other make utilities Application programmer interface The CPT detector software is designed for use in a multi tasking environment T
10. 0ms define SIN13_SPACE_MAX 12 Max space time by 10ms define SIN13 SPACE MIN 8 min space time by 10ms 7th single tone 2060Hz Off Hook and the key state position is BITk14 ey 10 Call progress monitor for TMS320C6201 Overview Guide define TONE KEY14 0x4000 KEY NUMBER 14 define TONE SIN14 66 bin number for 2060Hz define SIN14 FD LO 524 lt Must accept thrs TONE SIN8 8 2 define SIN14 FD HI 531 gt Must reject thrs TONE SINS 8 2 define SINl14 MARK MAX 12 Max mark time by 10ms define SIN1I4 MARK MIN 8 min mark time by 10ms define SIN14 SPACE MAX 12 Max space time by 10ms define SIN14 SPACE MIN 8 min space time by 10ms 8th single tone 2450Hz Off Hook and the key state position is BIT15 define TONE_KEY15 0x8000 KEY NUMBER 15 define TONE_SIN15 78 bin number for 2450Hz define SIN15_FD_LO 625 lt Must accept thrs TONE_SIN8 8 2 define SIN15_FD_HI 629 gt Must reject thrs TONE_SIN8 8 2 define SIN15_MARK_MAX 12 Max mark time by 10ms define SIN15_MARK_MIN 8 min mark time by 10ms define SIN15_SPACE_MAX 12 Max space time by 10ms define SIN15 SPACE MIN 8 min space time by 10ms 9th single tone 2600Hz Off Hook and the key state position is BIT16 Kf
11. 10ms define COM6_SPACE_MAX 330 Max space time by 10ms define COM6_SPACE_MIN 270 min space time by 10ms define COM6A_MARK_MAX 220 Max mark time by 10ms define COM6A_MARK_MIN 180 min mark time by 10ms define COM6A_SPACE_MAX 440 Max space time by 10ms define COM6A_SPACE_MIN 360 min space time by 10ms 440 480Hz Special Audible ring tone and key state position is BIT7 define TONE_KEY7 0x80 KEY NUMBER 7 define TONE_COM7A 14 bin number for 440Hz define TONE_COM7B 15 bin number for 480Hz define COM7_FD_LO 8 lt Must accept thrs 500 480 440 2 define COM7_FD_HI 18 gt Must reject thrs 500 480 440 2 define COM7_MARK_MAX 32767 Max mark time by 10ms define COM7_MARK_MIN 80 min mark time by 10ms define COM7_SPACE_MAX 0 Max space time by 10ms define COM7_SPACE_MIN 0 min space time by 10ms Definitions for single tones 1st single tone 440Hz Call Waiting tone and the key state position is BITS define TONE_KEY8 0x100 KEY NUMBER 8 define TONE_SIN8 14 bin number for 440Hz define SIN8_FD_LO 108 lt Must accept thrs TONE_SIN8 8 2 define SIN8_FD_HI 116 gt Must reject thrs TONE SIN8S 8 2 define SIN8 MARK MAX 30 Max mark time by 10ms define SIN8 MARK MIN 10 min mark time by 10ms define SIN
12. 620 480 2 define COM4 FD HI 5 gt Must reject thrs 500 620 480 2 define COM4 MARK MAX 55 Max mark time by 10ms define COM4 MARK define COM4_S define COM4_S PAC PAC bi bi MIN 45 min mark time by 10ms _MAX 55 Max space time by 10ms MIN 45 min space time by 10ms 5th combination 480 620 Reorder tone and key state position is BITS define TONE KEY5 0x20 KEY NUMBER 5 define TONE COMSA L5 bin number for 480Hz define TONE_COM5B 20 bin number for 620Hz define COM5_FD_LO 3 lt Must accept thrs 500 620 480 2 define COM5_FD_HI 5 gt Must reject thrs 500 620 480 2 define COM5_MARK_MAX 27 Max mark time by 10ms define COM5_MARK_MIN 22 min mark time by 10ms define COM5_SPACE_MAX 27 Max space time by 10ms define COMS SPACE MIN 22 min space time by 10ms 6th combina BIT6 tion 7th combina tion 440 480 Audible ring tone and key state position is define TONE_KEY6 0x40 KEY NUMBER 6 define TONE_COM6A 14 bin number for 440Hz define TONE_COM6B 15 bin number for 480Hz define COM6_FD_LO 8 lt Must accept thrs 500 480 440 2 define COM6_FD_HI 18 gt Must reject thrs 500 480 440 2 define COM6 MARK MAX 120 Max mark time by 10ms define COM6 MARK MIN 80 min mark time by
13. 8 SPACE MAX 1004 Max space time by 10ms RadiSys Corporation define SIN8 SPACE MIN 996 min space time by 10ms 2nd single tone 440Hz Busy Verification tone and the key state position is BIT9 define TONE KEY9 0x200 KEY NUMBER 9 define TONE SIN9 14 bin number for 440Hz define SIN9 FD LO 108 lt Must accept thrs TONE SINS8 8 2 define SIN9 FD HI 116 gt Must reject thrs TONE SIN8S 8 2 define SIN9_MARK_MAX 200 Max mark time by 10ms define SIN9_MARK_MIN 150 min mark time by 10ms define SIN9 SPACE MAX 0 Max space time by 10ms define SIN9_SPACE_MIN 0 min space time by 10ms 3rd single tone 440Hz Executive Override tone and the key state position is BIT10 EJ define TONE_KEY10 0x400 KEY NUMBER 10 define TONE_SIN10 14 bin number for 440Hz define SIN10_FD_LO 108 lt Must accept thrs TONE_SIN8 8 2 define SIN10_FD_HI 116 gt Must reject thrs TONE_SIN8 8 2 define SIN10_MARK_MAX 400 Max mark time by 10ms define SIN10_MARK_MIN 200 min mark time by 10ms define SIN10_SPACE_MAX 0 Max space time by 10ms define SIN10_SPACE_MIN 0 min space time by 10
14. ES re 350 440dtone fd3 pcm YES 0 5 0 5 350 440dtone fd4 pcm YES 0 5 0 350 440dtone fd5 pcm YES 350 440dtone fd6 pcm YES 350 440 0 0 15 350 440dtone snr pcm YES 60 30 350 440dtone dnr pcm YES 60 3 350 440dtone twl pcm YES 3 350 440dtone tw2 pcm YES Recall Dial 350 440 0 0 60 0 6 350 440rtone pcm YES Tone Confirmatio 350 440 0 0 60 0 6 350 440ctone pcm YES n Tone Stutter Tone 350 440 0 0 60 0 6 350 440stone pcm YES 14 Call progress monitor for TMS320C6201 Overview Guide Frequency Freq Dev SNR Twist SigLev Input Detect Test Hz dB dB dBm file Y N Busy Tone 480 620 0 0 60 0 6 480 620btone pcm YES 0 0 5 480 620btone fdl pcm YES 0 0 5 480 620btone fd2 pcm YES Br 480 620btone fd3 pcm YES 05 0 5 480 620btone fd4 pcm YES 0 5 0 480 620btone fd5 pcm YES 5 480 620btone fd6 pcm YES 0 0 15 480 620btone snrpcm YES 60 30 480 620btone dnr pcm YES 60 3 480 620btone twl pcm YES 3 480 620btone tw2 pcm YES Reorder 480 620 0 0 60 0 6 480 620rtone pcm YES Tone Audible 440 480 0 0 60 0 6 440 480atone pcm YES Ring Tone Special 440 480 0 0 60 0 6 440 480sptone pcm YES Audible 0 0 5 440 480sptone fdl pcm YES Ring Tone 0 0 5 440 480sptone fd2 pcm YES ra 440 480sptone fd3 pcm YES 05 0 5 440 480sptone fd4 pcm YES 0 5 0 440 480sptone fd5 pcm YES 5 440 480sptone fd6 pcm YES 0 0 15 440 480sptone snrpcm YES 60 30 440 480sptone_dnr pcm YES 60 3 440 480sptone twl pc
15. RK MIN 24 min mark time by 10ms define SIN23 SPACE MAX 0 max space time by 10ms define SIN23 SPACE MIN 0 min space time by 10ms 17th single tone and the key state position is BIT24 define TONE_KEY24 0x1000000 KEY NUMBER 24 define TONE_SIN24 44 bin number for 1370 6Hz define SIN24 FD LO 349 lt Must accept thrs TONE SIN24 8 2 define SIN24 FD HI 353 gt Must reject thrs TONE SIN24 8 2 define SIN24 MARK MAX 26 max mark time by 10ms define SIN24 MARK MIN 24 min mark time by 10ms define SIN24 SPACE MAX 0 max space time by 10ms define SIN24 SPACE MIN 0 min space time by 10ms 18th single tone and the key state position is BIT25 K 12 Call progress monitor for TMS320C6201 Overview Guide de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de de fine fine fine fine fine fine fine fine 19th fine fine fine fine fine fine fine fine 20th fine fine fine fine fine fine fine fine 21th fine fine fine fine fine fine fine fine 22nd fine fine fine fine fine fine fine fine 23rd fine fine fine fine fine fine fine fine ONE_KEY25 ONE_SIN25 SIN25_FD_LO SIN25 FD HI SIN25 MARK MAX SIN25
16. YES 3 m YES 440_480sptone_tw2 pc m RadiSys Corporation Frequency Freq Dev SNR Twist SigLev Input Detect Test Hz dB dB dBm file Y N Intercept 440 0 60 N A 6 A440itone pcm YES Tone 0 5 440itone fd pcm YES 15 A440itone snr pcm YES 30 440itone_dnr pcm YES Call Waiting 440 0 60 N A 6 A440ctone pcm YES Tone Busy 440 0 60 N A 6 A440btone pcm YES Verification Tone Executive 440 0 60 N A 6 440etone pcm YES Override Tone Intercept 620 0 60 N A 6 620itone pcm YES Tone 0 5 620itone fd pcm YES 15 620itone_snr pcm YES 30 620itone_dnr pcm YES Tone during 1400 0 60 N A 6 1400tone pcm YES Off Hook 0 5 1400tone fd pcm YES 15 1400tone snr pcm VEG 30 1400tone_dnr pcm YES Tone during 2060 0 60 N A 6 2060tone pcm YES Off Hook t0 5 2060tone fd pcm VES 15 2060tone snr pcm YES 30 2060tone dnr pcm YES 16 Call progress monitor for TMS320C6201 Overview Guide Frequency Freq Dev SNR Twist SigLev Input Detect Test Hz dB dB dBm file Y N Tone during 2450 0 60 N A 6 2450tone pcm YES Off Hook 0 5 2450tone fd pcm YES 15 2450tone snr pcm YES ap 2450tone dnr pcm YES Tone during 2600 0 60 N A 6 2600tone pcm YES Off Hook 0 5 2600tone fd pcm YES 15 2600tone snr pcm VES 30 2600tone dnr pcm YES Data 2100 0 60 N A 6 2100dtone pcm YES Modem with phase Tone shift of 15 Hz 2087dtone pcm YES 180 15 Hz 2112dtone pcm YES 15 2100dtone_snr pcm YES 0 30 2100dtone_d
17. ard features two Texas Instruments TMS320C6201B fixed point DSPs that run at 200MHz and serve as the main processing engines Each C6x can deliver up to 1600 MIPS of processing power contingent on the available parallelism within the application code The DSPs are used for voice and data processing compression and decompression TASK 6000 TASK 6000 software is a tool set that provides a framework for composing executing and dynamically configuring optimized real time TMS320C62x DSP applications The Voice Gateway Platform VGP available from RadiSys is used as the reference hardware platform RadiSys Corporation 20 For detailed information about TASK 6000 products see the following publications TASK 6000 User s Manual 07 0992 xx TASK 6000 Installation Guide 07 1000 xx TI tools Software tools from Texas Instruments used to build DSP executables For more information about Texas Instruments products enter this URL in your web browser http www ti com dsp
18. dmhessidusendhevde 2 Application programmer Interface 3 Testing and performance Specifications ccccceeescecceesseeeeseceeeseeeeeeseeeeeseeeesaaaeeeees 6 TMS320C6X implementation test results rrrrrrrrrnnrrorrnnnrrrrrnnnrrrnnnnrrenrnnnerrnnnnnenr 14 Kusel EE 19 Installation To make the Call progress monitor software fully functional follow these steps Install the software Compile and link the software Figure 1 Installing and building the Call progress monitor software RadiSys Corporation Requirements Before you can install this software you need the following e lt A Microsoftt Windowst 95 Windows 98 or Windows NIT compatible PC platform e The following software installed on your computer e TMS320C6x Code Generation Tools Release 3 01 for Windows 95 Windows 98 or Windows NT Code Composer Studio Tools version 1 2 for Windows 95 Windows 98 or Windows NT e NMAKE utility available from Microsoft e PKUNZIP utility Install the software To install the Call progress monitor software 1 Create a directory on the target system For example mkdir c cpm 2 Copy the product files from the CD ROM to the directory you just created VM Use o copy utility that retains the directory structure such as Xcopy Compile and link the software To compile and link the Call progress monitor software 1 Open an MS DOS command prompt window and go to the target directory
19. es array defined as a count of minimum ON time mark of a single combined tones Min ON time in ms 10ms For default refer to include cpmdef h pTdVar gt MaxOffTime 32 16 bit structure for 32 variables array defined as a count of maximum OFF time space of a single combined tones Max OFF time in ms 10ms For default refer to include cpmdef h pTdVar gt MinOffTime 32 16 bit structure for 32 variables array defined as a count of minimum OFF time space of a single combined tones Min OFF time in ms 10ms For default refer to include cpmdef h I O parameters for every 30ms frame pInBuf Short Pointer to the TDM Input buffer 16 bit PCM samples size of 480 bytes 32 bit alignment pTdVar gt keyState 32 bit structure variable to enable up to 32 CPM tone detection s Bit 0 is used for 13t tone Bit 1 is used for 2 4 tone Bit 31 is used for 32nd tone By default all the bits in the pravar gt keystate Oxffffffff are enabled Application has an option to set a specific CPM tones by making the corresponding bit fields 1 in pravar gt keystate Then the CPM state machine looks for the application specified tones for detection pTdVar gt key 32 bit structure variable to store the CPM detected output Detected output consists of key number as specified in the cpmdef h Also refer to Testing and performance specifications for more details RadiSys Corporation pTdVar gt ToneDuration This structure variable used
20. he functional prototypes for the CPT detector modules are as follows The API for the CPT detector module consists of the following functions All the design is C callable and accepts buffers passed to the module i e no stack variables no direct access of globals RadiSys Corporation CreateCPTdetect Configures appropriate parameters for the detector and initializes variables Syntax CreateCPTdetect CPTdetectStateVar pTdVar Parameters pTdvar Pointer to the CPM state variable structure with sizeof CPTdetStateVar 32 bit alignment persistent input output CPTdetMain Syntax CPTdetMain CPTdetStat CPTdetTbl eVar pTdVar pTdCoeff Wordl6 pInBuf Wordl6 pScratch Parameters pTdVar pTdCoeff pInBuf pScratch Pointer to the CPM state variable structure with sizeof CPTdetStateVar 32 bit alignment persistent input output Pointer to the CPM state table structure with sizeof CPTdetTbl 32 bit alignment shared input Pointer to the 16 bit PCM input samples with size of 240 bytes 32 bit alignment non persistent input Pointer to the scratch memory with size of 2400 bytes 32 bit alignment non persistent input Run time Initializations These structure elements are initialized one time at start of function after calling CreateCPT detect pTdVar gt keyState 32 bit structure variable to enable up to 32 CPM tone detection s Bit 0 is used for 15t tone Bit 1 is used f
21. hould look far before declaring it as a data modem tone User has an option to select 8 possible cadences for detection from a maximum 3 possible combined tones at each time TONE KEY1 TONE KEY2 TONE KEY3 are subset of TONE_KEY0 i e the frequencies are same as TONE KEYO but different cadences User has an option to only change cadences on the others TONE KEYS is a subset of TONE KEY4 i e the frequencies are same as TONE KEY4 but different cadences User has an option to only change cadence between the two Similarly TONE KEY7 is a subset of TONE KEY6 i e the frequencies are same as TONE KEY6 but different cadences User has an option to only change cadence between the two User has an option to select 21 possible cadences for detection from a maximum of 18 possible single tones at each time Call progress monitor for TMS320C6201 Overview Guide 7 TONE KEY9 TONE KEY10 TONE KEY11 are subset of TONE KEY i e same frequency as TONE KEYS but different cadences User has an option to only change cadences on others 8 TONE KEY18 dedicated to detect 2100Hz fax tone with specified cadences 9 TONE KEY19 dedicated to detect 2100Hz data modem tone phase reversals with specified cadences 10 Others are user programmable for single tone detects with specified cadences General CP tone representations for detection Tone Description TONE KEYxx Tone number corresponding to bit field in structure variable pVar gt ke
22. ms 4th single tone 440Hz Intercept tone and the key state position is BIT11 define TONE KEY11 0x800 KEY NUMBER 11 define TONE SINI11 14 bin number for 440Hz define SIN11 FD LO 108 lt Must accept thrs TONE SINS8 8 2 define SIN11l FD HI 116 gt Must reject thrs TONE SIN8 8 2 define SIN11_MARK_MAX 30 Max mark time by 10ms define SINI1 MARK MIN 16 min mark time by 10ms define SIN11_ SPACE MAX 0 Max space time by 10ms define SIN11_SPACE_MIN 0 min space time by 10ms 5th single tone 620Hz Intercept tone and the key state position is BIT12 SCH define TONE KEY12 0x1000 KEY NUMBER 12 define TONE_SIN12 19 bin number for 620Hz define SIN12_FD_LO 155 lt Must accept thrs TONE_SIN8 8 2 define SIN12_FD_HI 159 gt Must reject thrs TONE_SIN8 8 2 define SIN12 MARK MAX 30 Max mark time by 10ms define SIN12 MARK MIN 16 min mark time by 10ms define SIN12 SPACE MAX 0 Max space time by 10ms define SIN12 SPACE MIN 0 min space time by 10ms 6th single tone 1400Hz Off Hook and the key state position is BIT13 define TONE KEY13 0x2000 KEY NUMBER 13 define TONE SIN13 44 bin number for 1400Hz define SIN13 FD LO 356 lt Must accept thrs TONE SIN8 8 2 define SIN13 FD HI 364 gt Must reject thrs TONE SIN8S 8 2 define SIN13 MARK MAX 12 Max mark time by 10ms define SIN13 MARK MIN 8 min mark time by 1
23. ms min max min space time by 10ms space time by 10ms the key state position is BIT27 0x8000000 KEY NUMBER 27 64 512 516 20 18 0 0 bin lt Must accept thrs gt Must reject thrs max min max min ONE ONE mark time by 10ms mark time by 10ms space time by 10ms space time by 10ms number for xxxxHz the key state position is BIT28 0x10000000 KEY NUMBER 28 64 512 516 20 18 0 0 bin lt Must accept thrs gt Must reject thrs max min max min ONE ONE mark time by 10ms mark time by 10ms space time by 10ms space time by 10ms number for xxxxHz the key state position is BIT29 64 512 516 20 18 0 0 0x20000000 KEY NUMBER 29 bin lt Must accept thrs gt Must reject thrs max min max min E ONE ONE mark time by 10ms mark time by 10ms space time by 10ms space time by 10ms number for xxxxHz the key state position is BIT30 0x40000000 KEY NUMBER 30 64 512 516 20 18 0 0 bin lt Must accept thrs gt Must reject thrs max min max min number for xxxxHz ONE ONE mark time by 10ms mark time by 10ms space time by 10ms space time by 10ms
24. nr pcm YES 110 0 60 6 2100tone pcm YES no 109 2100d1 10 pcm detect YES 155 2100d_110 pcm no detect 205 2100d155 pcm YES no 2100d205 pcm detect YES YES RadiSys Corporation Frequency Freq Dev SNR Twist SigLev Input Detect Test Hz dB dB dBm file Y N Fax Detect 2100 0 60 N A 6 2100tone pcm YES Rx tone 12 5 Hz 2100tone fd pcm YES 15 2100tone snr pcm YES ap 2100tone dnr pcm YES Data 2100 0 60 N A 6 2100dtone pcm YES Modem Tone 15 Hz 2100dtone fd pcm YES 15 2100dtone snr pcm VES ap 2100dtone dnr pcm YES Line test 1004 0 60 N A 6 1004tone pcm YES tone 0 5 1004tone fd pcm YES 15 1004tone snr pcm YES 30 1004tone_dnr pcm YES SS7 tone 2010 0 60 N A 6 2010tone pcm YES 0 5 2010tone_fd pcm YES 15 2010tone snr pcm YES ap 2010tone dnr pcm YES MCPS measurements for call progress monitor The MCPS million cycles per second measurements for the c6x implementation of the CPM with hand optimization of most of the routines are 0 30 MCPS per channel Memory measurements for call progress monitor c6x implementation of the cpm needs 23 748 Kbytes of program memory and 3 280 Kbytes of data memory Out of 3 280 Kbytes of data memory the variables structure is of 1 696 Kbytes which should be aligned to 32 bit word boundary and tables structure is of 1 584 Kbytes which needs 16 bit alignment In addition to the above data memory cpm also needs a scratch data memory of 2 528 Kbytes
25. or 2 4 tone Bit 31 is used for 3224 tone By default all the bits in the pravar gt keystate Oxffffffff are enabled pTdVar gt ToneNum0a 0b 7a 7b 16 bit structure variables defined for each tone bin number tone frequency 31 25 amp round it to nearest integer of the single tone CPM module supports up to 8 combined dual tones For default refer to include cpmdef h pTdVar gt ToneNum8 9 31 Call progress monitor for TMS320C6201 Overview Guide 16 bit structure variables defined for each tone bin number tone frequency 31 25 amp round it to nearest integer of the single tone CPM module supports up to 24 single tones For default refer to include cpmdef h pTdVar gt FrDeLow 32 16 bit structure for 32 variables array defined for allowable low frequency deviation for single combined tones sampling frequency 16 absolute difference of two frequencies 2 For default refer to include cpmdef h pTdVar gt FrDeHi gh 32 16 bit structure for 32 variables array defined for allowable high frequency deviation for single combined tones sampling frequency 16 absolute difference of two frequencies 2 For default refer to include cpmdef h pTdVar gt MaxOn Time 32 16 bit structure for 32 variables array defined as a count of maximum ON time mark of a single combined tones Max ON time in ms 10ms For default refer to include cpmdef h pTdVar gt MinOn Time 32 16 bit structure for 32 variabl
26. pace time by 10ms 2nd combination 350 440Hz Conformation tone and key state position is BIT2 define TONE_KEY2 0x4 KEY NUMBER 2 define TONE_COM2A 11 bin number for 350Hz define TONE COM2B 14 bin number for 440Hz define COM2 FD LO 5 lt Must accept thrs 500 440 350 2 define COM2_FD_HI 7 gt Must reject thrs 500 440 350 2 define COM2_MARK_MAX 120 Max mark time by 10ms define COM2_MARK_MIN 80 min mark time by 10ms define COM2_SPACE_MAX 12 Max space time by 10ms define COM2_SPACE_MIN 8 min space time by 10ms 3rd combination 350 440Hz Stutter Dial tone and key state position is BIT3 define TONE_KEY3 0x8 KEY NUMBER 3 define TONE_COM3A 11 bin number for 350Hz define TONE_COM3B 14 bin number for 440Hz define COM3_FD_LO 5 lt Must accept thrs 500 440 350 2 define COM3_FD_HI 7 gt Must reject thrs 500 440 350 2 define COM3_MARK_MAX 127 Max mark time by 10ms define COM3_MARK_MIN 122 min mark time by 10ms define COM3_SPACE_MAX 27 Max space time by 10ms define COM3_SPACE_MIN 22 min space time by 10ms 4th combination 480 620Hz Busy tone and key state position is BIT4 define TONE_KEY4 0x10 KEY NUMBER 4 define TONE_COM4A 15 bin number for 480Hz define TONE_COM4B 20 bin number for 620Hz Call progress monitor for TMS320C6201 Overview Guide define COMA4 ED LO 3 lt Must accept thrs 500
27. www radisys com World Headquarters 5445 NE Dawson Creek Drive Hillsboro OR 97124 USA Phone 503 615 1100 Fax 503 615 1121 Toll Free 800 950 0044 International Headquarters Gebouw Flevopoort Televisieweg 1A NL 1322 AC Almere The Netherlands Phone 31 36 5365595 Fax 31 36 5365620 007 01013 0002 November 2000 Call progress tones monitor for TMS320C6201 Overview Guide November 2000 Copyright 2000 by RadiSys Corporation All rights reserved EPC iRMX INtime Inside Advantage and RadiSys are registered trademarks of RadiSys Corporation Spirit DAI DAQ ASM Brahma and SAIB are trademarks of RadiSys Corporation f All other trademarks registered trademarks service marks and trade names are the property of their respective owners Call progress monitor for TMS320C6201 The Call progress monitor for TMS320C62011 performs CPT detection for high capacity trunks It detects only in band audible tones it does not address any tones which may be out of band You can use this Call progress monitor software in a multi tasking environment The Call progress monitor for TMS320C6201 executes on blocks of 240 linear 16 bit PCM samples 30ms frames at 8000Hz sampling rate For information about installing and using the Call progress monitor software see the topics listed below For information about Go to this page el EE FEN 2 ele E 2 Compile and link the SofWareuinaeusseusiermshemu
28. ystate TONE COMxA First tone bin number tone frequency 31 25 rounded to nearest integer of the combined tone TONE COMxB Second tone bin number tone frequency 31 25 rounded to nearest integer of the combined tone COMx FD LO Allowable low frequency deviation for combined tones sampling frequency 16 absolute difference of two frequencies 2 COMx FD Hi Allowable high frequency deviation for combined tones sampling frequency 16 absolute difference of two frequencies 2 COMx MARK MAX Maximum mark time for combined tones mark time tolerance 10 COMx MARK MIN Minimum mark time for combined tones mark time tolerance 10 COMx SPACE MAX Maximum space time for combined tones space time tolerance 10 COMx SPACE MIN Minimum space time for combined tones space time tolerance 10 TONE SINxx Tone bin number tone frequency 31 25 rounded to nearest integer of the combined tone SINxx FD LO Allowable low frequency deviation for single tones TONE SINxx 8 2 SINxx FD Hi Allowable high frequency deviation for single tones TONE SINxx 8 2 SINx MARK MAX Maximum mark time for single tones mark time tolerance 10 SINx MARK MIN Minimum mark time for single tones mark time tolerance 10 SINx SPACE MAX Maximum space time for single tones space time tolerance 10 RadiSys Corporation Tone Description
Download Pdf Manuals
Related Search
Related Contents
Pyle Video Accessories User Manual NPG NL-1914HHB LED TV Desenvolvimento de Robô Manipulador Baseado em Componentes IMC Networks 852-11911 network media converter Sony STR-GX49ES User's Manual Produktübersicht 2011 Cerradura Trinity 788 old version - Electronic Systems and Networking Group Stellaris LM3S6432 S2E RDK Readme First IAN 94040 - Lidl Service Website Copyright © All rights reserved.
Failed to retrieve file