ZLS38503 Firmware for Voice Prompting and Messaging Firmware Manual

Similar documents
MSAN-178. Application Note. Applications of the HRA and Energy Detect Blocks of the MT90812 Integrated Digital Switch. Contents. 1.

SLIC Devices Applications of the Zarlink SLIC Devices Longitudinal Balance of Zarlink Subscriber Line Interface Circuits (SLICs)

ZL40212 Precision 1:2 LVDS Fanout Buffer

MSAN-129. Application Note. Time Space Switching 8,16 or 32 kbps Channels using the MT8980. Contents. 2.0 Circuit Description.

This product is obsolete. This information is available for your convenience only.

ZL30131 OC-192/STM-64 SONET/SDH/10GbE Network Interface Synchronizer

THIS DOCUMENT IS FOR MAINTENANCE PURPOSES ONLY AND IS NOT RECOMMENDED FOR NEW DESIGNS

MSAN-124. Application Note MT9171/72 DNIC Application Circuits. Connection to Line. Protection Circuit for the LIN Pin

NJ88C Frequency Synthesiser with non-resettable counters

This product is obsolete. This information is available for your convenience only.

ZL30416 SONET/SDH Clock Multiplier PLL

ZLAN-35 Applications of the ZL30406 and MT9046 SONET/SDH Linecard Solutions

MV1820. Downloaded from Elcodis.com electronic components distributor

ZLS38500 Firmware for Handsfree Car Kits

TSA 6000 System Features Summary

MT x 16 Analog Switch Array

2.6GHz Bidirectional I 2 C BUS Controlled Synthesiser

ISO 2 -CMOS MT8840 Data Over Voice Modem

MT8809 8x8 Analog Switch Array

MSAN B1Q Line Code Tutorial Application Note. Introduction. Line Coding

ZL70101 Medical Implantable RF Transceiver

ZL30415 SONET/SDH Clock Multiplier PLL

MT9040 T1/E1 Synchronizer

SL MHz Wideband AGC Amplifier SL6140. Features

MT9041B T1/E1 System Synchronizer

Technical Proposal for COMMON-ISDN-API. Version 2.0. Generic Tone Generator and Detector Support for Voice Applications. Extension.

ZL30414 SONET/SDH Clock Multiplier PLL

Using the HT95R6x for CID Phones

ZL30110 Telecom Rate Conversion DPLL

Generating DTMF Tones Using Z8 Encore! MCU

ZL70250 Ultra Low Power RF Transceiver

DTMF Signal Detection Using Z8 Encore! XP F64xx Series MCUs

Introduction. AM7 Central Office Simulator with option boards

- 1 - Rep. ITU-R M.2009 REPORT ITU-R M.2009 DIRECT-DIAL TELEPHONE SYSTEMS FOR THE MARITIME MOBILE SERVICE

MT8980D Digital Switch

ZL30111 POTS Line Card PLL

Hewlett-Packard Company 1995

Le87251 Worldwide ADSL2+ Dual Channel Line Driver BD870 Series

Am79R100/101 Vs Am79R79 Device Comparison Brief

M V/5V General Purpose Call Progress Tone Detector INTEGRATED CIRCUITS DIVISION. Description. Features. Applications. Ordering Information

Stensat Transmitter Module

Application Note Security Industry Protocols with the CMX865A

SP5055S P3 P4. Figure 1 - Decoupling/grounding of used and unused ports SP5055S SDA SCL GND V EE RF RF V CC C A GND. C A =100p C B =100n

MEGAPLEX-2100 MODULE VC-16A. 16-Channel PCM/ADPCM Voice Module Installation and Operation Manual. Notice

UM0791 User manual. Demonstration firmware for the DMX-512 communication protocol receiver based on the STM32F103Zx. Introduction

CYG2111. Cybergate TM DAA INTEGRATED CIRCUITS DIVISION. Description. Features. Applications. Approvals. Ordering Information. Typical Application

Dual core architecture with custom N-PLC optimized DSP and Data Link Layer / Application 32bit controller

CYG20xx. Cybergate TM DAA INTEGRATED CIRCUITS DIVISION. Description. Features. Approvals. Ordering Information. Applications.

AN3332 Application note


AN4014 Application Note Adjustable LED blinking frequency using a potentiometer and STM8SVLDISCOVERY Application overview

The HT95R5x/6x FSK Decoder Functions

OM29110 NFC's SBC Interface Boards User Manual. Rev May

Le7920 Subscriber Line Interface Circuit VE580 Series

Draft ES V1.1.2 ( )

Loop Current Holding Circuit

dpll_lock DPLL sync Controller & State Machine dpll_mod_sel Figure 1 - Block Diagram

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"

ZL Features. Description

Optimizing Magnetic Sensor Power Operations for Low Data Rates

AN Low Frequency RFID Card Reader. Application Note Abstract. Introduction. Working Principle of LF RFID Reader

Call Progress Tone and Ringing Signal Generation

CDT. Service and Installation Manual. Manual Revision Oct 2014

Vybrid ASRC Performance

73M2901CE AT Command User Guide

CYG2020/CYG2021 RING HOOKSWITCH LOOPI OH RING RING RING R_LIM

INTEGRATED CIRCUITS. MF RC500 Active Antenna Concept. March Revision 1.0 PUBLIC. Philips Semiconductors

APPLICATION NOTE. AT11009: Migration from ATxmega64D3/128D3/192D3/256D3 Revision E to Revision I. Introduction. Features.

LP3943/LP3944 as a GPIO Expander

Dialogic Voice API. Programming Guide. October

DAB+ Voice Break-In Solution

AN3248 Application note

Engineering Order Wire Implementation

TED-Kit 2, Release Notes

AN4379 Application note

Increasing ADC Dynamic Range with Channel Summation

CDM10V programming user manual describes the COOLDIM_PRG_BOARD burner board usage, the UART protocol handling and the fusing details.

FXO Evaluation Board Technical Brief TN-101

RB01 Development Platform Hardware

Using the High Voltage Physical Layer In the S12ZVM family By: Agustin Diaz

CDS CALLING LINE IDENTIFICATION SERVICE TERMINAL EQUIPMENT REQUIREMENTS PART 1 IDLE STATE, DOWN STREAM SIGNALLING PART 2 LOOP STATE SIGNALLING

Tel: Fax: OMESH Networks Inc. 2011

The High-Performance Data Acquisition Circuit

AN2979 Application note

Low Power Microphone Acquisition and Processing for Always-on Applications Based on Microcontrollers

AN3116 Application note

CE PSoC 6 MCU Breathing LED using Smart IO

AN1756 Application note

The Communiqué Digital Telephone Station

INTEGRATED CIRCUITS DATA SHEET. TDA2611A 5 W audio power amplifier

Features. Description. Functional Block Diagram. Applications. Pin Assignment PI3A6386. USB Type-C Ultra-Low-THD Audio and Data Switch Array

SJA1105P/Q/R/S. 1 Features and benefits. 1.1 General features. 1.2 Ethernet switching and AVB features. 1.3 Interface features

Produces a selectable output voltage that is higher than the input voltage

ICM Shield Hardware User Guide

DTMF Detection and Generation Virtual Peripheral Modules

WiMOD iu880b. Datasheet. Document ID: 4100/40140/0111. IMST GmbH Carl-Friedrich-Gauß-Str KAMP-LINTFORT GERMANY

MINI-32. development board for PIC32MZ MINI ARM. PIC32 development board fitted in a DIP40 form factor, containing a powerful microcontroller.

78A207 MFR1 Receiver DATA SHEET DESCRIPTION FEATURES OCTOBER 2005

Design Note DN503. SPI Access By Siri Namtvedt. Keywords. 1 Introduction CC1100 CC1101 CC1150 CC2500 CC2550. SPI Reset Burst Access Command Strobes

Voice API. Programming Guide. June

Transcription:

ZLS38503 Firmware for Voice Prompting and Messaging Firmware Manual Features Voice recording (messaging) and playback (voice prompting) DTMF receiver Tone Generator (preprogrammed DTMF + user defined tones) Burst mode Optional twist Programmable Gain Call progress tone detection VAD October 2007 Easy file manage Requires very few microprocessor resources Work on low cost Voice Processor (ZL38004) Applications Answering Machines Analog Speakerphone Home Automation 1. 2Vcore 3. 3VIO FPI CLK1 Timing Caller ID Detection ADC TMS TDI TDO TCK TRST Control Software Voice Detection DTMF/Call Progress Tone Detector DAC ADC DAC Tone Generator PCM I/O 12S UART SPI Slave SPI Master / FLASH Port Figure 1 - Firmware Functional Block Diagram 2

1.0 Functional Description ZLS38503 Firmware Manual The ZLS38503 firmware provides voice prompting and voice messaging (VPM) functionality to systems utilizing the ZL38004. In addition to the voice prompting and messaging function the ZLS38503 also provides a DTMF receiver, tone generator, caller ID detection, voice detection, call progress, and tone detection. The current release of the firmware only operates with 8 KHz sampled audio. The firmware is designed to be easily swapped in and out of working memory to allow multiple firmwares to run on the same platform. For example for a speakerphone with call answer. The ZL38004 hardware platform would be used with the ZLS38502 speakerphone firmware and the ZLS38503 voice prompting and messaging firmware. Both firmwares resides on the same FLASH. During a active call the ZL38502 speakerphone firmware is loaded. During idle period or a call message the ZLS38503 firmware is loaded in. The firmware swap is initiated by a Host processor but is performed automatically by the firmware.zls38502. 2.0 Firmware Algorithm Description Figure 1 describes the block diagram of the ZLS38503 VPM firmware. The VPM firmware provides the following functions: Voice Recording (messaging) and Playback (voice prompting) Tone Generator: A programmable tone generator to produce Dual Tone Multiple Frequency (DTMF), Single Frequency (SF), Multi frequency (MF) and tone ringer DTMF Receiver: A DTMF tone receiver to decode DTMF tones Caller ID Receiver: Decodes Caller ID information Call Progress Tone detection: Determines call progress tone type using tone cadence VAD: Voice Activity Detector determines the end of a message G.169 ALC: Automatic Level Controller in the Sin to Sout path Gain Pads: Adjusts signal levels at Rout, Sin and Sout. The Sin Gain Pad is adjustable from -24 to +21 db in 1.5 db steps; Gain Pads for Rout and Sout are adjustable from -24 to +21 db in 3 db steps. See section 6.0, Assigning Audio Channels to Ports for port definitions. A/jt-Law or Linear: Converts 8-bit jt-law, A-law or sign magnitude PCM to 16-bit linear data. File Management API: Reduces program space/processor resources and speeds up the software development process 2.1 Voice Prompting and Messaging 2.1.1 Voice Prompting The Voice Prompting feature of the VPM firmware allows the designer to either preload special messages (i.e., time and date prompts) or the user can record an outgoing message. In the case of the preloaded special messages, the designer would record the prerecord the messages (in 8-bit A-law or jt-law) and loaded them directly into FLASH at a predetermined location. In the case of the user recording an outgoing message, the firmware API provides a function that automatically digitized the outgoing message, compands it (8-bit A-law or jt-law), and saved to FLASH. The FLASH locations are automatically calculated and stored in a Message Attribution Table (MAT). The firmware API also provides a function that retrieves the prompt FLASH location from the MAT and then play out the recorded message from FLASH. 7

ZLS38503 Firmware Manual 2.1.2 Voice Messaging The Voice Messaging feature of the VPM firmware works in a similar way ad the voice prompting feature. Voice data is routed from any source - codec, PCM or I2S ports companded and stored in FLASH. The FLASH address are automatically calculated and store into the MAT. In addition to this the MAT also provides a location to store the time and date voice prompts locations associated with the message. When After a message is recorded the Host can read the caller ID receiver register and determine the time and data. This is then associated with the proper voice prompts. This message is then saved in the MAT. When playing out a message the Host first plays out the series of voice prompts (time and date) from FLASH then plays out the message. The output prompt and message can be routed to any port on the ZL38004. 2.2 Tone Generation and Detection The VPM firmware provides both a programmable DTMF and tone generator and a DTMF detector. Table shows the DTMF frequencies associated with the keypad digits. 1209 Hz 1336 Hz 1477 Hz 1633 Hz 697 Hz 1 2 3 A 770 Hz 4 5 6 B 852 Hz 7 8 9 C 941 Hz * 0 # D Table 1 - DTMF Tones 2.2.1 Programmable Tone Generation The ZLS38503 firmware incorporates a programmable tone generator, which supports the following features: Single or dual tones, with pre-programmed frequencies Warble-effect ring tone using a square wave with programmable duty cycle and frequency Two sets of eight pre-programmed frequencies in the user config file where each pair of frequencies can be selected. Overall, any of 16 programmable frequencies can be selected. Burst mode with programmable burst time (from 0 to approximately 4 seconds). During the burst generation of DTMF any modification to the tone generator is ignored. Programmable output gain from -18 to 24 db in 6 db steps. (Default is 0 db) Individual output gain for low and high tones DTMF output can be switched to Rout or Sout (or both) outputs. During DTMF injection, the signal passing through Sout or Rout is switched out. 2-dB twist support mode for DTMF tones. The twist mode can be enabled or disabled. 2.2.2 DTMF Detection The Q.24 compliant DTMF detection block functions continuously and can be assigned to any port. When a valid DTMF tone is received, the firmware issues an interrupt generated (GPIO10 is used as an interrupt signal) and the DTMF information is saved in the "VPM interrupt status register". Based on either the active low interrupt on GPIO10 or the "DTMFDetection" status bit in the "VPM interrupt status register", the Host decodes bits 7:4 of this register as the detected DTMF tone. 8

2.3 Caller ID Receiver ZLS38503 Firmware Manual The ZLS38503 VPM firmware provides a caller ID detector with the following features: a Type 1 Caller ID (CID) detection algorithm which complies with Bellcore GR-30-CORE (formerly known as TR- NWT-000030) and EETS 300 778-1200-baud Bell 202 and ITU v.23 Frequency Shift Keying (FSK) Works with and without CAS FSK carrier detect status output A 64-character buffer for received data The firmware does not provide CID on Call Waiting (Type 2). The Caller ID module receives and decodes Type 1 Caller ID messages in both Bellcore and ETSI formats. It is intended to be activated by the Host during periods where Type 1 Caller ID needs to be detected, which is normally only during the initial on-hook period of a phone call. After device power-up, the Caller ID module automatically initializes and goes into the idle state. Instructing the module to look for Caller ID information is done by setting the CID_ACTIVATE bit. Once activated, Caller ID continuously looks for messages. Since only the Type 1 version of Bellcore and ETSI Caller ID is supported, the Caller ID module should be deactivated before going off-hook. The Caller ID module decodes the FSK signal, stores the results into a 64-byte buffer, and performs a check sum. The Host is responsible for interpreting the information. Two commonly message formats, SDMF and MDMF, are used. In both cases the Caller ID module stores the information in the same format as it is received. 2.3.1 SDMF Message Format SDMF messages contain only the call date, time and number (or other text). Call type for SDMF is always 0x04. Message Character(s) Value Format 0 0x04 (SDMF call type). Hex 1 Message length (length is number of characters AFTER Hex message length, but excluding the checksum). 2, 3 Two digits for the month. ASCII 4, 5 Two digits for the date. ASCII 6, 7 Two digits for the hour (24-hour clock). ASCII 8, 9 Two digits for the minute. ASCII 10 -> (2 + message length) Calling party number (or other text). ASCII (2 + message length) + 1 Checksum HEX Table 2 - SDMF Message Format Text information is always sent as ASCII codes, leftmost digits first. Thus a call from 505-555-4455 at 16:23 on March 9 would be sent as [0x04 0x1 2 0x30 0x33 0x30 0x39 0x31 0x36 0x32 0x33 0x35 0x30 0x35 0x35 0x35 0x35 0x34 0x34 0x35 0x35 0x47] in SDMF. 9

ZLS38503 Firmware Manual 2.3.2 MDMF Message Format MDMF messages use general format illustrated in Figure 2: Figure 2 - MDMF Format Transmission Direction Message Type (HEX) Message Length (HEX) Parameter 1 Parameter 2... Parameter N Checksum (HEX) Char 0 Char 1 Message Length Characters Char (2 + Message Length) + 1 Parameter Parameter Type (HEX) Parameter Length (HEX) Parameter Data (ASCII) Parameter Length Characters The first character is Message Type. For Type 1 Caller ID, this is usually 0x80. The next character is Message Length, which is the number of characters AFTER message length, but not including the checksum. N parameters follow, which themselves have type, length and data fields. There are many different types of parameters, but the most common are 0x01 for date & time, 0x02 for calling number, and 0x07 for calling party name. The last character is the checksum. Text information is always sent as ASCII codes, leftmost digits first. Thus, a call from Caul R Idee, 505-555-4455 at 16:23 on March 9 would be sent as [0x80 0x23 0x01 0x08 0x30 0x33 0x30 0x39 0x31 0x36 0x32 0x33 0x02 0x0A 0x35 0x30 0x35 0x35 0x35 0x35 0x34 0x34 0x35 0x35 0x07 0x0B 0x43 0x61 0x75 0x6C 0x20 0x52 0x20 0x49 0x64 0x65 0x65 0x05] in MDMF. 10

2.4 Call Progress Tone Detection ZLS38503 Firmware Manual Call Progress Tone Detector detects any tones in the frequency range from 300 Hz to 640 Hz. The tone cadence (on/off times) is measured and saved in a register to be read by the µc. The type of progress tone is determined from the cadence value (see Table 3). Tones Power per frequency at the exchange where the tone is applied Cadence Dial tone -13 dbm0 Continuous tone Recall dial tone -13 dbm0 3 bursts of 0.1 s followed by a continuous tone Busy tone -24 dbm0 Burst 0.5 s / silence 0.5 s Reorder tone -24 dbm0 Burst 0.25 s / silence 0.25 s Audible ringing tone -19 dbm0 Burst 0.2 s / silence 0.2 s 2.5 Voice Activity Detector Table 3 - US Tone Plan as listed in CCITT Fascicle 11.2 To ensure that only the message its self is recorded (not silence) a power-based Voice Activity Detector (VAD) is used to signal the end of voice activity on a recorded message. When the end of the message is detected, the recording stops and the system is notified. It operates at both the Sin and Rin ports. The VAD has two programmable parameters: Threshold: If the signal level falls below the threshold, the VAD starts the "no voice" timer. Time: If the signal level remains below the threshold for a fixed time, the VAD declares "no voice". 2.6 G.169 Automatic Level Control The G.169 Automatic Level Control (ALC) controls the signal level in the Sin and Rin path, ensuring that the recorded levels are constant. 2.7 Programmable Gain Pads The gain pads are associated with Rout, Sin and Sout. The pads are to be set once during initialization and not adjusted during normal operation. Sin gain pad is adjustable from -24 to +21 db in 1.5 db steps; Rout and Sout gain pads are adjustable from -24 to +21 db in 3 db steps. 2.8 A/µ-Law or Linear Converter The Linear to A/µ-Law converters converts 16-bit linear data to 8-bit µ-law/a-law, or sign magnitude PCM and vice versa. The A/µ-Law converters are only on the Rin and Sout ports. This is used to compand (compress and expand) the voice before it is stored in FLASH thus make better use the memory. The converters can be bypassed if the network interface is already in one of the supported formats. 11

ZLS38503 Firmware Manual 2.9 File Access The ZLS38503 firmware incorporates an API that simplifies file access for the Host microcontroller (µc). The API has the following commands: Play Prompt Record Prompt Play Message Message Record Play Special Prompt Write Special Prompt Delete Message Delete Prompt Delete Special Prompt Delete All Load MAT Save MAT Write Prompt RAM Buffer These API commands will be covered in more detail in Section 7.0. 12

For more information about all Zarlink products visit our Web Site at www.zarlink.com Information relating to products and services furnished herein by or its subsidiaries (collectively Zarlink ) is believed to be reliable. However, Zarlink assumes no liability for errors that may appear in this publication, or for liability otherwise arising from the application or use of any such information, product or service or for any infringement of patents or other intellectual property rights owned by third parties which may result from such application or use. Neither the supply of such information or purchase of product or service conveys any license, either express or implied, under patents or other intellectual property rights owned by Zarlink or licensed from third parties by Zarlink, whatsoever. Purchasers of products are also hereby notified that the use of product in certain ways or in combination with Zarlink, or non-zarlink furnished goods or services may infringe patents or other intellectual property rights owned by Zarlink. This publication is issued to provide information only and (unless agreed by Zarlink in writing) may not be used, applied or reproduced for any purpose nor form part of any order or contract nor to be regarded as a representation relating to the products or services concerned. The products, their specifications, services and other information appearing in this publication are subject to change by Zarlink without notice. No warranty or guarantee express or implied is made regarding the capability, performance or suitability of any product or service. Information concerning possible methods of use is provided as a guide only and does not constitute any guarantee that such methods of use will be satisfactory in a specific piece of equipment. It is the user s responsibility to fully determine the performance and suitability of any equipment using such information and to ensure that any publication or data used is up to date and has not been superseded. Manufacturing does not necessarily include testing of all functions or parameters. These products are not suitable for use in any medical products whose failure to perform may result in significant injury or death to the user. All products and materials are sold and services provided subject to Zarlink s conditions of sale which are available on request. Purchase of Zarlink s I2C components conveys a license under the Philips I2C Patent rights to use these components in and I2C System, provided that the system conforms to the I2C Standard Specification as defined by Philips. Zarlink, ZL, the Zarlink Semiconductor logo and the Legerity logo and combinations thereof, VoiceEdge, VoicePort, SLAC, ISLIC, ISLAC and VoicePath are trademarks of TECHNICAL DOCUMENTATION - NOT FOR RESALE