ChipFind - документация

Электронный компонент: DS2164Q

Скачать:  PDF   ZIP
1 of 17
070802
Note: Some revisions of this device may incorporate deviations from published specifications known as errata. Multiple
revisions of any device may be simultaneously available through various sales channels. For information about device errata,
click here:
http://www.maxim-ic.com/errata
.
FEATURES
Compresses/expands 64kbps PCM voice
to/from either 32kbps, 24kbps, or 16kbps
Dual fully independent channel architecture;
device can be programmed to perform either:
- two expansions
- two compressions
- one expansion and one compression
Interconnects directly to combo-codec
devices
Input to output delay is less than 375ms
Simple serial port used to configure the
device
On-board time-slot assigner-circuit (TSAC)
function allows data to be input/output at
various time slots
Supports Channel Associated Signaling
Each channel can be independently idled or
placed into bypass
Available hardware mode requires no host
processor; ideal for voice storage
applications
Backward-compatible with the DS2165Q
ADPCM processor chip
Single +5V supply; low-power CMOS
technology
Available in 28-pin PLCC
PIN ASSIGNMENT (Top View)
DESCRIPTION
The DS2164Q ADPCM processor chip is a dedicated digital-signal-processing (DSP) chip that has been
optimized to perform adaptive-differential pulse-code modulation (ADPCM) speech compression at three
different rates. The chip can be programmed to compress (expand) 64kbps voice data down to (up from)
either 32kbps, 24kbps, or 16kbps. The compression to 32kbps follows the algorithm specified by CCITT
Recommendation G.726. The DS2164Q can switch compression algorithms on-the-fly. This allows the
user to make maximum use of the available bandwidth on a dynamic basis.
28-Pin PLCC
NC
A0
A1
A2
A3
A4
FSY
YOUT
CS
SDI
SCLK
XOUT
A5
NC
TM1 TM0 RS
T
NC VD
D
YIN CLK
Y
SP
S
MC
L
K
VS
S
NC XIN
CLK
X
FS
X
25
24
23
22
21
20
19
5
6
7
8
9
10
11
4 3 2 1 28 27 26
12 13 14 15 16 17 18
www.maxim-ic.com
DS2164Q
G.726 ADPCM Processor
DS2164Q
DS2164Q
2 of 17
OVERVIEW
The DS2164Q contains three major functional blocks: a high performance (10 MIPS) DSP engine, two
independent PCM interfaces (X and Y) that connect directly to serial time-division-multiplexed (TDM)
backplanes, and a serial port that can configure the device on-the-fly by an external controller. A 10MHz
master clock is required by the DSP engine. The DS2164Q can be configured to perform either two
expansions, two compressions, or one expansion and one compression. The PCM/ADPCM data interfaces
support data rates from 256kHz to 4.096MHz. Typically, the PCM data rates are 1.544MHz for
m-law and
2.048MHz for A-law. Each channel on the device samples the serial input PCM or ADPCM bit stream
during a user-programmed input time slot, processes the data and outputs the result during a user-
programmed output time slot.
Each PCM interface has a control register that specifies functional characteristics (compress, expand,
bypass, and idle), data format (
m-law or A-law), and algorithm reset control. With the SPS pin strapped
high, the software mode is enabled and the serial port can be used to configure the device. In this mode, a
novel addressing scheme allows multiple devices to share a common 3-wire control bus, simplifying
system-level interconnect.
With SPS low, the hardware mode is enabled. This mode disables the serial port and maps certain control
register bits to some of the address and serial port pins. Under the hardware mode, no external host
controller is required and all PCM/ADPCM input and output time slots default to time slot 0.
HARDWARE RESET
RST
allows the user to reset both channel algorithms and the contents of the internal registers. This pin
must be held low for at least 1ms on system power-up after the master clock is stable to ensure that the
device has initialized properly.
RST
should also be asserted when changing to or from the hardware
mode.
RST
clears all bits of the control register for both channels except the IPD bits; the IPD bits for
both channels are set to 1.
SOFTWARE MODE
Connecting SPS high enables the software mode. In this mode, an external host controller writes
configuration data to the DS2164Q by the serial port through inputs SCLK, SDI, and
CS
(Figure 2). Each
write to the DS2164Q is either a 2-byte write or a 4-byte write. A 2-byte write consists of the
address/command byte (ACB), followed by a byte to configure the control register (CR) for either the X
or Y channel. The 4-byte write consists of the ACB, followed by a byte to configure the CR, and then 1
byte to set the input time slot and another byte to set the output time slot.
ADDRESS/COMMAND BYTE
In the software mode, the address/command byte is the first byte written to the serial port; it identifies
which of the 64 possible ADPCM processors sharing the port wiring is to be updated. Address data must
match that at inputs A0 to A5. If no match occurs, the device ignores the following configuration data. If
an address match occurs, the next 3 bytes written are accepted as control, input and output time slot data.
Bit ACB.6 determines which side (X or Y) of the device is to be updated. The PCM and ADPCM outputs
are tri-stated during register updates.
DS2164Q
3 of 17
CONTROL REGISTER
The control register establishes idle, algorithm reset, bypass, data format, and channel coding for the
selected channel.
The X-side and Y-side PCM interfaces can be independently disabled (output tri-stated) by IPD. When
IPD is set for both channels, the device enters a low-power standby mode. In this mode, the serial port
must not be operated faster than 39kHz.
ALRST resets the algorithm coefficients for the selected channel to their initial values. ALRST is cleared
by the device when the algorithm reset is complete.
Table 1. PIN DESCRIPTION
PIN
SYMBOL
TYPE
FUNCTION
2
RST
I
Reset. A high-low-high transition resets the algorithm. The device should be
reset on power-up and when changing to or from the hardware mode.
3
4
TM0
TM1
I
Test Modes 0 and 1. Connect to V
SS
for normal operation.
6
7
8
9
10
11
A0
A1
A2
A3
A4
A5
I
Address Select. A0 = LSB, A5 = MSB. Must match address/command word
to enable the serial port.
12
SPS
I
Serial Port Select. Connect to V
DD
to select the serial port; connect to V
SS
to
select the hardware mode.
13
MCLK
I
Master Clock. 10MHz clock for the ADPCM processing engine; may be
asynchronous to SCLK, CLKX, and CLKY.
14
VSS
--
Signal Ground. 0V
16
XIN
I
X Data In. Sampled on falling edge of CLKX during selected time slots.
17
CLKX
I
X Data Clock. Data clock for the X-side PCM interface; must be
synchronous with FSX.
18
FSX
I
X Frame Sync. 8kHz frame sync for the X-side PCM interface.
20
XOUT
O
X Data Output. Updated on rising edge of CLKX during selected time slots.
21
SCLK
I
Serial Data Clock. Used to write to the serial port registers.
22
SDI
I
Serial Data In. Data for on-board control registers; sampled on the rising
edge of SCLK. LSB sent first.
23
CS
I
Chip Select. Must be low to write to the serial port.
24
YOUT
O
Y Data Output. Updated on rising edge of CLKY during selected time slots.
25
FSY
I
Y Frame Sync. 8kHz frame sync for the Y-side PCM interface.
26
CLKY
I
Y Data Clock. Data clock for the Y-side PCM interface; must be
synchronous with FSY.
27
YIN
I
Y Data In. Sampled on falling edge of CLKY during selected time slots.
28
VDD
--
Positive Supply. 5.0V
DS2164Q
4 of 17
Figure 1. BLOCK DIAGRAM
Figure 2. SERIAL PORT WRITE
Note:
A 2-byte write is shown.
The bypass feature is enabled when BYP is set and IPD is cleared. During bypass, no expansion or
compression occurs. Bypass operates on bytewide (8 bits) slots when CP/
EX
is set and on nibble-wide
(4 bits) slots when CP/
EX
is cleared.
A-law (U/
A
= 0) and
m-law (U/
A
= 1) PCM coding is independently selected for the X and Y channels
by CR.2. If BYP and IPD are cleared, then CP/
EX
determines if the input data is to be compressed or
expanded.
DS2164Q
5 of 17
Figure 3. ADDRESS/COMMAND BYTE
(MSB) (LSB)
--
X/
Y
A5
A4
A3
A2
A1
A0
SYMBOL
POSITION
FUNCTION
--
ACB.7
Reserved. Must be 0 for proper operation
X/
Y
ACB.6
X/Y Channel Select
0 = update channel Y characteristics
1 = update channel X characteristics
A5
ACB.5
MSB of device address
A4
ACB.4
--
A3
ACB.3
--
A2
ACB.2
--
A1
ACB.1
--
A0
ACB.0
LSB of device address
Figure 4. CONTROL REGISTER
(MSB) (LSB)
AS0
AS1
IPD
ALRST
BYP
U/ A
AS2
CP/ EX
SYMBOL
POSITION
FUNCTION
AS0
CR.7
Algorithm Select 0 (Table 2)
AS1
CR.6
Algorithm Select 1 (Table 2)
IPD
CR.5
Idle and Power-Down
0 = channel enabled
1 = channel disabled (output tri-stated)
ALRST
CR.4
Algorithm Reset
0 = normal operation
1 = reset algorithm for selected channel
BYP
CR.3
Bypass
0 = normal operation
1 = bypass selected channel
U/ A
CR.2
Data Format
0 = A-law
1 =
m-law
AS2
CR.1
Algorithm Select 2 (Table 2)
CP/ EX
CR.0
Channel Coding
0 = expand (decode) selected channel
1 = compress (encode) selected channel