280 likes | 469 Views
Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP. JUNE/21/2002 China/Taiwan Chinese Presentation. TMS320C54x, C5000, C54x, TMS320, eXpressDSP, and DSP/BIOS are trademarks of Texas Instruments Incorporated. 1.
E N D
Telephony Made Simple:Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002 China/Taiwan Chinese Presentation TMS320C54x, C5000, C54x, TMS320, eXpressDSP, and DSP/BIOS are trademarks of Texas Instruments Incorporated. 1
Presenters:钱建良先生 合众达电子有限公司TI公司中国区 DSP 增值分销商 2
Agenda • Design Engineer’s Challenge: Implementing Telephony Features • Design Example • TMS320C54CST DSP – Quick and Reliable Solution • Inside the C54CST DSP • TI + SPIRIT Aligned for Success • Question and Answer Session 3
Point-of-sale outlets and kiosks Set-top boxes Credit card and check verification systems Utility meters Security systems ATM terminals Industrial and medical monitoring systems Payphones Voice recorders iAppliance / gateways Postal scale / metering Industrial measurement systems Voice / data access points Instrumentation Building controls Medical monitoring / telephony Digital answering machine (DTAD) Remote data collection Applications for C54CST 4
Design Example – “Advertisement On Hold” Server PSTN Download audio updates from server to PBX 01010101 - modem Telephony and audio Play out audio advertisement while on-hold 5
Typical Steps in Implementing Telephony Features Select DSP platform Find algorithm vendors + Purchase DSPs License algorithms Development Develop your own software Integrate all software Integrate with target hardware Test and debug Product 6
Challenges • Deal with multiple parties: • DSP vendors • Software vendors • IP holders • Long integration, may take months • Long time-to-market • Expensive! 7
Integrated CST Chip for Fast, Flexible Design Start to Finish • C54CST is the TMS320C54x™ DSP with one integrated DAA and UART on chip and one 64-kW ROM containing: • 14 TMS320™ DSP Algorithm Standard (xDAIS) algorithms for: • Modem • Voice • Telephony signaling • Flexible telephony framework (supports eXpressDSP™ software technology and DSP/BIOS™ real-time kernel) • All C54CST software provided by SPIRIT 8
Host Analog (optional) DAA Internal Internal User’s code RAM CST ROM (optional) 16 KW 64 KW CST DSP Overview TMS320C54CST DSP UART DAA C54x™ DSP Core 9
Inside the C54CST Solution • CST Software Algorithms • CST Framework • Modes of Operation 10
CST Solution Software Algorithms • Data transmission algorithms • V.32/V.32bis: 4.8-14.4 kbps modem • V.22/V.22bis: 1.2-2.4 kbps modem • V.42bis: LAPM data compression • V.42: data error correction • Baseline telephony algorithms • DTMF generator/detector • CPTD (Call Progress Tone Detector/Generator) • CID Type I & II 11
CST Voice Algorithms • Voice algorithms • G.168: Line echo cancellation (cancels echo tail length up to 64 msec) • G.726: voice compression: 16, 24, 32, or 40 kbps • G.711: converts u-law / A-law PCM signal to linear PCM (or vice versa) • VAD (Voice Activity Detection): detects presence of speech even in the noisy environment • AGC (Automatic Gain Control): adjusts voice signal level in presence of voice only (using VAD output) • CNG (Comfort Noise Generator): generates small amount of noise to indicate ‘live’ line 12
CST Framework • AT command parser(data and voice commands) • Control layers • CST action layer • CST commander layer • CST service layer • Drivers and data flow controllers of UART, DAA and handset codecs • Memory management 13
DTMF Det/Gen Echo Canceller G.165 CPTD Det/Gen ADPCM G.726 PCM G.711 CallerID VAD/CNG/AGC CST Software Structure User CST Solution AT Parser CST Commander CST Service Modem Integrator Modem V.32bis/V.32 Error Correction V.42 Compression V.42bis DAA Driver Handset Driver UART Driver DSP/BIOS™ Bootloader 14
Framework Layers AT Parser/Action Layer Commander Layer Service Layer XDAIS Layer User is able to control CST by accessing ANY layer of the CST framework. 15
Framework Layers Commands AT-Cmnds Action Commander Service XDAS Obj DAA Drv Turn off all algos _delete() ATD123 Turn off all Go off hook Turnon_ modem_ call_x Go OFF hook CPTDDET_ create() CPTD (ON) Turn ON CPTD detector CPTDDET_ process() Input samples Wait for dial tone DTMFGEN_ create () DIAL 1 DIAL 123 Output samples DTMFGEN_ tone (1) Output samples DIAL 2 DTMFGEN_ tone (2) Output samples DIAL 3 DTMFGEN_ tone (3) 16
CST Framework: Flexible! • Interact with CST solution at one of four layers. Choose the one you are most comfortable with • Add your own algorithms • Add new peripheral drivers • Reload existing drivers or some of their methods • Add new AT commands and S registers • Extend dynamic memory pool • Reload memory manager 17
Chipset mode CST software runs inside CST DSP Controlled via UART by AT commands from Host processor FLEX mode User code runs on CST DSP Build your App upon CST Framework Host processor optional Modes of Operation Minimum design efforts Maximum flexibility 18
C54CST: Chipset Mode User RS-232 UART AT Parser CST Service Voice Algos Telephony Algos Modem Algos 19
CST: Flex Mode SRAM Custom APP Bootloader Program in Flash to Load AT Action CST Commander CST Service Voice Algos Telephony Algos Modem Algos DAA Driver 20
Typical Steps in Implementing Telephony Features Select DSP platform Find algorithm vendors + Purchase DSPs License algorithms Development Develop your own software Integrate all software Integrate with target hardware Test and debug Product 21
Shorten Implementation With CST • Quick Integration • Smaller footprint • Cost efficient! • Fast time-to-market • Single vendor (TI) Purchase C54CST Development Add your own software Test and debug Product Focus on developing your own software and final product! 22
C54CST Development Kit contains: Eval board with C54CST DSP (14 xDAIS algorithms on-chip) Board also includes external Flash and external SRAM, JTAG connector, daughtercard connection RS-232 cable RJ-11 phone line Power supply CD-ROM contains the manual for the board, a quick-start guide, the C54CST overview documentation C54CST Development Kit Available from Spectrum Digital for US $495 23
Aligned for Success + 24
SPIRIT – DSP Software Source • DSP software development company • First and largest TI third-party software developer in Russia • Providing off-the-shelf DSP software algorithms in speech processing, data and fax modems, telephony, audio and video processing, etc. • Providing custom DSP software development services • Clients include Nortel Networks, NEC, Toshiba, Panasonic, Samsung, Atmel, Furuno, Iwatsu, Japan Radio Company, Marconi 25
Conclusion • C54CST includes 14 of industry’s most demanded algorithms for data transmission, voice processing and telephony signaling • C54CST allows you to run your own software, easily integrated with CST Solution • CST Framework gives you the flexibility of accessing several Control Layers • C54CST is available from TI today for $9.75 in quantities of 10K units 26
Get Started Today with TI C54CST! • Find further information on C54CST solution: www.dspvillage.ti.com/telephonyclientsidek • Contact a TI Sales Representative: http://focus.ti.com/docs/general/distributor.jhtml • Spectrum Digital Developer’s Kit for C54CST: www.spectrumdigital.com • Find out more about SPIRIT: www.spiritcorp.com 27