28
Telephony Made Simple: Telephony Made Simple: Efficiently Implement Efficiently Implement 14 of the Industry’s 14 of the Industry’s Most Popular Telephony Most Popular Telephony Algorithms on Algorithms on the TMS320C54x™ DSP the TMS320C54x™ DSP JUNE/21/2002 JUNE/21/2002 China/Taiwan China/Taiwan Chinese Presentation Chinese Presentation TMS320C54x, C5000, C54x, TMS320, eXpressDSP, and DSP/BIOS are trademarks of Texas Instruments Incorporated. 1

Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Embed Size (px)

Citation preview

Page 1: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Telephony Made Simple:Telephony Made Simple:Efficiently Implement 14 of Efficiently Implement 14 of the Industry’s Most Popular the Industry’s Most Popular Telephony Algorithms on Telephony Algorithms on the TMS320C54x™ DSPthe TMS320C54x™ DSP

JUNE/21/2002JUNE/21/2002China/TaiwanChina/Taiwan

Chinese PresentationChinese Presentation

TMS320C54x, C5000, C54x, TMS320, eXpressDSP, and DSP/BIOS are trademarks of Texas Instruments Incorporated.

1

Page 2: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Presenters:Presenters:

钱建良先生 钱建良先生

合众达电子有限公司合众达电子有限公司TITI 公司中国区 公司中国区 DSP DSP 增值分销商增值分销商

2

Page 3: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

AgendaAgenda

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

Page 4: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Applications for C54CSTApplications for C54CST

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

4

Page 5: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Design Example – Design Example – “Advertisement On Hold”“Advertisement On Hold”

Server

Play out audioadvertisementwhile on-hold

Download audioupdates fromserver to PBX

PSTN01010101 - modem

Telephony and audio

5

Page 6: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Typical Steps in Implementing Typical Steps in Implementing Telephony FeaturesTelephony Features

Development

Select DSPplatform

Purchase DSPs

Find algorithm vendors

License algorithms

Integrateall software

Test and debug

+

Develop your ownsoftware

Integratewith target hardware

Product

6

Page 7: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

ChallengesChallenges

Deal with multiple parties: DSP vendors Software vendors IP holders

Long integration, may take months Long time-to-market Expensive!

7

Page 8: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Integrated CST Chip for Fast, Flexible Integrated CST Chip for Fast, Flexible Design Start to FinishDesign 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 SPIRIT8

Page 9: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

CST DSP OverviewCST DSP Overview

TMS320C54CST DSP

UART DAA

InternalCST ROM

64 KW

C54x™ DSP Core

Host(optional)

AnalogDAA

InternalRAM

16 KW

User’s code(optional)

9

Page 10: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Inside the C54CST SolutionInside the C54CST Solution

1. CST Software Algorithms

2. CST Framework

3. Modes of Operation

10

Page 11: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

CST Solution Software AlgorithmsCST 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

Page 12: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

CST Voice AlgorithmsCST 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

Page 13: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

CST FrameworkCST 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

Page 14: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

CST Software StructureCST Software Structure

CST Solution

CST Service

Modem Integrator

AT Parser CST Commander

ModemV.32bis/V.32

Error CorrectionV.42

CompressionV.42bis

DTMF Det/Gen

CPTD Det/Gen

CallerID

Echo CancellerG.165

ADPCM G.726PCM G.711

VAD/CNG/AGC

DAA Driver Handset Driver UART Driver

DSP/BIOS™ Bootloader

User

14

Page 15: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Framework LayersFramework Layers

AT Parser/Action Layer

Commander Layer

Service Layer

User is able to control CST by accessing ANY layer of the CST framework.

XDAIS Layer

15

Page 16: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Framework Layers CommandsFramework Layers Commands

AT-Cmnds Action Commander Service XDAS Obj DAA Drv

ATD123

Turnon_modem_call_x

Turn off all algos

Go OFF hook

Turn ON CPTD detector

Wait for dial tone

DIAL 123

Turn off all

CPTD (ON)

DIAL 1

DIAL 2

DIAL 3

Outputsamples

Inputsamples

Go offhook

DTMFGEN_create ()

DTMFGEN_tone (1)

DTMFGEN_tone (2)

CPTDDET_process()

16

_delete()

CPTDDET_create()

DTMFGEN_tone (3)

Outputsamples

Outputsamples

Page 17: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

CST Framework: Flexible!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

Page 18: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Modes of OperationModes of Operation

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

18

Maximum flexibilityMinimum design efforts

Page 19: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

CST Service

C54CST: Chipset ModeC54CST: Chipset Mode

User

UART

AT Parser

VoiceAlgos

TelephonyAlgos

ModemAlgos

19

RS-232

Page 20: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

CST: Flex ModeCST: Flex Mode

CST Service

AT Action

CST Commander

VoiceAlgos

TelephonyAlgos

ModemAlgos

DAA Driver

SRAM

Bo

otlo

ad

er

CustomAPP Program

in Flash to Load

20

Page 21: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Typical Steps in Implementing Typical Steps in Implementing Telephony FeaturesTelephony Features

Development

Select DSPplatform

Purchase DSPs

Find algorithm vendors

License algorithms

Integrateall software

Test and debug

+

Develop your ownsoftware

Integratewith target hardware

Product

21

Page 22: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Shorten Implementation With CSTShorten Implementation With CST

Quick Integration

Smaller footprint

Cost efficient! Fast time-to-

market Single vendor

(TI)

Development

Purchase C54CST

Test and debug

Add your own software

Product

Focus on developing your own software and final product!22

Page 23: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

C54CST Development KitC54CST Development Kit

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

23

Available from Spectrum Digital

for US $495

Page 24: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Aligned for SuccessAligned for Success

+

24

Page 25: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

SPIRIT – DSP Software SourceSPIRIT – 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

Page 26: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

ConclusionConclusion

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

Page 27: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Get Started Today with TI C54CST!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

Page 28: Telephony Made Simple: Efficiently Implement 14 of the Industry’s Most Popular Telephony Algorithms on the TMS320C54x™ DSP JUNE/21/2002China/Taiwan Chinese

Question & Answer Question & Answer SessionSession

28