
AMBE-3000F™ Vocoder Chip Users Manual
Version 3.4, April, 2014
Dat
a and Configuration Packets
6.5.5 Parity Field (Parity is enabled by default)
When parity fields are enabled the AMBE-3000F™ Vocoder Chip 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” every byte in the packet, except for the START_BYTE and the
PARITY_BYTE, together. If parity fields are enabled, the AMBE-3000F™ Vocoder Chip checks the parity byte for all
received packets and discards any packet that has an incorrect parity byte. Parity fields can be enabled or disabled (for all
future input and output packets) by sending a PKT_PARITYMODE field in a control packet.
6.6 Control Packet Format (Packet Type 0x00)
A control packet uses the format as shown in either Table 28 General Packet Format WITHOUT Parity Field or Table 29
General Packet Format WITH Parity Field where the PACKET TYPE is equal to 0x00.
Co
ntrol 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-3000F™ Vocoder Chip sends
back a response packet. The response packet for most fields just echoes back the control field identifier followed by a 0x00
byte to indicate that the control field was received successfully. For control fields that query for information, the response
packet contains the Requested information (1 or more bytes depending upon the control field identifier).
6.6.1 Control Packet Fields and Response Fields
The control packet supports the following packet fields:
Control Packet – Fields
Field Identifier Name
Field Identifier
Code
Control Field
Data Length
(bytes)
Response Field
Data Length
(bytes)
Direction
Description
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
PKT_COMPAND 0x32 1
none
I/O
Companding ON/OFF and a-law/µ-law
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
PKT_INIT 0x0B 1 none I/O
Initialize encoder and/or decoder for current
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
PKT_READY 0x39 none none O
Indicates that the device is ready to receive
packets
PKT_HALT 0x35 none none I
Sets AMBE-3000F™ Vocoder Chip into
lowest power mode
(Subject to Change) Page 61
DVSI CONFIDENTIAL PROPRIETARY
Kommentare zu diesen Handbüchern