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.
DS2132A/Q
Digital Answering Machine Processor
DS2132A/Q
041295 1/17
FEATURES
Two high quality speech compression algorithms per-
mit either 7 or 14 minutes of speech storage in a single
4 Mbit DRAM or ARAM
Economical three-wire data/control/status port frees
up microcontroller port pins
Detects and generates the 12 standard DTMF tones
plus the A/B/C/D tones
Detects CCITT T.30 FAX calling tone (1100 Hz)
Generates musical tones which allow “melodies-on-
hold” or customizable prompts
Echo cancellation for improved DTMF receiver per-
formance
Precise signal level detection capability
Record/Playback gain control
28-pin DIP or PLCC (DS2132AQ) packages
There is a series of Application Notes
that accompany this data sheet.
PIN ASSIGNMENT
27
28 26
432
5
6
7
8
9
1
2
3
4
5
6
7
8
9
10
11
12
13
14 15
16
17
18
19
20
21
22
23
24
25
26
27
28
12 1314 15 16 1718
25
24
23
22
21
20
19
10
11
PD
GND
GND
PD
VCC
MCLK
PCMIN
CLK
FS
PCMOUT
TRI_IN
CDOUT
TRI_OUT
CDIN
RST
VCC
VCC
VCC
VCC
VCC
GND
GND NC
GND
GND
FS
CLK
VCC
FS
PCMOUT
TRI_IN
GND
GND
CDOUT
TRI_OUT
PD
VCC
VCC
VCC
VCC
VCC
VCC
1
GND
RST
NC VCC
PCMINCLK
CDIN
FS
GND
MCLK
GND GND
PD
CLK
DS2132A 28-PIN DIP
600 MIL
DS2132AQ 28-PIN
PLCC
DESCRIPTION
The DS2132A Digital Answering Machine Processor is
a Digital Signal Processor (DSP) optimized for the com-
pression/expansion of PCM coded voice to/from an ex-
tremely low bit rate. The DS2132A contains two ad-
vanced speech compression algorithms that offer
outstanding fidelity . The Standard Record/Playback al-
gorithm compresses speech to 9.8Kbps and the Ex-
tended Record/Playback algorithm compresses
speech to 4.9Kbps.
The DS2132A is ideal for embedded applications such
as digital answering machines, voice mail, voice annun-
ciators, and any other device that needs to maximize
speech storage in a limited memory space. A simple
three wire interface to the embedded microcontroller
frees up valuable controller port pins for other uses and
simplifies the software needed to transfer speech data,
issue commands, and receive DTMF/energy level/sta-
tus information. The DS2132A detects and generates
all 16 DTMF tones and can also generate a wide variety
of call progress tones. In addition, the DS2132A pro-
vides CCITT Rec. T .30 FAX calling tone detection which
enables the answering machine to determine if the in-
coming call is a voice or F AX transmission. The energy
level detector allows the microcontroller to perform call
progress detection and automatic gain control func-
tions.
DS2132A/Q
041295 2/17
PIN DESCRIPTION Table 1
PIN SYMBOL TYPE DESCRIPTION
3,4,12,14,21,22 GND - Ground. T ie to system ground.
6,7,8,9,10,11,28 VCC - Positive Supply. Tie to system +5 volt supply.
1 PD O Power-Down Active Low . Will toggle low during Power-
Down mode.
5 PD O Power-Down Active High. Will toggle high during Power-
Down mode.
15 NC - No Connect. Do not connect any signal to this pin.
2 RST I Reset. When this pin is low, the internal DSP algorithm is
in a reset state. On power-up, this pin should be held low
for at least 100 ms after MCLK is stable.
13 MCLK I Master Processing Clock. The clock used for the internal
DSP engine. Should be in the range of 12 to 16 MHz.
MCLK can be asynchronous to any other clock signal on
the DS2132A. The duty cycle should be 50% (±5%).
16 CDIN I Compressed Data Port Input. Serial input for com-
pressed audio data or DS2132A commands. Samples on
the falling edges of CLK. The compressed data is expand-
ed to 8-bit PCM which is output on PCMOUT.
17,26 CLK I Clock. This clock is used to sample data at CDIN and
PCMIN and output data at CDOUT and PCMOUT. CLK
must be synchronous with FS. See Figure 3.
18,25 FS I Frame Sync. This input must be an 8 KHz clock with a
pulse width high time of one to nine CLK cycles for proper
operation. See Figure 3.
19 TRI_OUT O CDOUT Tri-state Control Out. This output should be tied
to the TRI_IN pin (pin 23) for proper operation; will be low
when CDOUT is active.
20 CDOUT O Compressed Data Port Output. Serial output for com-
pressed audio data or status information, updated on the
rising edge of CLK.
23 TRI_IN I CDOUT Tri-state Control In. This input should be tied to
the TRI_OUT pin (pin 19) for proper operation. If this pin is
forced high, CDOUT will not go active.
24 PCMOUT O PCM Port Output. Output for expanded data which is in
the standard 8-bit µ-law format. Data is updated on the
rising edges of CLK.
27 PCMIN I PCM Port Input. Input for the 8-bit serial µ-law PCM data
which would normally be supplied by a codec/filter device.
Data is sampled on the falling edges of CLK.
FUNCTIONAL DESCRIPTION
A typical digital answering machine using the DS2132A
is shown in Figure 1. The system consists of a standard
telephone CODEC (COder-DECoder) device, the
DS2132A, a microcontroller , and a bank of DRAM. The
implementation shown is with a Hitachi CODEC and a
8051-type microcontroller but a wide variety of
CODECs and microcontrollers can be used with the
DS2132A. It is only important that the CODEC have se-
rial digital I/O and have µ-law (“Mu” law) companding.
Table 2 lists some CODECs that will work with the
DS2132A. There is a separate Application Note that ex-
plains how to connect these CODECs to the DS2132A.
DS2132A/Q
041295 3/17
TYPICAL DIGITAL ANSWERING SYSTEM Figure 1
-5V
Microcontroller
GA1
GA2
AIN
AOUT
DGND
AGND
PCMOUT
PCMIN
TXCLK
RXCLK
TXSYNC
RXSYNC
VSS
VDD +5V
PD
PCMIN
PCMOUT
CLK
FS
CDOUT
CDIN
MCLK
RST POR
TRI_OUT
TRI_IN
CLK
FS VCC
GND
+5V
+5V
+5V
DRAM Array
8051-Type
P1.1
TXD
P1.0
RXD
Note:
HD44238P is a Hitachi CODEC
CODEC/FILTER
DS2132A
To 2- to 4–wire
converter and phone line
interface
PD
12 MHz to 16 MHz
RECOMMENDED DS2132A CODECS Table 2
Vendor Model(s)
Texas Instruments TCM29CXX
National Semiconductor TP3054X
Motorola MC1455XX
SGS–Thomson ETC505X
Hitachi HD44238C
As shown in Figure 1, the microcontroller creates the
clock (CLK) and frame sync (FS) that is sent to both the
CODEC and the DS2132A. In this manner, the
DS2132A shares the signals necessary to drive the CO-
DEC. To “record” an audio signal, the following occurs.
The analog signal applied at the AIN pin of the CODEC
is converted to eight bit values and output at PCMOUT
every 125 µs. The DS2132A takes these eight bit sam-
ples in at the PCMIN pin and effectively compresses
them to either 9.8Kbps or 4.9Kbps. See Figure 2. The
compressed data is then passed to the microcontroller
via the CDOUT pin (CD stands for Compressed Data).
The microcontroller then stores the compressed
speech in the DRAM array . The inverse of this process
is required to “playback” the message at the AOUT pin
of the CODEC.
DS2132A/Q
041295 4/17
DS2132A BLOCK DIAGRAM Figure 2
Playback
Gain Control
Record
Gain Control DTMF/Level/
FAX Tone
Detection
Speech
Compression
Command
Processor
Speech
Expansion
DTMF/Musical
Tone
Generation
PCMOUT
PCMIN CDOUT
CDIN
Loopback
To CODEC
“PCM” Side
To Microcontroller
“Compressed Data” Side
Threshold
OPERATION OF THE CD AND PCM PORTS
As mentioned earlier, the DS2132A essentially contains
two separate serial ports, one for the DS2132A to micro-
controller interface (the CD Port ) and one for the CO-
DEC to DS2132A interface (the PCM Port). The Com-
pressed Data (CD) Port is used to send compressed
speech information from the DS2132A to the microcon-
troller and vice versa. The CD Port is also used to moni-
tor the current status of the DS2132A and it is used to
issue instructions to the DS2132A. The CD Port con-
sists of the CDIN, CDOUT, CLK, and FS pins (the CLK
and FS pins are shared with the CODEC). The PCM
Port is used to transfer uncompressed speech data be-
tween the DS2132A and the CODEC. It consists of the
PCMIN, PCMOUT, CLK, and FS pins. Figure 3 details
the DS2132A CD and PCM port signals. All commu-
nication begins with the frame sync (FS) signal. It indi-
cates to the DS2132A and the CODEC that a byte of in-
formation will follow. Note that the PCM Port operates
on a MSB first basis and the CD Port operates on a LSB
first basis.
DS2132A/Q
041295 5/17
CD & PCM PORT I/O DIAGRAM Figure 3
CLK1
FS2
PCMIN
PCMOUT
CDIN
CDOUT
MSB LSB
MSB LSB
LSB MSB
LSB MSB
3-STATE
3-STATE
NOTES:
1. The CLK period must be between 128 KHz and 4.096 MHz
2. The FS pulse must be between 1 and 9 (inclusive) CLK periods long
On the PCM Port, data will be transferred from the CO-
DEC to the DS2132A via one path and transferred from
the DS2132A to the CODEC via another path. These
transfers take place every 125 µs (as determined by the
FS signal). Although the CD Port also transfers data ev-
ery 125 µs, it operates much differently than does the
PCM Port. The CD Port constantly toggles back and
forth in its data transfer direction. During one frame
sync, the microcontroller will transfer either com-
pressed speech data or command information to the
DS2132A and during the next frame sync, the transfer
direction will switch and the DS2132A will send either
compressed speech data or status information to the
microcontroller . Hence, the CD Port is truly bidirection-
al. See Figure 4.
DS2132A/Q
041295 6/17
CD PORT FLOW STRUCTURE Figure 4
cmd.
status*
cmd.
status*
cmd.
status*
cmd.
status
cmd.
status
cmd.
status
cmd.
status
cmd.
status
cmd.
status
cmd.
status*
cmd.
data
cmd.
status
cmd.
data
cmd.
status
cmd.
status
cmd.
status
data
status
data
status
Tone Generation or Idle Recording Mode Playback Mode
CD Port CD Port CD Port
DS2132
Microcontroller
DS2132
Microcontroller
DS2132
Microcontroller
NOTE: Status Bytes marked with an asterisk (*) indicate bytes with the MSB set to 1.
CD PORT I/O STRUCTURE Figure 5
Tone Generation or Idle
Record Mode
Playback Mode
FS
CDIN
CDOUT
command
status status status
command command
status
command
status status* status
command data
FS
CDIN
CDOUT
FS
CDIN
CDOUT
status*
command
command
data
command
DS2132A/Q
041295 7/17
There are three types of bytes that can be transferred on
the CD Port; Command Bytes, Status Bytes, and Com-
pressed Speech Data Bytes (or simply Data Bytes).
The Command Bytes are always transferred from the
microcontroller to the DS2132A to instruct the proces-
sor to perform a particular task like transmit a tone. All of
the possible commands that can be sent to the
DS2132A are listed in Table 3. Status Bytes are always
transferred from the DS2132A to the microcontroller.
They inform the microcontroller if a DTMF digit is being
received, or what the current energy level is. See Figure
6. Finally, there are Data Bytes which are transferred
from the DS2132A to the microcontroller during a “re-
cording” and from the microcontroller to the DS2132A
during a “playback”. See Figure 5. When recording, the
microcontroller must read the MSB of the Status Byte to
discriminate between Data Bytes and Status Bytes.
When playing back, the microcontroller must read the
MSB of the Status Byte to know when to send a Com-
mand Byte and when to send a Data Byte.
STATUS BYTE FORMAT Figure 6
CDFA DV FCNG
L4
0
L3
D3
L2
D2
L1
D1
L0
D0
(MSB) (LSB)
DV = 0
(see Table 4)
DV = 1
(see Table 5)
FAX Calling Tone Detect
0 = 1 100 Hz tone not present
1 = 1 100 Hz tone present
DTMF Digit Valid
0 = no DTMF digit detected; received energy level reported at L0 to L4 bits
1 = DTMF digit detected; the digit is reported at D0 to D3 bits
Compressed Data Frame Alert
Record Mode:
0 = next CD Port output is a Status Byte
1 = next CD Port output is a Data Byte
Playback Mode:
0 = next CD Port input is a Command Byte
1 = next CD Port input is a Data Byte
Tone Generation or Idle: Will always be set to 0.
SYNCHRONIZING THE CD PORT
On power-up, the first task of the microcontroller is to
“synchronize” the CD Port. It can accomplish this by lis-
tening to what the DS2132A is sending it. On power-up
(after the RST pin is returned high), the DS2132A will be
in the Idle mode awaiting a command from the micro-
controller. Hence it will be alternately sending a Status
Byte to the microcontroller and taking in a Command
Byte. In Figure 1, there is a pull-up resistor on the CD
Port to insure that on power-up, the microcontroller will
send the “no update” command to the DS2132A, which
is [FF]. When the microcontroller reads a value other
than [FF], then it knows that the byte it just read is a Sta-
tus Byte and hence it will then know that the next byte
will be a Command Byte and it will be synchronized.
RECORD & PLAYBACK MODES
Figure 7 shows two brief flowcharts on what actions the
microcontroller would follow to instruct the DS2132A to
compress (Record Mode) or expand speech (Playback
Mode) data. Before a recording or a playback is to be-
gin, it is recommended that the microcontroller first set
the gain to a nominal position. Then, if needed, the gain
can be adjusted as the recording or playback is occur-
ring. For example, as the recording process begins, the
microcontroller can monitor the incoming speech ener-
gy levels via the Status Byte. If the incoming speech lev-
el is too low or too high, the gain can be adjusted accord-
ingly. The microcontroller can exit the Recording or
Playback Modes by sending the Idle command.
DS2132A/Q
041295 8/17
RECORD & PLAYBACK FLOWCHARTS Figure 7
Write Command Byte
to set the gain
Read Status Byte
Write Command Byte
to begin recording
Read Status Byte;
does MSB = 1?
Record Flowchart Playback Flowchart
Write Command Byte
to set the gain
Read Status Byte
Write Command Byte
to begin playback
Read Status Byte;
does MSB = 1?
no yesno yes
Write Command
Byte
Read Data Byte
Write Command
Byte
Write Command
Byte Write Data ByteWrite Command
Byte
LOOPBACK MODE
The DS2132A contains a Loopback Mode that is useful
in debugging the CODEC to DS2132A interface and in
adjusting the analog circuits to the proper gain/attenua-
tion levels. In the Loopback Mode, the DS2132A routes
the incoming digitized audio signal received at the
PCMIN pin, back to the PCMOUT pin after making gain
adjustments. See Figure 2. Notice that the route in-
cludes the record and playback gain circuits. The Loop-
back mode can be enabled at any time. When the Loop-
back is enabled, the generated tones or expanded
speech are ignored. See Figure 2. The DS2132A will
enter the Loopback mode if a Command Byte of [08] is
sent to it by the microcontroller. The Loopback mode
will be exited upon receiving the Exit Loopback Mode
command.
FAX CALLING TONE DETECT
According to CCITT Recommendation T.30, originating
automatic FAX machines should transmit an 1100 Hz
tone for 0.5 seconds every 3.5 seconds (on for 0.5’s; off
for 3.0’s). This tone is meant as an indication to the
called station that a non-voice instrument is making the
call. The Status Byte in the DS2132A reports if a
1100 Hz tone is being received. This detection can be
used to determine if a FAX machine has called the an-
swering machine. The answering machine will then
know not to record the incoming call and to route the call
to a FAX machine.
DS2132A/Q
041295 9/17
COMMAND BYTE OPTIONS Table 3
[FF] No update
[00] No update
[BE] Idle
[08] Enter Loopback mode
[09] Exit Loopback mode
[04] Enter Power-Down mode
[05] Exit Power-Down mode
[4A] Set recording path gain to +30 dB
[49] Set recording path gain to +27 dB
[48] Set recording path gain to +24 dB
[47] Set recording path gain to +21 dB
[46] Set recording path gain to +18 dB
[45] Set recording path gain to +15 dB
[44] Set recording path gain to +12 dB
[43] Set recording path gain to +9 dB
[42] Set recording path gain to +6 dB
[41] Set recording path gain to +3 dB
[40] Set recording path gain to 0 dB
[5F] Set recording path gain to -3 dB
[5E] Set recording path gain to -6 dB
[5D] Set recording path gain to -9 dB
[5C] Set recording path gain to -12 dB
[5B] Set recording path gain to -15 dB
[5A] Set recording path gain to -18 dB
[59] Set recording path gain to -21 dB
[58] Set recording path gain to -24 dB
[57] Set recording path gain to -27 dB
[56] Set recording path gain to -30 dB
[80] Generate DTMF “0” (941+1336 Hz)
[81] Generate DTMF “1” (697+1209 Hz)
[82] Generate DTMF “2” (697+1336 Hz)
[83] Generate DTMF “3” (697+1477 Hz)
[84] Generate DTMF “4” (770+1209 Hz)
[85] Generate DTMF “5” (770+1336 Hz)
[86] Generate DTMF “6” (770+1477 Hz)
[87] Generate DTMF “7” (852+1209 Hz)
[90] Generate Dial tone (350+440 Hz)
[91] Generate Ringing tone (480+440 Hz)
[94] Generate bright musical note “A” (440+1320 Hz)
[95] Generate bright musical note “B” (494+1482 Hz)
[96] Generate bright musical note “C” (523+1569 Hz)
[97] Generate bright musical note “D” (587+1761 Hz)
[97] Generate bright musical note “D” (587+1761 Hz)
[98] Generate bright musical note “E” (659+1977 Hz)
[99] Generate bright musical note “F” (698+2094 Hz)
[9A] Generate bright musical note “G” (784+2352 Hz)
[B4] Generate musical note “A” (440 Hz)
[B5] Generate musical note “B” (494 Hz)
[B6] Generate musical note “C” (523 Hz)
[B7] Generate musical note “D” (587 Hz)
[B8] Generate musical note “E” (659 Hz)
[B9] Generate musical note “F” (698 Hz)
[BA] Generate musical note “G” (784 Hz)
[9B] Generate bright musical note “A” one octave
higher (880+2640 Hz)
[9C] Generate bright musical note “B” one octave
higher (988+2974 Hz)
[BB] Generate musical note “A” one
octave higher (880 Hz)
[BC] Generate musical note “B” one octave
higher (988 Hz)
[25] Record at Standard rate (9.8Kbps)
[27] Record at Extended rate (4.9Kbps)
[28] Playback at Standard rate (9.8Kbps)
or Premium Rate (16Kbps) with echo
cancellation enabled
[2A] Playback at Extended rate (4.9Kbps)
or Intermediate Rate (8Kbps) with echo
cancellation enabled
[23] Record at Intermediate rate (8Kbps)
[21] Record at Premium rate (16Kbps)
[20] Playback at Standard rate (9.8 Kbps) or
Premium rate [16Kbps] with echo
cancellation disabled
[22] Playback at Extended rate (4.9Kbps) or
Intermediate rate (8Kbps) with echo
cancellation disabled
[6A] Set playback path gain to +30 dB
[69] Set playback path gain to +27 dB
[68] Set playback path gain to +24 dB
[67] Set playback path gain to +21 dB
[66] Set playback path gain to +18 dB
[65] Set playback path gain to +15 dB
[64] Set playback path gain to +12 dB
[63] Set playback path gain to +9 dB
[62] Set playback path gain to +6 dB
[61] Set playback path gain to +3 dB
[60] Set playback path gain to 0 dB
[7F] Set playback path gain to -3 dB
[7E] Set playback path gain to -6 dB
[7D] Set playback path gain to -9 dB
[7C] Set playback path gain to -12 dB
[7B] Set playback path gain to -15 dB
[7A] Set playback path gain to -18 dB
[79] Set playback path gain to -21 dB
[78] Set playback path gain to -24 dB
[77] Set playback path gain to -27 dB
[76] Set playback path gain to -30 dB
[88] Generate DTMF “8” (852+1336 Hz)
[89] Generate DTMF “9” (852+1477 Hz)
DS2132A/Q
041295 10/17
[8A] Generate DTMF “A” (697+1633 Hz)
[8B] Generate DTMF “B” (770+1633 Hz)
[8C] Generate DTMF “C” (852+1633 Hz)
[8D] Generate DTMF “D” (941+1633 Hz)
[8E] Generate DTMF “*” (941+1209 Hz)
[8F] Generate DTMF “#” (941+1477 Hz)
[92] Generate Busy tone (480+620 Hz)
[93] Generate 400 Hz tone
[9E] Generate 1004 Hz tone
[9D] Generate 1400 Hz tone
[10] Set “off” threshold to -50 dBm
[11] Set “off” threshold to -49 dBm
[12] Set “off” threshold to -47dBm
[13] Set “off” threshold to -44 dBm
[14] Set “off” threshold to -42 dBm
[15] Set “off” threshold to -40 dBm
[16] Set “off” threshold to -38 dBm
[17] Set “off” threshold to -35 dBm
[18] Set “off” threshold to -32 dBm
[19] Set “off” threshold to -29 dBm
[1A] Set “off” threshold to -26 dBm
[1B] Set “off” threshold to -23 dBm
[1C] Set “off” threshold to -20 dBm
[1D] Set “off” threshold to -17 dBm
[1E] Set “off” threshold to -14 dBm
[1F] Set “off” threshold to -11 dBm
NOTES:
1. All tones are generated at 0 dBm0 except for the high tones of DTMF which are at +3 dBm0.
2. The unit dBm0 represents a digital representation of an analog level; throughout this data sheet, the zero
reference point of 0 dBm0 was measured with a Hitachi HD44238P CODEC which produces a 1.231V rms
analog signal when sent a “0 dBm0” digital code.
3. All letters and numbers contained in brackets ([ ]) represent Hexadecimal values.
4. The above hexadecimal code are sent LSB first.
DS2132A/Q
041295 11/17
DEFINITION OF THE L0 TO L4 LEVEL BITS
Table 4
L4 L3 L2 L1 L0 ENERGY LEVEL
RECEIVED
0 0 0 0 0 <-48dBm0
0 0 0 1 0 -45dBm0
0 0 1 0 0 -42dBm0
0 0 1 0 1 -39dBm0
0 0 1 1 0 -36dBm0
0 0 1 1 1 -33dBm0
0 1 0 0 0 -30dBm0
0 1 0 0 1 -27dBm0
0 1 0 1 0 -24dBm0
0 1 0 1 1 -21dBm0
0 1 1 0 0 -18dBm0
0 1 1 0 1 -15dBm0
0 1 1 1 0 -12dBm0
0 1 1 1 1 -9dBm0
1 0 0 0 0 -6dBm0
1 0 0 0 1 -3dBm0
1 0 0 1 0 0dBm0
1 0 0 1 1 +3dBm0
1 0 1 0 0 +6dBm0
1 0 1 0 1 +9dBm0
DEFINITION OF THE D0 TO D3 DTMF BITS
Table 5
D3 D2 D1 D0 DTMF DIGIT
DETECTED
0 0 0 0 DTMF Digit “0”
0 0 0 1 DTMF Digit “1”
0 0 1 0 DTMF Digit “2”
0 0 1 1 DTMF Digit “3”
0 1 0 0 DTMF Digit “4”
0 1 0 1 DTMF Digit “5”
0 1 1 0 DTMF Digit “6”
0 1 1 1 DTMF Digit “7”
1 0 0 0 DTMF Digit “8”
1 0 0 1 DTMF Digit “9”
1 0 1 0 DTMF Digit “A”
1 0 1 1 DTMF Digit “B”
1 1 0 0 DTMF Digit “C”
1 1 0 1 DTMF Digit “D”
1 1 1 0 DTMF Digit “*”
1 1 1 1 DTMF Digit “#”
POWER-DOWN MODE
The DS2132A can be placed into a low-power standby
condition by sending the enter power-down command
[04] to the DS2132A. The DS2132A will power down
within 500 µs after receiving the power-down command.
The MCLK signal should still be applied to the DS2132A
in the power-down mode. The CLK and FS signals may
be either stopped or continued. In the power-down
mode, the DS2132A will consume about 1 mA and the
PD pin (Pin 1) will be forced low and the PD pin (Pin 5)
will be forced high. The PD and PD pins can be used to
power-down the CODEC. See Figure 2. T o exit the pow-
er-down mode, the exit power-down command [05]
should be sent to the DS2132A. There is no need to is-
sue a hardware reset via the RST pin; the device will re-
set itself. The DS2132A will power-up in the Idle mode.
The microcontroller should wait 1 ms after issuing the
exit power-down command before reinitializing the
device.
DS2132A/Q
041295 12/17
ABSOLUTE MAXIMUM RATINGS*
Voltage on Any Pin Relative to Ground -1.0V to +7.0V
Operating Temperature 0 °C to 70°C
Storage Temperature -55 °C to +125°C
Soldering Temperature 260 °C for 10 seconds
* This is a stress rating only and functional operation of the device at these or any other conditions above
those indicated in the operation sections of this specification is not implied. Exposure to absolute maxi-
mum rating conditions for extended periods of time may affect reliability.
RECOMMENDED DC OPERATING CONDITIONS (0°C to 70°C)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
Logic 0 VIL -0.3 0.8 V
Logic 1 VIH 2.0 VCC +0.3 V
Supply VCC 4.5 5.5 V
CAPACITANCE (tA = 25°C)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
Input Capacitance CIN 5pF
Output Capacitance COUT 10 pF
DC ELECTRICAL CHARACTERISTICS (0°C to 70°C; VCC = 5V + 10%)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
Active Supply Current IDDA 35 40 mA 1,2
Input Leakage ILI -1.0 +1.0 µA
Output Leakage ILO -1.0 -1.0 µA 3
Output Current (2.4 V) IOH -1.0 -1.0 mA
Output Current (0.4V) IOL +4.0 mA
Power-Down Current IPD 1mA 1,2,4
NOTES:
1. VCC = 5.5V ; CLK=2.048 MHz; MCLK=16 MHz.
2. Outputs open; inputs swinging full supply levels.
3. PCMOUT and CDOUT are 3-stated.
4. Power-down mode.
DS2132A/Q
041295 13/17
DTMF RECEIVER CHARACTERISTICS (0°C to 70°C; VCC = 5V + 10%)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
Valid Detect Amplitude Range -40 0 dBm0 1,2
Frequency Deviation Accept + 1.5 % 3
Frequency Deviation Reject +3.5 % 3
Minimum Twist Accept Range -10 +10 dB 4
Talk Off (Mitel Tape CM7291) 5 Hits 5
Noise Tolerance (Mitel Test Tape
CM7291) -12 dB 6
NOTES:
1. 0 dBm0 = 1.231V rms when sent through a Hitachi HD44238P CODEC as shown in Figure 1.
2. Individual tone level of the DTMF pair with recording path gain set to 0db.
3. Percent of nominal frequency for the individual tone; FS = 8 KHz (+0.1%).
4. Twist = 20 LOG (High tone/Low tone).
5. Talk Off is a measure of the speech immunity of a DTMF receiver; the lower the number of hits, the better the
immunity.
6. Three KHz bandlimited white noise, referenced to lowest amplitude in the DTMF pair.
DTMF DETECTION TIMING (0°C to 70°C; VCC = 5V + 10%)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
Tone Duration Accept 40 ms
Tone Duration Reject 20 ms
Interdigit Pause Accept 40 ms
Interdigit Pause Reject 20 ms
DTMF TONE GENERATOR CHARACTERISTICS (0°C to 70°C; VCC = 5V + 10%)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
DTMF Frequency Deviation (each
tone of the pair) +1.0 % 1
Output Distortion (single tone) -25 dB 2
DTMF Tone Level Twist +3 dB 3
NOTES:
1. FS = 8.0 KHz + 0.1%
2. Total harmonic distortion relative to test tone signal.
3. Twist = 20 LOG (High tone/Low tone).
DS2132A/Q
041295 14/17
DATA INPUT/OUTPUT
AC ELECTRICAL CHARACTERISTICS (0°C to 70°C; VCC = 5V + 10%)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
CLK Clock Period tP244 7813 ns 1,2
CLK Pulse Width High, Low tWH, tWL 100 ns 2
CLK Rise, Fall T imes tR, tF20 ns 2
Hold T ime from CLK to FS tHOLD 0ns 2
Setup T ime from FS high CLK low tSF 50 ns 2
Hold T ime from CLK low to FS
low tHF 100 ns 2
Setup Time from PCMIN, CDIN to
CLK low tSD 50 ns 2
Hold T ime from PCMIN, CDIN to
CLK low tHD 50 ns 2
Delay T ime from CLK to Valid
PCMOUT, CDOUT tDO 10 150 ns 2
Delay T ime from CLK to
PCMOUT, CDOUT 3-stated tDZ 20 150 ns 2
NOTES:
1. At least nine CLK clocks must be received within first half of the FS period (62.5 µs).
2. See Figure 8.
MASTER CLOCK/RESET
AC ELECTRICAL CHARACTERISTICS (0°C to 70°C; VCC = 5V + 10%)
PARAMETER SYMBOL MIN TYP MAX UNITS NOTES
MCLK Period tPM 62 84 ns 1,2
MCLK Duty Cycle 45 55 %
MCLK Rise/Fall T imes tRM, tFM 10 ns 2
RST Pulse Width tRST 100 ms 2
NOTES:
1. MCLK = 12 to 16 MHz.
2. See Figure 9.
DS2132A/Q
041295 15/17
DATA I/O AC TIMING DIAGRAM Figure 8
tHOLD
tP
tRtFtWH tWL
tHD
tSD
tDO
tHF
tSF
tDZ
3-STATE
CLK
FS
PCMIN,
CDIN
PCMOUT
CDOUT
MSB for PCMIN
LSB for CDIN
MSB for PCMOUT
LSB for CDOUT
MASTER CLOCK & RESET AC TIMING DIAGRAM Figure 9
tRM tFM
tPM
tWMH tWML
tRST
RST
MCLK
DS2132A/Q
041295 16/17
DS2132A DIGITAL ANSWERING MACHINE PROCESSOR
A
1
28 15
14
B
D
H
J
F
E
C
GK
13 EQUAL SPACES AT + .010
TNA
INCHES
DIM MIN MAX
A 1.445 1.470
B 0.530 0.550
C 0.140 0.160
D 0.600 0.625
E 0.015 0.040
F 0.120 0.145
G 0.090 0.110
H 0.600 0.680
J 0.008 0.012
K 0.015 0.022
DS2132A/Q
041295 17/17
DS2132AQ DIGITAL ANSWERING MACHINE PROCESSOR
CH1
N
1
E
E1
D1 D D2
E2
e1
C
A1A2
A
B
L1
B1
INCHES
DIM MIN MAX
A 0.165 0.180
A1 0.090 0.120
A2 0.020
B 0.026 0.033
B1 0.013 0.021
C 0.009 0.012
D 0.485 0.495
D1 0.450 0.456
D2 0.390 0.430
E 0.485 0.495
E1 0.450 0.456
E2 0.390 0.430
L1 0.060
N 28
e1 0.050 BSC
CH1 0.042 0.048