Agere CSP1027 Csp1027 voice band codec for cellular handset and modem application Datasheet

Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
1 Features
■
■
∆-Σ (delta-sigma) A/D and D/A converters with standard 16-bit serial I/O interface.
On-chip filters meet ITU-T G.712 voice band frequency response and signal to distortion plus noise
specifications. Suitable for IS-54, GSM, and JDC digital cellular applications.
■
Low-profile package (<1.5 mm) 48-pin thin quad flat
pack (TQFP) available or 44-pin EIAJ quad flat pack
(QFP).
■
Operates in systems with a 3.0 V to 5.0 V digital
power supply and a 5.0 V analog supply.
■
Low-power 0.9 µm CMOS technology, fully static
design, typical power of 68 mW when active and
0.05 mW in standby with a 3.3 V digital supply and a
5.0 V analog supply.
■
A low-power inactive (standby) state without stopping
clock or removing power supply.
■
Sampling rates up to 24 kHz.
■
On-chip programmable sampling clock generator
allows input clock to be an integer multiple of
125 times the sampling rate or an integer multiple of
the sampling rate.
■
Programmable phase adjust of both codec sampling
clock and baseband codec clock.
■
Two on-chip clock dividers for generating the output
clock for the baseband codec and the output clock
for other processors.
■
Regulated microphone power supply.
■
Microphone preamplifier, with programmable input
ranges of 0.16 Vp and 0.5 Vp.
■
Output amplifier, with programmable gain settings,
0 dB to –45 dB in –3 dB steps.
■
High-pass filters selectable via control registers.
■
Power-on reset pulse generator.
■
Standard 16-bit serial I/O interface.
■
Serial I/O multiprocessor mode compatible with the
Lucent Technologies Microelectronics Group’s
DSP16A and DSP1610/1616/1617/1618 Digital Signal Processors.
2 Description
The Lucent CSP1027 is a high-precision linear voiceband ∆-Σ (delta-sigma) codec designed for cellular
handset and modem applications. The device is fabricated in low-power CMOS technology and designed for
low-voltage (3.0 V to 5.0 V) digital systems. The
CSP1027 is packaged in a 44-pin EIAJ quad flat pack
(QFP) or a 48-pin EIAJ thin quad flat pack (TQFP). In
the 48-pin TQFP, the CSP1027 occupies a total volume
of 0.0784 cm3.
The CSP1027 has a variety of significant programmable features not found in standard voice band codecs.
The analog interface includes a microphone preamplifier with programmable gain settings, an output amplifier with gain programmable in 3 dB steps over a 45 dB
range, and a regulated microphone power supply. An
inactive mode allows a low-power standby state, and a
mute function provides suppression of the analog output. On-chip antialiasing and anti-imaging filtering
includes a selectable high-pass filter. The CSP1027
meets ITU-T G.712 voice band specifications.
The programmable features of the CSP1027 are set by
writing four on-chip control registers through the serial
I/O interface. The codec’s digital input/output uses a
linear 16-bit two’s complement data format that is also
transferred through the serial I/O interface. The
CSP1027 interfaces easily to the 16-bit serial ports of
digital signal processors and other devices. The serial
interface supports the Lucent fixed-point DSP family
serial multiprocessor mode. This allows up to eight
compatible devices, including two CSP1027s, to interface to each other on a common 4-wire bus using a
time-division-multiplexing scheme.
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
Table of Contents
Contents
Page
1
2
3
4
Features ...................................................................................................................................................... 1
Description .................................................................................................................................................. 1
Pin Information ........................................................................................................................................... 3
Architectural Information ............................................................................................................................ 5
4.1
Overview........................................................................................................................................... 6
4.2
Description of Signal Paths............................................................................................................... 6
4.3
Programmable Features ................................................................................................................. 13
4.4
Power-On Reset ............................................................................................................................. 14
4.5
Clock Generation ............................................................................................................................ 16
4.6
Serial I/O Configurations................................................................................................................. 20
5 Register Information.................................................................................................................................. 26
5.1
Codec I/O Control 0 (cioc0) Register ............................................................................................. 26
5.2
Codec I/O Control 1 (cioc1) Register ............................................................................................. 27
5.3
Codec I/O Control 2 (cioc2) Register ............................................................................................. 28
5.4
Codec I/O Control 3 (cioc3) Register ............................................................................................. 29
6 Signal Descriptions ................................................................................................................................... 30
6.1
Clock Interface................................................................................................................................ 30
6.2
Reset Interface ............................................................................................................................... 31
6.3
Serial I/O Interface.......................................................................................................................... 31
6.4
External Gain Control Interface ...................................................................................................... 32
6.5
Digital Power and Ground............................................................................................................... 32
6.6
Analog Interface.............................................................................................................................. 32
6.7
Analog Power and Ground ............................................................................................................. 32
7 Application Information ............................................................................................................................. 33
7.1
Analog Information.......................................................................................................................... 33
7.2
Power Supply Configuration ........................................................................................................... 36
7.3
The Need for Fully Synchronous Operation ................................................................................... 36
7.4
Crystal Oscillator............................................................................................................................. 38
7.5
Programmable Clock Generation ................................................................................................... 45
8 Device Characteristics .............................................................................................................................. 47
8.1
Absolute Maximum Ratings ............................................................................................................ 47
8.2
Handling Precautions...................................................................................................................... 47
8.3
Recommended Operating Conditions............................................................................................. 47
9 Electrical Characteristics and Requirements ............................................................................................ 48
9.1
Power Dissipation ........................................................................................................................... 50
10 Analog Characteristics and Requirements................................................................................................ 51
10.1 Analog Input and Microphone Regulator ........................................................................................ 51
10.2 Analog-to-Digital Path..................................................................................................................... 52
10.3 Digital-to-Analog Path..................................................................................................................... 53
10.4 Miscellaneous ................................................................................................................................. 54
11 Timing Characteristics and Requirements ................................................................................................ 55
11.1 Clock Generation ............................................................................................................................ 56
11.2 Power-On Reset ............................................................................................................................. 57
11.3 Reset .............................................................................................................................................. 58
11.4 Serial I/O Communication .............................................................................................................. 59
11.5 Serial Multiprocessor Communication ............................................................................................ 61
12 Outline Diagrams ...................................................................................................................................... 62
12.1 44-Pin EIAJ Quad Flat Pack (QFP) ................................................................................................ 62
12.2 48-Pin EIAJ Thin Quad Flat Pack (TQFP) ...................................................................................... 63
2
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
VDDA
AUXIN
REFC
MICIN
VSSA
AOUTP
RES
AOUTN
VDDA
VREG
VSSA
44
43
42
41
40
39
38
37
36
35
34
3 Pin Information
RES
1
33
EIGS
RES
2
32
SMODE2
RES
3
31
PORCAP
SMODE1
4
30
PORB
SMODE0
5
29
RSTB
CPS1027-J
44-PIN QFP
20
21
22
VDD
SYNC
IOCK
DO
CKO1
19
RES
23
DI
24
11
18
10
SADD
RES
17
RES
16
25
VSS
9
CKO2
RES
15
RES
XOSCEN
26
14
RES
8
XHI
27
RES
13
RES
XLO
28
7
12
6
RES
CLK
RES
5-7567 (F)
VDDA
AUXIN
REFC
MICIN
VSSA
AOUTP
RES
AOUTN
VDDA
VREG
VSSA
RES
48
47
46
45
44
43
42
41
40
39
38
37
Figure 1. 44-Pin EIAJ Quad Flat Pack (QFP) Pin Diagram
RES
1
36
EIGS
RES
2
35
SMODE2
RES
3
34
PORCAP
SMODE1
4
33
PORB
SMODE0
5
32
RSTB
RES
6
31
RES
RES
7
30
RES
RES
8
29
RES
RES
9
28
RES
RES
10
27
RES
RES
11
26
RES
CKO1
12
25
IOCK
13
14
15
16
17
18
19
20
21
22
23
24
CLK
XLO
XHI
XOSCEN
CKO2
VSS
SADD
DI
DO
VDD
RES
SYNC
CSP1027-S
48-PIN TQFP
5-7568 (F)
Figure 2. 48-Pin EIAJ Thin Quad Flat Pack (TQFP) Pin Diagram
Lucent Technologies Inc.
3
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
3 Pin Information (continued)
Functional descriptions of the pins are found in Section 6 on page 30.
Table 1. Pin Descriptions
QFP Pin TQFP Pin
1, 2, 3
1, 2, 3
4
4
5
5
6, 7, 8,
6, 7, 8,
9, 10
9, 10, 11
11
12
12
13
13
14
14
15
15
16
16
17
17
18
18
19
19
20
20
21
21
22
—
23
22
24
23
25
24, 25,
26, 27, 28,
26, 27, 28 29, 30, 31
29
32
30
33
31
34
32
35
33
36
—
37
34
38
35
39
36
40
37
41
38
42
39
43
40
44
41
45
42
46
43
47
44
48
*
†
‡
§
**
4
Symbol Type
RES
NC* Reserved.
SMODE1
I
Serial Mode Select 1.
SMODE0
I
Serial Mode Select 0.
RES
NC* Reserved.
Name/Function
CKO1
CLK
XLO
XHI
XOSCEN
CKO2
VSS
SADD
DI
DO
VDD
RES
SYNC
IOCK
RES
O
I
I
O
I
O
P
I/O†
I
O†
P
NC*
I/O†
I‡
NC*
Clock Output 1.
Clock Input.
Crystal Input.
Crystal Output.
Crystal Oscillator Enable.
Clock Output 2.
Digital Ground.
Serial Address.
Serial Input Data.
Serial Output Data.
Digital Power Supply.
Reserved.
Serial Input/Output Load Strobe and Synchronization.
Serial Clock.
Reserved.
RSTB
PORB
PORCAP
SMODE2
EIGS
RES
VSSA
VREG
VDDA
AOUTN
RES
AOUTP
VSSA
MICIN
REFC
AUXIN
VDDA
I
O
I§
I
I**
NC*
P
A
P
A
NC*
A
P
A
A
A
P
Reset.
Power-On Reset Output.
External Capacitor Connection for Power-On Reset.
Serial Mode Select 2.
External Input Gain Select.
Reserved.
Analog Ground.
Regulated Output Voltage for Electrect Condenser Microphone.
Analog 5.0 V Power Supply.
Inverting Analog Output of Output Amplifier.
Reserved.
Noninverting Analog Output of Output Amplifier.
Analog Ground.
Analog Input for Microphone.
External Capacitor Connection for Internal Voltage Regulator.
Analog Input from Auxiliary.
Analog 5.0 V Power Supply.
Indicates no connection.
Indicates 3-state output.
Indicates pull-up device on input.
Indicates pull-up resistor on input.
Indicates pull-down device on input.
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information
1 MHz OVERSAMPLING CLOCK
TEST
cioc0
IOCK
SYNC
SADD
SMODE2
SMODE1
SMODE0
8 kHz
1/125
SIO
CONTROL
HPFE
cioc3
STATUS
EIGS
MIC
AUX
A/D INPUT
BLOCK
INSEL
cioc0
AOUTP
AOUTN
ANALOG
LOW-PASS
FILTER
(35 kHz)
OUTPUT
AMP
A/D
M
U
X
SYNC-CUBIC
DIGITAL
DECIMATION
FILTER
7th-ORDER
IIR
LOW-PASS
FILTER
3rd-ORDER
IIR
HIGH-PASS
FILTER
IRSEL
cioc0
D/A
M
U
X
DIGITAL
MODULATOR
AND GAIN
ADJUST
DITHER
cioc3
SAMPLE/HOLD
AND 7th-ORDER
IIR
LOW-PASS
FILTER
OGSEL
cioc0
M
U
X
3rd-ORDER
IIR
HIGH-PASS
FILTER
HPFE
cioc3
CDIV0 (cioc1), CDIV1 (cioc1),
CDIV2 (cioc0), CDIV3 (cioc2),
CDIF0 (cioc2), CDIF1 (cioc3),
CDIF2 (cioc3)
M
U
T
E
c
i
o
c
3
XOSCEN
CLOCK
GENERATION
O
S
R
M
U
X
DO
MUTE
cioc0
TEST
cioc0
CLK
XLO
XHI
CKO1
CKO2
C
D
X
(A/D)
M
U
X
C
D
X
(A/D)
c
i
o
c
2
c
i
o
c
1
I
S
R
DI
c
i
o
c
0
INTERNAL RESET
1 MHz OVERSAMPLING CLOCK
PORCAP
PORB
RSTB
VREG
(3.0 V)
REFC
POWER-ON
RESET
TSTPOR
cioc3
ON-CHIP
VOLTAGE
REFERENCE
CIRCUITS
5-7559 (F)
Figure 3. CSP1027 Block Diagram
Lucent Technologies Inc.
5
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
4 Architectural Information (continued)
4.2.2 Analog-to-Digital Path
4.1 Overview
The analog-to-digital (A/D) conversion signal path (see
Figure 3 on page 5) begins with the analog input driving
the input block. The signal from the input block is then
encoded by a second-order ∆-Σ modulator A/D. The
bulk of the antialiasing filtering is done in the digital
domain in two stages following the ∆-Σ modulator to
give a 16-bit result. The blocks will next be covered in
more detail.
The CSP1027 is a complete analog-to-digital and digital-to-analog acquisition and conversion system (see
Figure 3 on page 5) that band limits and encodes analog input signals into 16-bit PCM, and takes 16-bit PCM
inputs and reconstructs and filters the resultant analog
output signal. The selectable A/D input circuits, programmable sample rates, and digital filter options allow
the user to optimize the codec configuration for either
speech coding or voice band data communications.
The on-chip digital filters meet the ITU-T G.712 voice
band frequency response and signal to distortion plus
noise specifications and are suitable for IS-54, GSM,
and JDC digital cellular applications. In addition, the
small supply current drain, when powered down,
extends battery life in mobile communication applications.
The CSP1027 is intended for both voice band voice and
data communication systems. As a result, this codec
has a variety of features not found in standard voice
band codecs:
■
3.0 V regulated power supply for a condenser microphone.
■
Microphone preamplifier with programmable input
ranges.
■
Mute control of D/A output.
■
Programmable output gain in 3 dB increments.
■
Output speaker driver.
■
Programmable master clock divider to set A/D and
D/A conversion rate.
■
Testability loopback mode.
■
High-quality dither scheme to eliminate idle channel
tones.
4.2 Description of Signal Paths
4.2.1 Sampling Frequency
The oversampling ratio of the codec is 125:1; this is the
ratio of the frequency of the oversampling clock to the
frequency of the sampling clock. Most speech applications specify a sampling frequency of 8 kHz, yielding an
oversampling frequency of 8 kHz x 125 = 1.0 MHz. The
codec will operate at sampling frequencies up to
24 kHz, with the frequency response of the digital filters
being changed proportionally. For this architectural
description, the sampling frequency, fS, is assumed to
be 8 kHz, with an oversampling frequency, fOS, of
1 MHz, unless otherwise stated.
6
4.2.3 Analog Input Block
The A/D input block operates in two modes: when the
external input gain select (EIGS) pin is low or left
unconnected, the input goes through a preamplifier and
is band limited by a second-order 30 kHz low-pass antialiasing filter (see Figure 4 on page 7). When EIGS is
high, external resistors, Rin and Rfb, are used to set the
gain of an inverting amplifier (see Figure 5 on page 7).
These resistors, in combination with Cin and Cfb, create a bandpass antialiasing filter. Note that EIGS is a
digital pin whose input levels are relative to digital
power and ground (VDD and VSS).
4.2.4 A/D Modulator and Digital Filters
A second-order ∆-Σ modulator quantizes the analog
signal to 1 bit (see Figure 3 on page 5). At the same
time, the resulting quantization noise is shaped such
that most of this noise lies outside of the baseband.
The modulator output is then digitally low-pass filtered
to remove the out-of-band quantization noise. After this
filtering, the output samples are decimated down to the
output sampling frequency. In the CSP1027, the filtering and decimation are completed in two stages. The
first-stage low-pass filter shapes the modulator output
according to the sinc-cubic transfer function:
1 ( 1 – z – 25 )
H ( z ) = ------ × ------------------------25 ( 1 – z – 1 )
3
The output sampling frequency of the sinc-cubic filter is
reduced by a factor of 25 from 1 MHz to 40 kHz. The
sinc-cubic filter places nulls in the frequency response
at multiples of 40 kHz, and removes most of the quantization noise above 20 kHz so that very little energy is
aliased as a result of the decimation.
The sinc-cubic filter output is then processed by a
seventh-order IIR digital low-pass filter. This filter
removes the out-of-band quantization noise between
3.4 kHz and 20 kHz, compensates for the passband
droop caused by the sinc-cubic decimator, and decimates the sampling frequency by a factor of five from
40 kHz to 8 kHz.
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information (continued)
Following the low-pass filtering and decimation to 8 kHz, the 16-bit two's complement PCM can go directly to the
output register, cdx(A/D), or go to a third-order IIR digital high-pass filter and then to the output register. The –3 dB
corner frequency of the high-pass filter is approximately 270 Hz. This filter exceeds the VSELP preprocessing
requirements of IS-54 for attenuation of 60 Hz and 120 Hz signals. The high-pass filter is selected by writing the
HPFE field in the cioc3 register (see Table 10 on page 29). The default value upon reset is the high-pass filter
enabled (HPFE = 0).
Cin
Rin
MICIN
Vin1
+
Cin
Vin2
PREAMPLIFIER
AND AA-FILTER
Rin
AUXIN
–
A/D
AND
FILTERS
EXTERNAL
COMPONENTS
5-7592 (F)
Figure 4. CSP1027 A/D Path When in the Preamplifier Mode (EIGS = 0)
AUXIN
INTERNAL
SIGNAL GND
Cfb
Rfb
–
Cin
+
Rin
MICIN
EXTERNAL
COMPONENTS
+
INTERNAL
SIGNAL GND
–
A/D
AND
FILTERS
5-7593 (F)
Figure 5. CSP1027 A/D Path in the External Gain Select Mode (EIGS = 1)
4.2.5 A/D Path Frequency Response
The composite digital filters (decimator, LPF, and HPF)
meet the ITU-T G.712 voice band frequency response
specifications and are suitable for IS-54, JDC, and
GSM digital cellular applications. Figures 6 through 9
show the A/D and D/A frequency response without the
optional high-pass filter (HPF). Figures 10 and 11 show
the group delay characteristics of the A/D and D/A without the high-pass filter. Figures 12 and 13 show the frequency response of the high-pass filter. Figures 14 and
15 show the group delay characteristics of the highpass filter. In all figures, the frequency is normalized to
the sampling frequency fS (i.e., frequency/fS). To get the
actual frequency, multiply the normalized frequency by
fS. The absolute delay and delay distortion have been
normalized to the sampling period 1/fS (i.e., delay x fS).
Lucent Technologies Inc.
To obtain the actual delay, divide the normalized delay
by fS. The templates shown in Figures 7 through 9,
11 through 13, and 15 correspond to the limits in the
ITU-T G.712 specification where fS = 8.0 kHz.
4.2.6 PCM Saturation Versus Analog Input Levels
16-bit two's complement saturation is employed to prevent wraparound during input overload conditions. The
saturation is hard-limiting:
0x7fff = maximum positive level
0x8000 = minimum negative level
The analog levels that correspond to the saturation levels for the three input modes are outlined in Table 14 on
page 51.
7
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
4 Architectural Information (continued)
20
LOG MAGNITUDE (dB)
0
–20
–40
–60
–80
–100
–120
0.0 0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5 5.0
FREQUENCY (fs = 1)
5-7594 (F)
Figure 6. A/D or D/A Path Frequency Response Over 5.0 f S Bandwidth (HPF Disabled)
10
LOG MAGNITUDE (dB)
0
–10
–20
–30
–40
–50
–60
–70
–80
0.0
0.5
1.0
1.5
2.0
2.5
FREQUENCY (fs = 1)
5-7595 (F)
Figure 7. A/D or D/A Path Frequency Response Over 2.5 f S Bandwidth (HPF Disabled)
8
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information (continued)
10
LOG MAGNITUDE (dB)
0
–10
–20
–30
–40
–50
–60
–70
–80
0.0 0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9 1.0
FREQUENCY (fs = 1)
5-7596 (F)
Figure 8. A/D or D/A Path Frequency Response Over fS Bandwidth (HPF Disabled)
1.0
LOG MAGNITUDE (dB)
0.8
0.6
0.4
0.2
0.0
–0.2
–0.4
–0.6
–0.8
–1.0
0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50
FREQUENCY (fs = 1)
5-7597 (F)
Figure 9. A/D or D/A Path Frequency Response Over 0.5 fS Bandwidth (HPF Disabled)
Lucent Technologies Inc.
9
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
ABSOLUTE DELAY (# OF SAMPLES)
4 Architectural Information (continued)
8
7
6
5
4
3
2
1
0
0.0 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50
FREQUENCY (fs = 1)
5-7598 (F)
DELAY DISTORTION (# OF SAMPLES)
Figure 10. A/D or D/A Path Absolute Group Delay (HPF Disabled)
8
7
6
5
4
3
2
1
0
0.0 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50
FREQUENCY (fs = 1)
5-7599 (F)
Figure 11. A/D or D/A Path Group Delay Distortion (HPF Disabled)
10
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information (continued)
10
LOG MAGNITUDE (dB)
0
–10
–20
–30
–40
–50
–60
–70
–80
10–4
10–3
10–2
10–1
100
FREQUENCY (fs = 1)
5-7600 (F)
Figure 12. A/D or D/A Path Frequency Response Over fS Bandwidth (HPF Enabled)
1.0
LOG MAGNITUDE (dB)
0.8
0.6
0.4
0.2
0.0
–0.2
–0.4
–0.6
–0.8
–1.0
0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50
FREQUENCY (fs = 1)
5-7601 (F)
Figure 13. A/D or D/A Path Frequency Response Over 0.5 fS Bandwidth (HPF Enabled)
Lucent Technologies Inc.
11
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
ABSOLUTE DELAY (# OF SAMPLES)
4 Architectural Information (continued)
25
20
15
10
5
0
0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50
FREQUENCY (fs = 1)
5-7602 (F)
DELAY DISTORTION (# OF SAMPLES)
Figure 14. A/D or D/A Path Absolute Group Delay (HPF Enabled)
8
7
6
5
4
3
2
1
0
0.0 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50
FREQUENCY (fs = 1)
5-7603 (F)
Figure 15. A/D or D/A Path Group Delay Distortion (HPF Enabled)
12
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information (continued)
4.3 Programmable Features
4.2.7 Digital-to-Analog Path
4.3.1 Active/Inactive Modes
Starting at the bottom right of Figure 3 on page 5, the
∆-Σ D/A conversion process begins with a 16-bit two's
complement PCM signal read from the DI serial input.
The PCM is interpolated up to 1 MHz in two stages and
low-pass filtered at each stage to attenuate 8 kHz
images.
The CSP1027 has active and inactive modes of operation which are selected by the ACTIVE field in the
cioc0 register (see Table 7 on page 26). The default
value upon reset and powerup is ACTIVE = 0 (i.e.,
inactive). In the inactive mode, the codec clocks are
disabled, data transfers by the codec are disabled, and
analog bias currents are shut off. This state is useful in
battery-powered applications when prolonged periods
of inactivity are expected. It takes approximately
600 ms for the codec to reach full steady-state performance in going from inactive to active. This is primarily
due to the charging of the large external capacitors,
CREF and CREG. However, the codec is functionally
useful after 100 ms.
The PCM input is latched into the cdx(D/A) register at
a nominal word rate of 8 kHz. The signal is then optionally high-pass filtered. This filter has the same transfer
function as the A/D high-pass filter.
A digital sample-and-hold increases the word rate by a
factor of 5 from 8 kHz to 40 kHz. The seventh-order IIR
digital low-pass filter then removes the spectral images
between 4 kHz and 20 kHz and predistorts the passband to compensate for the filtering done during the
interpolation up to the 1 MHz word rate. The transfer
function of this low-pass filter is the same as the one
employed in the A/D converter.
The output of the low-pass filter feeds a programmable
gain adjustment block that serves as a volume control.
The gain can be changed in 3 dB increments from
0 dB to –45 dB. The attenuation level is set by writing
the OGSEL field in the cioc0 register (see Table 7 on
page 26).
The digital modulator block further increases the word
rate by a factor of 25 from 40 kHz to 1 MHz. Through
quantization and noise shaping, the digital ∆-Σ modulator creates 1-bit output words at 1 MHz.
The modulator 1-bit output drives a structure combining
a 1-bit D/A converter and a second-order switchedcapacitor filter having a cutoff frequency of 8 kHz
(based on a 1 MHz clock). This is all shown as the D/A
block in Figure 3 on page 5.
4.3.2 Input Select
When the A/D preamplifier is selected (EIGS = 0), the
INSEL field of cioc0 (see Table 7 on page 26) switches
the preamp input between the MICIN and AUXIN
inputs. When external gain select is used (EIGS = 1),
the INSEL field has no effect.
4.3.3 A/D Input Ranges
When the preamplifier is used (EIGS = 0), the IRSEL
field of the cioc0 register (see Table 7 on page 26)
selects the 500 mVp range when IRSEL = 0 and the
160 mVp range when IRSEL = 1. IRSEL has no effect
when the external gain select mode is used (EIGS = 1).
When EIGS = 1, the inverting amplifier of Figure 5 on
page 7 replaces the preamplifier. The input range in
this mode is the following:
Rin
- × 1.578 Vp
VFULL-SCALE = --------Rfb
This is followed by a second-order active Chebychev filter having a cutoff frequency of 35 kHz.
4.3.4 Output Mute Function
The passband ripple of the analog filters is small
enough such that they have virtually no effect on the
passband response.
The D/A converter output can be selectively muted with
the MUTE field in the cioc0 register (see Table 7 on
page 26). The default value upon reset is muted
(MUTE = 0). The mute function is implemented (Figure
3 on page 5) internally by a MUX following the D/A
input. Placing the mute function here causes the signal
at the analog output to gradually decay/rise over
approximately 1 ms upon muting/unmuting. This effect
is due to the impulse response and group delay of the
digital filters. This implementation will reduce any
potentially undesirable transient effects such as pops,
when the D/A is muted.
The output amplifier buffers the analog filter output.
The frequency responses of the A/D and D/A paths are
essentially the same. See Figures 6 through 15 for the
magnitude and delay responses versus frequency.
Lucent Technologies Inc.
13
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information (continued)
4.3.5 Output Gains
The D/A converter output can be programmed in 3 dB
increments with the OGSEL field in the cioc0 register
(see Table 7 on page 26) to serve as a volume control.
4.3.6 Loopback Mode
The codec has a programmable loopback mode, represented by the TEST field in the cioc0 register, (see
Table 7 on page 26). As shown in Figure 3 on page 5,
when TEST = 0, the codec is in its normal mode of
operation. When TEST = 1, the loopback mode is activated. In loopback mode, the 1-bit PDM output signal
from the analog modulator is received by the analog
demodulator. At the same time, the 1-bit signal output
from the digital modulator is received by the sinc-cubic
filter in the A/D. This results in the analog input being
looped back to the analog output through the A/D and
D/A, and the digital input being looped back to the digital output through the digital filters. The loopback mode
can be useful for evaluating analog performance of the
codec in the target system without going through the
digital filters. This mode is also useful for evaluating the
response of the digital filters or in evaluating the read/
write functions of the codec and cdx registers without
having to provide an analog input to the A/D.
4.3.7 High-Pass Filter Select
The high-pass filter in the A/D and D/A can be enabled
or disabled with the HPFE field in the cioc3 register
(see Table 10 on page 29).
4.3.8 Dither
A dithering scheme is employed in the CSP1027 which
decorrelates the periodic quantization noise of the D/A
modulator to make it white noise.
∆-Σ converters are popular due to their high tolerance
to component mismatch present in integrated circuit
fabrication processes. However, ∆-Σ converters may
suffer from periodic noise and spurious tone generation
(in-band and out-of-band) due to the coarse quantization and feedback of the ∆-Σ modulator. Although this
periodic noise may exist at very low levels (for example,
at about –90 dBm), it may be very objectionable to the
listener while having virtually no impact on the resolution of the converter. The CSP1027 D/A uses a robust
dithering scheme which eliminates any potential problems due to this phenomenon.
14
Data Sheet
December 1999
The DITHER field in the cioc3 register (see Table 10
on page 29) disables this feature. The default value
upon reset is DITHER = 0 (i.e., enabled). When the
DITHER is disabled, the signal-to-noise ratio will generally be about 2 dB higher. The DITHER should be
enabled if the CSP1027 is used in an audio application,
i.e., where this device interfaces to an audio transducer. If the CSP1027 is used in an application other
than audio, such as data communications, the DITHER
can be disabled if so desired.
4.4 Power-On Reset
4.4.1 Internal
The CSP1027 has a power-on reset circuit that is
ORed internally with the inversion of the reset pin,
RSTB, to form the internal reset (see Figure 16 on
page 15). The power-on reset circuit’s inverted output
is also an output pin, PORB. The PORB can be used to
provide power-on reset to the system.
The power-on reset circuit is composed of two pulsegenerating elements, its output being the OR of the
two. One element is entirely internal and generates a
power-on pulse of 1.5 ms to 7.0 ms. The second element is composed of an input pin, PORCAP, a resistor
connected between PORCAP and VDD, and an inverting input buffer. The user selects the capacitor value to
connect between PORCAP and ground that will generate a power-on pulse of desired width. The pin
PORCAP allows the user to lengthen the power-on
reset pulse to a width greater than the internal poweron element provides. The nominal value of the resistor
is 155 kΩ, and the threshold of the inverting input buffer
is 0.6 x VDD. The formula that relates the power-on
reset pulse delay to the PORCAP capacitor is as follows:
TD = –R x C x loge (1 – 0.6)
TD = 0.9163 x R x C
Hence, to generate a 14.2 ms power-on reset pulse,
one would use a 0.1 µF capacitor connected between
PORCAP and VSS.
An internal power-on pulse can be initiated after poweron by writing a one to the TSTPOR field in the cioc3
register (see Table 10 on page 29). This causes the
internal power-on pulse of 1.5 ms to 7.0 ms to be generated. The pulse resets the device and appears on the
PORB output pin.
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information (continued)
VDD
PORCAP
R
C
TSTPOR
EXTERNAL
COMPONENT
PORB
POWER-ON
PULSE
GENERATOR
INTERNAL
RESET
RSTB
5-7604 (F)
Figure 16. Power-On Reset Diagram
CDIFS, CDIF0,
CDIF1, CDIF2,
CDIV3
CKOS
ADJMOD,
ADJ
XOSCEN
÷F1
÷125
CKS
XLO
XHI
ENABLE
OSCILLATOR
CLK
÷CDIV0
ICLK0
1
M
U
X
÷CDIV1
ICLK
CKO1
0
÷CDIV2
CKO2
5-7560 (F)
Figure 17. Clock Generation
Lucent Technologies Inc.
15
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information (continued)
4.5 Clock Generation
Figure 17 on page 15 shows the clock generation and
distribution for the CSP1027. The programmable dividers can customize the codec sample and master clock
rates for a variety of applications in addition to standard
8 kHz sampling, while allowing a range of values for
the crystal-controlled input clock. In Figure 17 on page
15, XOSCEN is a chip input to enable the crystal oscillator circuit. XLO and XHI are the two leads for the
crystal. CLK is the chip clock input if the crystal is not
used. CKS is the internal codec sample clock, typically
8 kHz. CKOS is the internal codec oversampled clock,
typically 1 MHz. CKO1 and CKO2 are general-purpose
clocks brought out to chip pins. CDIV1 and CDIV2 are
programmable dividers with a range from 1 to 31.
CDIV0 is programmed to be 1 or 2, but extra clock
pulses can be added or subtracted at the output for one
period of time following a write to the control register
cioc1. This one-time increase or decrease in the number of clocks is programmed by ADJMOD and ADJ and
causes a phase shift in the CKO1 and CKS output. F1
is an integral or a fractional divider controlled by the
five programmable coefficients shown connected to it.
With the fractional divide, the period of CKOS will vary,
but the period of CKS will be constant.
The following discussion begins with the crystal oscillator and is followed by a detailed description of each
divisor block. Section 7.5 on page 45 provides some
examples of how to program the clocks.
4.5.1 Crystal Oscillator
The CSP1027 has a selectable on-chip clock oscillator.
A logic 1 on the XOSCEN pin enables the crystal oscillator. A logic 0 disables the oscillator, powers it down,
and selects the input buffer connected to the CLK pin.
To use the oscillator, select a 20 MHz to 30 MHz fundamental-mode crystal with a series resistance less than
60 Ω and a mutual capacitance less than 7.0 pF. Connect the crystal between the XLO and XHI pins, and
add 10 pF capacitors between XLO and ground, and
XHI and ground. The XOSCEN pin enables and disables the crystal oscillator. See the application information on optimizing the oscillator performance.
16
Data Sheet
December 1999
4.5.2 Clock Divider 2
ICLK
CKO2
÷CDIV2
5-7589 (F)
Figure 18. Clock Divider 2
The CDIV2 field in cioc0 (see Table 7 on page 26) sets
the clock divider that generates the output clock,
CKO2. The clock output is a general-purpose clock that
can be used to clock external logic or processors.
CDIV2 ranges from 1 to 31, with 0 holding the output
low. RSTB going low sets CDIV2 to ÷16. CKO2 is
active while RSTB is low and synchronized by RSTB
going high.
4.5.3 Clock Divider 0
ADJMOD,
ADJ
ICLK
÷CDIV0
ICLK0
5-7588 (F)
Figure 19. Clock Divider 0
The CDIV0 field in cioc1 (see Table 8 on page 27) sets
the clock divider that generates the internal clock 0
(ICLK0) to either divide by one or divide by two. The
ADJMOD and ADJ fields in cioc1 are used to adjust
the phase of ICLK0 by increasing or decreasing the
rate of ICLK0 for a burst of pulses, one time only. This
event occurs each time control register cioc1 is written
with nonzero values of ADJ. For example, let CDIV0 be
set to ÷2, ADJ to seven, and ADJMOD to one
(advance). After this word is written to the cioc1 register, seven ICLK0 pulses will occur at the same rate as
ICLK, not divided by two. These seven clock pulses
shift the phase of CKOS, CKS, and CKO1 earlier, thus
advancing these clocks. If ADJMOD is set to zero
(retard), the ÷2 becomes a ÷3 for seven pulses of
ICLK0. The CDIV0 clock divider is temporarily changed
internally so that it divides by one greater, to retard the
clocks, or one less, to advance the clocks, for the specified number of ICLK0 cycles. Note that the CDIV0
clock divider must be set to divide by two in order to
advance and retard the clocks. If CDIV0 clock divider is
set to divide by 1, one can only retard the clocks.
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information (continued)
The CSP1027 solves this problem in a unique way, by
providing a programmable, fractional divider, F1.
CDIV0 has values of 1 or 2, ADJMOD is 0 or 1, and
ADJMOD ranges from 1 to 127, with 0 selecting no
clock adjust. RSTB going low sets CDIV0 to ÷2. ICLK0
is active while RSTB is low and synchronized by RSTB
going high.
F1 is the programmable ratio between ICLK0 and
CKOS. The equation for F1 is:
where 3 ≤ M ≤ 64, 0 ≤ N ≤ 62, and S = {1, –1};
4.5.4 Clock Divider 1
ICLK0
÷CDIV1
or M = 2, 0 ≤ N ≤ 62, and S = 1;
or M = 1, N = 0, and S = 1.
CKO1
5-7587 (F)
Figure 20. Clock Divider 1
The CDIV1 field in cioc1 (see Table 8 on page 27) sets
a clock divider that generates the CKO1 output clock.
This general-purpose clock output can be used for
clocking another codec in the system, such as the
CSP1084. The ability to phase adjust the output clock
and the codec sampling clock simultaneously is an
important feature. CDIV1 ranges from 1 to 31, with 0
disabling the output. RSTB going low sets CDIV1
to ÷16. CKO1 is active while RSTB is low and synchronized by RSTB going high.
4.5.5 Sampling Clocks Generation
CDIFS, CDIF0, DSIF1,
CDIF2, CDIV3
CKOS
ICLK0
÷F1
N
F1 = M +  S × ----------

125
CKS
÷125
5-7586 (F)
Figure 21. Sampling Clocks Generation
M is encoded by CDIV3 (see Table 3 on page 18), N is
encoded by CDIF0, CDIF1, and CDIF2 (see Table 5 on
page 19), and S is encoded by CDIFS (see Table 4 on
page 18).
CKS is generated by dividing CKOS by 125. The frequency of CKS can be described by:
N
f S = f OS ÷ 125 = f ICLK 0 ÷  M + S × ---------- ÷ 125

125
Note that when N = 0, ICLK0 is simply divided by the
integer M to create the oversampling clock, CKOS. This
is the preferred method for generating the sampling
clock. If N ≠ 0, the fractional division results in an oversampling clock, CKOS, whose period varies with time
such that the average period is the desired fraction.
This variation in the oversampling clock period is minimized by the clock generator but can cause distortion
in the codec. Because the denominator of the fraction
is fixed at 125, the period of the sampling clock, CKS,
will be an integer multiple of the period of the internal
clock, ICLK0, and will not vary. This is more clearly
shown by the following equation:
f ICLK 0
---------------- = ( 125 × M ) + ( S × N )
fS
The expanded equation below explains what is happening in the time domain:
1
M
(M + S)
----- = ( 125 – N ) × ---------------- + N × -------------------f ICLK 0
f ICLK 0
fS
1
- , there are (125 – N)
During each sampling period, ----
The oversampling codec clock CKOS, typically 1 MHz,
is used in the front sections of the A/D and the back
sections of the D/A. The lower-frequency codec clock,
CKS, typically 8 kHz, is the sample clock at the output
of the A/D and the input to the D/A. The sampling clock
frequency, fS, is the oversampling clock frequency, fOS,
divided by 125 (the fixed oversampling ratio). The
divide by 125 must remain fixed, since it is constrained
by the architecture of the codec digital filters. Many systems, however, have fixed high-frequency clocks and
fixed sampling clocks, so it is necessary to have a great
deal of flexibility in the creation of the codec clock CKS.
Lucent Technologies Inc.
fS
M
oversampling clock cycles of period ---------------and N
f ICLK 0
M + S)
- . The N
oversampling clock cycles of period (------------------f ICLK 0
oversampling clock cycles are evenly distributed
among the (125 – N) oversampling clock cycles to minimize the distortion due to oversampling clock cycles of
differing period. The values for CDIF[0—2] in Table 5
on page 19 have been selected to achieve the even
distribution.
17
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
4 Architectural Information (continued)
The procedure for selecting M, S, and N is illustrated in Section 7.5 on page 45. The ranges for the programmable
dividers are summarized in Table 2.
Table 2. Programmable Divider Summary
Clock Ratio
Variable Name
ICLK/ICLK0
CDIV0
ICLK0/CKOS
ICLK0/CKS
N
M ± ---------125
125M ± N
Range of Values
Encoding
1, 2
0, 1
1, 2 to 64.496
See Tables 3
through 5.
125, 250 to 8062
See Tables 3
through 5.
ICLK/CKO2
CDIV2
ICLK0/CKO1
CDIV1
Off, 1 to 31
0 to 31
Off, 1 to 31
0 to 31
Table 3. CDIV3 Value for Each M
M
1
2
.
.
62
63
64
CDIV3
00 0001
00 0010
.
.
11 1110
11 1111
00 0000
Table 4. CDIFS Value for Each S
S
+1
–1
18
CDIFS
0
1
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information (continued)
Table 5. CDIF0, CDIF1, CDIF2 Values for Each N
N
0
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
29
30
31
CDIF0
00 0000
11 1111
11 1101
10 1001
01 1111
01 1001
01 0101
01 0010
00 1111
00 1110
00 1100
00 1011
00 1010
00 1001
00 1001
00 1000
00 1000
00 0111
00 0111
00 0110
00 0110
00 0110
00 0101
00 0101
00 0101
00 0101
00 0101
00 0100
00 0100
00 0100
00 0100
00 0100
Lucent Technologies Inc.
CDIF1
00 0000
00 0000
00 0010
00 0010
00 0000
00 0000
10 0110
10 0100
00 0010
10 0101
00 0010
00 0010
00 0010
00 0010
10 0111
00 0011
10 0100
00 0011
10 1001
00 0010
00 0011
10 1011
00 0010
00 0010
00 0100
00 0000
10 0100
00 0010
00 0010
00 0011
00 0101
00 0000
CDIF2
0 0000
0 0000
0 0000
0 0000
0 0000
0 0000
0 0000
0 0000
0 0000
0 0000
0 0000
0 0010
0 0010
1 0010
0 0010
0 0000
0 0010
0 0000
0 0010
1 0011
0 0010
0 0000
1 0010
0 0010
0 0010
0 0000
0 0010
1 0011
0 0011
0 0000
0 0010
0 0000
N
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
CDIF0
00 0100
00 0100
00 0011
00 0011
00 0011
00 0011
00 0011
00 0011
00 0011
00 0011
00 0011
00 0011
00 0011
00 0011
00 0011
00 0010
00 0010
00 0010
00 0010
00 0010
00 0010
00 0010
00 0010
00 0010
00 0010
00 0010
00 0010
00 0010
00 0010
00 0010
00 0010
CDIF1
10 1000
10 0100
00 0010
00 0010
00 0010
00 0011
00 0011
00 0100
00 0111
00 1110
11 0110
10 1001
10 0110
10 0100
10 0011
00 0010
00 0010
00 0010
00 0010
00 0010
00 0010
00 0011
00 0011
00 0011
00 0100
00 0101
00 0110
00 0111
00 1010
00 1111
00 0000
CDIF2
0 0010
0 0010
1 0010
1 0100
0 0100
1 0010
0 0010
0 0010
0 0000
0 0000
0 0000
0 0000
0 0000
0 0010
0 0010
1 0010
1 0011
1 0101
0 0000
0 0011
0 0010
1 0011
0 0011
0 0010
0 0010
0 0000
0 0000
0 0010
0 0010
0 0010
0 0000
19
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information (continued)
4.6 Serial I/O Configurations
Data Sheet
December 1999
The serial interface is a subset of the standard Lucent
DSP serial I/O and is comprised of eight pins:
■
A single passive serial input/output clock (IOCK).
4.6.1 Codec Data Transfer
■
A combined input load, output load, and synchronization (SYNC).
When the codec is active, ACTIVE = 1 (see Table 7 on
page 26), it loads data into the cdx(A/D) and empties
data from the cdx(D/A) register (see Figure 3 on page
5) at the sampling frequency, fS (which is 8 kHz based
on a 1 MHz oversampling frequency). The codec data
transfers occur independent of the serial input/output
data transfers described below. The data is double
buffered, allowing the codec to transfer data to or from
the cdx while the serial I/O is shifting data into or out of
the shift registers (isr and osr). When the codec is set
to inactive, ACTIVE = 0, there are no codec data transfers to the cdx(A/D) or from the cdx(D/A).
■
Serial data input (DI).
■
Serial data output (DO).
■
Serial address (SADD).
■
Three serial mode select pins (SMODE[2:0]).
The internal STATUS flag is set high when cdx(A/D) is
loaded and cdx(D/A) is emptied. Loading data from the
cdx(A/D) into the output shift register (osr) or loading
data from the input shift register (isr) into the cdx(D/A)
due to a serial I/O transaction, clears the internal STATUS flag. The internal STATUS flag can be observed
on the data output (DO) pin in the passive mode and
causes data transfers in the active and multiprocessor
modes.
The CSP1027's serial I/O is different from the standard
Lucent serial I/O in a number of ways:
■
The SMODE[1:0] pins configure the serial I/O port
into one of four possible ways: a passive SIO configuration, an active SIO configuration, and two multiprocessor SIO configurations.
■
A fixed most significant bit (MSB) first data format.
■
A fixed 16-bit data mode.
■
The serial address (SADD) is an input during the
passive and active SIO configurations to select
between data and control SIO transfers. It is
intended to be connected to the DSP’s SADD pin,
which is an output during passive and active SIO.
Note that the DSP's SADD output is inverted and is
composed of two 8-bit fields that are shifted out least
significant bit (LSB) first.
■
The multiprocessor mode time slots and serial
addresses are restricted to two sets, one of which is
selected based on the state of SMODE0.
■
The SMODE2 pin should always be tied low for the
serial I/O port to operate as described.
■
The frequency of the serial I/O interface clock input
IOCK (FIOCK) must be greater than the frequency of
the internal oversampling clock (FIOCK).
4.6.2 Codec Control Writes
The four control registers are written through the serial
port. The serial address (SADD) selects between control and data transfers. Bits 15 and 14 of the control
word being transferred select which control register,
cioc0, cioc1, cioc2, or cioc3, is written (i.e., cioc0:
Bit[15:14] = 00, cioc1: Bit[15:14] = 01, etc.).
4.6.3 Serial I/O Port Overview
The CSP1027 serial I/O unit is an asynchronous, fullduplex, double-buffered channel operating at up to
20 Mbits/s that easily interfaces with other Lucent fixedpoint DSPs (i.e., DSP16A and DSP1610/1616/1617/
1618) in a single or multiple DSP environment. Commercially available codecs and time-division multiplexed (TDM) channels can be interfaced to the
CSP1027 device with little, if any, external logic.
20
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information (continued)
SMODE0
SMODE1
SMODE2
OLD
ILD
DO
DI
ICK
OCK
SADD
DSP
SYNC
SADD
IOCK
DO
DI
CSP1027
D/A DATA
A/D DATA
CLOCK
CONTROL/DATA ADDRESS
INPUT/OUTPUT LOAD
5-7590 (F)
Figure 22. Passive Communication and Connections
4.6.4 Passive I/O Configuration (SMODE[1:0] = 00)
The passive SIO configuration allows the user maximum flexibility in interfacing the CSP1027 to a variety
of system hardware configurations. It requires that the
user supply a serial input/output clock (IOCK) and perform data transfers at the sampling rate, f S. Serial data
transfers can be made to occur at the sampling rate by
applying a clock that is synchronous with the codec
clock, ICLK, to the SYNC pin or by polling the codec
STATUS flag, which indicates that the cdx(A/D) register is full and the cdx(D/A) register is empty. The STATUS flag appears on DO when the SADD pin selects a
control word.
Passive SIO is selected by setting both SMODE1 and
SMODE0 low. The input/output clock (IOCK) is an input
and the common input/output load, SYNC, (equivalent
to a DSP16A's ILD and OLD tied together) is also an
input. Serial data input (DI) is an input and serial data
output, DO, is an output. The serial address (SADD) is
an input, which determines if the transfer is to the control registers, cioc[0:3], or the data register, cdx(D/A).
A high-to-low transition of SYNC pin signal, latched by
the next rising edge of IOCK, initiates the start of an
input and output transaction. If the CSP1027's output
Lucent Technologies Inc.
buffer, cdx(A/D), is full, it will be loaded into the output
shift register (osr) and shifted out on the DO pin. The
CSP1027 shifts in the data from the DI pin into its input
shift register (isr). A serial transmit address on the
SADD line is received simultaneously with data on the
DI line. If SADD is high for the first 15 bits, corresponding to a zero serial transmit address, this causes the isr
to be latched into cdx(D/A) after 16 bits have been
shifted in. If SADD is low for any of the first 15 bits, corresponding to a nonzero transmit address, this causes
the isr to be latched into cioc[0:3] and also changes
the output data stream on DO to display the internal
codec STATUS flag. If SADD is low for any clock cycle,
while not involved in a serial transaction, the codec
STATUS flag is displayed on the DO pin until the next
data transfer.
An example of the passive SIO configuration is shown
in Figure 22. The DSP supplies both the serial clock
(IOCK) and the sampling synchronization signal to
SYNC, or polls the internal codec STATUS flag to
determine when a data transmission is needed. This
configuration allows the user maximum flexibility in
interfacing the CSP1027 to a variety of other system
hardware configurations.
21
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
4 Architectural Information (continued)
VDD
SMODE0
SMODE1
SMODE2
OLD
ILD
DO
DI
ICK
OCK
SADD
DSP
SYNC
SADD
IOCK
DO
DI
CSP1027
D/A DATA
A/D DATA
CLOCK
CONTROL/DATA ADDRESS
INPUT/OUTPUT LOAD
5-7591 (F)
Figure 23. Active Communication and Connections
4.6.5 Active I/O Configuration (SMODE[1:0] = 01)
The active SIO configuration causes the CSP1027 to
generate an active input/output load (SYNC) to perform
input/output transmissions when needed. The user
supplies only a serial input/output clock (IOCK).
The active SIO is selected by setting SMODE1 low and
SMODE0 high. The input/output clock (IOCK) is an
input and the input/output load (SYNC) is an output.
While the codec is inactive, ACTIVE = 0 (see Table 7
on page 26), SYNC generates serial I/O transfers at an
IOCK ÷ 16 rate to allow loading the codec control registers, cioc[0:3]. While the codec is active, ACTIVE = 1
(see Table 7 on page 26), SYNC generates serial I/O
transfers at the sampling rate, synchronized to the
codec's emptying of the cdx(D/A) and loading of the
cdx(A/D). The serial address (SADD) functions as
described previously for the passive SIO configuration,
but with the SYNC pin being active and determining
22
data transfers, the need for polling the codec STATUS
flag is eliminated. The serial address during the data
stream still is used to determine whether data in the
input shift register is latched into cdx(D/A) or cioc[0:3]
at the end of the transaction. Note that cioc0, with
ACTIVE = 1, should be written last since this will
change the rate of serial I/O transfers from IOCK ÷ 16
to the sampling rate.
An example of the active SIO configuration is shown in
Figure 23. The DSP supplies the serial clock (IOCK)
while the CSP1027 supplies the input/output load,
SYNC. The serial address (SADD) is connected so that
writing the DSP's srta register addresses the cdx(D/A)
when srta = 0x0, or the cioc0, cioc1, cioc2, cioc3
when srta = 0x1. The DSP can activate the codec by
writing the cioc0 register in the CSP1027, and then letting its input buffer full flag (IBF) indicate when the
CSP1027 has transferred data. This is the preferred
interface for a single DSP and a CSP1027.
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information (continued)
VDD
SYNC
SADD
DO
DI
ICK
OCK
DEV7
(DSP1616)
SYNC
DO
DI
ICK
OCK
SADD
DEV1
(DSP1610)
SYNC
SADD
IOCK
DO
DI
SMODE1
SMODE0
SMODE2
DEV0
(CSP1027)
DATA
CK
ADD
SYN
5-4181 (F).C
Figure 24. Multiprocessor Communication and Connections
4.6.6 Multiprocessor Configuration (SMODE[1:0] = 1X)
The CSP1027 serial I/O supports a multiprocessor mode
that allows multiple devices to be connected together to
provide data transmission between any of the individual
devices. This mode requires no external hardware and
uses a time-division multiplex (TDM) interface with eight
time slots per frame.
Figure 24 shows an example of a multiprocessor system
with multiple DSPs and a CSP1027. The following pins
are connected together to form a four-wire bus:
■
DI and DO from the CSP1027s and DSPs form a data
line referred to as DATA.
■
IOCK from the CSP1027s and ICK and OCK from the
DSPs form a clock line referred to as CK.
■
SADD from the CSP1027s and DSPs form an address
line referred to as ADD.
■
SYNC from the CSP1027s and DSPs form a synchronization line referred to as SYN.
Figure 25 on page 25 shows the time-slot allocation timing used in multiprocessor mode. One frame is defined
as the time between SYN high-to-low transitions. Each
frame is divided into eight time slots of 16 bits each. A
Lucent Technologies Inc.
high-to-low transition of SYN defines the beginning of
time slot 0 and also resynchronizes any devices which
are operating on the multiprocessor bus with SYN as an
input. Note that the DSP device which drives the multiprocessor bus during time slot 0 also drives the SYN line.
Each CSP1027 sends data in a time slot determined by
its SMODE0 pin. Each DSP sends data in a time slot or
time slots determined by its tdms register. Only one
device can be assigned a particular time slot, and each
of the eight time slots must be assigned to a device (note
that one device can be assigned more than one time
slot). These requirements must be met by the user's
choice of CSP1027’s SMODE0 connections and the
DSP’s tdms register contents. A CSP1027 is assigned to
time slot 2 if SMODE0 is low or to time slot 5 if SMODE0
is high. This allows up to two CSP1027s to be placed on
a multiprocessor bus.
The DSP input/output format can be configured to either
most significant bit (MSB) first or least significant bit
(LSB) first. The CSP1027 only supports MSB first format;
hence, the DSPs connected on a multiprocessor bus
must be using MSB first data format, configured in the
sioc register, when transferring and receiving data and
control words with the CSP1027.
23
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information (continued)
During each time slot (see Figure 26 on page 25), the
device that is assigned to that time slot drives the ADD
and DATA lines. If the assigned device's output buffer is
full, it loads its output shift register and shifts the 16 bits
of data, MSB first, out DO onto the DATA line. The 8-bit
transmit address is inverted and shifted out, LSB first,
onto the ADD line at the same time as the first 8 bits of
data. The inverted 8-bit protocol information is then
shifted out, LSB first, on the ADD line at the same time
as the last 8 bits of data. The CSP1027’s transmit
address, AT[7:0], is determined by the SMODE0 pin
(see Table 6 on page 25). The DSP’s transmit address
is determined by the srta register. The CSP1027’s protocol information is always all zeros, which is inverted
to appear as all ones on the ADD line. The DSP’s protocol information is determined by the saddx register. If
during a time slot the assigned device's output buffer is
empty, then zeros are shifted out on the DATA line and
zeros are shifted and inverted to become ones on the
ADD line.
During each time slot, each device receives the data on
the DATA line and inverts and receives the address and
protocol information on the ADD line. Each device
compares the transmitted 8-bit address with its receive
address. If the transmitted address and the device's
receive address have at least one occurrence of a one
in the same bit location, the address matches and the
device transfers the data from the input shift register to
its input buffer. If the transmitted address and the
receive address do not match, the data remains in the
input shift register and is overwritten during the next
time slot. The DSP's receive address is determined by
its srta register. Each CSP1027 has two receive
addresses, one for data and another for control, the
values of these two addresses are determined by the
SMODE0 pin (see Table 7 on page 26). When the data
receive address matches, the input shift register is
24
Data Sheet
December 1999
loaded into the cdx(D/A) register. When the control
receive address matches, the input shift register is
loaded into one of the four cioc registers, based upon
the two most significant bits of the 16-bit word. The
CSP1027 ignores the protocol information.
Multiprocessor communication with a CSP1027 is
intended to follow the sequence:
■
The DSP writes the control registers, cioc[0:3], in the
CSP1027 to configure the clock dividers and codec.
The codec is also activated.
■
The CSP1027’s A/D fills the output buffer, cdx(A/D),
and empties the input buffer, cdx(D/A), at the same
time. This causes the A/D data to be transmitted by
the CSP1027 to the DSP during the next CSP1027
time slot. The DSP’s receive address is set to match
the CSP1027’s transmit address.
■
When the DSP receives A/D data from the CSP1027,
it responds by sending D/A data to the CSP1027 during the DSP’s next time slot. The DSP’s transmit
address is set to match the CSP1027’s data receive
address. The new data is loaded into the CSP1027’s
cdx(D/A) register to be used as the next D/A sample.
■
If the DSP wants to send a control word to the
CSP1027 to change the configuration or inactivate
the codec, this can be done by setting the DSP's
transmit address to match the codec's control
receive address.
Note that since the CSP1027 sends all zeros for the
protocol information, this will have to be used to identify
the A/D data from the CSP1027. If two CSP1027s are
connected to the multiprocessor bus and the DSP's
receive address is set to match both CSP1027's transmit addresses, the DSP will have to identify which A/D
data came from which CSP1027 by the order in which
the data arrives, since both CSP1027s will be sending
the same protocol information.
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
4 Architectural Information (continued)
TIME
0
SLOT
1
2
3
4
5
6
7
0
CK
SYN
DATA
D[15:0]
D[15:0]
D[15:0]
D[15:0]
D[15:0]
D[15:0]
D[15:0]
D[15:0]
D[15:0]
ADD
A[15:0]
A[15:0]
A[15:0]
A[15:0]
A[15:0]
A[15:0]
A[15:0]
A[15:0]
A[15:0]
5-4185 (F).a
Figure 25. Multiprocessor Frame Timing
Table 6. Hardwired CSP1027 Multiprocessor Time Slot and Addresses
SMODE0 = 0
2
0000 0100
0000 1000
0001 0000
Transmit Time Slot
Data, cdx(A/D), Transmit Address [7:0]
Data, cdx(D/A), Receive Address [7:0]
Control, cioc[0:3], Receive Address [7:0]
SMODE0 = 1
5
0010 0000
0100 0000
1000 0000
CK
SYN
DATA
D15 D14
D0 D15 D14
ADD
AD0
AD7 AS0
AS7
AD0
5-7605 (F)
Figure 26. Multiprocessor Time-Slot Timing
Lucent Technologies Inc.
25
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
5 Register Information
Tables 7 through 10 describe the programmable registers of the CSP1027 device.
5.1 Codec I/O Control 0 (cioc0) Register
Table 7. Codec I/O Control 0 (cioc0) Register
Bit
Field
15—14
Reg
Field
Reg
TEST
ACTIVE
OGSEL
MUTE
IRSEL
INSEL
CDIV2
13
TEST
Value
00
0*
1
0*
1
1111
1110
1101
.
.
.
0001
0000*
0*
1
0*
1
0*
1
0 0000
0 0001
0 0010
.
.
.
1 0000*
.
.
.
1 1110
1 1111
12
ACTIVE
11—8
OGSEL
7
MUTE
6
IRSEL
5
INSEL
4—0
CDIV2
Description
Indicates control register 0.
Normal operation.
Testability mode—analog and digital loopback.
Codec set to inactive mode (i.e., powerdown).
Codec set to active mode.
Output gain adjustment of 0 dB.
Output gain adjustment of –3 dB.
Output gain adjustment of –6 dB.
.
.
.
Output gain adjustment of –42 dB.
Output gain adjustment of –45 dB.
Output signal muted.
Output signal not muted.
Microphone preamplifier input range: 500 mVp.
Microphone preamplifier input range: 160 mVp.
Select microphone input, MICIN.
Select auxiliary input, AUXIN.
Output clock 2, CKO2, disabled.
Output clock 2, CKO2 = ICLK ÷ 1.
Output clock 2, CKO2 = ICLK ÷ 2.
.
.
.
Output clock 2, CKO2 = ICLK ÷ 16.
.
.
.
Output clock 2, CKO2 = ICLK ÷ 30.
Output clock 2, CKO2 = ICLK ÷ 31.
* Value upon reset.
26
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
5 Register Information (continued)
5.2 Codec I/O Control 1 (cioc1) Register
Table 8. Codec I/O Control 1 (cioc1) Register
Bit
Field
15—14
Reg
Field
Reg
ADJMOD
ADJ
CDIV0
CDIV1
Value
01
0*
1
000 0000*
000 0001
000 0010
.
.
.
111 1110
111 1111
0
1*
0 0000
0 0001
0 0010
.
.
.
1 0000*
.
.
.
1 1110
1 1111
13
ADJMOD
12—6
ADJ[6:0]
5
CDIV0
4—0
CDIV1
Description
Indicates control register 0.
Select retard mode for internal clock, ICLK0, adjustment.
Select advance mode for internal clock, ICLK0, adjustment.
Internal clock, ICLK0, not adjusted.
Internal clock, ICLK0, adjusted by one ICLK cycle for one ICLK0 cycle.
Internal clock, ICLK0, adjusted by one ICLK cycle for two ICLK0 cycles.
.
.
.
Internal clock, ICLK0, adjusted by one ICLK cycle for 126 ICLK0 cycles.
Internal clock, ICLK0, adjusted by one ICLK cycle for 127 ICLK0 cycles.
Internal clock, ICLK0 = ICLK ÷ 1.
Internal clock, ICLK0 = ICLK ÷ 2.
Output clock 1, CKO1, disabled.
Output clock 1, CKO1 = ICLK0 ÷ 1.
Output clock 1, CKO1 = ICLK0 ÷ 2.
.
.
.
Output clock 1, CKO1 = ICLK0 ÷ 16.
.
.
.
Output clock 1, CKO1 = ICLK0 ÷ 30.
Output clock 1, CKO1 = ICLK0 ÷ 31.
* Value upon reset.
Lucent Technologies Inc.
27
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
5 Register Information (continued)
5.3 Codec I/O Control 2 (cioc2) Register
Table 9. Codec I/O Control 2 (cioc2) Register
Bit
Field
Field
Reg
Reserved
CDIFS
CDIF0
CDIV3
15—14
Reg
13
Reserved
12
CDIFS
11—6
CDIF0
5—0
CDIV3
Value
10
0*
0*
Description
Indicates control register 0.
Reserved, always write 0.
Sampling rate, CKS = ICLK0 ÷ (CDIV3 x 125).
Sampling rate, CKS = ICLK0 ÷ 256. (Note: CDIV3 must be set to 2.)
1
Sampling rate, CKS = ICLK0 ÷ 1458. (Note: CDIV3 must be set to 12.)
W
Sampling rate, CKS = ICLK0 ÷ (125 x M + S x N). See Section 4.5 on page 16.
00 0000*
Sampling rate, CKS = ICLK0 ÷ (CDIV3 x 125).
01 0101
Sampling rate, CKS = ICLK0 ÷ 256. (Note: CDIV3 must be set to 2.)
00 0011
Sampling rate, CKS = ICLK0 ÷ 1458. (Note: CDIV3 must be set to 12.)
WW WWWW Sampling rate, CKS = ICLK0 ÷ (125 x M + S x N). See Section 4.5 on page 16.
00 0001
Oversampling clock, CKOS = ICLK0 ÷ 1.
00 0010
Oversampling clock, CKOS = ICLK0 ÷ 2.
.
.
.
.
.
.
11 1111
Oversampling clock, CKOS = ICLK0 ÷ 63.
00 0000*
Oversampling clock, CKOS = ICLK0 ÷ 64.
WW WWWW Sampling rate, CKS = ICLK0 ÷ (125 x M + S x N). See Section 4.5 on page 16.
* Value upon reset.
28
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
5 Register Information (continued)
5.4 Codec I/O Control 3 (cioc3) Register
Table 10. Codec I/O Control 3 (cioc3) Register
Bit
Field
15—14
Reg
Field
Reg
TSTPOR
HPFE
DITHER
CDIF2
CDIF1
Value
11
0*
1
0*
1
0*
1
0 0000*
0 0000
0 0000
W WWWW
00 0000*
10 0110
11 0110
WW WWWW
13
TSTPOR
12
HPFE
11
DITHER
10—6
CDIF2
5—0
CDIF1
Description
Indicates control register 0.
Normal operation.
Test on-chip power-on reset pulse generator.
Enable high-pass filter in A/D and D/A.
Disable high-pass filter in A/D and D/A.
Enable dither on D/A converter.
Disable dither on D/A converter.
Sampling rate, CKS = ICLK0 ÷ (CDIV3 x 125).
Sampling rate, CKS = ICLK0 ÷ 256. (Note: CDIV3 must be set to 2.)
Sampling rate, CKS = ICLK0 ÷ 1458. (Note: CDIV3 must be set to 12.)
Sampling rate, CKS = ICLK0 ÷ (125 x M + S x N). See Section 4.5 on page 16.
Sampling rate, CKS = ICLK0 ÷ (CDIV3 x 125).
Sampling rate, CKS = ICLK0 ÷ 256. (Note: CDIV3 must be set to 2.)
Sampling rate, CKS = ICLK0 ÷ 1458. (Note: CDIV3 must be set to 12.)
Sampling rate, CKS = ICLK0 ÷ (125 x M + S x N). See Section 4.5 on page 16.
* Value upon reset.
Lucent Technologies Inc.
29
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
6 Signal Descriptions
CLOCK
INTERFACE
CLK
XOSCEN
XLO
XHI
CKO1
CKO2
RESET
INTERFACE
RSTB
PORCAP
PORB
SERIAL
INTERFACE
IOCK
SYNC
DI
DO
SADD
SMODE0
SMODE1
SMODE2
EXTERNAL
GAIN SELECT
INTERFACE
MICIN
AUXIN
VREG
AOUTP
AOUTN
CSP1027
ANALOG
INTERFACE
REFC
EIGS
5-7606 (F)
Figure 27. CSP1027 Pinout by Interface
Figure 27 shows the pinout by interface for the
CSP1027. The signals can be separated into five interfaces as shown. These interfaces and the signals that
comprise them are described below.
6.1.2 XLO
Crystal Input: The crystal for CSP1027 voice band
codec is connected between XLO and XHI. When the
crystal is not being used, this pin is to be left floating
and the CMOS clock applied to CLK.
6.1 Clock Interface
6.1.3 XHI
The clock interface consists of the clock input, crystal
oscillator, and clock outputs for the codec.
6.1.1 CLK
Clock Input: The input clock for the CSP1027 when
the XOSCEN is a logic low. Codec operation restricts
CLK to integer frequencies from 1 MHz to 40 MHz or
specific multiples of 8 kHz. When XOSCEN is tied to
logic high, the CLK input is not selected but should be
tied low or high to minimize input buffer power.
Crystal Output: The crystal for CSP1027 handset
codec is connected between XLO and XHI. When the
crystal is not being used, this pin is to be left floating
and the CMOS clock applied to CLK.
6.1.4 XOSCEN
Crystal Oscillator Enable: When a logic high, the
crystal oscillator is selected for XLO and XHI pins.
When a logic low, the input buffer is selected for CLK
pin and the crystal oscillator is powered down.
Note: The XOSCEN pin does not have a pull-up or
pull-down device. Make sure that it is tied to VDD,
tied to VSS, or driven by valid logic levels.
30
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
6 Signal Descriptions (continued)
6.3.2 SMODE1
6.1.5 CKO1
Serial Mode 1: Configures the CSP1027 serial I/O
interface to multiprocessor mode when active-high; otherwise, active/passive mode is selected when low.
Clock Out 1: ICLK ÷ CDIV1 (see Table 8 on page 27).
General-purpose output clock that can be used by a
baseband codec, such as the CSP1084.
6.1.6 CKO2
Clock Out 2: CLK ÷ CDIV2 (see Table 7 on page 26).
General-purpose output clock that can be used by a
processor, such as the DSP1616.
6.2 Reset Interface
The reset interface consists of the reset input, poweron reset input, and power-on reset output for the codec.
6.2.1 RSTB
Reset: A high-to-low transition causes entry into the
reset state. The cioc[0:3] register bits are set to their
default states.
6.2.2 PORB
Power-On Reset: A high-to-low transition indicates
entry into the power-on reset state.
6.2.3 PORCAP
Power-On Reset Capacitor: A capacitor is to be
attached to this pin for the power-on reset circuit. PORCAP has an internal resistor (nominal value of 155 kΩ)
connected to digital power, VDD.
6.3.3 SMODE2
Serial Mode 2: Must be tied low to configure the
CSP1027 serial I/O interface as described.
6.3.4 DI
Serial Data Input: Serial data input is latched on rising
edge of IOCK, MSB first. DI and DO should be connected together when in multiprocessor mode.
6.3.5 DO
Serial Data Output: Serial data output from the output
shift register (osr), MSB first, when the data register,
cdx(A/D), is selected or codec status flag when the
control registers, cioc[0:3], are selected. When an output, DO changes on the rising edges of IOCK. DI and
DO should be connected together when in multiprocessor mode, SMODE1 high.
6.3.6 IOCK
Serial Input/Output Clock: Input clock for serial PCM
input and output data.
Note: The frequency of the serial I/O interface clock
input IOCK (FIOCK) must be greater than the frequency of the internal oversampling clock CKOS
(FCKOS).
6.3.7 SYNC
6.3 Serial I/O Interface
The serial I/O interface consists of the serial clock
input, synchronizing signal, data input, data output,
serial address, and serial modes for the codec.
6.3.1 SMODE 0
Serial Mode 0: Configures the CSP1027 serial I/O
interface. When in active/passive mode (SMODE1 low),
SYNC is an output when SMODE0 is high, and SYNC
is an input when SMODE0 is low. In multiprocessor
mode (SMODE1 high), SMODE0 selects between two
possible time slots, and between two possible transmit
and receive address combinations. See Table 6 on
page 25 in the architectural information for the
addresses.
Lucent Technologies Inc.
Serial Input/Output Load Strobe and Sync: When
not in multiprocessor mode, the falling edge of SYNC
indicates the beginning of a serial input and a serial
output word. The falling edge of SYNC loads the output
shift register (osr) from the codec data register
(cdx(A/D)). Sixteen IOCK clock cycles after the falling
edge of SYNC, the codec data (cdx(D/A)) or control
register (cioc) is loaded from the input shift register
(isr). SYNC is an input when the SMODE0 pin is low
and an output when the SMODE0 pin is high.
In multiprocessor mode, SYNC is the multiprocessor
synchronization input signal. A falling edge of SYNC
indicates the first word of a TDM I/O stream and
causes the resynchronization of the internal input and
output load generators.
31
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
6 Signal Descriptions (continued)
6.6.1 MICIN
6.3.8 SADD
Analog Input from Microphone: Low-level analog signal from electret condenser microphone selected by
INSEL bit in codec control register, cioc0 (see Table 7
on page 26).
Serial Address: When not in multiprocessor mode,
SADD is an input that selects between the codec data
registers, cdx(D/A) and cdx(A/D), and codec control
registers, cioc[0:3]. SADD is inverted and latched on the
rising edge of IOCK and compared against a zero for
data and a one for control, to determine if input data on
DI is loaded from the input shift register (isr) into
cdx(D/A) or one of cioc[0:3]. Once SADD indicates a
control word, the internal codec status flag appears on
DO, replacing cdx(A/D). While not performing a serial
transmission, SADD low causes the internal codec status flag to be output on DO.
In multiprocessor mode, SADD is an output when the
tdms time slot dictates a serial output transmission; otherwise, it is an input. While an output, SADD is the
inverted 8-bit serial transmit address output, LSB first.
SADD changes on the rising edges of IOCK. While an
input, SADD is inverted and latched on the rising edge
of IOCK and compared against the cdx(D/A) and
cioc[0:3] serial receive addresses to determine if input
data on DI is loaded from the input shift register (isr) into
cdx(D/A) or cioc.
6.6.2 AUXIN
Analog Input from Auxiliary: When used in preamplifier mode (EIGS = 0), AUXIN is a low-level analog signal
selected by INSEL bit in codec control register, cioc0
(see Table 7 on page 26). The characteristics of AUXIN
are identical to MICIN.
When used in external gain select mode (EIGS = 1),
AUXIN is the output of the inverting amplifier. The INSEL
bit has no effect in this mode.
6.6.3 AOUTP
Noninverting Analog Output: In conjunction with
AOUTN, this output can drive a 2 kΩ load in differential
mode or a 1 kΩ load ac-coupled to analog ground.
6.6.4 AOUTN
6.4 External Gain Control Interface
Inverting Analog Output: In conjunction with AOUTP,
this output can drive a 2 kΩ load in differential mode or a
1 kΩ load ac-coupled to ground.
The external gain control interface consists of one input.
6.6.5 VREG
6.4.1 EIGS
Regulated Output Voltage: For electret condenser
microphone. Vout = 3 V ± 10%, Iout = 250 µA max. A
1 µF and 0.1 µF ceramic type X7R capacitor to ground
must be provided at this pin (see Figure 28 on page 34).
External Input Gain Select: A logic low or no connect
selects the microphone preamplifier. A logic high selects
the single op amp input mode where external resistors
set the A/D input range. Note that EIGS is a digital pin
whose input levels are relative to digital power and
ground (VDD and VSS).
6.6.6 REFC
External Capacitor Connection: Internal voltage regulator bypassing. A 0.22 µF ceramic type X7R capacitor
to ground must be provided at this pin.
6.5 Digital Power and Ground
VDD
Digital Power Supply: 3.0 V to 5.0 V supply.
VSS
Digital Ground: 0 V.
6.7 Analog Power and Ground
VDDA
Analog Power Supply: 5.0 V supply.
VSSA
6.6 Analog Interface
Analog Ground: 0 V.
The analog interface consists of the two inputs, two outputs, a regulated output voltage reference, and a capacitor connection for the codec.
32
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
7 Application Information
3. The A/D input sampling switches have an effective
bandwidth on the order of 15 MHz. The amplifier
unity gain frequency is on the order of 3 MHz. Highfrequency noise in the 1 MHz to 50 MHz range that
couples to the AUXIN pin will be somewhat attenuated by the amplifier output impedance, but a significant portion will be sampled by the A/D and aliased
down to the baseband. Special care in circuit board
layout is required to keep noise sources from coupling into the AUXIN or MICIN pins so that the noise
and distortion performance shown in Table 16 on
page 52 can be achieved.
This section begins with application information for the
analog section, followed by power distribution, crystal
oscillator, and codec clock generation programming
examples.
7.1 Analog Information
The A/D input block is covered first, followed by the
D/A, and the microphone voltage regulator.
7.1.1 A/D in the Preamplifier Mode
Figure 28 on page 34 shows a typical telephone handset application. The codec is shown with the preamp
mode (EIGS = VSS) selected and connected to a microphone. The analog-to-digital conversion path begins
with an on-chip preamplifier front end having two
single-ended inputs. The preamp inputs are MICIN and
AUXIN. Selection of MICIN or AUXIN is made via the
INSEL field in the cioc0 register (see Table 8 on page
27) and can be dynamically changed, as desired. The
electrical specifications for both inputs are the same.
An off-chip ac-coupling capacitor, Cin, is required
before each input. However, if either input is unused, it
may be left unconnected (floating). The input resistance (Rin) to either MICIN or AUXIN is approximately
40 kΩ . The recommended value of Cin is 0.15 µF. This
creates a high-pass filter pole at approximately 26 Hz.
A larger capacitor value may be used if desired, in
order to allow lower frequencies to pass to the A/D converter, but smaller capacitor values are not recommended.
7.1.2 A/D in the External Input Gain Select Mode
The external input gain select (EIGS = VDD) is used
when the input range is set by the user (see Section
4.3 on page 13). The A/D input circuitry of Figure 28 on
page 34 is modified as shown in Figure 5 on page 7.
When EIGS = VDD, the following notes apply.
1. The recommended range of values for the feedback
resistor and capacitor are the following:
10 kΩ ≤ Rfb ≤ 45 kΩ and 150 pF ≤ Cfb ≤ 680 pF.
Rfb
2. The --------Rin external resistor ratio accuracy directly
impacts the absolute accuracy of the A/D path. A 1%
ratio error adds 86 mdB of absolute gain error.
Lucent Technologies Inc.
The codec is not as sensitive to wideband noise
when the preamplifier is used (EIGS = VSS) because
the A/D inputs are driven from an on-chip low-pass
filter.
4. The external gain mode input circuitry of Figure 5 on
page 7 is an integrator with a great deal of loss. The
frequency response of Table 16 on page 52
assumes that the Rfb × Cfb corner frequency is
25 kHz so the 3 kHz droop is less than 65 dBm. Similarly, the Cin × Rin corner frequency is set to 7 Hz.
These RC combinations create a bandpass antialiasing filter with corner frequencies given by:
1
1
f LO = --------------------------------------- f HI = --------------------------------------2π × Rin × Cin
2π × Rfb × Cfb
When selecting component values, verify that the
A/D frequency response will still meet the application
requirements.
7.1.3 D/A Analog Output
The CSP1027 D/A has two analog outputs, AOUTP
and AOUTN, capable of operating as two single-ended
drivers, or a single fully differential driver. The output
impedance of each is no more than 6 Ω (12 Ω if configured as fully differential) over the dc to 4 kHz frequency
range.
The maximum open-circuit output levels are 2.1 Vp
(4.2 Vp-p) if fully differential, and one-half of these levels if single-ended. These levels correspond to a fullscale 16-bit two's complement PCM input into the D/A
converter, with the output gain setting (OGSEL) at
0 dB. For any given PCM input, the output levels will be
reduced by a voltage division of the D/A output and the
load impedance:
RL
V OUT = V O × ---------------------RO + RL
The driver linearity is only guaranteed for the singleended output load resistance (RL) of at least 1000 Ω
and the differential output load resistance (RL) of at
least 2000 Ω .
33
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
7 Application Information (continued)
Figure 29 (A—E) on page 35 illustrates five different analog output configurations. In Figure 29A, the output load is
driven in a fully differential manner. It is assumed that the load is floating, having no path to ground. Figure 29B is
similar, but ac-coupling capacitors are used. A low-pass pole is created, whose frequency should be less than
30 Hz in order to not interfere with the voice band frequency response.
In Figure 29C—E, different variations of single-ended loads are shown. In any single-ended configuration, accoupling capacitors are required.
SHIELDING
Ro AOUTP
VREG
CREG1
(1 µF)
+
Vo
CREG2
(0.1 µF)
–
RL
Ro AOUTN
–
VSSA
Vo
Cin
(0.15 µF)
+
MICIN
CSP1027
VDD
AUXIN
MICROPHONE
+
Vin2
–
VSS
EIGS
REFC
ANALOG
GND PLANE
VSSA
VDDA
CREF
(0.22 µF)
DIGITAL
GND
PLANE
VSS
VSSA
CA1
(10 µF)
Ra
(3 Ω)
TO 5.0 V
REGULATOR
CA2
(0.1 µF)
VSSA
VSS
5-7607 (F)
Notes:
Analog (VSSA) and digital (VSS) ground pins are tied together to prevent substrate currents from ground bounce.
Capacitors CA2, CD2, CREF, CREG1, and CREG2 should be type X7R ceramic.
Capacitors CA1 and CD1 should be tantalum or low ESR aluminum.
All capacitors should be located as close to the chip pins as possible.
Keep analog and digital grounds separate, and then join at the VSSA pin.
Keep the regulator as close to the chip as possible.
The power connections are shown when the analog and digital are run from 5.0 V. When the digital is run from a 3.3 V power supply, CD1 and
CD2 go from the 3.3 V regulator to ground, and Ra goes to the 5.0 V regulator.
Figure 28. Analog External Configurations in Preamplifier Mode (EIGS = 0)
34
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
7 Application Information (continued)
Ro AOUTP
Vo
Ro AOUTP
CL
Ro
CL
Vo
RL
Ro AOUTN
Vo
RL
AOUTN
Vo
A. Fully Differential
Ro AOUTP
B. Fully Differential, with Capacitive Coupling
CL
Ro
Vo
AOUTP NC
Vo
RL
Ro
AOUTN
Ro AOUTN
NC
Vo
CL
Vo
RL
D. Single-Ended, AOUTN
C. Single-Ended, AOUTP
Ro AOUTP
CL
Ro AOUTN
CL
Vo
RL
Vo
RL
E. Dual Single-Ended
5-7608 (F)
Figure 29. Analog Output Configurations
Lucent Technologies Inc.
35
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
7 Application Information (continued)
7.2.2 Capacitor Proximity to Pins
7.1.4 Microphone Regulator
In all cases, the external capacitors should be placed
as closely as possible to the CSP1027 pins, in order to
meet the noise specifications.
VREG is a 3.0 V regulated supply that provides up to
250 µA to an external microphone or other device (see
Figure 28 on page 34). The regulator uses the external
capacitors CREG1 and CREG2 to band limit its noise
and for frequency compensation. The C REG1 off-chip
capacitor (1 µF) is required in order to meet the noise
specification of 100 µV on VREG. CREG2 (0.1 µF)
should be placed in parallel with CREG1 to improve
high-frequency noise filtering. The minimum value of
the CREG1 and CREG2 combination is 0.1 µF for VREG
to be stable. If VREG is not used, this pin should be
either connected through a 0.1 µF capacitor to analog
ground (VSSA) or tied directly to ground. Connecting
VREG to ground will produce a dc current of 250 µA to
400 µA out the VREG pin, but will not change the total
supply current. Do not leave the VREG pin unconnected
because it will oscillate.
7.2 Power Supply Configuration
Figure 28 on page 34 illustrates the recommended
configuration for the analog and digital power and
grounds.
An external supply feeds an off-chip voltage regulator.
Capacitor CD1 (10 µF) and CD2 (0.1 µF) are used for
decoupling the noise on the VDD digital power bus.
Capacitors CA1 (10 µF) and CA2 (0.1 µF) are for decoupling the noise on the analog power bus (VDDA).
The Ra resistor (3 Ω) decouples the analog and digital
power buses when a common 5.0 V power supply is
used. The analog and digital circuits share the same
substrate since this codec is a monolithic device. In the
technology used to fabricate the device, the substrate
is connected to ground. To avoid large substrate currents caused by digital ground-bounce, it is recommended that the analog and digital grounds be tied
together at the package, as shown in Figure 28 on
page 34. It is recommended that the analog and digital
ground planes also meet at this point. In a typical application where the CSP1027 is interfaced to a DSP, it is
advisable to place the DSP as close to the codec as
possible, with the DSP's digital ground plane extending
to the points where the SIO lines meet the CSP1027.
7.2.1 REFC Capacitor
An off-chip capacitor, CREF (0.22 µF), is required on pin
REFC in order to meet the noise requirements for the
internal signal paths.
36
7.3 The Need for Fully Synchronous
Operation
7.3.1 Introduction to Sampled Data Systems
The analog circuits in the A/D and D/A converters are
sampled data circuits. This means that there are
switches that close to sample the signal and then open
to hold the signal. An example of this kind of discrete
time analog circuit is the well-known switched capacitor
technique used to implement A/D and D/A converter
circuits as well as filters.
A fundamental property of any sampled data system is
that any noise or signal that is in the signal path when
the sampling switches open is sampled. The sampling
process modulates the noise and signal about multiples of the sample clock rate. For a sample rate of fS
and a noise tone at a frequency of fn, this modulation
process produces new tones at
(k x fS) ± fn,
where k = 1, 2, 3 . . . . For noise near a multiple of fS,
the difference term can modulate all the way down to
baseband and be heard as a tone.
A typical source of noise is that generated by the normal operation of the digital circuits. The digital circuits
tend to have fast edge transitions (large dv/dt and
di/dt). The dv/dt changes couple into the analog signal
path through parasitic capacitance on-chip and in the
circuit board. The di/dt changes cause voltages to be
generated across parasitic inductance and cause
ground-bounce on-chip. The ground-bounce can turn
on intrinsic parasitic diodes to the substrate of the
CSP1027, and the subsequent substrate currents can
couple the noise into the analog circuits. The di/dt transients are also inductively coupled into the off-chip
analog routing and thus added to the analog signals.
Layout techniques help reduce the dv/dt and di/dt coupling, but it is very difficult to eliminate it.
To gauge the magnitude of the problem, consider the
numbers from the CSP1027. The digital logic swing is
ground to VDD, which can be as large as 5.5 V. The
full-scale preamplifier input level (when IRSEL = 1) is
160 mVp, and the A/D path has a noise floor that is
guaranteed to be 70 dB below full scale. For the digital
noise to raise the noise floor by less than 3 dB, the
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
7 Application Information (continued)
7.3.3 The Problem with an Asynchronous Codec
Clock
noise must be less than 36 µVrms referred to the
preamplifier input. As a worst-case analysis, assume
that all the digital noise is in the baseband (noise
source of 2.5 Vrms for a 5.0 V digital signal). The attenuation (isolation) between the digital signal and the
preamplifier for this case must be
2.5 V
isolation ≈ ---------------- = 70,000:1 (97 dB)
36 µV
Usually, only a small portion of a particular digital signal
ac-couples into the signal path, but this is tempered by
having many digital signals. It is the sum of these noise
sources that must be held to less than 36 µVrms. In
audio applications, the needed isolation is actually
greater than calculated above because the human ear
can detect tones that are 10 dB below the noise floor.
7.3.2 Typical Ways Digital Noise Couples into
Analog Circuits
1. Digital signals have overshoot or undershoot
because of circuit board impedance mismatches.
These reflections can turn on internal I/O protection
diodes. The diodes then inject the noise current into
the substrate as well as the chip power rails, and the
noise is distributed throughout the chip.
2. Fine-line CMOS (like that used to fabricate the
CSP1027) generates hot electron currents when the
logic gates change state. This current is injected into
the substrate and adds to the supply current. The
substrate current can couple directly into the analog
circuits, and the supply current transients can couple
through common supply impedance and by inductive
coupling.
When the I/O and sample clocks are not derived from
the same time base, their edges will drift with time.
Even if the I/O and sample time bases use master
oscillators that are stated to be the same frequency (or
one being a multiple of the other), they will differ by
some amount from their intended values. This difference in frequency will cause the digital circuit clock
edges to slide past the analog sample clock edges in a
periodic way, causing the sampled digital noise to also
vary in the same periodic way (noise tones in the baseband).
7.3.4 The Advantage of Fully Synchronous
Operation
When all the clocks that are used in or connected to the
codec are generated from the same master time base,
the sampling switches sample in the quiet time before
the digital circuits change state, or at least sample the
same portion of the ground bounce transient. The portion of the noise that does not change from one sample
to the next will alias to the signal path as a dc offset.
The portion that is signal dependent (like a data line
coupling into the analog signal path) can show up as a
tone even though its transitions occur synchronously
with the sample clock unless care is taken to ensure
that the analog sampling switches only open during a
quiet time (usually before the digital circuits change
state).
3. Coupling off-chip, such as the package bond wires
and package pins, and coupling into the analog signals on the circuit board.
4. The classic coupling method: common power and
ground impedance.
Lucent Technologies Inc.
37
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
7 Application Information (continued)
7.4 Crystal Oscillator
If the option for using the external crystal is chosen, the following electrical characteristics and requirements apply.
7.4.1 External Components
The crystal oscillator is enabled by connecting a crystal across XLO and XHI, along with one external capacitor
from each of these pins to ground (see Figure 30). For most applications, 10 pF external capacitors are recommended; however, larger values may be necessary if precise frequency tolerance is required (see Section 7.4.5 on
page 43). The crystal should be either fundamental or overtone mode, be parallel resonant, have a power dissipation of at least 1 mW, and be specified at a load capacitance equal to the total capacitance seen by the crystal
(including external capacitors and strays). The series resistance of the crystal should be specified to be less than
half the absolute value of the negative resistance shown in Figures 31 or 32 on page 39 for the crystal frequency.
The frequency of the internal clock will be equal to the crystal frequency.
XLO
XHI
XTAL
C1
C2
5-7609 (F)
Figure 30. Fundamental Crystal Configuration
7.4.2 Power Dissipation
Figures 33 and 34 on page 40 indicate the typical power dissipation of the on-chip crystal oscillator circuit versus
frequency.
38
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
7 Application Information (continued)
0
–20
CEXT =
50 pF
–40
Re (Z) (Ω)
–60
XLO
–80
XHI
–100
CEXT =
10 pF
–120
–140
C0
CEXT =
20 pF
–160
C1
C2
–180
–200
5
10
15
20
25
30
35
40
45
Z(ω)
50
FREQUENCY (MHz)
PROC
5.0 V
3.0 V
5.0 V
3.0 V
5.0 V
3.0 V
C1 = C2 = CEXT
C0 = PARASITIC CAPACITANCE OF
CRYSTAL (7 pF MAXIMUM)
CEXT
10 pF
10 pF
20 pF
20 pF
50 pF
50 pF
5-7610 (F)
Figure 31. Negative Resistance of Crystal Oscillator Circuit, V DD = 4.75 V
0
–20
–40
CEXT =
50 pF
Re (Z) (Ω)
–60
–80
XLO
XHI
–100
CEXT =
10 pF
–120
–140
CEXT =
20 pF
–160
C0
C1
C2
–180
–200
6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40
Z(ω)
FREQUENCY (MHz)
PROC
5.0 V
3.0 V
5.0 V
3.0 V
5.0 V
3.0 V
CEXT
10 pF
10 pF
20 pF
20 pF
50 pF
50 pF
C1 = C2 = CEXT
C0 = PARASITIC CAPACITANCE OF
CRYSTAL (7 pF MAXIMUM)
5-7611 (F)
Figure 32. Negative Resistance of Crystal Oscillator Circuit, V DD = 3.0 V
Lucent Technologies Inc.
39
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
AVERAGE OSCILLATOR CURRENT (mA)
7 Application Information (continued)
7.0
6.5
6.0
5.5
5.0
C1 = C2 = 10 pF
4.5
C1 = C2 = 50 pF
4.0
3.5
3.0
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40
FREQUENCY (MHz)
5-7612 (F)
AVERAGE OSCILLATOR CURRENT (mA)
Figure 33. Typical Supply Current of Crystal Oscillator Circuit, V DD = 5.0 V, 25 °C
2.0
1.5
1.0
C1 = C2 = 10 pF
0.5
C1 = C2 = 50 pF
0.0
0
2
4
6
8
10 12 14 16 18 20 22 24 26 28 30
FREQUENCY (MHz)
5-7613 (F)
Figure 34. Typical Supply Current of Crystal Oscillator Circuit, V DD = 3.3 V, 25 °C
40
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
7 Application Information (continued)
7.4.3 Printed-Circuit Board Layout Considerations
The following guidelines should be followed when designing the printed-circuit board layout for a crystal-based
application:
1. Keep crystal and external capacitors as close to XLO and XHI pins as possible to minimize board stray capacitance.
2. Keep high-frequency digital signals such as CKO1 and CKO2 away from XLO and XHI traces to avoid coupling
into the oscillator.
7.4.4 LC Network Design for Third Overtone Crystal Circuits
For operating frequencies of greater than 30 MHz, it is usually cost advantageous to use a third overtone crystal as
opposed to a fundamental mode crystal. When using third overtone crystals, it is necessary, however, to filter out
the fundamental frequency so that the circuit will oscillate only at the third overtone. There are several techniques
that will accomplish this; one of these is described below.
Figure 35 shows the basic setup for third overtone operation.
XLO
XHI
XTAL
C1
L1
C2
C3
5-7614 (F)
Figure 35. Third Overtone Crystal Configuration
The parallel combination of L1 and C1 forms a resonant circuit with a resonant frequency between the first and third
harmonic of the crystal such that the LC network appears inductive at the fundamental frequency and capacitive at
the third harmonic. This ensures that a 360° phase shift around the oscillator loop will occur at the third overtone
frequency but not at the fundamental. The blocking capacitor, C3, provides dc isolation for the trap circuit and
should be chosen to be large compared to C1.
For example, suppose it is desired to operate with a 40 MHz, third overtone, crystal.
Let:
f3 = operating frequency of third overtone crystal (40 MHz in this example)
f1 = fundamental frequency of third overtone crystal, or f3/3 (13.3 MHz in this example)
1
fT = resonant frequency of trap = -------------------------2π L1C1
C2 = external load capacitor (10 pF in this example)
C3 = dc blocking capacitor (0.1 µF in this example)
Lucent Technologies Inc.
41
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
7 Application Information (continued)
Arbitrarily set trap resonance to geometric mean of f1 and f3. Since f1 = f3/3, the geometric mean would be:
MHz- = 23 MHz
f 3- = 40
f T = -------------------------3
3
At the third overtone frequency, f3, it is desirable to have the net impedance of the trap circuit (XT) equal to the
impedance of C2 (XC2), i.e.,
X T = X C2 = X C1||( X C3 + X L1 )
Selecting C3 so that XC3 << XL1 yields,
X T = X C2 = X C1||X L1
– jX C = ------ωC
For a capacitor,
where ω = 2πf.
X L = jωL
For an inductor,
2
Solving for C1, and realizing that L1C1 = 3/ω3 yields,
3
C 1 = --- C 2
2
Hence, for C2 = 10 pF, C1 = 15 pF. Since the impedance of the trap circuit in this example would be equal to the
impedance of a 10 pF capacitor, the negative resistance and supply current curves for C1 = C2 = 10 pF at 40 MHz
would apply to this example.
Finally, solving for the inductor value, L 1,
1
L 1 = --------------------------2 2
4π f T C 2
For the above example, L1 would be 3.2 µH.
42
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
7 Application Information (continued)
7.4.5 Frequency Accuracy Considerations
For most applications, clock frequency errors in the hundreds of parts per million (ppm) can be tolerated with no
adverse effect. However, for applications where precise frequency tolerance on the order 100 ppm is required, care
must be taken in the choice of external components (crystal and capacitors) as well as in the layout of the printedcircuit board. Several factors determine the frequency accuracy of a crystal-based oscillator circuit. Some of these
factors are determined by the properties of the crystal itself. Generally, a low-cost, standard crystal will not be sufficient for a high-accuracy application, and a custom crystal must be specified. Most crystal manufacturers provide
extensive information concerning the accuracy of their crystals, and an applications engineer from the crystal vendor should be consulted prior to specifying a crystal for a given application.
In addition to absolute, temperature, and aging tolerances of a crystal, the operating frequency of a crystal is also
determined by the total load capacitance seen by the crystal. When ordering a crystal from a vendor, it is necessary to specify a load capacitance at which the operating frequency of the crystal will be measured. Variations in
this load capacitance due to temperature and manufacturing variations will cause variations in the operating frequency of the oscillator. Figure 36 illustrates some of the sources of this variation.
XLO
CEXT
XTAL
CB
CD
CO
XHI
CEXT
CB
CD
CL
5-7615 (F)
Notes:
CEXT =
External load capacitor (one each required for XLO and XHI).
CD =
Parasitic capacitance of the CSP1027 itself.
CB =
Parasitic capacitance of the printed-wiring board.
C0 =
Parasitic capacitance of crystal (not part of CL, but still a source of frequency variation).
Figure 36. Components of Load Capacitance for Crystal Oscillator
The load capacitance, CL, must be specified to the crystal vendor. The crystal manufacturer will cut the crystal so
that the frequency of oscillation will be correct when the crystal sees this load capacitance. Note that C L refers to a
capacitance seen across the crystal leads, meaning that for the circuit shown in Figure 36, CL is the series combination of the two external capacitors (C EXT/2) plus the equivalent board and device strays (CB/2 + CD/2). For example, if 10 pF external capacitors were used and parasitic capacitance is neglected, then the crystal should be
specified for a load capacitance of 5 pF. If the load capacitance deviates from this value due to the tolerance on the
external capacitors or the presence of strays, then the frequency will also deviate.
Lucent Technologies Inc.
43
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
7 Application Information (continued)
This change in frequency as function of load capacitance is known as pullability and is expressed in units of ppm/
pF. For small deviations of a few pF, pullability can be determined by the equation below.
( C 1 ) ( 10 6 )
pullability (ppm/pF) = -------------------------------2( C0 + CL )2
where
C0 = parasitic capacitance of crystal.
C1 = motional capacitance of crystal (usually around 1 fF—25 fF, value can be obtained from
crystal vendor).
CL = total load capacitance seen by crystal.
Note that for a given crystal, the pullability can be reduced, and hence, the frequency stability improved, by making
CL as large as possible while still maintaining sufficient negative resistance to ensure start-up per the curves
shown in Figures 31 and 32 on page 39.
Since it is not possible to know the exact values of the parasitic capacitance in a crystal-based oscillator system,
the external capacitors are usually selected empirically to null out the frequency offset on a typical prototype board.
Thus, if a crystal is specified to operate with a load capacitance of 10 pF, the external capacitors would have to be
made slightly less than 20 pF each in order to account for strays. Suppose, for instance, that a crystal for which
CL = 10 pF is specified is plugged into the system and it is determined empirically that the best frequency accuracy
occurs with CEXT = 18 pF. This would mean that the equivalent board and device strays from each lead to ground
would be 2 pF.
As an example, suppose it is desired to design a 26 MHz, 3.3 V system with ±100 ppm frequency accuracy. The
parameters for a typical high-accuracy, custom, 26 MHz fundamental mode crystal are as follows:
Initial Tolerance
Temperature Tolerance
Aging Tolerance
Series Resistance
Motional Capacitance (C1)
Parasitic Capacitance (C0)
10 ppm
25 ppm
6 ppm
20 Ω max
15 pF max
7 pF max
In order to ensure oscillator start-up, the negative resistance of the oscillator with load and parasitic capacitance
must be at least twice the series resistance of the crystal, or 40 Ω . Interpolating from Figure 32 on page 39, external capacitors plus strays can be made as large as 30 pF while still achieving 40 Ω of negative resistance. Assume
for this example that external capacitors are chosen so that the total load capacitance including strays is 30 pF per
lead, or 15 pF total. Thus, a load capacitance, C L = 15 pF would be specified to the crystal manufacturer.
From the above equation, the pullability would be calculated as follows:
( C 1 ) ( 10 6 )
( 0.015 ) ( 10 6 )
pullability = ------------------------------- = ---------------------------------- = 15.5 ppm/pF
2( C0 + CL )2
2 ( 7 + 15 ) 2
If 2% external capacitors are used, the frequency deviation due to this variation is equal to
(0.02)(15 pF)(15.5 ppm/pF) = 4.7 ppm.
Note: To simplify analysis, CEXT is considered to be 30 pF. In practice, it would be slightly less than this value to
account for strays. Also, temperature and aging tolerance on the capacitors have been neglected.
Typical capacitance variation of oscillator circuit in the CSP1027 itself across process, temperature, and supply
voltage is ±1 pF. Thus, the expected frequency variation due to the CSP1027 is as follows:
(1 pF)(15.5 ppm/pF) = 15.5 ppm.
Approximate variation in parasitic capacitance of crystal = ±0.5 pF.
Frequency shift due to variation in C 0 = (0.5 pF)(15.5 ppm/pF) = 7.75 ppm.
Approximate variation in parasitic capacitance of printed-circuit board = ±1.5 pF.
Frequency shift due to variation in board capacitance = (1.5 pF)(15.5 ppm/pF) = 23.25 ppm.
44
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
7 Application Information (continued)
7.5.2 Application Example 2
Thus, the contributions to frequency variation add up
as follows:
■
IS-54 application.
■
Input clock, CLK, rate: 40 MHz (25.0 ns).
■
Codec PCM rate required: 8 kHz (oversampling
rate = 1 MHz).
Initial Tolerance of Crystal
Temperature Tolerance of Crystal
Aging Tolerance of Crystal
Load Capacitor Variation
CSP1027 Circuit Variation
C0 Variation
Board Variation
Total
10.0 ppm
25.0 ppm
6.0 ppm
4.7 ppm
15.5 ppm
7.8 ppm
23.3 ppm
92.3 ppm
This type of detailed analysis should be performed for
any crystal-based application where frequency accuracy is critical.
Solution:
■
CLK/CKOS = 40, so set CLK/ICLK0 = 1 and ICLK0/
CKOS to 40.
■
Set CDIV0 = 0 and CDIV3 = 40 (101000).
7.5.3 Application Example 3
■
Modem data pump.
■
Codec sampling frequency required = 9.6 kHz
(instead of 8 kHz).
■
Need highest possible input clock, CLK, rate (allowable by the DSP).
7.5 Programmable Clock Generation
Refer to Figure 17 on page 15 for the following discussion.
The programmable clock divider is set by writing the
6-bit CDIV3 field of the cioc2 register (see Table 9 on
page 28). The user can select an appropriate integer
value which sets the ratio of the CLK input clock to the
oversampling rate of the codec. The following examples
illustrate this feature.
7.5.1 Application Example 1
■
GSM application.
■
Input clock, CLK, rate: 26 MHz (38.46 ns).
■
Codec PCM rate required: 8 kHz (oversampling
rate = 1 MHz).
Solution:
■
CLK/CKOS = 26, so set CLK/ICLK0 = 1 and ICLK0/
CKOS to 26.
■
Set CDIV0 = 0 and CDIV3 = 26 (011010).
Lucent Technologies Inc.
Solution:
■
Codec oversampling rate = 9.6 kHz * 125 = 1.2 MHz.
■
Assuming a DSP16A or DSP1616 with
maximum rate of 40 MHz,
CLK = 39.6 MHz = 1.2 MHz x 33, so
CLK/ICLK0 = 1 and ICLK0/CKOS = 33.
■
Set CDIV0 = 0 and CDIV3 = 33 (100001).
■
Disable the high-pass filters (HPFE = 1) because the
–3 dB corner frequency is now too high
(270 Hz x 1.2 = 324 Hz).
■
Low-pass filter –3 dB corner frequency is now
4.08 kHz (= 3.4 kHz x 1.2). (Note that external DSP
software can provide additional postfiltering, if
desired.)
45
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
7 Application Information (continued)
Data Sheet
December 1999
Application Example 5
■
IS-54 application.
■
Codec sampling rate, fS: 8 kHz.
■
CLK needs to be a common multiple of 8 kHz and
48 x 48.6 kHz.
■
Need phase adjustment.
7.5.4 Enhanced Oversampling Clock Generation
If system constraints make the requirement of integer
multiples of 125 x the sampling rate (typically integer
multiples of 1.0 MHz) difficult to provide, the CSP1027
can also operate with the ICLK0 internal clock rate at
integer multiples of the sampling rate (typically integer
multiples of 8 kHz). See Section 4.5 on page 16 for
more information.
Solution:
■
48 x 48.6 = 2.3328E6
2.3328E6 ÷ 8E3 = 291.6
To get a common multiple, 291.6 must be multiplied
by a factor to become an integer: 291.6 x 10 = 2916
(an integer). So, CLK/CKS = 2916 and CLK/ICLK0 =
2 CLK = 2916 x 8E3 = 23.328E6.
■
CLK input clock rate: 23.328 MHz.
■
Set CDIV0 for ÷2 (CDIV0 = 1) to allow advance/
retard for phase adjustment.
■
ICLK0 internal clock rate is 11.664 MHz.
■
Using the equations from Section 4.5 on page 16,
The following two examples illustrate the usage:
Application Example 4
■
Standard codec application.
■
CLK input clock rate: 2.048 MHz.
■
Codec sampling rate, fS: 8 kHz.
Solution:
■
CKOS = 125 x 8 kHz = 1.0 MHz, so CLK/CKOS =
2.048 or CLK/CKS = 2.048 x 125 = 256. Values of M
and N must be found to satisfy this requirement, as
shown below.
■
Set CDIV0 for ÷1 (CDIV0 = 0); hence, fICLK = fCLK.
■
Using the equations from Section 4.5 on page 16,
■
F ICLK0- = ( 125 × M ) + ( S × 2 )
---------------FS
ICLK0
2.048
MHz- = 256 = ( 125 × 2 ) + ( 1 × 6 )
F
----------------- = ----------------------------8 kHz
FS
Hence, M = 2, S = 1, and N = 6. (Note that if CDIV0
set for ÷ 2, then M = 1, S = +1, and N = 3, which is
not allowed.)
Using Tables 2 through 4 on page 18:
CDIV3 = 00 0010.
CDIFS = 0.
CDIF0 = 01 0101.
CDIF1 = 10 0110.
CDIF2 = 0 0000.
46
MHz- = 1458 = ( 125 × 12 ) + ( – 1 × 42 )
F ICLK0- = 11.664
----------------------------------------------8 kHz
FS
Hence, M = 12, S = –1, and N = 42.
■
Using Tables 2 through 4 on page 18:
CDIV3 = 00 1100.
CDIFS = 1.
CDIF0 = 00 0011.
CDIF1 = 11 0110.
CDIF2 = 0 0000.
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
8 Device Characteristics
8.1 Absolute Maximum Ratings
Stresses in excess of the absolute maximum ratings can cause permanent damage to the device. These are absolute stress ratings only. Functional operation of the device is not implied at these or any other conditions in excess
of those given in the operational sections of the data sheet. Exposure to absolute maximum ratings for extended
periods can adversely affect device reliability.
External leads can be bonded and soldered safely at temperatures of up to 300 °C.
Voltage Range on any Pin with Respect to Ground................................................................. –0.5 V to +6 V
Power Dissipation ................................................................................................................................. 0.3 W
Ambient Temperature Range...............................................................................................–40 °C to +85 °C
Storage Temperature Range ....................................................................................................... –65 °C to +150 °C
8.2 Handling Precautions
All MOS devices must be handled with certain precautions to avoid damage due to the accumulation of static
charge. Although input protection circuitry has been incorporated into the devices to minimize the effect of this
static buildup, proper precautions should be taken to avoid exposure to electrostatic discharge during handling and
mounting. Lucent Technologies employs a human-body model for ESD-susceptibility testing. Since the failure voltage of electronic devices is dependent on the current, voltage, and, hence, the resistance and capacitance, it is
important that standard values be employed to establish a reference by which to compare test data. Values of
100 pF and 1500 Ω are the most common and are the values used in the Lucent human-body model test circuit.
The breakdown voltage for the CSP1027 is greater than 1000 V.
8.3 Recommended Operating Conditions
Table 11. Recommended Operating Conditions
Parameter
Analog Supply Voltage
Digital Supply Voltage
Ambient Temperature
Symbol
VDDA
VDD
TA
Min
4.5
2.7
–40
Max
5.5
5.5
85
Unit
V
V
°C
8.3.1 Package Thermal Considerations
The recommended operating temperature specified above is based on the maximum power, package type, and
maximum junction temperature. The following equation describes the relationship between these parameters. Certain applications' maximum power may be less than the worst-case value and can use this relationship to determine
the maximum ambient temperature allowed.
TA = TJ – P x ΘJA
Maximum Junction Temperature (TJ) in 44-Pin QFP ...........................................................................125 °C
44-pin QFP Maximum Thermal Resistance in Still-Air-Ambient (ΘJA).............................................. 39 °C/W
Maximum Junction Temperature (TJ) in 48-Pin TQFP.........................................................................125 °C
48-pin TQFP Maximum Thermal Resistance in Still-Air-Ambient (ΘJA) ........................................... 90 °C/W
Lucent Technologies Inc.
47
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
9 Electrical Characteristics and Requirements
The following electrical characteristics are preliminary and are subject to change. Electrical characteristics refer to
the behavior of the device under specified conditions. Electrical requirements refer to conditions imposed on the
user for proper operation of the device. The parameters below are valid for the following conditions:
VDD = 5 V ± 10% (See Section 8.3 on page 47 for exceptions.)
Table 12. Digital Electrical Characteristics and Requirements
Parameter
Input Voltage (except PORCAP):
Low
High
Symbol
Min
Max
Unit
VIL
VIH
—
0.7 x VDD
0.3 x VDD
—
V
V
PORCAP Input Voltage:
Low
High
VIL
VIH
—
0.7 x VDD
0.5 x VDD
—
V
V
Input Current (except EIGS, IOCK, PORCAP):
Low (VIL = 0 V)
High (VIH = 5.5 V)
IIL
IIH
–5
—
—
5
µA
µA
Input Current (EIGS):
Low (VIL = 0 V)
High (VIH = 5.5 V)
IIL
IIH
–5
—
—
100
µA
µA
Input Current (IOCK):
Low (VIL = 0 V)
High (VIH = 5.5 V)
IIL
IIH
–100
—
—
5
µA
µA
Input Current (PORCAP):
Low (VIL = 0 V)
High (VIH = 5.5 V)
IIL
IIH
–100
—
—
5
µA
µA
Output Low Voltage:
Low (IOL = 2.0 mA)
Low (IOL = 50 µA)
VOL
VOL
—
—
0.4
0.2
V
V
Output High Voltage:
High (IOH = –2.0 mA)
High (IOH = –50 µA)
VOH
VOH
VDD – 0.7
VDD – 0.2
—
—
V
V
Output 3-State Current:
Low (VDD = 5.5 V, VIL = 0 V)
High (VDD = 5.5 V, VIH = 5.5 V)
IOZL
IOZH
–10
—
—
10
µA
µA
CI
—
10
pF
Input Capacitance
48
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
9 Electrical Characteristics and Requirements (continued)
5.0
4.8
DEVICE
UNDER
TEST
4.6
VOH (V)
4.4
VOH
4.2
IOH
4.0
3.8
3.6
3.4
0.0 0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5 5.0
IOH (mA)
5-7616 (F)
Figure 37. Plot of VOH vs. IOH Under Typical Operating Conditions
0.50
0.45
0.40
DEVICE
UNDER
TEST
VOL (V)
0.35
0.30
VOL
0.25
IOL
0.20
0.15
0.10
0.05
0.00
0.0 0.5
1.0
1.5
2.0
2.5
3.0
3.5
4.0
4.5 5.0
IOL (mA)
5-7617 (F)
Figure 38. Plot of VOL vs. IOL Under Typical Operating Conditions
Lucent Technologies Inc.
49
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
9 Electrical Characteristics and Requirements (continued)
9.1 Power Dissipation
Power dissipation is highly dependent on the frequency of operation. The typical power dissipation listed is for a
selected application. The following electrical characteristics are preliminary and are subject to change.
Table 13. Power Dissipation
Operating Mode
Codec Active,
Crystal Osc. Disabled
(cioc0: ACTIVE = 1,
XOSCEN = 0,
CLK at 25 MHz,
IOCK at 6.25 MHz,
CKOS at 1 MHz)
Codec Inactive,
Crystal Osc. Disabled
(cioc0: ACTIVE = 0,
XOSCEN = 0,
CLK at 25 MHz,
IOCK at 6.25 MHz)
Codec Active,
Crystal Osc. Enabled
(cioc0: ACTIVE = 1,
XOSCEN = 1,
25 MHz crystal,
IOCK at 6.25 MHz,
CKOS at 1 MHz)
Codec Inactive,
Crystal Osc. Enabled
(cioc0: ACTIVE = 0,
XOSCEN = 1,
25 MHz crystal,
IOCK at 6.25 MHz)
Analog Supply
(VDDA)
5.0 V
Typ
Max
5.0 V
5.5 V
11.0 mA
12.2 mA
55.0 mW
5.0 V
Typ
5.0 V
Max
5.5 V
4.6 mA
5.8 mA
Digital Supply
(VDD)
3.3 V
Typ
Max
3.3 V
3.6 V
3.0 V
Typ
3.0 V
Max
3.3 V
3.0 mA
3.8 mA
2.8 mA
3.5 mA
67.1 mW 23.0 mW 31.9 mW
9.9 mW
13.7 mW
8.4 mW
11.5 mW
0.01 mA
0.02 mA
2.5 mA
3.2 mA
2.2 mA
2.9 mA
0.05 mW
0.11 mW 18.5 mW 26.9 mW
8.2 mW
11.5 mW
6.6 mW
9.6 mW
11.0 mA
12.2 mA
4.1 mA
5.0 mA
3.9 mA
4.7 mA
55.0 mW
67.1 mW 51.0 mW 62.7 mW 13.5 mW 18.0 mW 11.7 mW 15.5 mW
0.01 mA
0.02 mA
0.05 mW
0.11 mW 46.5 mW 57.8 mW 11.9 mW 15.8 mW
3.7 mA
10.2 mA
9.3 mA
4.9 mA
11.4 mA
10.5 mA
3.6 mA
4.4 mA
3.3 mA
4.1 mA
9.9 mW
13.5 mW
The power dissipation listed is for internal power dissipation only. Total power dissipation can be calculated on the
basis of the application by adding C x VDD2 x f for each output, where C is the additional load capacitance and f is
the effective output frequency.
Power dissipation due to the input and I/O buffers is highly dependent on the input voltage level. At full CMOS levels, essentially no dc current is drawn. However, for levels near the threshold of 0.5 x VDD, high and unstable levels
can flow. Therefore, all unused input pins should be tied inactive to VDD or VSS, and all unused I/O pins should be
tied inactive through a 10 kΩ resistor to VDD or VSS. Table 13 shows the input buffer power dissipation for inputs at
dc levels, VDD or VSS.
50
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
10 Analog Characteristics and Requirements
The following analog characteristics and requirements are preliminary information and are subject to change. Analog characteristics refer to the behavior of the device under specified conditions. Analog requirements refer to conditions imposed on the user for proper operation of the device. All analog data is valid for the following conditions
unless otherwise specified:
■
TA = –40 °C to +85 °C.
■
VDDA = 5 V ± 10% (See Section 8.2 on page 47.)
■
Sampling frequency = 8 kHz, oversampling clock (CKOS) = 1.0 MHz, input clock (CLK) = 25 MHz.
■
0.22 µF capacitors connected to the REFC pin.
■
0.15 µF coupling capacitors connected to the MICIN and AUXIN pins when EIGS = 0.
■
Rfb = Rin = 24 kΩ, Cfb = 270 pF, and Cin = 1 µF when in the external input gain select mode (EIGS = 1).
■
2 kΩ differential output load connected between AOUTP and AOUTN pins.
■
1 µF and 0.1 µF bypass capacitors connected between the VREG and VSSA.
■
0 dBm0 is the level that corresponds to a sine wave that is 3.14 dB below the clipping (overload) level at the output of the A/D or input to the D/A.
■
All noise and distortion measurements are flat weighted and integrated over the 300 Hz to 4 kHz frequency band.
10.1 Analog Input and Microphone Regulator
Table 14. Analog Input Characteristics and Requirements
Symbol
Rin
Cin
—
—
—
Parameter
A/D Input Resistance of AUXIN and MICIN:
EIGS = 0
EIGS = 1
A/D Input Capacitance on AUXIN and MICIN
A/D Input Clipping Level at AUXIN or MICIN:
EIGS = 0, cioc0: IRSEL = 0
EIGS = 0, cioc0: IRSEL = 1
A/D Input Clipping Level at AUXIN:
EIGS = 1
Gain Referred to Nominal Clipping Level:
EIGS = 0, cioc0: IRSEL = 0
EIGS = 0, cioc0: IRSEL = 1
EIGS = 1
Min
Typ
Max
Unit
40
1000
—
—
—
—
—
—
20
kΩ
kΩ
pF
0.490
0.143
0.500
0.160
0.510
0.180
Vp
Vp
1.49
1.578
1.67
Vp
–0.18
–1.0
–0.5
0
0
0
0.18
1.0
0.5
dB
dB
dB
Note: The input clipping level corresponds to an A/D path output of 3.14 dBm0.
Table 15. Microphone Regulator Characteristics
Parameter
VREG Output Voltage
VREG Output Current
VREG Output Noise
Min
2.7
—
—
Typ
3.0
—
—
Max
3.3
250
100
Unit
Vrms
µA
µVrms
Note: VREG must be bypassed to analog ground through a 1 µF low ESR capacitor to meet this noise specification. The minimum bypass capacitance for stable VREG operation is 0.1 µF, with a maximum noise of 200 µVrms.
Lucent Technologies Inc.
51
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
10 Analog Characteristics and Requirements (continued)
10.2 Analog-to-Digital Path
Table 16. A/D Signal to Distortion Plus Noise Ratio
Output Signal Level
0 dBm0
–10 dBm0
–30 dBm0
–40 dBm0
–45 dBm0
–55 dBm0
Preamp
(EIGS = 0)
0.5 Vp Range
(cioc0: IRSEL = 0)
Min
Max
71
—
62
—
42
—
32
—
27
—
17
—
Preamp
(EIGS = 0)
0.16 Vp Range
(cioc0: IRSEL = 1)
Min
Max
68
—
59
—
39
—
29
—
24
—
14
—
Ext. Gain Select
(EIGS = 1)
1.578 Vp Range
Min
71
62
42
32
27
17
Max
—
—
—
—
—
—
Unit
dB
dB
dB
dB
dB
dB
Notes:
The signal to distortion plus noise ratio is from the MICIN or AUXIN input to the PCM output when EIGS = 0, and from Vin (of Figure 5 on page
7) to PCM output when EIGS = 1.
The A/D signal to distortion plus noise ratio is valid for sampling rates up to 16 kHz. For sampling rates between 16 kHz and 24 kHz, the signal
to distortion plus noise ratio is no better than 60 dB.
Table 17. A/D Relative Gain Accuracy*
Output Signal Level
+3 dBm0 to –40 dBm0
–40 dBm0 to –50 dBm0
–50 dBm0 to –55 dBm0
Min
–0.1
–0.4
–1.2
Max
0.1
0.4
1.2
Unit
dB
dB
dB
* Gain is relative to the 0 dBm0 signal level with EIGS = 0 and IRSEL = 0.
Table 18. A/D Frequency Response Relative to 1 kHz Output Level (fOS = 1 MHz and fS = 8 kHz)
Frequency
50 Hz
60 Hz
100 Hz
200 Hz
300 Hz
3000 Hz
3400 Hz
4000 Hz
4600 Hz
8000 Hz
High-Pass Filter Enabled
(HPFE = 0)
Min
Max
—
–40
—
–40
–34
–18
–12
0
–0.25
0.25
–0.25
0.25
–0.9
0.25
—
–6
—
–35
—
–45
High-Pass Filter Disabled
(HPFE = 1)
Min
Max
–0.25
0.25
–0.25
0.25
–0.25
0.25
–0.25
0.25
–0.25
0.25
–0.4
0.25
–0.9
0.25
—
–6
—
–35
—
–45
Unit
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
Note: The frequency response scales linearly with codec oversampling clock rate. Frequencies greater than 4000 Hz are affected by antialias
filtering attenuation.
52
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
10 Analog Characteristics and Requirements (continued)
10.3 Digital-to-Analog Path
Table 19. D/A Signal to Distortion Plus Noise Ratio (0 dB Output Setting)
Output Signal Level
0 dBm0
–10 dBm0
–30 dBm0
–40 dBm0
–45 dBm0
–55 dBm0
Min
72
62
42
32
27
17
Max
—
—
—
—
—
—
Unit
dB
dB
dB
dB
dB
dB
Notes:
The D/A signal to distortion plus noise ratio decreases by 3 dB for each 3 dB gain step below 0 dB. The D/A SDNR is specified with a differential
load. For a single-ended load, the D/A SDNR is degraded by about 6 dB.
The D/A signal to distortion plus noise ratio is valid for sampling rates up to 16 kHz. For sampling rates between 16 kHz and 24 kHz, the signal
to distortion plus noise ratio is no better than 60 dB.
Table 20. D/A Relative Gain Accuracy*
Output Signal Level
+3 dBm0 to –40 dBm0
–40 dBm0 to –50 dBm0
–50 dBm0 to –55 dBm0
Min
–0.1
–0.4
–1.2
Max
0.1
0.4
1.2
Unit
dB
dB
dB
* Gain is relative to the 0 dBm0 signal level. Absolute gain accuracy at the 0 dBm0 signal level is ±0.18 dB. Digital-to-analog path gain is specified with a differential load; a single-ended load adds ±0.1 dB to absolute gain.
Table 21. D/A Output Gain Adjustment
Gain Setting
0 dB
–3 dB
–6 dB
–9 dB
–12 dB
.
.
.
–42 dB
–45 dB
Lucent Technologies Inc.
Min
–0.2
–3.21
–6.22
–9.23
–12.24
.
.
.
–42.34
–45.35
Typ
0
–3.01
–6.02
–9.03
–12.04
.
.
.
–42.14
–45.15
Max
0.2
–2.81
–5.82
–8.83
–11.84
.
.
.
–41.94
–44.95
Unit
dB
dB
dB
dB
dB
.
.
.
dB
dB
53
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
10 Analog Characteristics and Requirements (continued)
Table 22. D/A Frequency Response Relative to 1 kHz Output Level (fOS = 1 MHz and fS = 8 kHz)
Frequency
50 Hz
60 Hz
100 Hz
200 Hz
300 Hz
3000 Hz
3400 Hz
4000 Hz
4600 Hz
8000 Hz
High-Pass Filter Enabled
(HPFE = 0)
Min
Max
—
–40
—
–40
–34
–18
–12
0
–0.25
0.25
–0.25
0.25
–0.9
0.25
—
–6
—
–35
—
–45
High-Pass Filter Disabled
(HPFE = 1)
Min
Max
–0.25
0.25
–0.25
0.25
–0.25
0.25
–0.25
0.25
–0.25
0.25
–0.25
0.25
–0.9
0.25
—
–6
—
–35
—
–45
Unit
dB
dB
dB
dB
dB
dB
dB
dB
dB
dB
10.4 Miscellaneous
Table 23. Other Analog Characteristics and Requirements*
Parameter
D/A Differential Output Resistance (0 kHz to 4 kHz)
D/A Single-ended Output Resistance (0 kHz to 4 kHz)
Analog-to-Digital Power Supply Rejection Ratio at 3 kHz
Digital-to-Analog Power Supply Rejection Ratio at 3 kHz
Analog Input Coupling Capacitor Input Leakage Current
Idle Channel Noise at Analog-to-Digital Output with Input Gain Setting of
500 mVp or 160 mVp
Idle Channel Noise at Digital-to-Analog Output
A/D to D/A and D/A to A/D Crosstalk
Digital-to-Analog Image Frequency Attenuation Above 4600 Hz
Digital-to-Analog Output Amplifier Differential Swing for 2 kΩ Load
Codec Filter Group Delay for Frequencies Less than 800 Hz
Codec Filter Group Delay for Frequencies Greater than 800 Hz
Recovery Time of Digital-to-Analog Output Due to a Change from Inactive Mode to Active Mode, Muted to Not Muted, or Change in Output
Gain (See cioc0 register, ACTIVE, MUTE, OGSEL.)
Recovery Time of Analog-to-Digital PCM Output and VREG Due to a
Change from Inactive Mode to Active Mode (See cioc0 register,
ACTIVE.)
Recovery Time of Analog Circuits Due to a Change in Input Select or
Input Range (See cioc0 register, INSEL and IRSEL.)
Allowable CLK Input Jitter
Allowable CLK Frequency Error
Min
—
—
30
40
—
—
Max
12
6
—
—
30
–65
Unit
Ω
Ω
dB
dB
nA
dBm0
—
—
35
—
—
—
—
300
–65
—
1.5
2.8
0.8
100
µVrms
dB
dB
Vrms
ms
ms
ms
—
600
ms
—
100
ms
–5
–1
5
1
ns
%
* The codec is intended to drive a floating 2 kΩ load, such as a telephone handset speaker, or 1 kΩ loads ac-coupled to ground on both analog outputs. Since the codec outputs AOUTP and AOUTN have common-mode dc voltage, ac coupling must be used if there is a dc path to
VDD or VSS (ground) through the load.
54
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
11 Timing Characteristics and Requirements
The following timing characteristics and requirements are preliminary information and are subject to change. Timing characteristics refer to the behavior of the device under specified conditions. Timing requirements refer to conditions imposed on the user for proper operation of the device. All timing data is valid for the following conditions:
TA = –40 °C to +85 °C or 0 °C to 70 °C (See Section 8.2 on page 47.)
VDD = 5 V ± 0.5 V, 3.3 V ± 0.3 V, or 3.0 V ± 0.3 V, VSS = 0 V (See Section 8.2 on page 47.)
Capacitance load on outputs (CL) = 50 pF
Output characteristics can be derated as a function of load capacitance (CL).
All outputs: dt/dCL ≤ 0.06 ns/pF for 0 ≤ CL ≤ 100 pF at VIH for rising edge
dt/dCL ≤ 0.05 ns/pF for 0 ≤ CL ≤ 100 pF at VIL for falling edge
For example, if the actual load capacitance is 30 pF instead of 50 pF, the derating for a rising edge is
(30 pF – 50 pF) x 0.06 ns/pF = 1.2 ns less than the specified rise time or delay which includes a rise time.
Test conditions for inputs:
■
■
Rise and fall times of 4 ns or less
Timing reference levels for delays = VIH, VIL
Test conditions for outputs:
■
■
■
CLOAD = 50 pF
Timing reference levels for delays = VIH, VIL
3-state delays measured to the high-impedance state of the output driver
Lucent Technologies Inc.
55
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
11 Timing Characteristics and Requirements (continued)
11.1 Clock Generation
t1
t3
t2
CLK*
VIH–
VIL–
t7
CKO1†
VOH–
VOL–
t8
CKO2‡
VOH–
VOL–
5-7618 (F)
* OSCEN = 0 shown.
† CDIV0 = 2, CDIV1 = 1 configuration shown (see Table 8 on page 27).
‡ CDIV2 = 4 option shown (see Table 8 on page 27).
Figure 39. Clock Timing Diagram
Table 24. Timing Requirements for Input Clock
Abbreviated
Reference
t1
t2
t3
Parameter
Clock In Period (high to high)
Clock In Low Time (low to change)
Clock In High Time (high to change)
5.0 V
Min Max
25
—*
11
—
11
—
3.3 V
Min
Max
42
—*
19
—
19
—
3.0 V
Min
Max
60
—*
27
—
27
—
Unit
5.0 V
Min Max
—
30
—
20
3.3 V
Min
Max
—
54
—
40
3.0 V
Min Max
—
66
—
50
Unit
ns
ns
ns
* Device is fully static, t1 is tested at 500 ns.
Table 25. Timing Characteristics for Output Clocks
Abbreviated
Reference
t7
t8
56
Parameter
Clock Out 1 Delay (valid to valid)
Clock Out 2 Delay (valid to valid)
ns
ns
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
11 Timing Characteristics and Requirements (continued)
11.2 Power-On Reset
The CSP1027 has a power-on reset circuit that automatically clears the device upon power-on. If the supply voltage
falls below VDD MIN*, the device must be reset. Figure 40 on page 57 shows two separate events: an initial poweron and a power-on following a drop in the power supply.
* See Table 11 on page 47.
VDD
RAMP
VDD MIN
VDD MIN
0.5 V
0V
t9
t9
t10
t10
VOH
PORB
VOL
5-7619 (F)
Figure 40. Power-On Reset Timing Diagram
Table 26. Timing Requirement for Power-On Reset
Abbreviated
Reference
t9
Parameter
VDD Ramp
Min
Max
Unit
—
1
ms
Min
Max
Unit
1.5
7
ms
Table 27. Timing Characteristic for Power-On Reset
Abbreviated
Reference
t10
Parameter
PORB Pulse Width (low to change)
Note: The device needs to be clocked for at least six CLK cycles during reset after power-on. Otherwise, high and unstable current may flow.
Lucent Technologies Inc.
57
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
11 Timing Characteristics and Requirements (continued)
11.3 Reset
VIH–
CLK
VIL–
t5
VIH–
RSTB
t4
VIL–
t6
VOH–
CKO1
VOL–
VOH–
CKO2
VOL–
5-7620 (F)
Note: CKO1 and CKO2 are active during reset and synchronized by the rising edge of reset.
Figure 41. Reset Timing
Table 28. Timing Requirements for Reset Timing
Abbreviated
Reference
t4
t5
t6
58
Parameter
Min
Max
Unit
Reset Hold (high to change)
Reset Setup (valid to high)
Reset Pulse (low to high)
2
4
6T
—
—
—
ns
ns
ns
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
11 Timing Characteristics and Requirements (continued)
11.4 Serial I/O Communication
t11
t13
t12
t16
t15
VIH–
IOCK
VIL–
t14
t16
VIH–
SYNC
VIL–
t18
t17
VIH–
DI
B15
VIL–
AD0
VIL–
t21
VOH–
DO
B8
B0
t20
t19
VIH–
SADD
B14
t18
AS0
AS7
t22
B15
VOL–
AD1
t20
B14
t22
B8
B0
5-7621 (F)
Figure 42. Serial Input/Output Timing Diagram
Table 29. Timing Requirements for Serial Input/Output
Abbreviated
Reference
t11
t12
t13
t14
t15
t16
t17
t18
t19
t20
Parameter
Clock Period (high to high)
Clock Low Time (low to change)
Clock High Time (high to change)
Sync High Setup (high to high)
Sync Low Setup (low to high)
Sync Hold (high to invalid)
Data Setup (valid to high)
Data Hold (high to invalid)
Address Setup (valid to high)
Address Hold (high to invalid)
5.0 V
Min
Max
50
—*
20
—
20
—
6
—
9
—
0
—
6
—
0
—
9
—
0
—
3.3 V
Min
Max
84
—*
33
—
33
—
11
—
15
—
0
—
11
—
0
—
15
—
0
—
3.0 V
Min
Max
120
—*
48
—
48
—
13
—
20
—
0
—
13
—
0
—
20
—
0
—
Unit
ns
ns
ns
ns
ns
ns
ns
ns
ns
ns
* Device is fully static; t11 is tested at 100 ns. The frequency of IOCK must be greater than the frequency of the internal oversampling clock
CKOS (FCKOS).
Table 30. Timing Characteristics for Serial Input/Output
Abbreviated
Reference
t21
t22
Parameter
Data/Status Delay (high to valid)
Data/Status Hold (high to invalid)
Lucent Technologies Inc.
5.0 V
Min
Max
—
26
2
—
3.3 V
Min
Max
—
50
2
—
3.0 V
Min
Max
—
57
2
—
Unit
ns
ns
59
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
11 Timing Characteristics and Requirements (continued)
VOH–
IOCK
VOL–
t24
t23
t24
t23
VOH–
SYNC
VOL–
5-7622 (F)
Figure 43. Serial I/O Active Mode Timing Diagram
Table 31. Timing Characteristics for Active Mode
Abbreviated
Reference
t23
t24
60
Parameter
Sync Delay (high to valid)
Sync Hold (high to invalid)
5.0 V
Min
Max
—
26
2
—
3.3 V
Min
Max
—
50
2
—
3.0 V
Min
Max
—
55
2
—
Unit
ns
ns
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
11 Timing Characteristics and Requirements (continued)
11.5 Serial Multiprocessor Communication
IOCK
t27
t26
t25
t27
VIH–
SYNC
VIL–
t29
t28
VOH–
DO/DI
B0
VOL–
B15
B14
B8
B7
B0
t30
t33
t31
AD0
SADD
AD1
B15
AD7
AS0
AS7
AD0
t32
5-7623 (F)
Figure 44. SIO Multiprocessor Timing Diagram
Table 32. Timing Requirements for Multiprocessor Communication
Abbreviated
Reference
t25
t26
t27
Parameter
Sync High Setup (high to high)
Sync Low Setup (low to high)
Sync Hold (high to invalid)
5.0 V
Min
Max
10
—
22
—
2
—
3.3 V
Min
Max
16
—
35
—
0
—
3.0 V
Min
Max
23
—
44
—
0
—
Unit
3.3 V
Min
Max
—
48
—
26
—
50
—
40
2
—
—
28
3.0 V
Min
Max
—
55
—
35
—
57
—
48
2
—
—
35
Unit
ns
ns
ns
Table 33. Timing Characteristics for Multiprocessor Communication
Abbreviated
Reference
t28
t29
t30
t31
t32
t33
Parameter
Data Delay (bit 0 only) (low to valid)
Data Disable Delay (high to 3-state)
Address Delay (bit 0 only) (low to valid)
Address Delay (high to valid)
Address Hold (low to valid)
Address Disable Delay (high to 3-state)
5.0 V
Min
Max
—
24
—
18
—
26
—
22
2
—
—
18
ns
ns
ns
ns
ns
ns
Note: Capacitance load on DO, SYNC, and SADD = 100 pF.
Lucent Technologies Inc.
61
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
Data Sheet
December 1999
12 Outline Diagrams
12.1 44-Pin EIAJ Quad Flat Pack (QFP)
Controlling dimensions are in millimeters.
13.20 ± 0.20
10.00 ± 0.20
PIN #1 IDENTIFIER ZONE
44
1.60 REF
34
0.25
33
1
GAGE PLANE
SEATING PLANE
0.73/1.03
13.20 ±
0.20
10.00 ±
0.20
DETAIL A
23
11
0.130/0.230
12
22
0.30/0.45
DETAIL A
DETAIL B
2.35
MAX
0.80 TYP
0.20
1.95/2.10
SEATING
PLANE
0.10
M
DETAIL B
0.25 MAX
5-2111 (F) r.12
Note: The production line has been qualified at Lucent-SGP for this outline; also second-source (Shinko) tolerances have been accommodated
on the above diagram.
62
Lucent Technologies Inc.
Data Sheet
December 1999
CSP1027 Voice Band Codec for
Cellular Handset and Modem Applications
12 Outline Diagrams (continued)
12.2 48-Pin EIAJ Thin Quad Flat Pack (TQFP)
Controlling dimensions are in millimeters.
9.00 ± 0.20
7.00 ± 0.20
1.00 REF
PIN #1
IDENTIFIER ZONE
37
48
0.25
1
GAGE PLANE
36
SEATING PLANE
0.45/0.75
7.00
± 0.20
DETAIL A
9.00
± 0.20
25
12
24
13
0.106/0.200
DETAIL A
DETAIL B
0.19/0.27
1.40 ± 0.05
0.08
1.60 MAX
SEATING PLANE
0.08
0.50 TYP
M
DETAIL B
0.05/0.15
5-2363 (F) r.8
Note: The above outline fully meets JEDEC Standard MO-136 dated April 1993.
Lucent Technologies Inc.
63
For additional information, contact your Microelectronics Group Account Manager or the following:
http://www.lucent.com/micro
INTERNET:
[email protected]
E-MAIL:
N. AMERICA: Microelectronics Group, Lucent Technologies Inc., 555 Union Boulevard, Room 30L-15P-BA, Allentown, PA 18103
1-800-372-2447, FAX 610-712-4106 (In CANADA: 1-800-553-2448, FAX 610-712-4106)
ASIA PACIFIC: Microelectronics Group, Lucent Technologies Singapore Pte. Ltd., 77 Science Park Drive, #03-18 Cintech III, Singapore 118256
Tel. (65) 778 8833, FAX (65) 777 7495
CHINA:
Microelectronics Group, Lucent Technologies (China) Co., Ltd., A-F2, 23/F, Zao Fong Universe Building, 1800 Zhong Shan Xi Road, Shanghai
200233 P. R. China Tel. (86) 21 6440 0468, ext. 316, FAX (86) 21 6440 0652
JAPAN:
Microelectronics Group, Lucent Technologies Japan Ltd., 7-18, Higashi-Gotanda 2-chome, Shinagawa-ku, Tokyo 141, Japan
Tel. (81) 3 5421 1600, FAX (81) 3 5421 1700
EUROPE:
Data Requests: MICROELECTRONICS GROUP DATALINE: Tel. (44) 7000 582 368, FAX (44) 1189 328 148
Technical Inquiries:GERMANY: (49) 89 95086 0 (Munich), UNITED KINGDOM: (44) 1344 865 900 (Ascot),
FRANCE: (33) 1 40 83 68 00 (Paris), SWEDEN: (46) 8 594 607 00 (Stockholm), FINLAND: (358) 9 4354 2800 (Helsinki),
ITALY: (39) 02 6608131 (Milan), SPAIN: (34) 1 807 1441 (Madrid)
Lucent Technologies Inc. reserves the right to make changes to the product(s) or information contained herein without notice. No liability is assumed as a result of their use or application. No
rights under any patent accompany the sale of any such product(s) or information.
Copyright © 1999 Lucent Technologies Inc.
All Rights Reserved
December 1999
DS00-063AUTO (Replaces DS99-081WDSP)
Similar pages