AMBE-3000R™ Vocoder Chip: DVSI Confidential Proprietary
AMBE-3000R™ Vocoder Chip: DVSI Confidential Proprietary
AMBE-3000R™ Vocoder Chip: DVSI Confidential Proprietary
Users Manual
Version 1.4
March, 2013
AMBE-3000R™Vocoder Chip
Users Manual
Version 1.4
March, 2013
Copyright, 2012
Digital Voice Systems, Inc.
234 Littleton Road
Westford, MA 01886
This document may not, in whole or in part be copied, photocopied, reproduced, translated, or reduced to any electronic
medium or machine readable form without prior consent in writing from Digital Voice Systems, Incorporated.
Every effort has been made to ensure the accuracy of this manual. However, Digital Voice Systems, Inc. makes no warranties
with respect to the documentation and disclaims any implied warranties of merchantability and fitness for a particular purpose.
Digital Voice Systems, Inc. shall not be liable for any errors or for incidental or consequential damages in connection with the
furnishing, performance, or use of this manual or the examples herein. This includes business interruption and/or other loss
which may arise from the use of this product. The information in this document is subject to change without notice.
Trademarks
AMBE-3000R™ Vocoder Chip is a registered trademark of Digital Voice Systems, Inc. Other product names mentioned may
be trademarks or registered trademarks of their respective companies and are the sole property of their respective
manufacturers.
All Rights Reserved.
Data subject to change.
1.2 DVSI has developed a number of voice coding methods and algorithms (the 5. Payments
“Technology”) which include DVSI’s Advanced Multi-Band Excitation (“AMBE”) ,
AMBE+™, and AMBE+2™ voice coders. The Technology codes speech at low bit 5.1 In consideration of the materials delivered as part of the Product, and in consideration
rates and may include error correction, echo cancellation and other auxiliary functions. of the license granted by DVSI for the PRODUCT, and in consideration of DVSI's
performance of its obligations hereunder, the END USER agrees to pay to DVSI the
1.3 "DVSI Voice Compression Software" shall mean the voice coding Software that fees as specified in DVSI's invoice. Payments of fees shall be received by DVSI prior
implements or embodies the Technology and is embedded into or otherwise provided to shipment of the PRODUCT.
with the PRODUCT.
6. Proprietary Notices
1.4 "DVSI Voice Codec" shall mean the DVSI Voice Compression Software, any
PRODUCT Hardware into which the DVSI Voice Compression Software is embedded 6.1 END USER shall maintain and not remove any copyright or proprietary notice on or in
or executed and any associated Documentation. the PRODUCT.
1.5 DVSI represents that it owns certain “Proprietary Rights” in the PRODUCT including 6.2 Reproduction of non-proprietary information found in DVSI Users Manuals or data
patent rights, copyrights, trademarks and trade secrets. These rights include one or sheets is permissible only if the END USER reproduces without alteration, and
more of the following US Patents #5,630,011; #5,649,050; #5,701,390; #5,715,365; includes all copyright and other proprietary notices, all associated warranties,
#5,754,974; #5,826,222; #5,870,405; #6,161,089; #6,199,037; #6,912,495; conditions and limitations on all copies, in any form.
#7,634,399; #7,957,963; #7,970,606; #8,036,886; #8,200,497; #8,315,860 and
#8,359,197; and under other US and foreign patents and patents pending. AMBE, 7. Proprietary Information
AMBE+™ and AMBE+2™ are trademarks of Digital Voice Systems, Inc..
7.1 The parties agree that the PRODUCT shall be considered Proprietary Information.
1.6 “END USER” shall mean the person and/or organization to whom the DVSI Vocoder
Product (software or hardware) was delivered or provided to as specified in the 7.2 Except as otherwise provided in this Agreement, END USER shall not use, disclose,
purchase order or other documentation. In the event that the END USER transfers his make, or have made any copies of the Proprietary Information, in whole or in part,
rights under this license to a third party as specified in Section 3.0, then this third party without the prior written consent of DVSI.
shall become an “END USER”.
8. Limited Warranty
1.7 DVSI reserves the right to make modifications and other changes to its products and
services at any time and to discontinue any product or service without notice. 8.1 DVSI warrants the PRODUCT to be free from defects in materials and workmanship
under normal use for a period of ninety (90) days from the date of delivery. The date of
delivery is set forth on the packaging material in which the Product is shipped. This
2. License Granted limited warranty extends only to the Customer who is the original purchaser. If the
PRODUCT is found to be defective and the condition is reported to DVSI, within the
2.1 Subject to the conditions herein and upon initial use of the DVSI Product, DVSI hereby warranty period, DVSI may, at its option, repair, replace, or refund of the purchase
grants to END USER a non-exclusive, limited license to use the DVSI Voice price of the PRODUCT. DVSI may require return of the PRODUCT as a condition to
Compression Software and Technology within the PRODUCT. No license is granted the remedy.
for any use of the DVSI Voice Compression Software or Technology on any other
device or Hardware or in any manner other than within the original unmodified Restrictions. This warranty does not apply if the Product (a) has been altered, (b) has
PRODUCT purchased from DVSI. No license is granted to copy or modify the DVSI not been installed, operated, repaired, or maintained in accordance with instructions
Voice Compression Software or the PRODUCT either in whole or in part. supplied by DVSI, (c) has been subjected to abnormal physical or electrical stress,
misuse, negligence, or accident;
2.2 No license, right or interest in any trademark, trade name or service mark of DVSI is
granted under this Agreement. END USER acknowledges that the PRODUCT may 8.2 Except as stated in Section 8.1, the PRODUCT is provided "as is" without warranty of
contain trade secrets of DVSI, including but not limited to the specific design, and any kind. DVSI does not warrant, guarantee or make any representations regarding
associated interface information. the use, or the results of the use, of the PRODUCT with respect to its correctness,
accuracy, reliability, speech quality or otherwise. The entire risk as to the results and
2.3 END USER shall not copy, extract, reverse engineer, disassemble, de-compile or performance of the PRODUCT is assumed by the END USER. After expiration of the
otherwise reduce the DVSI Voice Compression Software to human-readable form. warranty period, END USER, and not DVSI or its employees, assumes the entire cost
END USER shall not alter, duplicate, make copies of, create derivative works from, of any servicing, repair, replacement, or correction of the PRODUCT.
distribute, disclose, provide or otherwise make available to others, the DVSI Voice
Compression Software and Technology and/or trade secrets contained within the 8.3 DVSI represents that, to the best of its knowledge, it has the right to enter into this
PRODUCT in any form to any third party without the prior written consent of DVSI. The Agreement and to grant a license to use the PRODUCT to END USER.
END USER shall implement reasonable security measures to protect such trade
secrets. 8.4 Except as specifically set forth in this Section 8, DVSI makes no express or implied
warranties including, without limitation, the warranties of merchantability or fitness for a
2.4 This is a license, not a transfer of title, to the DVSI Voice Compression Software, particular purpose or arising from a course of dealing, usage or trade practice, with
Technology and Documentation, and DVSI retains ownership and title to all copies. respect to the PRODUCT. Some states do not allow the exclusion of implied
warranties, so the above exclusion may not apply to END USER. No oral or written
3. Transfer of License information or advice given by DVSI or its employees shall create a warranty or in any
way increase the scope of this warranty and END USER may not rely on any such
3.1 The END USER shall have the right to transfer the rights under this Agreement to a information or advice. The limited warranties under this Section 8 give END USER
third party by either (i) providing the third party with a copy of this Agreement or (ii) specific legal rights, and END USER may have other rights which vary from state to
providing the third party with an agreement written by the END USER ( hereinafter state.
“END USER Agreement”) so long as the END USER Agreement is approved in writing
by DVSI prior to transfer of the PRODUCT. The END USER Agreement shall contain
comparable provisions to those contained herein for protecting the Proprietary 9. Limitation of Liability
limited to, all sales, use, rental receipt, personal property or other taxes which may be
The END USER agrees that the limitations of liability and disclaimers set forth herein levied or assessed in connection with this Agreement.
will apply regardless of whether the END USER has accepted the product or service
delivered by DVSI. 11. Export
9.1 In no event shall DVSI be liable for any special, incidental, indirect or consequential 11.1 United States export laws and regulations prohibit the exportation of certain products
damages resulting from the use or performance of the PRODUCT whether based on or technical data received from DVSI under this Agreement to certain countries except
an action in contract, or for applications assistance, or product support, or tort under a special validated license. Some of the restricted countries include: Libya,
(including negligence) or otherwise (including, without limitation, damages for loss of Cuba, North Korea, Iraq, Serbia, Taliban in Afghanistan, Sudan, Burma, and Iran. The
business revenue, profits, business interruption, and loss of business information or END USER hereby gives its assurance to DVSI that it will not knowingly, unless prior
lost or damaged data), even if DVSI or any DVSI representative has been advised of authorization is obtained from the appropriate U.S. export authority, export or re-
the possibility of such damages. export, directly or indirectly to any of the restricted countries any products or technical
data received from DVSI under this Agreement in violation of said United States
9.2 Because some states or jurisdictions do not allow the exclusion or limitation of liability Export Laws and Regulations. DVSI neither represents that a license is not required
for consequential or incidental damages, the above limitations may not apply to END nor that, if required, it will be issued by the U.S. Department of Commerce. Licensee
USER. shall assume complete and sole responsibility for obtaining any licenses required for
export purposes.
9.3 DVSI's maximum liability for damages arising under this Agreement shall be limited to
20% (twenty percent) of the fees paid by END USER for the particular PRODUCT that 12. Governing Law
gave rise to the claim or that is the subject matter of, or is directly related to, the cause
of action. 12.1 This Agreement is made under and shall be governed by and construed in
accordance with the laws of the Commonwealth of Massachusetts, (USA), except that
10. Taxes body of law governing conflicts of law. If any provision of this Agreement shall be held
unenforceable by a court of competent jurisdiction, that provision shall be enforced to
10.1 All payments required under Section 4 or otherwise under this Agreement are the maximum extent permissible, and the remaining provisions of this Agreement shall
exclusive of taxes and END USER agrees to bear and be responsible for the payment remain in full force and effect. This Agreement has been written in the English
of all such taxes (except for taxes based upon DVSI's income) including, but not language, and the parties agree that the English version will govern.
Table of Contents
5 I/O MANAGEMENT...........................................................................................................32
5.1 Operating Modes .....................................................................................................................................35
5.1.1 Codec mode..................................................................................................................................................... 35
5.1.2 I/O Handler in Codec Mode............................................................................................................................ 36
5.1.3 Packet Mode ................................................................................................................................................... 37
5.1.4 I/O Handler In Packet Mode........................................................................................................................... 38
5.1.5 Switching between codec mode and packet mode using packets .................................................................... 39
5.2 SPI Interface ............................................................................................................................................40
5.3 UART Interface........................................................................................................................................41
5.4 McBSP Interface......................................................................................................................................42
5.4.1 McBSP Selected for Codec Interface .............................................................................................................. 42
5.4.2 McBSP Selected for Packet Interface ............................................................................................................. 43
5.5 Parallel Interface......................................................................................................................................45
5.5.1 Parallel Port Packet Interface ........................................................................................................................ 45
5.6 Codec A/D / D/A Interface .......................................................................................................................47
5.7 Vocoder Front End Requirements...........................................................................................................47
5.8 Interfacing a codec to the AMBE-3000R™ Vocoder chip .......................................................................49
5.8.1 The Texas Instruments General purpose TLV320AIC14 ................................................................................ 49
5.8.2 The Texas Instruments PCM3500 General purpose codec ............................................................................. 50
7 APPENDICES ...................................................................................................................82
7.1 Algorithmic and Processing Delays.........................................................................................................82
7.2 Vocoder Rate by Index Number ..............................................................................................................83
7.3 Rate - Control Words / Configuration Pin Settings ..................................................................................85
8 SUPPORT .........................................................................................................................87
8.1 DVSI Contact Information........................................................................................................................87
List of Figures
Figure 1 TQFP Mechanical Details .......................................................................................... 5
Figure 2 BGA Mechanical Details................................................................................................ 5
Figure 3 AMBE-3000R™ Vocoder Chip Pins for LQFP Package..................................................... 6
Figure 4 AMBE-3000R™ Vocoder Chip Pins Bottom View of BGA chip .......................................... 7
Figure 5 AMBE-3000R™ Vocoder Chip LQFP Markings............................................................... 8
Figure 6 AMBE-3000R™ Vocoder Chip Markings for BGA ........................................................... 9
Figure 7 X1/XCLKIN and X2 with TTL/CMOS Clock Source ....................................................... 18
Figure 8 X1/XCLKIN and X2 with Crystal Oscillator................................................................. 19
Figure 9 Input Clock Requirements ...................................................................................... 19
Figure 10 Output Levels ..................................................................................................... 22
Figure 11 Input Levels ....................................................................................................... 22
Figure 12 AMBE-3000R™ Vocoder Chip Power States ............................................................. 23
Figure 13 Power Mode States Basic Timing ........................................................................... 24
Figure 14 Power Modes...................................................................................................... 25
Figure 15 Basic Operation .................................................................................................. 27
Figure 16 Typical Echo Path................................................................................................ 29
Figure 17 Codec Mode (SPI Interface).................................................................................. 35
Figure 18 Codec Mode (McBSP Interface) ............................................................................. 36
List of Tables
Table 1 Pinout List ............................................................................................................ 15
Table 2 Hardware Configuration Settings .............................................................................. 17
Table 3 Normal Operating Conditions ................................................................................... 20
Table 4 Recommended Operating Conditions......................................................................... 20
Table 5 Absolute Maximum Ratings ..................................................................................... 21
Table 6 Thermal Resistance Characteristics........................................................................... 21
Table 7 Voltage Supply Pins................................................................................................ 21
Table 8 Typical AMBE-3000R™ Vocoder Chip Power Measurements .......................................... 26
Table 9 Physical Interface Selection ..................................................................................... 28
Table 10 Soft Decision Error Correction ................................................................................ 30
Table 11 Companding Control ............................................................................................. 31
Table 12 Companding Selection .......................................................................................... 31
Table 13 ECMODE_IN Flags ................................................................................................ 33
Table 14 ECMODE_OUT FLAGS............................................................................................ 33
Table 15 DCMODE_IN Flags................................................................................................ 34
Table 16 DCMODE_OUT Flags ............................................................................................. 34
Table 17 SPI Interface Pins ................................................................................................ 40
Table 18 SPI Timing .......................................................................................................... 40
Table 19 UART Interface Pins.............................................................................................. 41
Table 20 UART Baud Rates ................................................................................................. 42
Table 21 McBSP Interface Pins ............................................................................................ 42
Table 22 McBSP Codec Interface Timing ............................................................................... 43
Table 23 McBSP Packet Interface Timing .............................................................................. 44
Table 24 McBSP Clock Rates ............................................................................................... 45
Table 25 Parallel (PPT) Interface Pins................................................................................... 45
Table 26 PPT Timing.......................................................................................................... 46
Table 27 Control Register Value for the TLV320AIC14 ............................................................ 50
Table 28 General Packet Format WITHOUT Parity Field ........................................................... 53
Table 29 General Packet Format WITH Parity Field ................................................................. 53
Table 30 Packet Types ....................................................................................................... 54
Table 31 General Field Format ............................................................................................ 54
Table 32 Control Packet Fields ............................................................................................ 56
Table 33 PKT_CHANNEL(0) Field Format............................................................................... 56
Table 34 PKT_CHANNEL(0) Response Field Format ................................................................ 56
Table 35 PKT_ECMODE Field Format .................................................................................... 56
Table 36 PKT_ECMODE Field Response Format ...................................................................... 57
1 Product Introduction
Digital Voice Systems Inc.’s AMBE-3000R™ Vocoder Chip is an extremely flexible, high-performance speech compression
coder. DVSI has implemented its most advanced AMBE+2™ vocoder technology into a single DSP chip solution to achieve
unmatched voice quality, with robustness to background noise and channel bit errors. DVSI’s AMBE+2™ vocoder technology
outperforms G.729 and G.726 while adding additional features and benefits from DVSI’s previous industry-leading AMBE+™
Vocoder. The superior performance characteristics of the new AMBE+2™ Vocoder make it ideally suited for mobile radio,
secure voice, satellite communications, computer telephony, and other digital voice and storage applications where bandwidth
is at a premium and low data rate, and high-quality are both imperative.
The field-proven success of this technology has resulted in it being recognized as the standard for voice quality in
communications systems around the globe. DVSI’s AMBE+2™ technology is the preferred choice for many mobile radio
standards.
The AMBE-3000™ Vocoder Chip offers the affordability and mobility required by virtually all full or half-duplex mobile
communication devices. Two versions of the AMBE-3000™ Vocoder Chip are available. The AMBE-3000R™ Vocoder
Chip ROM version offers lower power requirement at a lower cost. Where as, the AMBE-3000F™ Vocoder Chip Flash
version offers a few extra features that maybe useful in certain applications. This manual covers the features and capabilities of
the AMBE-3000R™ Vocoder Chip ROM version.
The AMBE-3000™ Vocoder Chip includes a number of advanced features that are combined with low power consumption to
offer the affordability, mobility and power efficiency required by virtually all mobile communication devices.
The AMBE-3000™ vocoder chip’s level of performance can lead to the successful development and deployment of wireless
communication systems in the most demanding environments. It has been thoroughly evaluated and tested by international
manufacturers under various conditions using a variety of languages. This assures the user is getting the best vocoder available
and makes the DVSI vocoder the logical choice without the need for additional comparison tests. Plus the fact, that DVSI’s
voice compression technology has been implemented worldwide for more than 20 years, delivers the added security of a field
proven technology that can play a key role in making any communication system an overall success.
Satellite Communications
Digital Mobile Radio
Secure Communications
Cellular Telephony and PCS
Voice Multiplexing
2 Hardware Information
The AMBE-3000R™ Vocoder Chip uses Texas Instruments TMS320F2811 core. The TMS320F2811 DSP Design uses High-
Performance Static CMOS Technology with a low-power Core (1.8-V @135 MHz), and 3.3-V I/O. This generation of TI
DSPs, are highly integrated, high-performance solutions for demanding control applications. For more details on handling,
electrical characteristics, packaging, or timing constraints please refer to the TMS320F2811 manual found at
http://focus.ti.com/docs/prod/folders/print/tms320f2811.html
To avoid damage from the accumulation of a static charge, industry standard electrostatic discharge precautions and procedures
must be employed during handling and mounting.
The length of time the AMBE-3000R™ can be safely exposed to the ambient environment prior to high temperature reflow
soldering follows the JEDEC industry standard classification for Moisture Sensitivity Level.
LQFP package
MSL Level-2-260C-1 Year
BGA Package
MSL Level-3-260C-168hr
A B C D E F G H J K L M N P
1 IF_
SELECT2
DTX_
ENABL E
CP_
ENABL E
3v3 N/C
McBSP
_T xD 1v8
McBSP
_CLKX Ground 1v8
SPI_RX
_DATA
SPI_TX
_DATA N/C
2 Ground 3v3
IF_
SELECT0
NS_
ENABL E
VREF_2V McBSP
AD CRESEXT _RxD
McBSP
_CL KR
McBSP
_FSR
SPI_
CLK Ground N/C
PPT_
DATA0
PPT_
DATA1
3 RAT E0 Ground
IF_ SK_
SELECT1 ENABL E Ground Ground N/C N/C N/C N/C N/C N/C
PPT_
DATA2
PPT_
DATA3
5 3v3
ES_
ENABL E
Ground
EC_
ENABL E
RAT E5
CP_
SELEC T
N/C N/C N/C
PPT_
DATA6
N/C
PKT_RX
_WAKE
PPT_
DATA7
1v8
7 UART
_RX N/C
UART
_T X N/C N/C
PPT_
AC K
3v3 N/C N/C N/C
11 I/O Pin
(N/C) N/C N/C N/C
S_COM_
RAT E1
N/C 3v3
PARITY_ I/O Pin
ENABLE (N/C)
I/O Pin
(N/C) Ground N/C N/C RU N
12 N/C N/C N/C N/C N/C N/C 1v8 SPI_FS N/C 1v8
I2C_
DATA
I/O Pin
(N/C) RTS 1v8
All digital inputs are TTL-compatible. All outputs are 3.3 V with CMOS levels. Inputs are not 5-V tolerant. A 100-µA (or 20-
µA) pullup/pulldown is used. Note that pins C2, C3, B1, C1, D3, D2, D1, F5, B5, D5, E5, A4, B4, C4, D4, A3 do not have
internal pullup/pulldowns.
DVSI Part Number --- The ROM Version part number is AMBE-3000R™
There are some AMBE-3000™ chips that have the DVSI Part Number
Please Note labeled AMBE-3000F-R™ these are authentic DVSI parts and are
exactly the same as parts marked with AMBE-3000R™
Lot Trace Code --- The lot trace code indicates chip manufacturing information.
Example as shown above CB-23A20RW 980
CG --- Chip manufacturer’s internal information
2 --- Year of manufacture
3 --- Month of manufacture - January thru September shall be represented by numbers 1
thru 9, and October thru December shall be represented by the letters A, B, and C
A20R --- Unique alpha-numeric Lot Code
W --- Chip manufacturer’s assigned assembly site code
980 --- Chip manufacturer’s internal information
RoHSCompliance
G4 Indicates RoHS Compliance.
DVSI Part Number --- The ROM Version part number is AMBE-3000R™
Lot Trace Code --- The lot trace code indicates chip manufacturing information.
Example as shown above CB-23A20RW 980
CG --- Chip manufacturer’s internal information
2 --- Year of manufacture
3 --- Month of manufacture - January thru September shall be represented by numbers 1
thru 9, and October thru December shall be represented by the letters A, B, and C
A20R --- Unique alpha-numeric Lot Code
W --- Chip manufacturer’s assigned assembly site code
980 --- Chip manufacturer’s internal information
RoHSCompliance
G1 Indicates RoHS Compliance.
SPI_RX_DATA 31 M1 Input PCM Data from A/D Converter to AMBE-3000R™ Vocoder Chip
SPI_TX_DATA 32 N1 Output PCM Data from AMBE-3000R™ Vocoder Chip to D/A Converter
PPT_DATA0 33 N2 I/O Parallel Packet Data
PPT_DATA1 34 P2 I/O Parallel Packet Data
3.3-V Flash Core Power Pin. This pin should be connected to 3.3
3v3FL 52 N8 PWR V at all times after power-up sequence requirements have been
met.
Output from internal oscillator for use with a crystal. If the internal
X2 57 M9 Output
oscillator is not used this pin should be unconnected.
29.4912 MHz Clock input. The AMBE-3000 may be operated
using the internal oscillator by connecting a crystal between X1
and X2 or with an external clock source. The AMBE-3000R™
Vocoder Chip can be operated with an external clock source,
provided that the proper voltage levels are driven on the
X1/XCLKIN 58 K9 Input X1/XCLKIN pin. It should be noted that the X1/XCLKIN pin is
referenced to the 1.8-V core digital power supply (VDD), rather
than the 3.3-V I/O supply (VDDIO). A clamping diode may be
used to clamp a buffered clock signal to ensure that the logic-high
level does not exceed VDD (1.8 V) or a 1.8-V oscillator may be
used.
CODEC_RESETn 60 P10 Output Output to Reset the Codec. This signal is active low.
For debugging purposes only. This signal is low while the either
RUNn 61 P11 Output
encoder or decoder is executing otherwise it is high.
RTSn is set high if there are less than thresh_hi bytes of free space
in the receive buffer. RTSn is set low if there are more than
thresh_lo bytes of free space in the receive buffer. After a reset
RTSn 64 N12 Output
thresh_hi is set to 20 and thresh_lo is set to 40, by default. These
thresholds can be changed by sending a PKT_RTSTHRESH field
as part of a control packet after reset. The thresholds may need to
be set to higher values if the device connected to RTSn does not
stop sending packet data quick enough after RTSn goes high.
The RTSn signal follows the conventions commonly used for RS-
232 flow control. If the MCBSP or the parallel port is selected for
the packet interface, rather than the UART, then the RTSn signal is
still generated. The RTSn signal can also be used for flow control
if the McBSP or the PPT interface is used.
I/O Pin 68 M12 I/O No Connection
Transmit Packet Ready goes high as soon as the AMBE-3000R™
Vocoder Chip is ready to transmit a channel packet. Goes low
TX_RDY 69 M14 Output after the entire packet is read. Regardless of the packet interface
selected, whenever the AMBE-3000R™ Vocoder Chip has a
packet ready for transmission it sets TX_RDY to high.
I2C_DATA 70 L12 Output I2C_DATA (output from AMBE-3000R™ Vocoder Chip to codec)
2
I C_CLK 71 L13 Output I2C_CLK (output from AMBE-3000R™ Vocoder Chip to codec)
Must be connected to the active low frame sync signal from the
codec if the SPI interface is used and low power mode is enabled.
SPI_WAKE 106 D9 Input
The signal is used to wake the AMBE-3000R™ Vocoder Chip
from stand-by mode.
B10,
C8,
20, 29, C14,
42, 56, G12,
63, 74, H1,
1v8 82, 94, K12, PWR Supply Voltage 1.8-V Core Digital Power Pins. (VDD)
102, L1,
110, P5,
114 P9,
P12,
A6
B2,
E1,
F4,
1, 13,
E9,
14, 25,
G11,
3v3 49, 83, PWR 3.3 V I/O Digital Power Pins.
J4,
104,
L7,
118
A5,
L10,
N14,
L8,
K8,
N13,
54, 55, P14,
65, 66, M12,
67, 68, M13,
72, 76, K11,
I/O Pin 78, 81, J11, I/O No Connection
84, 85, H10,
101, H14,
107, G10,
108 F14,
A11,
E8,
D8
N7,
M7,
50, 51, F11,
87, 92, D13,
93, 96, D12,
N/C 98, 99, C13, - No Connection
100, B12,
105, A12,
116 D11,
C9,
E6
B6,
B13,
E7,
F1,
K10,
M3,
N4,
N11,
P1,
P13,
A8,
A10,
A14,
B7,
B9,
C11,
C12,
D7,
D14,
E10,
E12,
F12,
N/C G5, - No Connection
G14,
H13,
J12,
M2,
M11,
N10,
A9,
B11,
G3,
H3,
H5,
J3,
J5,
J10,
K3,
L3,
L5,
L9,
L14,
M8,
N9,
P7,
NOTE:
Other than the power supply pins, no pin should be driven before the 3.3-V rail has reached recommended operating
conditions. However, it is acceptable for an I/O pin to ramp along with the 3.3-V supply.
77/J13, 78/H10, 79/H11, 80/H12, 81/H14, 84/G10, 85/F14, 86/F13, 89/E13, 90/E11, 91/F10, 92/D13, 96/C13, 99/A12,
100/D11, 101/A11, 105/C9, 107/E8, 111/C7, 112/A7, 113/D6
There is a set of configuration pins that allows the user to set-up the most common chip configurations. The chip boots up
according to the configuration pins. Then after booting up, if any configuration packets are received, the configuration is
changed accordingly. The configuration pins are only checked at boot time.
2 C2 IF_SELECT0
3 C3 IF_SELECT1 See Section 4.2
4 B1 IF_SELECT2
8 D1 CP_ENABLE
See Section 4.4.6
9 F5 CP_SELECT
89 E13 S_COM_RATE0
90 E11 S_COM_RATE1 See Table 20 UART Baud Rates
91 F10 S_COM_RATE2
The AMBE-3000R™ Vocoder Chip has an on-chip, PLL-based clock module and requires an input clock frequency of 29.4912
MHz. The PLL-based clock module provides all the necessary clocking signals for the device, as well as control for low-
power mode entry. The AMBE-3000R™ Vocoder Chip two modes of operation:
External clock source operation (See Figure 7 X1/XCLKIN and X2 with TTL/CMOS Clock Source)
This mode allows the internal oscillator to be bypassed. The device clocks are generated from an external clock
source input on the X1/XCLKIN pin.
The following points should be noted when designing any printed circuit board layout:
Keep X1/XCLKIN and X2 away from high frequency digital traces to avoid coupling.
Keep the crystal and external capacitors as close to the X1/XCLKIN and X2 pins as possible to minimize board stray
capacitance.
The typical specifications for the external quartz crystal for a frequency of 30 MHz are listed below:
Fundamental mode, parallel resonant
CL (load capacitance) = 12 pF
CL1 = CL2 = 24 pF
Cshunt = 6 pF
ESR range = 25 to 40 Ohms
Unless otherwise noted, the list of absolute maximum ratings is specified over operating temperature ranges. Stresses beyond
those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are stress ratings only and
functional operation of the device at these or any other conditions beyond those indicated are not implied. Exposure to
absolute-maximum-rated conditions for extended periods may affect device reliability. All voltage values are with respect to
Vss.
operational sections of the data sheet. Exposure to Absolute Maximum Ratings for extended periods can adversely affect
device reliability.
Unless otherwise noted, the list of absolute maximum ratings is specified over operating temperature ranges. All voltage values
are with respect to Vss.
Enable power to all 3.3-V supply pins and then ramp 1.8 V supply pins (Table 7 Voltage Supply Pins). Other than the power
supply pins, no pin should be driven before the 3.3-V rail has been fully powered up.
1.8 V supply voltage should not reach 0.3 V until 3v3 has reached 2.5 V. This ensures the reset signal from the I/O pin has
propagated through the I/O buffer to provide power-on reset to all the modules inside the device.
In other words, 3.3-V and 1.8-V can ramp together.
For a low-to-high transition, the level at which the output is said to be no longer low is above VOL(MAX) and the level
at which the output is said to be high is VOH(MIN) and higher.
For a low-to-high transition on an input signal, the level at which the input is said to be no longer low is above
VIL(Max) and the level at which the input is said to be high is VIH(Min) and higher.
In order to reduce power consumption the AMBE-3000R™ Vocoder Chip automatically switches to lower power states when
possible. The AMBE-3000R™ Vocoder Chip may switch power states many times during each 20 ms frame. For instance,
during periods when the AMBE-3000R™ Vocoder Chip is not actively executing code, the AMBE-3000R™ Vocoder Chip
will be in a low power state. When a codec interrupt occurs the AMBE-3000R™ Vocoder Chip will briefly switch into the run
state and then switch back to the lower power state. If the codec interface is in use, then the AMBE-3000R™ Vocoder Chip
will never remain in the low power state for more than 125 us at a time.
(1) Normal Power Mode: In this mode the AMBE-3000R™ Vocoder Chip switches between the Run State and the Idle
State.
(2) Low Power Mode: In this mode the AMBE-3000R™ Vocoder Chip switches between the Run State, the Idle State,
and the Standby State. Lower power is consumed because the AMBE-3000R™ Vocoder Chip is in the Standby state
a large percentage of the time. low power mode is enabled or disabled by sending a packet containing
PKT_LOWPOWER field to the AMBE-3000R™ Vocoder Chip. After reset, low power mode is always disabled.
3.8.6 Low power mode when using the UART Packet Interface
When the UART packet interface is used and low-power mode is enabled, PKT_RX_WAKE (TQFP pin 43 / BGA pin M5)
must be connected to UART_RX (TQFP pin 112 / BGA pin A7). The signal is used to make sure that the standby state is not
entered while UART_RX is active.
3.8.7 Low Power Mode when using the McBSP Packet Interface
When the McBSP packet interface is used the PKT_RX_WAKE (TQFP pin 43 / BGA pin M5) signal must be connected to the
inverted McBSP_FSR signal (TQFP pin 24 / BGA pin J2). The signal is needed in order to wake the chip from the standby
state.
3.8.8 Low Power Mode when using the McBSP Codec Interface
When the McBSP codec interface is used the SPI_WAKE (TQFP pin 106 / BGA pin D9) signal must be connected to the
inverted McBSP_FSR signal (TQFP pin 24 / BGA pin J2). The signal is needed in order to wake the chip from the standby
state.
Note: The higher the frequency of the MCBSP clock the better power consumption will be when low-power mode is enabled.
3.8.9 Low Power Mode when using the SPI Codec Interface
When the SPI codec interface is used the SPI_WAKE (TQFP pin 106 / BGA pin D9) signal must be connected to the inverted
frame sync signal from the codec. The signal is needed in order to wake the chip from the standby state.
3.8.10 Low Power Mode when using the Parallel Packet Interface
No additional connections are required to use low power mode with the parallel interface.
Method 1: Prior to the start of any packet transfer to the AMBE-3000R™ Vocoder Chip, the STDBY_ENABLEn (TQFP pin
75 / BGA pin K14) pin must be set low at least 500ns prior to sending the first byte of a packet via UART, McBSP, or Parallel
Port. The signal should be set high anytime after the first byte of the packet has been transferred to the AMBE-3000R™
Vocoder Chip. When the STDBY_ENABLEn is held low, the AMBE-3000R™ Vocoder Chip is prevented from entering the
standby state, so it is important that the STDBY_ENABLEn signal is set high prior to the end of the last byte of the packet.
OR
Method 2: STDBY_ENABLEn (TQFP pin 75 / BGA pin K14) must be pulled high or left disconnected. Prior to the start of
any packet transfer to the AMBE-3000R™ Vocoder Chip, wait for a transition of the STANDBYn (TQFP pin 44 / BGA pin
M6) signal from the high state to the low state. After the transition is detected begin sending the first byte of the packet to the
AMBE-3000R™ Vocoder Chip via UART, McBSP, or Parallel Port within 100µs after the transition was detected.
OR
Method 3: A packet may be sent to the AMBE-3000R™ Vocoder Chip at anytime after the AMBE-3000R™ Vocoder Chip has
begun transmitting a packet up until the time the AMBE-3000R™ Vocoder Chip has just finished transmitting the packet. It is
important that the first byte of the packet being sent to the AMBE-3000R™ Vocoder Chip be sent before the last byte of the
packet is received from the AMBE-3000R™ Vocoder Chip.
1.8v = 193 mW
Maximum Current Values
3.3v = 171 mW
Table 8 Typical AMBE-3000R™ Vocoder Chip Power Measurements
Implementing the AMBE-3000R™ Vocoder Chip into a communication system requires the selection of various components.
The AMBE-3000R™ Vocoder Chip offers multiple interfaces for flexibility in integration into a variety of design
configurations.
In its simplest model, the AMBE-3000R™ Vocoder Chip can be viewed as two separate components, the Encoder and the
Decoder. The Encoder receives an 8 kHz sampled stream of speech data (16-bit linear, 8-bit A-law, or 8-bit µ-law) and outputs
a stream of channel data at the desired rate. Simultaneously, the AMBE-3000R™ Vocoder Chip receives compressed voice
channel data. This data is decoded by the AMBE-3000R™ Vocoder Chip, then reconstructed into a digital speech signal and
sent to the D/A. The encoder and decoder functions are fully asynchronous.
The special functions of the AMBE-3000R™ Vocoder Chip, such as echo cancellation, voice activity /detection, power mode
control, data/FEC rate selection, etc. can be controlled either through hardware control pins and/or through the packet interface.
For codec mode, the user must select two physical interfaces: one for the codec data and one for the packet data. The choices
for the codec interface are SPI or McBSP. The choices for the packet interface are McBSP or UART or Parallel Port. The
McBSP can not be used for both the codec interface and the packet interface.
For packet mode, the user must select one physical interface to be used for packet data. The packet interface is used to transfer
both the speech data samples and the compressed channel data. The choices for the packet interface are McBSP or UART or
Parallel Port.
The AMBE-3000R™ Vocoder Chip supports four separate physical interfaces: SPI, UART, Parallel port, and McBSP serial
port. The user must select a codec interface and a packet interface using hardware configuration pins IF_SELECT0 (TQFP
pin2, BGA pin C2), IF_SELECT1 (TQFP pin3, BGA pin C3), and IF_SELECT2 (TQFP pin4, BGA pin B1). The available
interface combinations are shown in Table 9 Physical Interface Selection
Interface Configurations
IF_SELECT Configuration
Mode Pin #’s (TQFP / BGA) Codec Interface Packet Interface
4 / B1 3 / C3 2 / C2
Codec Mode 0 0 0 SPI UART
Codec Mode 0 0 1 SPI PPT
Codec Mode 0 1 0 SPI McBSP*
Codec Mode 0 1 1 McBSP* UART
Codec Mode 1 0 0 McBSP* PPT
Packet Mode 1 0 1 Not used UART
Packet Mode 1 1 0 Not used PPT
Packet Mode 1 1 1 Not used McBSP*
Table 9 Physical Interface Selection
*Note: McBSP Interface may be used for codec interface or the packet interface but not both.
The choice of the A/D-D/A chip is critical to designing a system with superior voice quality. Given that a-law and -law
companding chips are already incorporating some compression to reduce the number of bits per sample, it is recommended
that, when possible, a 16-bit linear device be used for maximum voice quality. When choosing a device, pay particular
attention to signal to noise ratios and frequency responses of any filters that may be present on the analog front end of these
chips. Generally speaking, the flatter the frequency response over the voice spectrum (20-4000Hz) the better the overall
system will sound. The a-law and law interfaces are mainly provided for the design engineer who is trying to fit to pre-
existing conditions or is under cost savings restraints.
With the VAD functions enabled, when periods of silence occur, the encoder will output a silence frame (in-band). This
silence frame contains information regarding the level of background noise, which allows the corresponding decoder to
synthesize a “Comfort Noise” signal at the other end. The comfort noise is intended to give the listener the feeling that the call
is still connected, as opposed to producing absolute silence, which can give the impression that, the call has been “dropped”.
The decoder will produce a comfort noise frame if it receives an in-band silence frame (produced only by an encoder with
VAD enabled). The synthesis of a Comfort Noise frame by the decoder is not dependent on VAD being enabled.
If the VAD features are being used to reduce transmit power during times of conversational silence, DVSI recommends that a
silence frame be transmitted at the start of the period and approximately each 500-1000 milliseconds thereafter. This is to
ensure that the parameters regarding the levels of background noise are transmitted to the decoder for the smoothest audible
transitions between synthesized speech and synthesized silence.
The silence threshold value is -25 dBm0 in the VAD algorithm. Each frame that exceeds this level will be classified as voice.
If the frame level is less than -25 dBm0 the voice/silence decision will be determined based upon various adaptive thresholds.
The AMBE-3000R™ Vocoder Chip employs an adaptive echo cancellation algorithm to cancel echoes of the decoder output
present at the encoder input. The echo canceller is an Adaptive LMS echo canceller with a 16 ms (128 samples) filter. It
exceeds all the performance requirements specified by ITU-T recommendation G.165.
The AMBE-3000R™ Vocoder Chip can also generate Single Frequency Tones. This can be done by using the TONE_IDX
Field (see Table 103 TONE Field Format. Each packet with TONE_IDX generates 20 milliseconds of output tones. The
length of the output tones can be extended by repeating the packet. Tones that can be generated by the AMBE-3000R™
Vocoder Chip are shown in Table 104 TONE Index Values.
The user must implement circuitry at the receive end of the channel for making a finer (4 bit) estimation of the received energy.
The AMBE-3000R™ Vocoder Chip uses a different channel data field (CHAND4) to specify channel data represented by 4
soft decision (SD) bits. The decoder will make the decision of whether or not a 1 or a 0 is represented by the SD bits.
Companding Disabled 0
Companding Enabled 1
Table 11 Companding Control
Select µ-law 0
Select a-law 1
Table 12 Companding Selection
5 I/O Management
The AMBE-3000R™ Vocoder Chip offers a variety of interfaces that can be configured in a variety of ways. Selection of the
physical interface and the operating Mode is determined from the configuration pins after reset. The AMBE-3000R™ Vocoder
Chip uses an I/O Handler to manage data to/from the encoder/decoder according to the selected interfaces and operating mode.
The I/O handler is also used to schedule calls to the encoder and decoder.
The I/O handler passes 160±4 Codec samples to the encoder for each 20 ms frame. In addition to passing the speech samples
to the encoder for every 20 ms frame, the I/O Handler passes a 16-bit control word named ECMODE_IN to the encoder.
ECMODE_IN is used to control various encoder features. Features set by ECMODE_IN will override the state as set by the
corresponding hardware configuration pins. Each bit of ECMODE_IN is summarized in Table 13 ECMODE_IN Flags:
Bit
Bit Name Bit Description Initial Value
Number
0 (LSB) Reserved.0 Reserved 0 at reset
1 Reserved.1 Reserved 0 at reset
2 Reserved.2 Reserved 0 at reset
3 Reserved.3 Reserved 0 at reset
4 Reserved.4 Reserved 0 at reset
5 Reserved.5 Reserved 0 at reset
Noise Suppressor Enable. If this bit is set the noise After reset, this bit is
6 NS_ENABLE suppressor is enabled, otherwise the noise suppressor is initialized using the setting
disabled. from the NS_ENABLE pin.
Compand Select.
If companding is enabled and CP_SELECT=0, then µ- After reset, this bit is
7 CP_SELECT law companding is selected. If companding is enabled, initialized using the setting
and CP_SELECT=1 then a-law companding is selected. from the CP_SELECT pin.
If companding is not enabled, then this bit has no effect.
Compand Enable
If CP_ENABLE=1, then companding is enabled (either After reset, this bit is
8 CP_ENABLE a-law or u-law, depending on the setting of initialized using the setting
CP_SELECT). If CP_ENABLE=0, then companding is from the CP_ENABLE pin.
disabled and all speech samples are 16-bit linear.
Echo suppressor Enable. After reset, this bit is
9 ES_ENABLE If ES_ENABLE=1, the echo suppressor is enabled, initialized using the setting
otherwise the echo suppressor is disabled. from the ES_ENABLE pin.
10 Reserved.10 Reserved 0 at reset
Discontinuous Transmission Enable.
If DTX_ENABLE=1, then the encoder outputs a special After reset, this bit is
11 DTX_ENABLE silence frame whenever silence is detected. If initialized using the setting
DTX_ENABLE=0, then the encoder does not output from the DTX_ENABLE pin.
special silence frames when silence is detected.
Tone Detect Enable.
This bit is initialized to 1 (tone
12 TD_ENABLE If TD_ENABLE=1, then tone detection is enabled,
detection enabled) at reset.
otherwise tone detection is disabled.
Echo Canceller Enable. After reset, this bit is
13 EC_ENABLE If EC_ENABLE=1, then the echo canceller is enabled, initialized using the setting
otherwise the echo canceller is disabled. from the EC_ENABLE pin.
Tone Send Enable.
If TS_ENABLE=1, then the encoder produces a tone This bit is initialized to 0 at
14 TS_ENABLE
frame in place of the frame that it would normally reset.
produce.
15
Reserved.15 Reserved 0 at reset.
(MSB)
Table 13 ECMODE_IN Flags
ECMODE_IN is initialized at reset as determined by various configuration pins. It is also possible to directly specify the value
for ECMODE_IN by sending a PKT_ECMODE field within a configuration control packet prior to starting up the codec
interface or running the encoder. In addition, it is possible to specify ECMODE_IN every 20 ms by passing the value in every
packet (or selected packets). Note that ECMODE_IN will retain its value until it is changed.
The encoder produces channel data for every 20 ms frame. The I/O handler places the channel data into an outgoing channel
packet. The encoder also outputs a 16-bit status word named ECMODE_OUT, for each 20 ms frame. The ECMODE_OUT
flags are as specified in the following Table 14 ECMODE_OUT FLAGS
Bit
Bit Name Bit description
Number
0 Reserved.0 Reserved
If DTX is enabled, via the DTX_ENABLE bit of ECMODE_IN, then the
encoder sets VOICE_ACTIVE=1 if the channel data for that frame must be
1 VOICE_ACTIVE transmitted. For frames which do not need to be transmitted, the encoder sets
VOICE_ACTIVE=0. Note that when VOICE_ACTIVE=0, the encoder still
produces a frame of channel data which may be transmitted if desired.
2-14 Reserved.2-Reserved.14
The encoder sets this bit if the output frame contains either a single frequency
15 TONE_FRAME
tone, a DTMF tone, a KNOX tone, or a call progress tone.
Table 14 ECMODE_OUT FLAGS
By default, the ECMODE_OUT flags are not output within the channel packets. If access to the flags is needed, it is possible
to configure the AMBE-3000R™ Vocoder Chip so that it will output the ECMODE_OUT flags in every channel packet that is
output or only when the ECMODE_OUT flags change. The PKT_CHANFMT field within a configuration control packet is
used to specify when/if the ECMODE_OUT flags are output.
For each 20 ms frame, the I/O handler also passes a 16-bit control word named DCMODE_IN to the decoder. DCMODE_IN
is used to control various decoder features. Each bit of DCMODE_IN is summarized in Table 15 DCMODE_IN Flags.
DCMODE_IN is initialized at reset as determined by various configuration pins. It is also possible to directly specify the value
for DCMODE_IN by sending a PKT_DCMODE field within a configuration control packet prior to starting up the codec
interface or running the decoder. In addition, it is possible to specify DCMODE_IN every 20 ms by passing the value in every
packet (or selected packets). Features set by DCMODE_IN will override the state as set by the corresponding hardware
configuration pins.
Bit
Bit Name Bit Description Initial Value
Number
0 Reserved.0
1 Reserved.1
Frame repeat enable. If LOST_FRAME=1, then the
2 LOST_FRAME Decoder ignores any channel data provided to it and 0 at reset.
performs a frame repeat.
The I/O handler also passes a frame of channel data, if available, to the decoder once every 20 ms. The decoder produces
160±4 speech samples for every 20 ms frame. In addition to outputting speech samples for each 20 ms frame, the decoder
outputs a 16-bit status word named DCMODE_OUT. The DCMODE_OUT flags are as specified in Table 16
DCMODE_OUT Flags. If the I/O handler does not have a frame of channel data to pass to the decoder at the scheduled time,
then the I/O Handler forces the decoder to perform a frame repeat by setting the appropriate bit in DCMODE_IN for that frame
only.
Bit
Bit Name Bit description
Number
0 Reserved.0 Reserved
The decoder sets VOICE_ACTIVE=1 if the decoder synthesized a voice
frame or a tone frame. If the decoder synthesized a comfort noise frame,
then it sets VOICE_ACTIVE=0. The decoder can synthesize comfort
1 VOICE_ACTIVE noise in the following circumstances:
(a) a comfort noise frame (silence frame) was received by the decoder.
(b) The decoder FEC (if enabled) found too many errors.
(c) more than 2 consecutive frame repeats were requested.
2-4 Reserved.2-Reserved.4
The decoder sets this bit whenever it performs a frame repeat. It also sets
this bit if it inserted comfort noise due to channel errors or missing frames.
5 DATA_INVALID
The decoder will set DATA_INVALID=0 if it received a valid (voice,
silence, or tone frame).
6-14 Reserved.6-Reserved.14
15 TONE_FRAME The decoder sets this bit whenever it decodes a tone frame.
Table 16 DCMODE_OUT Flags
When the AMBE-3000R™ Vocoder Chip is in codec mode, speech samples are received and transmitted via the codec
interface.
For codec mode, DCMODE_OUT can be output within every outgoing channel packet. By default, outgoing channel packets
do not contain DCMODE_OUT flags. The PKT_CHANFMT field used within a configuration control packet can be used to
tell the I/O handler to put DCMODE_OUT flags into subsequent outgoing channel packets.
The AMBE-3000R™ Vocoder Chip sends a packet in response to every packet received. When a control packet is received it
will respond with a control response packet. When a speech packet is received the AMBE-3000R™ Vocoder Chip responds
with a channel packet. When a channel packet is received it responds with a speech packet.
When the AMBE-3000R™ Vocoder Chip is in packet mode speech samples are received and transmitted via the packet
interface. In packet mode, the encoder is scheduled whenever the I/O handler receives a speech packet and the decoder is
scheduled each time a channel packet is received. In packet mode, multiple packets may be in the packet queue. The encoder
is scheduled when a speech packet is taken off the queue and the decoder is scheduled when a channel packet is taken off the
queue. Note that packets are taken off the queue in the order that they were received.
For packet mode DCMODE_OUT can be output within PKT_CMODE fields within outgoing speech packets. By default,
speech packets do not contain PKT_CMODE fields, but the PKT_SPEECHFMT field used within a configuration control
packet, can be used to tell the I/O handler to put DCMODE_OUT flags into subsequent outgoing speech packets. For packet
mode, the I/O handler outputs the speech samples using a PKT_SPEECHD field within an outgoing speech packet.
5.1.5 Switching between codec mode and packet mode using packets
Upon boot up or after a reset the AMBE-3000R™ Vocoder Chip is set to the mode (either codec mode or packet mode)
corresponding to the interface configuration pins (see Table 9 Physical Interface Selection). Switching the AMBE-3000R™
Vocoder Chip from packet mode into codec mode or from codec mode into packet mode can be done through software using
configuration packets. The user can switch the AMBE-3000R™ Vocoder Chip between modes at any time using control
packets. (See Section Data and Configuration Packets)
To switch the AMBE-3000R™ Vocoder Chip from packet mode into codec mode using packets, a control packet with the field
identifier of 0x2A “PKT_STARTCODEC” (See Section Data and Configuration Packets) must be sent to the AMBE-30000™
Vocoder Chip. The data byte in the PKT_START CODEC packet selects either SPI or McBSP for the codec interface. When
the AMBE-3000R™ Vocoder Chip is in codec mode it outputs channel packets automatically, once every 20 ms. It also
expects to receive a channel packet once every 20 ms. All timing is relative to the codec clock
To switch the AMBE-3000R™ Vocoder Chip from codec mode into packet mode using packets, a control packet with the field
identifier of 0x2B “PKT_CODECSTOP” (See Table 59 PKT_CODECSTOP Field) must be sent to the AMBE-30000™
Vocoder Chip. When in packet mode the AMBE-3000R™ Vocoder Chip no longer outputs channel packets automatically
every 20 ms and the codec interface is inactive.
Pin
Pin Name Direction Description
TQFP BGA
27 K2 SPI_CLK Input A/D Serial clock.
The framing signal generated from
28 K4 SPI_STE Input
SPI_GENSTE.
PCM Data from A/D Converter to AMBE-
31 M1 SPI_RX_DATA Input
3000R™ Vocoder Chip
PCM Data from AMBE-3000R™ Vocoder
32 N1 SPI_TX_DATA Output
Chip to D/A Converter
Table 17 SPI Interface Pins
The SPI_STE signal is asserted low at least 136 ns before the valid SPI_CLK edge and remains low for at least 136 ns after the
receiving edge of the last data bit.
MIN MAX
SPI_CLK Cycle time (tSPI) 272 ns 7.8 µs
The AMBE-3000R™ Vocoder Chip can generate the signal SPI_GENSTE from signals SPI_FSn and SPI_CLK_IN. See
Figure 23 Timing of SPI_GENSTE for the timing relationship between these signals.
When UART interface is used for the packet interface neither the McBSP nor the parallel interface can be used.
Pin
Pin Name Direction Description
TQFP BGA
111 C7 UART_TX Output UART Transmit Data
112 A7 UART_RX Input UART Receive Data
Table 19 UART Interface Pins
The AMBE-3000R™ Vocoder Chip transmits packets using pin UART_TX and receives packets using pin UART _RX. Each
serial word transmitted or received uses 8 data bits, no parity bits, and one stop bit. The serial port operates at baud rates from
28800 up to 460,800 baud. See Table 20 UART Baud Rates for available rates and configuration.
460,800 1 0 0
Table 20 UART Baud Rates
The Multichannel Buffered Serial Port (McBSP) is a synchronous serial communication port. The beginning of a word of data
is indicated by a frame signal. The receive frame signal and receive clock are inputs and must be generated by the device
interfacing to the AMBE-3000R™ Vocoder Chip. The McBSP interface can be used as either the codec interface or the packet
interface. When the McBSP interface is used as the codec interface for speech data it is not available for packet data. When
operating as the packet interface the McBSP interface is used for packet data.
Note: The higher the frequency of the MCBSP clock the more power consumption is reduced when low-power mode is
enabled.
If the McBSP is selected for the packet interface, packets are transmitted using data pin McBSP_TXD, clock pin
McBSP_CLKX, and framing pin McBSP_FSX. Packets are received using data pin McBSP_RXD, clock pin McBSP_CLKR,
and framing pin McBSP_FSR. There are 8 data bits per frame pulse. McBSP_RXD is sampled on the falling edge of
McBSP_CLKR and McBSP_TXD is sampled on the rising edge of McBSP_CLKX. McBSP_CLKR and McBSP_FSR are
inputs. McBSP_CLKX, McBSP_FSX are outputs. The clock frequency on McBSP_CLKX is determined from
S_COM_RATE(2-0) as shown in Table 24 McBSP Clock Rates.
M1 M2 M3 M4 M5
McBSP_CLKR
M6 M7
McBSP_FSR
M8 M9
McBSP_RXD
M1 M2 M3 M4 M5
McBSP_CLKX
M10 M10
McBSP_FSX
460,800 Hz. 1 0 0
921,600 Hz. 1 0 1
Table 24 McBSP Clock Rates
The McBSP port operates at clock rates from 28,800 up to 921,600 Hz. Note that this specifies the rate at which the packet
will be transmitted. The receive clock and frame signals must generated by the device being interfaced to the AMBE-3000R™
Vocoder Chip. The receive clock supplied to the AMBE-3000R™ Vocoder Chip must be between 28,000 Hz. and 921,600
Hz. See Table 24 McBSP Clock Rates for available rates and configuration.
The AMBE-3000R™ Vocoder Chip will set TX_RDY high when data is available to be read from the parallel port.
The packet data from the AMBE-3000R™ Vocoder Chip is read by setting the pin PPT_READ low, then waiting for the
AMBE-3000R™ Vocoder Chip to set PPT_ACK low. After PPT_ACK goes low, the 8 data pins are valid, after the pins are
read PPT_READ should be set high. After PPT_READ goes high, the AMBE-3000R™ Vocoder Chip will set PPT_ACK
high.
To write packet data to the AMBE-3000R™ Vocoder Chip first the data is transferred to the 8 data pins and then the
PPT_WRITE pin must be set low. Then the AMBE-3000R™ Vocoder Chip reads the data from the pins and sets PPT_ACK
low. After the AMBE-3000R™ Vocoder Chip sets PPT_ACK low, PPT_WRITE pin must set high, at which time, the AMBE-
3000R™ Vocoder Chip will set PPT_ACK high.
PPT Timing
ta ta <= 5 µs (1.12 µs typical)
tb System Dependent
tc < 320 ns
td 850 ns min.
The time between when the AMBE-3000R™ Vocoder Chip sets PPT_ACK Low and the user sets PPT_WRITE high has to be
>0. Times ta + tb + tc all determines what the maximum rate is. The lower tb is the faster the transfer rate. The transfer rate is as
follows:
Transfer Rate (bits/sec) = 8 / (ta + tb + tc )
At time 1 controller sets PPT_READ (PPT_WRITE) low to request to read (write) from the PPT interface.
At time 2 the AMBE-3000R™ Vocoder Chip sets the PPT_ACK low and the PPT_DATA is valid.
At time 3 the controller has read (written) the data and now sets the PPT_READ (PPT_WRITE) high.
At time 4 the AMBE-3000R™ Vocoder Chip sets the PPT_ACK high after the PPT_READ (PPT_WRITE) goes back to high.
For Example: If the designed system uses tb < 0.5µs the parallel port can transfer data, at rates exceeding 4.1 Mbps.
The AMBE-3000R™ Vocoder Chip operates with a speech data sample rate of 8kHz for both the A/D and D/A interfaces.
This 8kHz data is input and output using a serial port on the AMBE-3000R™ Vocoder Chip. The user can choose between
hardware configuration pins or software control in order to the process of configuring the interface to the A/D-D/A chip.
In order to ensure proper performance from the voice coder, it is necessary for the vocoder front end to meet a set of minimum
performance requirements. For the purposes of this section the vocoder front end is considered to be the total combined
response between microphone/speaker and the digital PCM interface to the vocoder, as shown in Figure 27 Typical Vocoder
Implementation. This includes any analog electronics plus the A-to-D and D-to-A converters as well as any digital filtering
performed prior to the voice encoder or after the voice decoder.
The AMBE+™ voice encoder and decoder operate with unity (i.e. 0 dB) gain. Consequently the analog input and output gain
elements shown in Figure 28 Vocoder Front End are only used to match the sensitivity of the microphone and speaker with the
A-to-D converters and D-to-A converters, respectively.
It is recommended that the analog input gain be set such that the RMS speech level under nominal input conditions is 25 dB
below the saturation point of the A-to-D converter (+3 dBm0). This level, which equates to -22 dBm0, is designed to provide
sufficient margin to prevent the peaks of the speech waveform from being clipped by the A-to-D converter.
The voice coder interface requires the A-to-D and D-to-A converters to operate at an 8 kHz sampling rate (i.e. a sampling
period of 125 microseconds) at the digital input/output reference points. This requirement necessitates the use of analog filters
at both the input and output to eliminate any frequency components above the Nyquist frequency (4 kHz). The recommended
input filter mask is shown in Figure 29 Front End Input Filter Mask, and the recommended output filter mask is shown in
Figure 30 Front End Output Filter Mask. For proper operation, the shaded zone of the respective figure should bound the
frequency response of the front-end input and output.
This document assumes that the A-to-D converter produces digital samples where the maximum digital input level (+3 dBm0)
is defined to be +/- 32767, and similarly, that the maximum digital output level of the D-to-A converter occurs at the same
digital level of +/- 32767. If a converter is used which does not meet these assumptions then the digital gain elements shown in
Figure 28 Vocoder Front End should be adjusted appropriately. Note that these assumptions are automatically satisfied if 16
bit linear A-to-D and D-to-A converters are used, in which case the digital gain elements should be set to unity gain.
An additional recommendation addresses the maximum noise level measured at the output reference points shown in Figure 28
Vocoder Front End with the corresponding inputs set to zero. DVSI recommends that the noise level for both directions should
not exceed -60 dBm0 with no corresponding input. In addition, the isolation from cross talk (or echo) from the output to the
input should exceed 45 dB which can be achieved via either passive (electrical and/or acoustic design) or active (echo
cancellation and/or suppression) means.
The Texas Instruments’ TLV320AIC14 codec presents a simple low cost solution for use with DVSI’s AMBE-3000R™
vocoder chip. This example provides information on interfacing theTLV320AIC14 to the AMBE-3000R™ Vocoder chip SPI
interface.
The control registers in the TLV320AIC14 codec must be initialized for proper operation. The recommended procedure is to
initialize the TLV320AIC14 by writing data to 5 control registers via packet from the AMBE-3000R™ Vocoder Chip.
6.1 Overview
Interfacing to the AMBE-3000R™ Vocoder Chip is engineered to provide as much flexibility as possible. The AMBE-
3000R™ Vocoder Chip always uses a packet format for the compressed voice data bits and for the chip configuration/control.
The packets can be transferred using the UART port, parallel port or McBSP serial port for a physical interface based on the
setting of hardware configuration pins. Packets are designed such that they can be as small as possible.
The AMBE-3000R™ Vocoder Chip uses packets whether it is running in codec mode or packet mode. When in codec mode
the packets are used for communicating with the AMBE-3000R™ Vocoder Chip to configure the vocoder, poll vocoder status
information, as well as, transferring compressed voice bits from the encoder or to the decoder. When running in packet mode
the packets provide the same capabilities as codec mode plus they have the ability to transfer speech data samples to the
encoder or from the decoder.
Every packet includes a HEADER that consists of a START byte for identification of the beginning of the packet, LENGTH
data to indicate how many bytes are in the packet and a TYPE byte that specifies what to do with the packet. Packets are
processed in a first-in-first-out manner.
In packet mode the AMBE-3000R™ Vocoder Chip uses the same interface for the digitized speech data samples and the
compressed data bits. In this mode, when the AMBE-3000R™ Vocoder Chip receives packets, it processes the packets and
sends response packets as soon as the data is ready. The AMBE-3000R™ Vocoder Chip sends response packets in the same
order that the packets are received. The AMBE-3000R™ Vocoder Chip maintains a FIFO for received packets and a separate
FIFO for packets that are awaiting transmission. The FIFOs are each large enough to accommodate up to two speech packets
and two channel packets. The AMBE-3000R™ Vocoder Chip can continue to transmit/receive packets while it is still
processing prior packets.
When the AMBE-3000R™ Vocoder Chip receives a speech packet, it takes the speech samples from the packet, encodes them
and sends back a channel packet.
When the AMBE-3000R™ Vocoder Chip receives a channel packet, it takes the channel data from the packet, decodes the
channel data, and sends back a speech packet.
When the AMBE-3000R™ Vocoder Chip receives a configuration control packet, it makes the requested configuration
changes and sends back a configuration response packet.
There are 3 different packet types for the AMBE-3000R™ vocoder chip.
Packet Types
Type Value
Packet Name Description
(Hex)
Used to setup chip modes, rates, configure hardware, initialize
Control / encoder/decoder, enable low-power mode, specify output packet formats,
Configuration etc. When a control packet is received the chip returns a control packet 0x00
Packet with response fields that contain response data for some control packets
or indication of errors in the control packet.
These packets are used to input speech data to encoder and to output
speech data from the decoder. In addition to speech data, the packet can
Speech Packet provide flags to control the encoder operation on a frame-by-frame basis. 0x02
The speech packet also can have a field that forces the encoder to
produce a tone frame.
These packets are used to input channel data to the decoder and to output
channel data from the encoder. In addition to channel data the packet can
Channel Packet provide flags that control the decoder operation on a frame-by-frame 0x01
basis. A channel packet can also contain a field that forces the decoder to
produce a tone frame.
A field consists of a field identifier followed by field data. The length of field data is dependent upon the field identifier.
Many fields have fixed lengths. Some fields, such as those that contain speech samples or channel data are variable in length;
and in such cases the length of the field data is embedded inside field data.
Control Field
Data Length
Data Length
Direction
(bytes)
(bytes)
Code
PKT_CHANNEL0 0x40 none none I/O The subsequent fields are for channel 0
PKT_ECMODE 0x05 2 none I/O Encoder cmode flags for current channel
PKT_DCMODE 0x06 2 none I/O Decoder cmode flags for current channel
none Companding ON/OFF and a-law/µ-law
PKT_COMPAND 0x32 1 I/O
selection
PKT_RATET 0x09 1 none I/O Select rate from table for current channel
PKT_RATEP 0x0A 12 none I/O Select custom rate for current channel
Initialize encoder and/or decoder for current
PKT_INIT 0x0B 1 none I/O
channel
PKT_LOWPOWER 0x10 1 none I/O Enable or disable low-power mode
PKT_CODECCFG 0x38 varies none I/O Sends configuration packet to codec
PKT_CODECSTART 0x2A 1 none I/O Switches from packet mode to codec mode
PKT_CODECSTOP 0x2B none none I/O Switches from codec mode to packet mode
PKT_CHANFMT 0x15 2 none I/O Sets the format of the output channel packet
PKT_SPCHFMT 0x16 2 none I/O Sets the format of the output speech packet
PKT_PRODID 0x30 none varies I/O Query for product identification
PKT_VERSTRING 0x31 none 48 I/O Query for product version string
Indicates that the device is ready to receive
PKT_READY 0x39 none none O
packets
Sets AMBE-3000R™ Vocoder Chip into
PKT_HALT 0x35 none none I
lowest power mode
PKT_CHANNEL0 field (1 bytes) indicates that subsequent control fields pertain to channel 0.
PKT_ECMODE field (3 bytes total) contains the cmode flags to be passed to the encoder to enable/disable advanced features
of the encoder. Values set by the PKT_ECMODE field will override the state as set by the corresponding hardware
configuration pin.
PKT_ECMODE Response field (1 byte total) indicates encoder cmode flags were received.
PKT_DCMODE field (3 bytes total) contains the cmode flags to be passed to the decoder to enable/disable advanced features
of the decoder. Values set by the PKT_DCMODE field will override the state as set by the corresponding hardware
configuration pin.
PKT_DCMODE field (1 byte total) indicates decoder cmode flags were received.
PKT_COMPAND field (2 bytes total) Enables/Disables the use of companded data and allows for selection or either a-law or
µ-law companding.
PKT_COMPAND Response field (1 byte total) indicates compand command was received.
PKT_RATET field (2 bytes total) specifies one of the built-in rates. Sets a built-in Rate from Table 115 Rate Index Numbers
The rate of the AMBE-3000R™ Vocoder Chip can be set through hardware pins or control words. After resetting the device,
the coding rate can be modified for both the encoder and the decoder by sending a PKT_RATET or PKT_RATEP packet.
Table 116 Rate Control Words and Pin Settings shows standard Rate / FEC combinations
The AMBE-3000R™ Vocoder Chip uses these six words to set the source and FEC coding rates. Table 115 Rate Index
Numbers and Table 116 Rate Control Words and Pin Settings lists the predefined values for various source and FEC rates that
are built into the AMBE-3000R™ Vocoder Chip. These tables also indicate what rates are compatible with older DVSI
vocoder chips such as the AMBE-2000™ Vocoder Chip (using AMBE™+ technology) and the AMBE-1000™ Vocoder Chip
(using AMBE™ technology). These are a representation of the most commonly requested rates. Please contact DVSI for
additional rate information if the desired rates are not listed.
If rates other than those indicated in Table 115 Rate Index Numbers and Settings are desired then the PKT_RATEP field must
be used to specify a custom rate.
Example of a PKT_RATEP field with the custom rate of 2800 bps voice and 0 bps FEC
Field Identifier RCW 0 RCW 1 RCW 2 RCW 3 RCW 4 RCW 5
0x0A 0x0038 0x0765 0x0000 0x0000 0x0000 0x0038
PKT_RATEP Response field (1 byte total) indicated receipt of custom rate words
Vocoder Rate table with Rate - Control Words / Configuration Pin Setting are shown in Section Rate - Control Words /
Configuration Pin Settings
PKT_INIT field (2 bytes total) sets the ecmode and dcmode initialization flags for the encoder and the decoder respectively as
well as initializes the echo canceller.
When bit 0 of byte 1 is set the encoder is initialized to the following:
TONE_DET_ENABLE_FLAG is on
Noise suppression is enabled/disabled depending on configuration pin
Echo canceller and echo suppressor are enabled/disabled depending on configuration pin or bit 2 of the PKT_INIT
control field data.
Companding is enabled/disabled and the companding type is selected depending upon the configuration pins.
All other bits in ecmode are initialized to zero.
When bits 0 and 1 of byte 1 are both set, the encoder and decoder are both initialized.
When bit 2 of the PKT_INIT field is set to 1 then the echo canceller is initialized.
PKT_INIT Response field (1 byte total) indicated receipt of encoder and/or decoder initialization.
PKT_LOWPOWER Response field (1 byte total) Indicates that the AMBE-3000R™ Vocoder Chip will enter standby
whenever it is idle.
1 Byte 1 Byte
0x00
0x10
(anything different indicates error)
Table 52 PKT_LOWPOWER Response Field Format
PKT_CODECCFG field (varies bytes) this field contains configuration data that the ABME-3000™ will send to the codec
after it receives a PKT_CODECSTART packet.
PKT_CODECCFG field (1 byte total) Indicates that the AMBE-3000R™ Vocoder Chip sent a configuration packet to the
Codec.
PKT_CODECSTART field (2 bytes total) this will switch the AMBE-3000R™ Vocoder Chip from packet mode to codec
mode. It also causes the Codec Reset signal to be set. Then the codec configuration words that were set using the
PKT_CODECCFG field, are sent via the I2C pins. After entering Codec mode the AMBE-3000R™ Vocoder Chip will output
packets containing channel data every 20ms. The channel data is obtained by encoding the speech samples received from the
selected codec interface.
Value Description
Codec Interface Pass thru
PKT_CODECSTART field (2 bytes) Indicates that the AMBE-3000R™ Vocoder Chip will switch from packet mode to
codec mode.
PKT_CODECSTOP field (1 byte) this will switch the AMBE-3000R™ Vocoder Chip from codec mode to packet mode and
the codec reset signal is set low. After entering packet mode the AMBE-3000R™ Vocoder Chip will stop outputting packets
containing channel data every 20ms.
PKT_CODECSTOP Field - Packet Format
Field Identifier Control Field Data
1 Byte 0 Byte
0x2B No Data Needed
Table 59 PKT_CODECSTOP Field
PKT_CODECSTOP field (1 byte total) Indicates that the AMBE-3000R™ Vocoder Chip will stop outputting channel data
packets.
PKT_CHANFMT field (3 bytes total) this field will set the format of the channel packets output from the AMBE-3000R™
Vocoder Chip.
See Table 62
0x15 Reserved (bits set to 0) PKT_CHANFMT Data
Settings
Table 61 PKT_CHANFMT Field
NOTE: All Reserved data bits in the PKT_CHANFMT Field (bits 6 through bit 15) must be set to 0 in
order to avoid unexpected results.
PKT_CHANFMT Response field (1 byte) this field indicates the output channel packet format has been changed.
PKT_SPCHFMT field (3 bytes total) this field will set the format of the Speech packets output from the AMBE-3000R™
Vocoder Chip
NOTE: All Reserved data bits in the PKT_SPCHFMT Field (bits 4 through bit 15) must be set to 0 in order to
avoid unexpected results.
PKT_SPCHFMT Response field (1 byte) this field indicates the output Speech packet format has been changed.
PKT_PRODID field (1 byte total) this field will cause the AMBE-3000R™ Vocoder Chip to respond with a string that
contains the product identification.
PKT_PRODID Response field (11 byte) this field is a null-terminated string that contains the product identification for
example “AMBE3000”
PKT_VERSTRING field (1 byte total) this field will cause the AMBE-3000R™ Vocoder Chip to respond with a string that
contains the product version number.
PKT_VERSTRING Response field (n + 2 bytes) this field is a null-terminated string that contains the product version number
for example
“V100.E100.XXXX.C106.G514.R007.A0030608.C0020208”
Where the value after the “R” indicates the software release. For more detailed information on software modifications see
Section IC Chip Software Errata.
PKT_READY field (1 byte total) a packet containing this field is output by the AMBE-3000R™ Vocoder Chip after a hard
reset (TQFP pin 113 / BGA pin D6) or packet reset (using a PKT_RESET or PKT_RESETSFTCFG field) when it is ready to
receive packets.
PKT_HALT field (1 byte total) this field will cause the AMBE-3000R™ Vocoder Chip to enter halt mode. In this mode the
AMBE-3000R™ Vocoder Chip will consume the least amount of power possible. The only way to exit this mode is to
perform a hardware reset.
PKT_RESET field (1 byte total) this field will cause the AMBE-3000R™ Vocoder Chip to be reset. As a result, the AMBE-
3000R™ Vocoder Chip will lose all prior configuration settings and reset itself to the default power up state. Note that the
AMBE-3000R™ Vocoder Chip will re-read the configuration pins.
The PKT_RESET field does not return a Response field; however, the AMBE-3000R™ Vocoder Chip does output a
PKT_READY packet after every reset (including both hard resets and packet resets). The PKT_READY packet can therefore
be viewed as a response packet to the packet containing a PKT_RESET field.
PKT_RESETSOFTCFG field (7 bytes total) this field will cause the AMBE-3000R™ Vocoder Chip to be reset. As a result,
the AMBE-3000R™ Vocoder Chip will lose all prior configuration settings and reset itself to the default power up state. This
is similar to PKT_RESET; however the hardware configuration pins can be overridden by the settings specified by the packet.
The PKT_RESETSOFTCFG packet contains 6 additional bytes of data which specify the settings for the 24 configuration pins.
CFG0 – CFG2 specify the software settings for each of the 24 configuration pins. MASK0-MASK2 specify whether the
hardware setting or the software setting for each pin is used. If all The MASK bits are 0, then no software configuration is
used and the packet behaves the same as a PKT_RESET packet (all the configuration settings come from the hardware pins at
reset). If all the MASK bits are 1, then all the configuration pins are ignored upon the resulting reset and replaced with the
configuration specified by CFG0 – CFG2. It is possible to individually mask the bits and select some configuration to come
from hardware pins and some configuration to come from CFG0-CFG2.
1 RATE1 125 D4
2 RATE2 124 C4
3 RATE3 123 B4
4 RATE4 122 A4
5 RATE5 121 E5
6 EC_ENABLE 120 D5
7 (MSB) ES_ENABLE 119 B5
For more information regarding configuration pins refer to Table 2 Hardware Configuration Settings
The PKT_RESETSOFTCFG field does not return a Response field; however, the AMBE-3000R™ Vocoder Chip does output a
PKT_READY packet after every reset (including both hard resets and packet resets). The PKT_READY packet can therefore
be viewed as a response packet to the packet containing a PKT_RESETSOFTCFG field.
PKT_GETCFG field (1 byte) this field will cause the AMBE-3000R™ Vocoder Chip to output a response field which
contains the 3 bytes which were read from the configuration pins after reset. Note that this does not cause the configuration
pins to be re-read, it merely reports back what the state of the pins were upon power-up or reset.
PKT_READCFG field (1 byte total) this field will cause the AMBE-3000R™ Vocoder Chip to output a response field which
contains the 3 bytes which are read from the configuration pins after the PKT_READCFG field is received. Note that if the
signal levels on the configuration pins have changed since their reset levels, then CFG0-CFG2 reported by the response packet
will reflect that change. Note that although this packet causes the configuration pins to be re-read and sent back in a response
packet, the AMBE-3000R™ Vocoder Chip does not change its configuration as a result of receiving this packet.
PKT_READCFG Response field (4 bytes total) this contains the 3 bytes of data which was read from the configuration pins
after the PKT_READCFG field is received.
PKT_READCFG Response Field – Format
Response Fields Data
Field Identifier CFG0 CFG1 CFG2
1 Byte 1 Byte 1 Byte 1 Byte
0x37
Table 79 PKT_READCFG Response Field
PKT_PARITYMODE field (2 bytes total) This field can be used to enable or disable parity fields at the end of every packet.
If mode is 1 then parity fields will be enabled for all output packets beginning with the response to this packet. The AMBE-
3000R™ Vocoder Chip will reject all future received packets that do not have a valid parity field.
All other values for mode are reserved and should not be used.
PKT_PARITYMODE Response field (2 bytes) this field indicates that the PKT_PARITYMODE field in the corresponding
control packet was received without error.
PKT_PARITYMODE Response Field - Format
Field Identifier Response Field Data
1 Byte 1 Byte
0x00
0x3F
(anything different indicates error)
Table 81 PKT_PARITYMODE Response Field
PKT_WRITEI2C field (n bytes plus 2) this field writes to an I2C device such as a codec.
PKT_WRITEI2C Response field (2 byte) this field indicates that the PKT_WRITEI2C field in the corresponding control data
was received without error.
PKT_WRITEI2C Response Field - Format
Field Identifier Response Field Data
1 Byte 1 Byte
0x00
0x44
(anything different indicates error)
Table 83 PKT_WRITEI2C Response Field
PKT_CLRCODECRESET field (1 byte total) this field sets the codec reset signal to low.
PKT_CLRCODECRESET Response field (2 bytes) this field indicates that the PKT_CLRCODECRESET packet was
received without error.
PKT_CLRCODECRESET Response Field - Format
Field Identifier Response Field Data
1 Byte 1 Byte
0x00
0x46
(anything different indicates error)
Table 85 PKT_CLRCODECRESET Response Field
PKT_SETCODECRESET field (1 byte total) This field sets the codec reset signal to low.
PKT_SETCODECRESET Response field (2 bytes) this field indicates that the PKT_SETCODECRESET packet was
received without error.
PKT_SETCODECRESET Response Field - Format
Field Identifier Response Field Data
1 Byte 1 Byte
0x00
0x47
(anything different indicates error)
Table 87 PKT_SETCODECRESET Response Field
PKT_DISCARDCODEC field (3 bytes total) This field specifies the number of codec samples that are discarded when the
codec interface is started.
Default is 0. 128 is recommended for the Texas Instrument AIC14 codec.
PKT_DISCARDCODEC Field - Format
Field Identifier Control Field Data
1 Byte 2 Bytes
0x48 Number of samples to discard
Table 88 PKT_DISCARDCODEC Field Format
PKT_DISCARDCODEC Response field (2 bytes) this field indicates that the PKT_DISCARDCODEC packet was received
without error.
PKT_DISCARDCODEC Response Field - Format
Field Identifier Response Field Data
1 Byte 1 Byte
0x00
0x48
(anything different indicates error)
Table 89 PKT_DISCARDCODEC Response Field
PKT_DELAYNUS field (3 bytes total) This field specifies the amount of delay in microseconds prior to processing the next
control field.
PKT_DELAYNUS Response field (2 bytes) this field indicates that the PKT_DELAYNUS packet was received without
error.
PKT_DELAYNUS Response Field - Format
Field Identifier Response Field Data
1 Byte 1 Byte
0x00
0x49
(anything different indicates error)
Table 91 PKT_DELAYNUS Response Field
PKT_DELAYNNS field (3 bytes total) This field specifies the amount of delay in nanoseconds prior to processing the next
control field.
1 Byte 2 Bytes
0x4A Number of nanoseconds delay
Table 92 PKT_DELAYNUS Field Format
PKT_DELAYNNS Response field (1 byte) this field indicates that the PKT_DELAYNNS packet was received without error.
PKT_DELAYNNS Response Field - Format
Field Identifier Response Field Data
1 Byte 1 Byte
0x00
0x4A
(anything different indicates error)
Table 93 PKT_DELAYNNS Response Field
PKT_RTSTHRESH field (5 bytes total) This field can be used to set the number of threshold high and threshold low free
space bytes in the receive buffer.
The Ready-To-Send (RTSn) pin is output by the AMBE-3000R™ Vocoder Chip. The output is active low. The signal is used
by the AMBE-3000R™ Vocoder Chip to control the flow of packet data to the AMBE-3000R™ Vocoder Chip. The AMBE-
3000R™ Vocoder Chip has a receive buffer where incoming packets are stored until they have been processed. When RTSn is
low, the AMBE-3000R™ Vocoder Chip indicates that it is ready to receive packet data. When RTSn is high, the AMBE-
3000R™ Vocoder Chip is not ready to receive packet data. The AMBE-3000R™ Vocoder Chip sets RTSn high if there are
less than thresh_hi bytes of free space in the receive buffer. The AMBE-3000R™ Vocoder Chip sets RTSn low if there are
more than thresh_lo bytes of free space in the receive buffer. By default, after reset thresh_hi is set to 20 and thresh_lo is set to
40. These thresholds can be changed by sending a PKT_RTSTHRESH field as part of a control packet after reset. The
thresholds may need to be set to higher values if the device connected to RTSn does not stop sending packet data quickly
enough after RTSn goes high.
The RTSn signal follows the conventions commonly used for RS-232 flow control. If the MCBSP or the parallel port is
selected for the packet interface, rather than the UART, then the RTSn signal is still generated. The RTSn signal can also be
used for flow control if the McBSP or the PPT interface is used.
Format of the PKT_RTSTHRESH field is as follows. 5 bytes total. 1 byte code is 0x4e followed by 2 bytes for thresh_hi two
bytes for thresh_lo
PKT_RTSTHRESH Response field (2 bytes) this field indicates that the PKT_ RTSTHRESH field in the corresponding
control packet was received without error.
PKT_RTSTHRESH Response Field - Format
Field Identifier Response Field Data
1 Byte 1 Byte
0x00
0x4E
(anything different indicates error)
Table 95 PKT_RTSTHRESH Response Field
Note: “PKT_GAIN” and “PKT_GAIN Response” are ONLY effective for 16 bit
Linear Samples when in Packet Mode
PKT_GAIN field (3 bytes total) This field can be used to set the input gain and output gain to anywhere between +90 and -90
dB. The default input gain and output gain are each 0 dB.
If the input gain is < 0 dB then the input speech samples are attenuated prior to encoding.
If the input gain is > 0 dB then the input speech samples are amplified prior to encoding.
If the output gain is < 0 dB then the output speech samples are attenuated after decoding.
If the output gain is > 0 dB then the output speech samples are amplified after decoding.
It is recommended that the input and output gain are both 0 dB. Different values can be used for testing purposes.
PKT_GAIN Response field (2 bytes total) this field indicates that the PKT_GAIN field in the corresponding control packet
was received without error.
PKT_GAIN Response Field - Format
Field Identifier Response Field Data
1 Byte 1 Byte
0x00
0x4B
(anything different indicates error)
Table 97 PKT_GAIN Response Field
A speech packet uses the general packet format where the PACKET TYPE is equal to 0x02. For every speech packet input
(packet type 0x02) to the AMBE-3000R™ Vocoder chip, the chip will output channel packet (packet type 0x01). Speech
packets are used only when the AMBE-3000R™ Vocoder Chip is operating in packet mode.
PKTCHANNEL_ID field (2 bytes) indicates the vocoder the control is intended for. It is the same as described in the Table
33 PKT_CHANNEL(0) Field Format
A SPEECHD field (variable number of bytes) contains the speech data to be encoded for the current channel or the decoded
speech data for the current channel.
When using 16 bit linear PCM Raw Speech data to be input to the encoder or output from the decoder there will be 16 bits per
sample, this means at 160 samples there are 320 bytes of data. When using companded data (a-law or µ-law there are 8 bits of
data per sample, this results in 160 bytes of data in 160 samples. The speech is denoted as Speech[0] thru Speech[2*{samples}
-1].Speech[0] is the MS byte of the first sample. Speech[1] is the LS byte of the first sample. Speech[2*{samples}-2] is the
MS byte of the last sample. Speech[2*{samples}-1] is the LS byte of the last sample.
CMODE fields (3 bytes total) may be used to change the mode of the encoder on a frame-by-frame basis. The CMODE field
will enable/disable advanced features of the encoder when sent as part of a speech packet.
CMODE will overwrite any values set by the PKT_ECMODE field as well as, the state as set by the corresponding hardware
configuration pin. In order not to inadvertently turn off or on features that were originally set by ECMODE_IN or set via
hardware configuration pins to be sure that CMODE is or'd with the correct value of the desired ECMODE_IN. Except for
Tone Generation, typically, once these values are set they do not change. So it is not necessary to send CMODE fields on a
frame-by-frame basis.
For example, to enable tone detection, DTX and noise suppression, CMODE data value would be 0x1840. In order to generate
a tone and retaining all of the other settings then CMODE data value would be 0x5840.
* Note: Tone generation can only be used when operating in packet mode.
TONE fields (3 bytes) can be used to force the encoder to transmit a tone frame. The frequency (or frequencies) and amplitude
of the tone are specified by this field. For durations of greater than 20 ms, the TONE field must be repeated for consecutive
frames. (DTMF Code Value and Amplitude Value are in Hex)
Call Progress
Dial Tone 440 350 0xA0
Ring Tone 480 440 0xA1
Busy Tone 620 480 0xA2
Inactive N/A N/A 0xff
Invalid
A channel packet uses the format as shown in Table 28 General Packet Format WITHOUT Parity Field where the PACKET
TYPE is equal to 0x01. For every channel packet input (packet type 0x01) to the AMBE-3000R™ Vocoder chip, the chip will
output speech packet (packet type 0x02).
PKT_CHANNEL0 field (2 bytes) indicates the vocoder the control is intended for. It is the same as described in the Table 33
PKT_CHANNEL(0) Field Format
CHAND (variable number of bytes) channel bits to be decoded, packet 8 bits per byte.
Compressed data bits from the encoder or to the decoder (packed 8 bits per byte). The data is denoted by Chand[0] to
Chand[(Bits-1)/8]. Chand[0] contains the bits which are most sensitive to bit errors. Chand[(Bits-1)/8] contain the bits which
are least sensitive to bit errors. 2 thru 1+(Bits+7)/8 bytes
CHAND4 (variable number of bytes) channel bits to be decoded, with soft decision error correction enabled.
Compressed data bits from the encoder or to the decoder (packed 2 bits per byte). The data is denoted by Chand[0] to
Chand[(bits-1)/2].
SAMPLES field (2 bytes) denotes the number of samples to generate for current decoder frame. The second byte, contains the
data for the number of samples. The normal number of samples is 160 but the number can range between 156 to 164 when it
produces the resulting speech packet.
CMODE fields (3 bytes total) may be used to change the mode of the decoder on a frame-by-frame basis. The CMODE field
will enable/disable advanced features of the decoder when sent as part of a channel packet.
CMODE will overwrite any values set by the PKT_DCMODE field as well as, the state as set by the corresponding hardware
configuration pin. In order not to inadvertently turn off or on features that were originally set by DCMODE_IN or set via
hardware configuration pins to be sure that CMODE is or'd with the correct value of the desired DCMODE_IN. Except for
Tone Synthesis Enable, once these values are set they typically do not change. So it is not necessary to send CMODE fields on
a frame-by-frame basis.
For example, to enable both LOST_FRAME and CNI_FRAME CMODE data value would be 0xXXXC.
TONE
TONE fields (3 bytes total) can be used to force the decoder to synthesize a tone frame. The frequency (or frequencies) and
amplitude of the tone are specified by this field. For durations of greater than 20 ms, the TONE field must be repeated for
consecutive frames. (DTMF Code Value and Amplitude Value are in Hex)
The simplest way to operate the AMBE-3000R™ Vocoder Chip in packet mode is to send it a packet and then wait for a
response packet. But using this method, the vocoder is idle during the time when a packet is being received by the
AMBE-3000R™ Vocoder Chip and during the time in which the AMBE-3000R™ Vocoder Chip is transmitting the
response packet.
Following is an example speech packet (hexadecimal) for input to the AMBE-3000R™ Vocoder Chip:
Speech Packet
CHANNEL
Header SPEECHD Field
Field
SPEECHD No. of Samples
SPEECHD field identifier
SPEECHD Data
field identifier
CHANNEL0
StartByte
Length
Type
61 0144 02 40 00 A0 0000000100020003000400050006000700080009000
A000B000C000D000E000F0010001100120013001400
150001601700180019001A001B001C001D001E001F0
020002100220023002400250026002700280029002A
002B002C002D002E002F00300031003200330034003
50036003700380039003A003B003C003D003E003F00
40004100420043004400450046004700480049004A0
04B004C004D004E004F005000510052005300540055
0056005700580059005A005B005C005D005E005F006
0006100620063006400650066006700680069006A00
6B006C006D006E006F0070007100720073007400750
076007700780079007A007B007C007D007E007F0080
008100820083008400850086008700880089008A008
B008C008D008E008F00900091009200930094009500
96009700980099009A009B009C009D009E009F
Table 111 Speech Packet Example 1
The first byte (0x61) is the packet header byte. The next two bytes (0x0144) specify the total length of the packet fields is 324
bytes. Note that the total packet length including the header, length,, and type is 328 bytes. The next byte (0x02) specifies that
the packet type is a speech packet. The next byte (0x40) is the field identifier for a ChannelID field and the following byte
(0x00) specifies channel 0 for subsequent fields. The next byte (0x00) is a SPEECHD field identifier and the following byte
(0xA0) tells the AMBE-3000R™ Vocoder Chip that the SPEECHD Data field contains 160 speech samples, occupying 320
bytes. The final 320 bytes contain the speech samples. For this particular example the speech samples increment from 0 to
159. Note that the MS byte of each sample is transmitted/received prior to the LS byte of each sample. This convention is
used whenever a 16-bit number is contained in a packet.
Also note that the default vocoder number, if no VOCODERID fields occur in the packet, is vocoder 0. So for this example,
since vocoder 0 is specified in the VOCODERID field, the VOCODERID field could have been omitted.
Speech Packet
VOCODER CMODE
Header SPEECHD Field TONE Field
ID Field Field
SPEECHD Field identifier
CMODE flags
StartByte
Length
Type
9D009E009F
Table 112 Speech Packet Example 2
This is the similar to the prior example except that a CMODE field and a TONE field were added to the end of the packet. The
packet indicates that the speech samples will be passed to the encoder for channel 0. The length field changed to 0x014a
because the packet length increased by 6 bytes. For the new bytes at the end of the packet (0x02) is the CMODE field
identifier. The following two bytes (0x0000) specifies that the encoder cmode flags should be set to 0x0000. The next byte
(0x08) is a TONE field identifier. The next two bytes (0x03 and 0x00) specify tone index of 3 and tone amplitude of 0 dBm0.
Following is an example channel packet (hexadecimal) for input to the AMBE-3000R™ Vocoder Chip:
Channel Packet
CHAND Data
StartByte
CHAND
Length
Type
Bits
61 000C 01 01 50 00112233445566778899
Table 113 Channel Packet Example 1
The first byte (0x61) is the packet header byte. The next two bytes (0x000C) specify that the length of the packet (excluding
the header, length, and type bytes) is 12 bytes. The next byte (0x01) specifies that the packet type is a channel packet. The next
byte (0x01) is the field identifier for a CHAND field. The next byte (0x50) specifies that 80 bits of channel data follow. The
bits are packed 8 bits per byte such that the 80 bits are contained in the 10 bytes that follow. The final 10 bytes contain the
channel data. The bits are output with the most significant (and most sensitive to bit-errors) bits in the first byte and the least
significant (and least sensitive to bit-errors) bits in the last byte. For bit-rates that are not an even multiple of 400 bps, the
MSBs of the last byte are used to hold the channel data, and the LSBs will be padded with zeros.
Note that in this example, the packet contains no VOCODERID field, and therefore channel 0 is assumed.
Following is another example of a channel packet for input to the AMBE-3000R™ Vocoder Chip:
Channel Packet
CHAND Number of
SAMPLES Number
SAMPLES Field
Field Identifier
CMODE Value
CMODE Field
VOCODERID
CHAND Field
CHAND Data
of Samples
StartByte
Identifier
Identifier
Length
Type
Bits
61 0010 01 40 01 38 00112233445566 03 A1 02 0000
The first byte (0x61) is the packet header byte. The next two bytes (0x0010), specify that the length of the packet (excluding
the header, length, and type bytes) is 16 bytes. The next byte (0x01) specifies that the packet type is a channel packet. The
next byte (0x40), is a ChannelID field identifier and the byte that follows (0x00) specifies vocoder 0 for subsequent fields. The
next byte (0x01) is a CHAND specifier and the following byte (0x38) specifies that 56 bits (7 bytes) of channel data follow.
The next 7 bytes contain the channel data to be decoded by the decoder. The next byte (0x03), is a field identifier for a
SAMPLES field. The next byte (0xA1), specifies that the decoder will output 161 samples rather than the normal 160 samples
when it produces the resulting speech packet. The next byte (0x02), is the field identifier for a CMODE field. The final 2
bytes (0x0000), are used to control the decoder mode.
7 Appendices
(This delay includes the delay associated with collecting enough PCM samples for the encoder algorithm
**Encoder Algorithmic delay. to begin processing.)
52 ms
First speech
sample ready.
The total algorithmic delay for the encoder and decoder combined is 62 msec. The breakdown in this chart is somewhat arbitrary
**Note: but it represents a close estimate.
AMBE-2000™ Rates
Rate
Total Rate Speech Rate FEC Rate
Index #
16 3600 3600 0
17 4000 4000 0
18 4800 4800 0
19 6400 6400 0
20 8000 8000 0
21 9600 9600 0
22 4000 2400 1600
23 4800 3600 1200
24 4800 4000 800
25 4800 2400 2400
26 6400 4000 2400
27 7200 4400 2800
28 8000 4000 4000
29 9600 2400 7200
30 9600 3600 6000
31 2000 2000 0
32 6400 3600 2800
37 2400 2400 0
38 3000 3000 0
39 3600 3600 0
40 4000 4000 0
41 4400 4400 0
42 4800 4800 0
43 6400 6400 0
44 7200 7200 0
45 8000 8000 0
46 9600 9600 0
47 2700 2450 250
48 3600 3350 250
49 4000 3750 250
50 4800 4550 250
51 4400 2450 1950
52 4800 2450 2350
53 6000 2450 3550
54 7200 2450 4750
55 4000 2600 1400
56 4800 3600 1200
57 4800 4000 800
58 6400 4000 2400
59 7200 4400 2800
60 8000 4000 4000
61 9600 3600 6000
Table 115 Rate Index Numbers
Note
Rate Index #32 is compatible with the AMBE-2000™ Vocoder chip however; it is not part of the AMBE-2000™ Vocoder
chip standard rate table.
Index rates #32 to #63 are AMBE+2 mode rates
Index rate #33 is interoperable with APCO P25 Half Rate and DMR (Europe)
122 / A4
125 / D4
126 / A3
123 / B4
124 / C4
121 / E5
(bps) (bps) (bps)
Table Key for and Table 116 Rate Control Words and Pin Settings
AMBE-1000™ Rates (AMBE® Vocoder)
AMBE-2000™ Rates (AMBE+™ Vocoder)
AMBE-3000R™ Vocoder Chip Rates (AMBE+2™ Vocoder)
NOTE:
1
FEC is a convolutional code
2
This rate is interoperable with DSTAR
3
FEC is a block code
4
This rate is interoperable with APCO P25 Half Rate and DMR / dPMR (Europe).
8 Support
If you have questions regarding the AMBE-3000™- Vocoder Chip please contact:
email: mailto:info@dvsinc.com
web site: http://www.dvsinc.com/
9 Environmental Specifications
(as stated by Texas Instruments Inc. Material Declaration Certificate for Semiconductor Products)
JIG Rating
JIG Material Content Compliance4 Level A & B
Package Details
Package Type PBK
Pins 128
Assembly Site TI PHILIPPINES A/T
Current Lead/Ball Finish CU NIPDAU
Planned Lead/Ball Finish
Current MSL/Reflow Ratings Level-2-260C-1YR
Device Mass (mg) 615.000
JIG Level A
ppm 0
All other JIG Level A Substances
Amount (mg) 0
JIG Level B
ppm 0
Bismuth (Bi)
Amount (mg) 0
ppm 0
Nickel-Exposed (Ni)
Amount (mg) 0
ppm 0
All Other JIG Level B Substances
Amount (mg) 0
Recyclable Metals6
ppm 99739
Copper (Cu)
Amount (mg) 60.2303
ppm 4990
Gold (Au)
Amount (mg) 3.0692
ppm 0
Magnesium (Mg)
Amount (mg) 0
ppm 4065
Nickel-Not Exposed (Ni)
Amount (mg) 2.5002
ppm 338
Palladium (Pd)
Amount (mg) 0.2084
ppm 4666
Silver (Ag)
Amount (mg) 2.8701
Last Update7
17, February 2007
*Part Number
No material contents are available for this part.
Note (1) - Check the Available Supply Dates before ordering. Orders cannot be placed by assembly site.
Note (1A) - PN Type indicates whether a part number is a "Pb-Free" unique PN or a standard TI PN. If you need to order RoHS & high-temp compatible parts
and don't want to hassle with date codes, use the "Pb-Free" unique PN when placing orders.
Note (2) - The forecasted or actual conversion date for the specific device package, pin count, & assembly site. See Glossary of Terms for more details.
(http://focus.ti.com/quality/docs/prdcntglossary.jsp?templateId=5909)
Note (3) - The forecasted or actual date that the device will be available for purchase.
Note (4) - If a device's material content is less than the thresholds in the Joint Industry Guide (JIG) Level A & Level B substances tables, then "Level A & B"
will be displayed. Other options are "Level A ONLY" or "None". For availability of "Level A & B" devices, use the Green Available Supply Date (ASD). For
"Level A ONLY" devices, use the Pb-Free ASD.
Note (5) - ppm calculations are at the homogeneous material level. See Glossary of Terms for more details.
http://focus.ti.com/quality/docs/prdcntglossary.jsp?templateId=5909
Note (6) - ppm calculations are at the component level. See Glossary of Terms for more details.
http://focus.ti.com/quality/docs/prdcntglossary.jsp?templateId=5909
Note (7) - Reflects the date when a change was last detected in the associated row of information. Change monitoring began 2005-08-11.
11 History of Revisions
History of Revisions
Revision Date of
Description Pages
Number Revision
September
1.3 Added information on Echo canceller initilization 60
2012