Summary of Contents for Digital Voice Systems AMBE-3000
Page 1
Digital Voice Systems, Inc. The Speech Compression Specialists AMBE-3000™ Vocoder Chip Users Manual Version 1.05 February 19, 2008 DVSI Confidential Proprietary...
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.
Page 3
1. Preliminary Statements and Definitions 1.1 This nonexclusive end user product license agreement is a legal agreement between the customer (the END USER) and Digital Voice Systems, Inc. (DVSI) covering the terms and conditions under which DVSI's proprietary content (that may consist of and is not limited to software, hardware, documentation and other material) is licensed to the END USER as part of this PRODUCT.
Page 4
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 9. Limitation of Liability The END USER agrees that the limitations of liability and disclaimers set forth herein will apply regardless of whether the END USER has accepted the product or service delivered by DVSI.
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 Table of Contents Advances in Vocoder Design AMBE-3000™ Vocoder Chip Features Typical Applications Vocoder Speech and FEC Rate Selection Operating Modes 2.2.1 Codec mode 2.2.2 Packet Mode 2.2.3 Switching between codec mode and packet mode using packets Interface selection A/D –...
Page 6
Thermal Resistance Characteristics Power Sequencing Requirements Power-Down Sequencing: Signal Transition Levels Vocoder Front End Requirements Interfacing a codec to the AMBE-3000™ Vocoder chip 5.2.1 The Texas Instruments General purpose TLV320AIC14 5.2.2 The Texas Instruments PCM3500 General purpose codec Overview Codec Mode Operation...
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 6.11 Example Packets 6.11.1 Speech Packet Example 1 6.11.2 Speech Packet Example 2 6.11.3 Channel Packet Example 1 6.11.4 Channel Packet Example 2 Total Algorithmic Delay Vocoder Rate by Index Number...
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 Table PKT_COMPAND Field Format Table PKT_COMPAND Field Options (Subject to Change) DVSI CONFIDENTIAL PROPRIETARY Page 8...
Page 9
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 Page 9 DVSI CONFIDENTIAL PROPRIETARY (Subject to Change)
1.1 Advances in Vocoder Design The AMBE-3000™ voice coder maintains natural voice quality and speech intelligibility at rates as low as 2.0 kbits/sec. The AMBE-3000™ Vocoder chip provides a high degree of flexibility in selecting the speech and FEC (Forward Error Correction) data rates.
Low cost a value for mobile products 1.3 Typical Applications 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.
Simultaneously, the AMBE-3000™ Vocoder Chip receives compressed voice channel data. This data is (decoded) by the AMBE-3000™ Vocoder Chip, then reconstructed into a digital speech signal and sent to the D/A. The encoder and decoder functions are fully asynchronous.
The AMBE-3000™ 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-3000™ responds with a channel packet. When a channel packet is received it responds with a speech packet.
2.2.3 Switching between codec mode and packet mode using packets Upon boot up or after a reset the AMBE-3000™ Vocoder Chip is set to the mode (either codec mode or packet mode) corresponding to the interface configuration pins (see Table 1 Physical Interface ). Switching the AMBE-3000™ Vocoder Chip from packet mode into codec mode or from codec mode into packet mode can be done through software using configuration packets.
2.4 A/D – D/A Codec chip Selection The AMBE-3000™ Vocoder Chip can be configured to transmit and receive digitized speech to and from most linear, a-law, or u-law A/D-D/A codecs. The format of the incoming and outgoing speech data streams are coupled, that is to say they must be the same format (16-bit linear, 8-bit a-law, or 8-bit -law).
To use Soft Decision Error Correction use the CHAND4 (ID 0x17) field in the channel packet. The AMBE-3000™ vocoder chip utilizes a 4-bit soft decision decoder.
Codec Mode When skew control is enabled, the AMBE-3000™ adjusts the frame boundaries so that they occur on the rising edge of the TX_RQST signal. The user must generate the TX_RQSTsignal such that the frame size varys between 156 and 164 samples.
2.6 I/O Management The AMBE-3000™ 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-3000™ vocoder chip uses an I/O Handler to manage data to/from the encoder/decoder according to the selected interfaces and operating mode.
Page 19
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-3000™ so that it will output the ECMODE_OUT flags in every channel packet that is output or only when the ECMODE_OUT flags change.
2.6.1 I/O Handler in Codec Mode When the AMBE-3000™ Vocoder Chip is in codec mode, speech samples are received and transmitted via the codec interface. In codec mode, the schedule for the encoder is based upon the codec clock or the TXRQST signal, if skew control is enabled.
2.6.2 I/O Handler In Packet Mode When the AMBE-3000™ 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.
Page 22
AMBE-3000™ Vocoder Chip Users Manual Initial Design Considerations Version 1.05, February 19, 2008 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.
TMS320F2811manual found at http://focus.ti.com/docs/prod/folders/print/tms320f2811.html. 3.1 Special Handling Instructions The AMBE-3000™ uses the TM320F2811PBK core. For more details on handling, electrical characteristics, packaging, or timing constraints please refer to the TI manual found at http://www-s.ti.com/sc/psheets/sprs039c/sprs039c.pdf (Adobe Acrobat).
SPI_CLK_IN This is the framing signal generated from SPI_GENSTE. This pin Input is connected to Pin #77. Input PCM Data from A/D Converter to AMBE-3000™ Output PCM Data from AMBE-3000™ to D/A Converter Parallel Packet Data Parallel Packet Data DVSI CONFIDENTIAL PROPRIETARY...
Page 28
Low power mode is enabled and there is no activity. For debugging purposes only. This signal is low while the Output AMBE-3000™ is in Idle mode. Idle mode is entered when there is no activity and low power mode is disabled. Input...
Page 29
If handshaking is not desired, then you can hold TX_RQST=1 at all times. Transmit Packet Ready. Goes high as soon as the AMBE-3000™ Vocoder Chip is ready to transmit a channel packet. Goes low after the packet output begins Output Regardless of the packet interface selected, whenever the AMBE- 3000™...
Page 30
Must be connected to the inverted frame sync signal from the codec if the SPI interface is used and low power mode is enabled. Input The signal is used to wake the AMBE-3000™ from stand-by mode. CURRENTLY UNASSIGNED CURRENTLY UNASSIGNED Channel Transmit Data from AMBE-3000™...
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 20, 29, 42, 56, 63, 74, 82, 94, 102, 110 25, 49, 83, 104 Table 9 Pinout List NOTE: Other than the power supply pins, no pin should be driven before the 3.3-V rail has reached recommended operating conditions.
The serial peripheral interface (SPI) is a high-speed, synchronous serial I/O port that can be used as the speech interface to the codec. This interface allows a serial bit stream to be transferred between the AMBE-3000™ and an audio codec. The interface includes four-pins.
The receive frame signal and receive clock are inputs and must be generated by the device interfacing to the AMBE-3000™. The McBSP interface can be used as either the codec interface or the packet interface.
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 Pin Name McBSP_RxD McBSP_TxD McBSP_CLKR McBSP_FSX McBSP_CLKX McBSP_FSR Table 14 McBSP Interface Pins 3.9.1 McBSP Selected for Codec Interface If the McBSP is selected as the codec interface and companding is selected there are 8 data bits. If companding is not used then there are 16 data bits.
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 3.9.2 McBSP Selected for Packet Interface 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.
The receive clock and frame signals must generated by the device being interfaced to the AMBE-3000™ chip. The receive clock supplied to the AMBE-3000™ chip must be between 28,000 Hz. and 921,600 Hz. See Table 17 McBSP Clock Rates for available rates and configuration.
Page 37
After PPT_READ goes high, the AMBE-3000™ will set PPT_ACK high. To write packet data to the AMBE-3000™ first the data is transferred to the 8 data pins and then the PPT_WRITE pin must be set low. Then the AMBE-3000™ reads the data from the pins and sets PPT_ACK low. After the AMBE-3000™ sets PPT_ACK low, PPT_WRITE pin must set high, at which time, the AMBE-3000™...
AMBE-3000™ Vocoder Chip is not actively executing code, the AMBE-3000™ Vocoder Chip will be in a low power state. When a codec interrupt occurs the AMBE-3000™ 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-3000™ Vocoder Chip will never remain in the low power state for more than 125 us at a time.
This is the highest power state. The AMBE-3000™ Vocoder Chip is in this state whenever it is actively executing code. The AMBE-3000™ Vocoder Chip is in the run state if the encoder is running or if the decoder is running or other processing is being performed.
AMBE-3000™ Vocoder Chip has just finished transmitting the packet. It is important that the first byte of the packet being sent to the AMBE-3000™ Vocoder Chip be sent before the last byte of the packet is received from the AMBE-3000™...
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 4 Electrical Characteristics and Requirements 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.
4.5 Power Sequencing Requirements The AMBE-3000™ vocoder chip silicon requires dual voltages (1.8-V and 3.3-V) to power up the CPU, Flash, ROM, ADC, and the I/Os. To ensure the correct reset state for all modules during power up, there are some requirements to be met while powering up/powering down the device.
AMBE-3000™ Vocoder Chip Users Manual Electrical Characteristics and Requirements Version 1.05, February 19, 2008 device reset control from “Low-Dropout (LDO)” regulators or voltage supervisors be used to meet this constraint. LDO regulators that facilitate power-sequencing (with the aid of additional external components) may be used to meet the power sequencing requirement.
5 Codec A/D / D/A Interface The AMBE-3000™ 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-3000™. 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.
Page 46
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 +2 dB -1 dB -2 dB -18 dB -35 dB -40 dB 0 200 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.
5.2.1 The Texas Instruments General purpose TLV320AIC14 The Texas Instruments’ TLV320AIC14 codec presents a simple low cost solution for use with DVSI’s AMBE-3000™ vocoder chip. This example provides information on interfacing these components. Figure 14 shows a sample block diagram interface, between the TLV320AIC14 codec and DVSI’s AMBE-3000™...
Packets are designed such that they can be as small as possible. The AMBE-3000™ 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-3000™ Vocoder chip to configure the vocoder, poll vocoder status information, as well as, transferring compressed voice bits to/from the encoder or to/from the decoder.
The AMBE-3000™ supports three separate physical interfaces that handle packets: UART, parallel port, and McBSP serial port. The user selects one of the three ports via configuration pins which are read by the AMBE-3000™ after power-up or reset. The packet formats are identical regardless of which physical interface is selected. Only one port is active at a time.
Parity Field When parity fields are enabled the AMBE-3000™ inserts a 2-byte field at the end of all output packets. The first byte of the parity field is the parity field identifier and is always equal to 0x2f. The second byte of the parity field is the parity byte. It is obtained by “Exclusive-oring”...
Control packets can be used to configure the chip prior to operation and also to query for information from the chip. A control packet must contain one or more control fields. For each control packet received, the AMBE-3000™ sends back a response packet.
Page 53
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 PKT_CHANNEL0 Field - Format Table 30 PKT_CHANNEL(0) Field Format PKT_CHANNEL0 Response Field - Format Field Identifier 1 Byte 0x40 Table 31 PKT_CHANNEL(0) Response Field Format PKT_ECMODE field (3 bytes) contains the cmode flags to be passed to the encoders.
Page 54
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 PKT_COMPAND field (2 bytes) Enables/Disables the use of companded data and allows for selection or either a-law or µ- law companding. Field Identifier 1 Byte 0x32 Table PKT_COMPAND Field Format...
Page 55
Version 1.05, February 19, 2008 The rate of the AMBE-3000™ 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 99 shows standard Rate / FEC combinations The AMBE-3000™...
Page 56
PKT_LOWPOWER field (2 bytes) Tells the AMBE-3000™ to enable or disable low-power mode. The AMBE-3000™ Vocoder Chip will go into a mode, which conserves power, when no voice packets are being processed. By default, low power mode is disabled. After a LOWPOWER packet is received, the chip uses the least power possible by entering standby mode whenever all of the following is true the encoder is not running, the decoder is not running, a packet is not being received and a packet is not being transmitted.
Page 57
Table 52 PKT_CODECCFG Response Field Format PKT_CODECSTART field (2 bytes) this will switch the AMBE-3000™ 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 I C pins.
Page 58
Table 55 PKT_CODECSTART Response Field Format PKT_CODECSTOP field (1 byte) this will switch the AMBE-3000™ from codec mode to packet mode and the codec reset signal is set low. After entering packet mode the AMBE-3000™ will stop outputting packets containing channel data every 20ms.
Page 59
PKT_CHANFMT Response Field - Format Field Identifier 1 Byte 0x15 Table 60 PKT_CHANFMT Response Field PKT_SPCHFMT field (2 bytes) this field will set the format of the Speech packets output from the AMBE-3000™ PKT_SPCHFMT Field - Format Field Identifier 1 Byte 0x16...
Page 60
PKT_SPCHFMT Response Field - Format Field Identifier 1 Byte 0x16 Table 63 PKT_SPCHFMT Response Field PKT_PRODID field (1 byte) this field will cause the AMBE-3000™ to respond with a string that contains the product identification. PKT_PRODID Field - Packet Format Field Identifier 1 Byte...
Page 61
Table 67 PKT_VERSTRING Response Field PKT_READY field (1 byte) a packet containing this field is output by the AMBE-3000™ after a hard reset (Pin 113) or packet reset (using a PKT_RESET or PKT_RESETSFTCFG field) when it is ready to receive packets.
Page 62
1 Byte 0x34 The PKT_RESETSOFTCFG field does not return a Response field, however, the AMBE-3000™ 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.
Page 63
Version 1.05, February 19, 2008 PKT_GETCFG field (1 byte) this field will cause the AMBE-3000™ 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.
Page 64
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 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 1 Byte...
Page 65
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 PKT_DISCARDCODEC Field - Format Field Identifier 1 Byte 0x48 PKT_DISCARDCODEC Response field (2 bytes) this field indicates that the PKT_DISCARDCODEC packet was received without error. PKT_DISCARDCODEC Response Field - Format...
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-3000™ Vocoder chip, the chip will output channel packet (packet type 0x01). Speech packets are used only when the AMBE-3000™ is operating in packet mode.
Page 67
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 0x02 Table 85 CMODE Field Format CMODE Field - parameters Encoder Input Flag Parameter Noise Suppression Enable DTX Enable Tone Detection Enable Tone Signaling Table 86 CMODE Parameters Table 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.
6.8 Output Speech Packets Format (Packet Type 0x02) A speech packet (packet type 0x02) is output from the AMBE-3000™ Vocoder chip, whenever the chip receives an input channel packet (packet type 0x01). The format of the output speech packet can be configured using PKT_SPCHFMT control field see Table 61 PKT_SPCHFMT Field.
Page 69
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 SAMPLES 0x30 CMODE 0x02 TONE 0x08 Table 90 Channel Packet Fields PKT_CHANNEL0 field (2 bytes) indicates the vocoder the control is intended for. It is the same as described in the Table 30 PKT_CHANNEL(0) Field Format CHAND (variable number of bytes) channel bits to be decoded, packet 8 bits per byte.
6.11.1 Speech Packet Example 1 The simplest way to operate the AMBE-3000™ 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-3000™...
(0x00) specifies channel 0 for subsequent fields. The next byte (0x00) is a SPEECHD field identifier and the following byte (0xA0) tells the AMBE-3000™ 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.
(0x08) is a TONE field identifier. The next two bytes (0x03 and 0x00) specify tone index of 3 and tone amplitude of 0 dBm0. 6.11.3 Channel Packet Example 1 Following is an example channel packet (hexadecimal) for input to the AMBE-3000™ Vocoder Chip: Header...
AMBE-3000™ Vocoder Chip Users Manual Data and Configuration Packets Version 1.05, February 19, 2008 6.11.4 Channel Packet Example 2 Following is another example of a channel packet for input to the AMBE-3000™ Vocoder Chip: Channel Packet VOCODERID SAMPLES CMODE Header...
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 Appendices Total Algorithmic Delay The total delay due to the coding/decoding algorithm is shown below Total Algorithmic Delay = 62 ms 7.2 Vocoder Rate by Index Number Vocoder Rates by Index Number...
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 Rate Index # Table 98 Rate Index Numbers Note Rate Index 32 is a better FEC rate compatible with the AMBE-2000 Index rates #32 to #63 are AMBE+2 mode rates Index rate #33 is interoperable with APCO P25 Half Rate and Europe DMR 7.3 Rate - Control Words / Configuration Pin Settings...
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 8 Support 8.1 DVSI Contact Information If you have questions regarding the AMBE-3000™- Vocoder Chip please contact: Digital Voice Systems, Inc. 234 Littleton Road Westford, MA 01886 USA Phone: (978) 392-0002...
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 9 Environmental Specifications (as stated by Texas Instruments Inc. Material Declaration Certificate for Semiconductor Products) Part Number Details DVSI Part Number TI Part Number1 PN Type1A Pb-Free (RoHS) Details RoHS & High-Temp Compatible...
Page 80
AMBE-3000™ Vocoder Chip Users Manual Version 1.05, February 19, 2008 Green Reportable Substances (JIG Level B)5 Antimony (Sb) Brominated Flame Retardants (Other than PBBS or PBDEs) JIG Level B Bismuth (Bi) Nickel-Exposed (Ni) All Other JIG Level B Substances Recyclable Metals6...
Page 81
AMBE-3000™ Vocoder Chip Users Manual Environmental Specifications Version 1.05, February 19, 2008 Note (7) - Reflects the date when a change was last detected in the associated row of information. Change monitoring began 2005-08-11. Important Part Information There is a remote possibility the Customer Part Number (CPN) your company uses could reference more than one TI part number. This is due to two or more users (EMSIs or subcontractors) using the same CPN for different TI part numbers.
Page 82
Digital Voice Systems, Inc. The Speech Compression Specialists AMBE-3000™ Vocoder Chip Users Manual Notes Version 1.05, February 19, 2008 10 Notes Page 82 DVSI CONFIDENTIAL PROPRIETARY (Subject to Change)
Need help?
Do you have a question about the AMBE-3000 and is the answer not in the manual?
Questions and answers