– two expansions
– two compressions
– one expansion and one compression
• Interconnects directly to combo-codec devices
• Input to output delay is less than 375 µs
• Simple serial port used to configure the device
• Onboard 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 DS2167 ADPCM
Processor Chip
• Single +5V supply; low-power CMOS technology
• Available in 24-pin DIP and 28-pin PLCC
PIN ASSIGNMENT
RST
TM0
TM1
A0
A1
A2
A3
A4
A5
SPS
MCLK
VSS
24-Pin DIP (600 MIL)
NC
432
5
6
A0
7
A1
8
A2
9
A3
A4
10
A5
11
12 1314 15 16 1718
A 3–volt Operation Version
is Available (DS2165QL)
1
2
3
4
5
6
7
8
9
10
11
12
TM1
RSTNCVDD
TM0
1
SPS
VSS
MCLK
28-Pin PLCC
NC
272826
XIN
24
23
22
21
20
19
18
17
16
15
14
13
YINCLKX
VDD
YIN
CLKY
FSY
YOUT
CS
SDI
SCLK
XOUT
FSX
CLKX
XIN
CLKY
25
24
23
22
21
20
19
FSX
FSY
YOUT
CS
SDI
SCLK
XOUT
NC
DESCRIPTION
The DS2165 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.721 (July 1986) and ANSI document
Copyright 1995 by Dallas Semiconductor Corporation.
All Rights Reserved. For important information regarding
patents and other intellectual property rights, please refer to
Dallas Semiconductor data books.
T1.301 (April 1987). The compression to 24Kbps follows ANSI document T1.303. The compression to
16Kbps follows a proprietary algorithm developed by
Dallas Semiconductor. The DS2165 can switch compression algorithms on-the-fly. This allows the user to
make maximum use of the available bandwidth on a dynamic basis.
041295 1/17
DS2165/DS2165Q
OVERVIEW
The DS2165 contains three major functional blocks: a
high performance (10 MIPS) DSP engine, two independent PCM interfaces (X and Y) which connect directly to
serial Time Division Multiplexed (TDM) backplanes, and
a serial port that can configure the device on-the-fly via
an external controller. A 10 MHz master clock is required by the DSP engine. The DS2165 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
256 KHz to 4.096 MHz. Typically, the PCM data rates
will be 1.544 MHz for µ-law and 2.048 MHz 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 which specifies functional characteristics (compress, expand, bypass, and idle), data format (µ-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.
except the IPD bits; the IPD bits for both channels are
set to 1.
SOFTWARE MODE
Tying SPS high enables the software mode. In this
mode, an external host controller writes configuration
data to the DS2165 via the serial port through inputs
SCLK, SDI, and CS
DS2165 is either a 2-byte write or a 4-byte write. A 2byte 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 one byte to set the input time slot and
another byte to set the output time slot.
. (See Figure 2.) Each write to the
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 three 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 tristated during register updates.
CONTROL REGISTER
The control register establishes idle, algorithm reset,
bypass, data format and channel coding for the selected
channel.
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 1 ms on system power-up after
the master clock is stable to ensure that that the device
has initialized properly. RST
when changing to or from the hardware mode. RST
clears all bits of the Control Register for both channels
041295 2/17
should also be asserted
The X and Y side PCM interfaces can be independently
disabled (output 3-stated) via 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 39 KHz.
ALRST resets the algorithm coefficients for the selected
channel to their initial values. ALRST will be cleared by
the device when the algorithm reset is complete.
DS2165/DS2165Q
PIN DESCRIPTION Table 1
PINSYMBOLTYPEDESCRIPTION
1RSTIReset. A high-low-high transition resets the algorithm. The device should
2
3
4
5
6
7
8
9
TM0
TM1
A0
A1
A2
A3
A4
A5
10SPSISerial Port Select. Tie to VDD to select the serial port; tie to VSS to select
11MCLKIMaster Clock. 10 MHz clock for the ADPCM processing engine; may be
12V
SS
13XINIX Data In. Sampled on falling edge of CLKX during selected time slots.
14CLKXIX Data Clock. Data clock for the X side PCM interface; must be synchro-
15FSXIX Frame Sync. 8 KHz frame sync for the X side PCM interface.
16XOUTOX Data Output. Updated on rising edge of CLKX during selected time slots.
17SCLKISerial Data Clock. Used to write to the serial port registers.
18SDIISerial Data In. Data for onboard control registers; sampled on the rising
19CSIChip Select. Must be low to write to the serial port.
20YOUTOY Data Output. Updated on rising edge of CLKY during selected time slots.
21FSYIY Frame Sync. 8 KHz frame sync for the Y side PCM interface.
22CLKYIY Data Clock. Data clock for the Y side PCM interface; must be synchro-
23YINIY Data In. Sampled on falling edge of CLKY during selected time slots.
24V
DD
be reset on power up and when changing to or from the hardware mode.
ITest Modes 0 and 1. Tie to VSS for normal operation.
IAddress Select. A0 = LSB; A5 = MSB Must match address/command
word to enable the serial port.
the hardware mode.
asynchronous to SCLK, CLKX, and CLKY.
–SIgnal Ground. 0.0 volts.
nous with FSX.
edge of SCLK. LSB sent first.
nous with FSY.
–Positive Supply. 5.0 volts (or 3.0 volts for DS2165QL).
041295 3/17
DS2165/DS2165Q
ÉÉ
ÉÉ
DS2165 BLOCK DIAGRAM Figure 1
FSX
CLKX
XIN
XOUT
SCLK
SPS
CS
SDI
A0 - A5
FSY
CLKY
YIN
YOUT
RST
TM0
TM1
X SIDE PCM/ADPCM
DATA INTERFACE
SERIAL PORT CONTROL/
HARDWARE MODE LOGIC
Y SIDE PCM/ADPCM
DATA INTERFACE
RESET AND TEST LOGIC
SERIAL PORT WRITE Figure 2
ADPCM
PROCESSING
ENGINE
MCLK
V
V
DD
SS
A0A1A2A3A4A5X/Y0 CR0
ADDRESS/COMMANDCONTROL
NOTE:
1. 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
when CP/EX is cleared.
041295 4/17
is set and on nibble-wide (4 bits) slots
CR2 CR3 CR4 CR5 CR6 CR7
CR1
A-law (U/A
= 0) and µ-law (U/A = 1) PCM coding is independently selected for the X and Y channels via CR.2. If
BYP and IPD are cleared, then CP/EX
determines if the
input data is to be compressed or expanded.
DS2165/DS2165Q
ADDRESS/COMMAND BYTE Figure 3
(MSB)(LSB)
–X/YA5A4A3A2A1A0
SYMBOLPOSITIONNAME AND DESCRIPTION
–ACB.7Reserved; must be 0 for proper operation
X/YACB.6X/Y Channel Select
0 = update channel Y characteristics
1 = update channel X characteristics
A5ACB.5MSB of Device Address
A4ACB.4
A3ACB.3
A2ACB.2
A1ACB.1
A0ACB.0LSB of Device Address
CONTROL REGISTER Figure 4
(MSB)(LSB)
AS0AS1IPDALRSTBYPU/AAS2CP/EX
SYMBOLPOSITIONNAME AND DESCRIPTION
AS0CR.7Algorithm Select 0. See Table 2.
AS1CR.6Algorithm Select 1. See Table 2.
IPDCR.5Idle and Power Down.
-ITR.6Reserved; must be 0 for proper operation.
D5ITR.5MSB of input time slot register.
D4ITR.4
D3ITR.3
D2ITR.2
D1ITR.1
D0ITR.0LSB of input time slot register.
OUTPUT TIME SLOT REGISTER Figure 6
(MSB)(LSB)
–
SYMBOLPOSITIONNAME AND DESCRIPTION
-OTR.7Reserved; must be 0 for proper operation.
-OTR.6Reserved; must be 0 for proper operation.
D5OTR.5MSB of output time slot register.
D4OTR.4
D3OTR.3
D2OTR.2
D1OTR.1
D0OTR.0LSB of output time slot register.
–D5D4D3D2D1D0
TIME SLOT ASSIGNMENT/ORGANIZATION
Onboard counters establish when PCM and ADPCM
I/O occurs. The counters are programmed via the time
slot registers. Time slot size (number of bits wide) is determined by the state of CP/EX
slots available is determined by both the state of CP/EX
and U/A. (See Figures 7 through 10.) For example, if the
X channel is set to compress (CP/EX
041295 6/17
. The number of time
= 1) and it is set to
expect µ-law data (U/A
= 1), then the input port (XIN) is
set up for 32 8-bit time slots and the output port (XOUT)
is set up for 64 4-bit time slots. The time slot organization is not dependent on which algorithm has been selected. NOTE: Time slots are counted from the frame
sync signal starting at the first rising edge of either CLKX
or CLKY after the frame sync.
Loading...
+ 11 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.