MC14LC5540P [NXP]

IC,PCM CODEC,SINGLE,DIP,28PIN,PLASTIC;
MC14LC5540P
型号: MC14LC5540P
厂家: NXP    NXP
描述:

IC,PCM CODEC,SINGLE,DIP,28PIN,PLASTIC

PC 电信 光电二极管 电信集成电路
文件: 总20页 (文件大小:328K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
Freescale Semiconductor, Inc.  
SEMICONDUCTOR TECHNICAL DATA  
MOTOROLA  
Order this document  
by MC14LC5540TS/D  
MC14LC5540  
Technical Summary  
ADPCM Codec  
P SUFFIX  
PLASTIC DIP  
CASE 710  
This technical summary provides a brief description of the MC14LC5540  
ADPCM Codec. A complete data book for the MC14LC5540 is available and  
can be ordered from your local Motorola sales office. The data book number is  
MC145540/D.  
The MC14LC5540 ADPCM Codec is a single chip implementation of a PCM  
Codec–Filter and an ADPCM encoder/decoder, and therefore provides an  
efficient solution for applications requiring the digitization and compression of  
voiceband signals. This device is designed to operate over a wide voltage  
range, 2.7 to 5.25V and, as such, is ideal for battery powered as well as ac  
powered applications. The MC14LC5540 ADPCM Codec also includes a serial  
control port and internal control and status registers that permit a microcomput-  
er to exercise many built–in features.  
The ADPCM Codec is designed to meet the 32 kbps ADPCM conformance  
requirements of CCITT Recommendation G.721–1988 and ANSI T1.301. It  
also meets ANSI T1.303 and CCITT Recommendation G.723–1988 for 24 kbps  
ADPCM operation, and the 16 kbps ADPCM standard, CCITT Recommenda-  
tion G.726. This device also meets the PCM conformance specification of the  
CCITT G.714 Recommendation.  
28  
1
DW SUFFIX  
SOG PACKAGE  
CASE 751F  
28  
1
FU SUFFIX  
TQFP  
CASE 873A  
32  
1
ORDERING INFORMATION  
MC14LC5540P  
Plastic DIP  
MC14LC5540DW SOG Package  
MC14LC5540FU TQFP  
Single 2.7 to 5.25 V Power Supply  
Typical 2.7 V Power Dissipation of 43 mW, Power–Down of 15 µW  
Differential Analog Circuit Design for Lowest Noise  
Complete Mu–Law and A–Law Companding PCM Codec–Filter  
ADPCM Transcoder for 64, 32, 24, and 16 kbps Data Rates  
Universal Programmable Dual Tone Generator  
Programmable Transmit Gain, Receive Gain, and Sidetone Gain  
Low Noise, High Gain, Three Terminal Input Operational Amplifier for  
Microphone Interface  
Push–Pull, 300 Power Drivers with External Gain Adjust for Receiver  
Interface  
Push–Pull, 300 Auxiliary Output Drivers for Ringer Interface  
Voltage Regulated Charge Pump to Power the Analog Circuitry in Low  
Voltage Applications  
Receive Noise Burst Detect Algorithm  
Order Complete Document as MC145540/D  
Device Supported by MC145537EVK ADPCM Codec Evaluation Kit  
This document contains information on a product under development. Motorola reserves the right to change or discontinue this product without notice.  
REV 3  
11/2002  
Motorola, Inc. 2002  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
PIN ASSIGNMENT  
28–LEAD PDIP, SOG  
32–LEAD TQFP  
V
28  
27  
TG 1  
DD  
FSR  
TI–  
2
3
4
5
6
7
8
32 31 30 29 28 27 26 25  
26 BCLKR  
TI+  
RO  
NC  
AXO–  
AXO+  
1
2
3
4
5
6
7
8
24 C1+  
23 C1–  
22 NC  
V
AG  
DR  
25  
24  
23  
22  
C1+  
C1–  
RO  
21  
V
SS  
AXO–  
AXO+  
V
20 NC  
19 SPC  
18 DT  
DSP  
NC  
V
SS  
V
EXT  
PI  
21 SPC  
V
DSP  
17 BCLKT  
DT  
V
20  
19  
18  
9 10 11 12 13 14 15 16  
9
EXT  
PI  
10  
11  
BCLKT  
FST  
PO–  
17 SCP Rx  
PO+ 12  
16  
15  
13  
14  
SCP Tx  
PDI/RESET  
SCPEN  
SCPCLK  
BLOCK DIAGRAM  
CODEC–FILTER  
PO+  
–1  
DR  
DSP  
FSR  
+
PO–  
PI  
DAC  
BCLKR  
ADPCM  
TRANSCODER,  
RECEIVE GAIN  
AND  
DUAL TONE  
GENERATOR  
RO  
BCLKT  
FST  
Σ
TRIM GAIN  
AND FILTER  
AXO–  
AXO+  
DT  
SIDETONE  
GAIN  
V
DSP  
TG  
TRIM GAIN  
AND FILTER  
TI–  
TI+  
+
ADC  
SEQUENCE/  
CONTROL  
V
DD  
SPC  
CHARGE–PUMP  
V
AG  
V
SS  
C1+  
C1–  
V
EXT  
PDI/RESET SCPEN  
SCP Rx  
SCP Tx  
SCPCLK  
MC14LC5540  
2
MOTOROLA  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
V
AG  
PIN DESCRIPTIONS  
Analog Ground Output  
(PDIP, SOG—Pin 4; TQFP—Pin 32)  
POWER SUPPLY PINS  
This output pin provides a mid–supply analog ground reg-  
ulated to 2.4 V. All analog signal processing within this device  
V
SS  
is referenced to this pin. This pin should be decoupled to V  
SS  
with a 0.01 µF ceramic capacitor. If the audio signals to be  
processed are referenced to V , then special precautions  
Negative Power Supply  
(PDIP, SOG—Pin 22; TQFP—Pin 21)  
SS  
This is the most negative power supply and is typically  
connected to 0 V.  
must be utilized to avoid noise between V  
and the V pin.  
SS  
Refer to the applications information in this document for  
more information. The V pin becomes high impedance  
AG  
AG  
when in analog power–down mode.  
V
EXT  
External Power Supply Input  
C1–, C1+  
Charge Pump Capacitor Pins  
(PDIP, SOG, TQFP—Pins 23 and 24)  
(PDIP, SOG—Pin 9; TQFP—Pin 7)  
This power supply input pin must be between 2.70 and  
5.25 V. Internally, it is connected to the input of the V  
volt-  
DSP  
These are the capacitor connections to the internal voltage  
age regulator, the 5 V regulated charge pump, and all digital  
I/O including the Serial Control Port and the ADPCM Serial  
Data Port. This pin is also connected to the analog output  
drivers (PO+, PO–, AXO+, and AXO–). This pin should be  
regulated charge pump that generates the V  
supply volt-  
age. A 0.1 µF capacitor should be placed between these  
DD  
pins. Note that if an external V  
should not be in the circuit.  
is supplied, this capacitor  
DD  
decoupled to V  
internally connected to the V  
vice is powered down.  
with a 0.1 µF ceramic capacitor. This pin is  
SS  
and V  
pins when the de-  
ANALOG INTERFACE PINS  
DD  
DSP  
TG  
Transmit Gain  
V
(PDIP, SOG—Pin 1; TQFP—Pin 29)  
DSP  
Digital Signal Processor Power Supply Output  
(PDIP, SOG—Pin 8; TQFP—Pin 5)  
This is the output of the transmit gain setting operational  
amplifier and the input to the transmit band–pass filter. This  
op amp is capable of driving a 2 kload to the V  
pin.  
This pin is connected to the output of the on–chip V  
voltage regulator which supplies the positive voltage to the  
DSP circuitry and to the other digital blocks of the ADPCM  
AG  
DSP  
When TI– and TI+ are connected to V , the TG op amp is  
DD  
powered down and the TG pin becomes a high–impedance  
input to the transmit filter. All signals at this pin are refer-  
Codec. This pin should be decoupled to V  
with a 0.1 µF  
ceramic capacitor. This pin cannot be used for powering ex-  
SS  
enced to the V  
pin. This pin is high impedance when the  
device is in the analog power–down mode. This op amp is  
AG  
ternal loads. This pin is internally connected to the V  
during power–down to retain memory.  
pin  
EXT  
powered by the V  
pin.  
DD  
TI–  
V
Transmit Analog Input (Inverting)  
(PDIP, SOG—Pin 2; TQFP—Pin 30)  
DD  
Positive Power Supply Input/Output  
(PDIP, SOG, TQFP—Pin 28)  
This is the inverting input of the transmit gain setting op-  
erational amplifier. Gain setting resistors are usually con-  
nected from this pin to TG and from this pin to the analog  
signal source. The common mode range of the TI+ and TI–  
pins is from 1.0 V, to V  
to V  
DD  
ance state, thus allowing the TG pin to serve as a high–im-  
pedance input to the transmit filter.  
This is the positive output of the on–chip voltage regulated  
charge pump and the positive power supply input to the ana-  
log sections of the device. Depending on the supply voltage  
available, this pin can function in one of two different operat-  
ing modes:  
– 2 V. Connecting this pin and TI+  
will place this amplifier’s output (TG) in a high–imped-  
DD  
1. When V  
is supplied from a regulated 5 V (± 5%)  
EXT  
power supply, V  
is an input and should be externally  
. Charge pump capacitor C1 should  
DD  
EXT  
connected to V  
TI+  
not be used and the charge pump should be disabled in  
BR0(b2).InthiscaseV andV cansharethesame  
Transmit Analog Input (Non–Inverting)  
(PDIP, SOG—Pin 3; TQFP—Pin 31)  
EXT  
DD  
0.1 µF ceramic decoupling capacitor to V  
.
SS  
This is the non–inverting input of the transmit input gain  
setting operational amplifier. This pin accommodates a differ-  
ential to single–ended circuit for the input gain setting op  
amp. This allows input signals that are referenced to the V  
pin to be level shifted to the V  
2. When V  
is supplied from 2.70 to 5.25 V, such as  
EXT  
battery powered applications, the charge pump should  
be used. In this case, V is the output of the on–chip  
DD  
voltage regulated charge pump and must not be con-  
nectedtoV .V shouldbedecoupledtoV witha  
SS  
pin with minimum noise.  
pin for an inverting  
AG  
This pin may be connected to the V  
EXT DD  
SS  
AG  
1.0 µF ceramic capacitor. This pin cannot be used for  
amplifier configuration if the input signal is already refer-  
enced to the V pin. The common mode range of the TI+  
powering external loads in this operating mode. This pin  
AG  
and TI– pins is from 1.0 V to V  
is internally connected to the V  
pin when the charge  
– 2 V. Connecting this pin  
EXT  
pump is turned off or the device is powered down.  
DD  
will place this amplifier’s output (TG) in a  
and TI– to V  
DD  
MOTOROLA  
MC14LC5540  
3
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
high–impedance state, thus allowing the TG pin to serve as a  
high–impedance input to the transmit filter.  
PO+ independent of supply voltage. The PO+ and PO– out-  
puts are differential (push–pull) and capable of driving a  
300 load to 3.15 V peak, which is 6.3 V peak–to–peak  
RO  
when a nominal 5 V power supply is used for V  
voltage and signal reference for this pin may be dc refer-  
enced to either the V pin or a voltage of half of V by  
. The bias  
EXT  
Receive Analog Output  
(PDIP, SOG—Pin 5; TQFP—Pin 1)  
AG  
EXT  
BR2 (b7). Low impedance loads must be between PO+ and  
PO–. This pin is high impedance when the device is in the  
analog power–down mode. This pin is high impedance ex-  
cept when it is enabled for analog signal output.  
This is the non–inverting output of the receive smoothing  
filter from the digital–to–analog converter. This output is ca-  
pable of driving a 2 kload to 1.575 V peak referenced to the  
V
pin. This pin may be dc referenced to either the V  
pin  
by BR2 (b7). This pin is high im-  
AG  
or a voltage of half of V  
AG  
EXT  
PO+  
pedance when the device is in the analog power–down  
mode. This pin is high impedance except when it is enabled  
for analog signal output.  
Power Amplifier Output (Non–Inverting)  
(PDIP, SOG—Pin 12; TQFP—Pin 10)  
This is the non–inverting power amplifier output that is an  
inverted version of the signal at PO–. This power amplifier is  
AXO–  
Auxiliary Audio Power Output (Inverting)  
(PDIP, SOG—Pin 6; TQFP—Pin 3)  
powered from V  
and its output can swing to within 0.5 V  
. This pin is capable of driving a 300 load  
EXT  
of V  
and V  
SS  
EXT  
to PO–. This pin may be dc referenced to either the V  
pin  
by BR2 (b7). This pin is high im-  
This is the inverting output of the auxiliary power output  
drivers. The Auxiliary Power Driver is capable of differentially  
driving a 300 load. This power amplifier is powered from  
AG  
or a voltage of half of V  
EXT  
pedance when the device is in the analog power–down  
mode. See PI and PO– for more information. This pin is high  
impedance except when it is enabled for analog signal out-  
put.  
V
V
and its output can swing to within 0.5 V of V  
and  
EXT  
SS  
pin or  
by BR2 (b7). This pin is high imped-  
. This pin may be dc referenced to either the V  
EXT AG  
a voltage of half of V  
EXT  
ance in power down. This pin is high impedance except  
when it is enabled for analog signal output.  
ADPCM/PCM SERIAL INTERFACE PINS  
FST  
AXO+  
Frame Sync, Transmit  
(PDIP, SOG—Pin 18; TQFP—Pin 16)  
Auxiliary Audio Power Output (Non–Inverting)  
(PDIP, SOG—Pin 7; TQFP—Pin 4)  
When used in the Long Frame Sync or Short Frame Sync  
mode, this pin accepts an 8 kHz clock that synchronizes the  
output of the serial ADPCM data at the DT pin.  
This is the non–inverting output of the auxiliary power out-  
put drivers. The Auxiliary Power Driver is capable of differen-  
tially driving a 300 load. This power amplifier is powered  
from V  
and its output can swing to within 0.5 V of V  
and  
pin or  
EXT  
SS  
BCLKT  
V
. This pin may be dc referenced to either the V  
EXT AG  
Bit Clock, Transmit  
(PDIP, SOG—Pin 19; TQFP—Pin 17)  
a voltage of half of V by BR2 (b7). This pin is high imped-  
EXT  
ance in power down. This pin is high impedance except  
when it is enabled for analog signal output.  
When used in the Long Frame Sync or Short Frame Sync  
mode, this pin accepts any bit clock frequency from 64 to  
5120 kHz.  
PI  
Power Amplifier Input  
(PDIP, SOG—Pin 10; TQFP—Pin 8)  
DT  
Data, Transmit (PDIP, SOG—Pin 20; TQFP—Pin 18)  
This is the inverting input to the PO– amplifier. The non–in-  
verting input to the PO– amplifier may be dc referenced to  
This pin is controlled by FST and BCLKT and is high im-  
pedance except when outputting data.  
either the V  
pin or a voltage of half of V by BR2 (b7).  
AG  
EXT  
The PI and PO– pins are used with external resistors in an  
inverting op amp gain circuit to set the gain of the PO+ and  
PO– push–pull power amplifier outputs. Connecting PI to  
SPC  
Signal Processor Clock  
(PDIP, SOG—Pin 21; TQFP—Pin 19)  
V
will power down these amplifiers and the PO+ and PO–  
DD  
This input requires a 20.48 to 24.32 MHz clock signal that  
is used as the DSP engine master clock. Internally the device  
divides down this clock to generate the 256 kHz clock re-  
quired by the PCM Codec. The SPC clock should be a multi-  
ple of 256 kHz.  
outputs will be high impedance.  
PO–  
Power Amplifier Output (Inverting)  
(PDIP, SOG—Pin 11; TQFP—Pin 9)  
This is the inverting power amplifier output that is used to  
provide a feedback signal to the PI pin to set the gain of the  
push–pull power amplifier outputs. This power amplifier is  
DR  
Data, Receive (PDIP, SOG, TQFP—Pin 25)  
powered from V  
and its output can swing to within 0.5 V  
. This should be noted when setting the gain  
ADPCM data to be decoded are applied to this input,  
which operates synchronously with FSR and BCLKR to enter  
the data in a serial format.  
EXT  
of V  
and V  
SS  
EXT  
of this amplifier. This pin is capable of driving a 300 load to  
MC14LC5540  
4
MOTOROLA  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
BCLKR  
order for information to be transferred into or out of the  
MC14LC5540 ADPCM Codec. The timing relationship be-  
tween SCPEN and SCPCLK is shown in Figures 6 through 9.  
Bit Clock, Receive (PDIP, SOG, TQFP—Pin 26)  
When used in the Long Frame Sync or Short Frame Sync  
mode, this pin accepts any bit clock frequency from 64 to  
5120 kHz. This pin may be used for applying an external  
256 kHz clock for sequencing the analog signal processing  
functions of this device. This is selected by the SCP port at  
BR0 (b7).  
SCPCLK  
Serial Control Port Clock Input  
(PDIP, SOG—Pin 15; TQFP—Pin 13)  
This input to the device is used for controlling the rate of  
transfer of data into and out of the SCP Interface. Data are  
clocked into the MC14LC5540 ADPCM Codec from SCP Rx  
on rising edges of SCPCLK. Data are shifted out of the de-  
vice on SCP Tx on falling edges of SCPCLK. SCPCLK can  
be any frequency from 0 to 4.096 MHz. An SCP transaction  
takes place when SCPEN is brought low. Note that SCPCLK  
is ignored when SCPEN is high ( i.e., it may be continuous or  
it can operate in a burst mode).  
FSR  
Frame Sync, Receive (PDIP, SOG, TQFP—Pin 27)  
When used in the Long Frame Sync or Short Frame Sync  
mode, this pin accepts an 8 kHz clock that synchronizes the  
input of the serial ADPCM data at the DR pin. FSR can oper-  
ate asynchronous to FST in the Long Frame Sync or Short  
Frame Sync mode.  
SERIAL CONTROL PORT INTERFACE PINS  
SCP Tx  
Serial Control Port Transmit Output  
(PDIP, SOG—Pin 16; TQFP—Pin 14)  
PDI/RESET  
Power–Down Input/Reset  
(PDIP, SOG—Pin 13; TQFP—Pin 11)  
SCP Tx is used to output control and status information  
from the MC14LC5540 ADPCM Codec. Data are shifted out  
of SCP Tx on the falling edges of SCPCLK, most significant  
bit first.  
A logic 0 applied to this input forces the device into a low–  
power dissipation mode. A rising edge on this pin causes  
power to be restored and the ADPCM Reset state (specified  
in the standards) to be forced.  
SCP Rx  
Serial Control Port Receive Input  
(PDIP, SOG—Pin 17; TQFP—Pin 15)  
SCPEN  
Serial Control Port Enable Input  
(PDIP, SOG—Pin 14; TQFP—Pin 12)  
SCP Rx is used to input control and status information to  
the MC14LC5540 ADPCM Codec. Data are shifted into the  
device on rising edges of SCPCLK. SCP Rx is ignored when  
data are being shifted out of SCP Tx or when SCPEN is  
high.  
This pin, when held low, selects the Serial Control Port  
(SCP) for the transfer of control and status information into  
and out of the MC14LC5540 ADPCM Codec. This pin should  
be held low for a total of 16 periods of the SCPCLK signal in  
MOTOROLA  
MC14LC5540  
5
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
ADPCM/PCM SERIAL INTERFACE TIMING DIAGRAMS  
FST (FSR)  
BCLKT (BCLKR)  
DT  
DR  
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
DON’T CARE  
8
DON’T CARE  
Figure 1. Long Frame Sync (64 kbps PCM Data Timing)  
FST (FSR)  
BCLKT (BCLKR)  
DT  
DR  
1
1
2
2
3
3
4
DON’T CARE  
4
DON’T CARE  
Figure 2. Long Frame Sync (32 kbps ADPCM Data Timing)  
FST (FSR)  
BCLKT (BCLKR)  
DT  
DR  
1
1
2
2
3
DON’T CARE  
3
DON’T CARE  
Figure 3. Long Frame Sync (24 kbps ADPCM Data Timing)  
FST (FSR)  
BCLKT (BCLKR)  
DT  
DR  
1
2
DON’T CARE  
1
2
DON’T CARE  
Figure 4. Long Frame Sync (16 kbps ADPCM Data Timing)  
MC14LC5540  
6
MOTOROLA  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
FST (FSR)  
BCLKT (BCLKR)  
DT  
DR  
1
2
3
4
DON’T CARE  
1
2
3
4
DON’T CARE  
Figure 5. Short Frame Sync (32 kbps ADPCM Data Timing)  
SCPEN  
SCPCLK  
DON’T CARE  
DON’T CARE  
SCP Rx  
SCP Tx  
R/W  
A3 A2 A1 A0  
D7 D6 D5 D4 D3 D2 D1 D0  
HIGH IMPEDANCE  
Figure 6. SCP Byte Register Write Operation Using Double 8–Bit Transfer  
SCPEN  
SCPCLK  
DON’T CARE  
SCP Rx  
SCP Tx  
R/W  
A3 A2 A1 A0  
DON’T CARE  
D7 D6 D5 D4 D3 D2 D1 D0  
HIGH IMPEDANCE  
Figure 7. SCP Byte Register Read Operation Using Double 8–Bit Transfer  
SCPEN  
SCPCLK  
DON’T CARE  
DON’T CARE  
SCP Rx  
SCP Tx  
R/W  
A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0  
HIGH IMPEDANCE  
Figure 8. SCP Byte Register Write Operation Using Single 16–Bit Transfer  
MOTOROLA  
MC14LC5540  
For More Information On This Product,  
Go to: www.freescale.com  
7
Freescale Semiconductor, Inc.  
SCPEN  
SCPCLK  
SCP Rx  
SCP Tx  
DON’T CARE  
R/W  
A3 A2 A1 A0  
DON’T CARE  
D7 D6 D5 D4 D3 D2 D1 D0  
HIGH IMPEDANCE  
Figure 9. SCP Byte Register Read Operation Using Single 16–Bit Transfer  
rectly replace the MC145540, and the 32–pin TQFP (Thin  
Quad Flat Package) is a new addition.  
SERIAL CONTROL PORT (SCP) INTERFACE  
The MC14LC5540 is equipped with an industry standard  
Serial Control Port (SCP) Interface. The SCP is used by an  
external controller, such as an M68HC05 family microcon-  
troller, to communicate with the MC14LC5540 ADPCM  
Codec.  
Referring to Figure 10, the main functional blocks of the  
MC14LC5540 are the switched capacitor technology PCM  
Codec–Filter, the DSP based ADPCM encoder/decoder, and  
the voltage regulated charge pump. As an introduction to the  
functionality of the ADPCM Codec, a basic description of  
these functional blocks follows.  
The SCP is a full–duplex, four–wire interface used to pass  
control and status information to and from the ADPCM  
Codec. The SCP Interface consists of a transmit output, a re-  
ceive input, a data clock, and an enable signal. These device  
pins are known as SCP Tx, SCP Rx, SCPCLK, and SCPEN,  
respectively. The SCPCLK determines the rate of exchange  
of data in both the transmit and receive directions, and the  
SCPEN signal governs when this exchange is to take place.  
The operation and configuration of the ADPCM Codec is  
controlled by setting the state of the control and status regis-  
ters within the MC14LC5540 and then monitoring these con-  
trol and status registers. The control and status registers  
reside in sixteen 8–bit wide Byte Registers, BR0 – BR15. A  
complete register map can be found in the Serial Control  
Port Registers section.  
PCM CODEC–FILTER BLOCK DESCRIPTION  
A PCM Codec–Filter is a device used for digitizing and re-  
constructing the human voice. These devices were devel-  
oped primarily for the telephone network to facilitate voice  
switching and transmission. Once the voice is digitized, it  
may be switched by digital switching methods or transmitted  
long distance (T1, microwave, fiber optics, satellites, etc.)  
without degradation. The name codec is an acronym from  
“COder” for the analog–to–digital converter (ADC) used to  
digitize voice, and “DECoder” for the digital–to–analog con-  
verter (DAC) used for reconstructing voice. A codec is a  
single device that does both the ADC and DAC conversions.  
To digitize voice intelligibly requires a signal to distortion of  
about 30 dB for a dynamic range of about 40 dB. This may be  
accomplished with a linear 13–bit ADC and DAC, but will far  
exceed the required signal to distortion at amplitudes greater  
than 40 dB below the peak amplitude. This excess perfor-  
mance is at the expense of bits of data per sample. Two  
methods of data reduction are implemented by compressing  
the 13–bit linear scheme to companded 8–bit schemes.  
These companding schemes follow a segmented or “piece-  
wise–linear” curve formatted as sign bit, three chord bits, and  
four step bits. For a given chord, all 16 of the steps have the  
same voltage weighting. As the voltage of the analog input  
increases, the four step bits increment and carry to the three  
chord bits, which increment. When the chord bits increment,  
the step bits double their voltage weighting. This results in an  
effective resolution of six bits (sign + chord + four step bits)  
across a 42 dB dynamic range (seven chords above 0, by  
6 dB per chord). There are two companding schemes used:  
Mu–255 Law specifically in North America and A–Law spe-  
cifically in Europe. These companding schemes are ac-  
cepted world wide.  
BYTE REGISTER OPERATIONS  
The sixteen byte registers are addressed by addressing a  
four–bit byte register address (A3:A0) as shown in Figures 6  
and 7. A second 8–bit operation transfers the data word  
(D7:D0). Alternatively, these registers can be accessed with  
a single 16–bit operation as shown in Figures 8 and 9.  
ADPCM CODEC DEVICE DESCRIPTION  
The MC14LC5540 is a single channel Mu–Law or A–Law  
companding PCM Codec–Filter with an ADPCM encoder/de-  
coder operating on a single voltage power supply from 2.7 to  
5.25 V.  
The MC14LC5540 ADPCM Codec is a complete solution  
for digitizing and reconstructing voice in compliance with  
CCITT G.714, G.721–1988, G.723–1988, G.726, and ANSI  
T1.301 and T1.303 for 64, 32, 24, and 16 kbps. This device  
satisfies the need for high–quality, low–power, low data rate  
voice transmission, and storage applications and is offered in  
three plastic packages: the 28–pin DIP and 28–pin SOIC di-  
MC14LC5540  
8
MOTOROLA  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
Figure 10. ADPCM Codec Block Diagram  
MOTOROLA  
MC14LC5540  
9
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
In a sampling environment, Nyquist theory says that to  
Score (MOS) ratings and performed well when compared to  
64 kbps PCM. The standards committees have specified  
multiple 16000 word test vectors for the encoder and for the  
decoder to verify compliance. To run these test vectors, the  
device must be initialized to the reference state by resetting  
the device.  
properly sample a continuous signal, it must be sampled at a  
frequency higher than twice the signal’s highest frequency  
component. Voice contains spectral energy above 3 kHz, but  
its absence is not detrimental to intelligibility. To reduce the  
digital data rate, which is proportional to the sampling rate, a  
sample rate of 8 kHz was adopted, consistent with a band-  
width of 3 kHz. This sampling requires a low–pass filter to  
limit the high frequency energy above 3 kHz from distorting  
the inband signal. The telephone line is also subject to  
50/60 Hz power line coupling, which must be attenuated  
from the signal by a high–pass filter before the analog–to–  
digital converter.  
The digital–to–analog conversion process reconstructs a  
staircase version of the desired inband signal which has  
spectral images of the inband signal modulated about the  
sample frequency and its harmonics. These spectral images  
are called aliasing components which need to be attenuated  
to obtain the desired signal. The low–pass filter used to at-  
tenuate these aliasing components is typically called a re-  
construction or smoothing filter.  
In contrast to 64 kbps PCM, the ADPCM words appear as  
random bit activity on an oscilloscope display whether the  
audio channel is processing speech or a typical PCM idle  
channel with nominal bit activity. The ADPCM algorithm does  
not support dc signals with the exception of digital quiet,  
which will result in all ones in the ADPCM channel. All digital  
processing is performed on 13–bit linearizations of the 8–bit  
PCM companded words, whether the words are Mu–Law or  
A–Law. This allows an ADPCM channel to be intelligibly de-  
coded into a Mu–Law PCM sequence or an A–Law PCM se-  
quence irrespective of whether it was originally digitized as  
Mu–Law or A–Law. There will be additional quantizing degra-  
dation if the companding scheme is changed because the  
ADPCM algorithm is trying to reconstruct the original 13–bit  
linear codes, which included companding quantization.  
The MC14LC5540 ADPCM Codec incorporates this codec  
function as one of its main functional blocks.  
CHARGE PUMP  
The charge pump is the functional block that allows the  
analog signal processing circuitry of the MC14LC5540 to op-  
erate with a power supply voltage as low as 2.7 V. This ana-  
log signal processing circuitry includes the PCM  
Codec–Filter function, the transmit trim gain, the receive trim  
gain, the sidetone gain control, and the transmit input opera-  
tional amplifier. This circuitry does not dissipate much current  
ADPCM TRANSCODER BLOCK DESCRIPTION  
An Adaptive Differential PCM (ADPCM) transcoder is used  
to reduce the data rate required to transmit a PCM encoded  
voice signal while maintaining the voice fidelity and intelligi-  
bility of the PCM signal.  
The ADPCM transcoder is used on both Mu–Law and A–  
Law 64 kbps data streams which represent either voice or  
voice band data signals that have been digitized by a PCM  
Codec–Filter. The PCM to ADPCM encoder section of this  
transcoder has a type of linear predicting digital filter which is  
trying to predict the next PCM sample based on the previous  
history of the PCM samples. The ADPCM to PCM decoder  
section implements an identical linear predicting digital filter.  
The error or difference between the predicted and the true  
PCM input value is the information that is sent from the en-  
coder to the decoder as an ADPCM word. The characteris-  
tics of this ADPCM word include the number of quantized  
steps (this determines the number of bits per ADPCM word)  
and the actual meaning of this word is a function of the pre-  
dictor’s output value, the error signal and the statistics of the  
history of PCM words. The term “adaptive” applies to the  
transfer function of the filter that generates the ADPCM word  
which adapts to the statistics of the signals presented to it.  
This means that an ADPCM word “3” does not have the  
same absolute error voltage weighting for the analog signal  
when the channel is quiet as it does when the channel is pro-  
cessing a speech signal. The ADPCM to PCM decoder sec-  
tion has a reciprocating filter function which interprets the  
ADPCM word for proper reconstruction of the PCM sample.  
The adaptive characteristics of the ADPCM algorithm  
make it difficult to analyze and quantify the performance of  
the ADPCM code sequence. The 32 kbps algorithm was opti-  
mized for both voice and moderate speed modems  
(v 4800 baud). This optimization includes that the algorithm  
supports the voice frequency band of 300 – 3400 Hz with  
minimal degradation for signal–to–distortion, gain–versus–  
level, idle channel noise, and other analog transmission per-  
formance. This algorithm has also been subjected to  
audibility testing with many languages for Mean Opinion  
but it does require a nominal voltage of 5 V for the V  
supply.  
power  
DD  
The charge pump block is a regulated voltage doubler  
which takes twice the current it supplies from the voltage ap-  
plied to the V  
to 5.25 V and generates the required 5 V V  
charge pump block receives as inputs the V  
power supply pin which may range from 2.7  
EXT  
supply. The  
supply volt-  
DD  
EXT  
age, the same 256 kHz clock that sequences the analog sig-  
nal processing circuitry, and the Charge Pump Enable signal  
from the SCP block. It also makes use of the capacitor con-  
nected to the C1+ and C1– pins and the decoupling capacitor  
connected to the V  
pin.  
DD  
FUNCTIONAL DESCRIPTION  
POWER SUPPLY CONFIGURATION  
Analog Signal Processing Power Supply  
All analog signal processing is powered by the V  
5 V. This voltage may be applied directly to the V  
5 V may be obtained by the on–chip 5 V regulated charge  
pin at  
pin or  
DD  
DD  
pump which is powered from the V  
pin. The V  
pin is  
EXT  
the main positive power supply pin for this device.  
EXT  
For applications that are not 5 V regulated, the on–chip 5 V  
regulated charge pump may be turned on and C1 will be re-  
quired. V  
will require a 1.0 µF decoupling capacitor to filter  
DD  
the voltage spikes of the charge pump. This allows the V  
EXT  
power supply to be from 2.7 to 5.25 V. This mode of opera-  
tion is intended for hand held applications where three NiCad  
cells or three dry cells would be the power supply.  
The on–chip 5 V regulated charge pump is a single stage  
charge pump that effectively series regulates the amount of  
voltage it generates and internally applies this regulated volt-  
age to the V  
pin. This 5 V voltage is developed by con-  
DD  
MC14LC5540  
10  
MOTOROLA  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
necting the external 0.1 µF capacitor (C1) between the V  
The gain is programmed via the SCP port in BR1 (b2:b0).  
EXT  
power supply pin and the power supply ground pin, V . This  
The next section is a fully–differential, 5–pole switched–ca-  
pacitor low–pass filter with a 3.4 kHz frequency cutoff. After  
this filter is a 3–pole switched–capacitor high–pass filter hav-  
ing a cutoff frequency of about 200 Hz. This high–pass stage  
has a transmission zero at dc that eliminates any dc coming  
from the analog input or from accumulated op amp offsets in  
the preceding filter stages. (This high–pass filter may be re-  
moved from the signal path under control of the SCP port  
BR8 (b4).) The last stage of the high–pass filter is an auto-  
zeroed sample and hold amplifier.  
SS  
puts a charge of as much as 2.7 V on C1. The charge pump  
circuitry then connects the negative lead of C1 to the V  
,
EXT  
for  
pin which sums the voltage of C1 with the voltage at V  
EXT  
a minimum potential voltage of 5.4 V. The charge voltage on  
C1 is regulated such that the summing of voltages is regu-  
lated to 5 V. This limits all of the voltages on the device to  
safe levels for this IC fabrication technology. This charge  
pumped voltage is then stored on the 1.0 µF capacitor con-  
nected at V  
and V , which filters and serves as a reser-  
DD  
SS  
voir for power. The clock period for this charge pump is the  
same 256 kHz as the analog sequencing clock, minimizing  
noise problems.  
One bandgap voltage reference generator and digital–to–  
analog converter (DAC) are shared by the transmit and re-  
ceive sections. The autozeroed, switched–capacitor  
bandgap reference generates precise positive and negative  
reference voltages that are virtually independent of tempera-  
ture and power supply voltage. A binary–weighted capacitor  
array (CDAC) forms the chords of the companding structure,  
while a resistor string (RDAC) implements the linear steps  
within each chord. The encode process uses the DAC, the  
voltage reference, and a frame–by–frame autozeroed  
comparator to implement a successive–approximation ana-  
log–to–digital conversion (ADC) algorithm. All of the analog  
circuitry involved in the data conversion (the voltage refer-  
ence, RDAC, CDAC, and comparator) are implemented with  
a differential architecture.  
For applications with a regulated 5 V (± 5%) power supply,  
the V  
pin and the V  
pin are connected to the 5 V power  
DD  
EXT  
supply. These pins may share one decoupling capacitor in  
this configuration as a function of external noise on the pow-  
er supply. The on–chip, 5 V regulated charge pump should  
be turned off via the SCP port at register 0. The external ca-  
pacitor (C1) should not be populated for these applications.  
Digital Signal Processing Power Supply  
This device has an on–chip series regulator which limits  
the voltage of the Digital Signal Processing (DSP) circuitry to  
about 2.3 V. This reduces the maximum power dissipation of  
The nonlinear companded Mu–Law transfer curve of the  
ADC may be changed to 8–bit linear by BR8 (b5).  
The input to the ADC is normally connected to the output  
of the transmit filter section, but may be switched to measure  
this circuitry. From the V  
power supply pin, the DSP cir-  
EXT  
cuitry appears as a constant current load instead of a resis-  
2
tive (CV /2) load for a constant clock frequency. This series  
regulator is designed to have a low drop–out voltage, which  
the voltage at the V  
This is selected by the I/O Mode in BR0 (b4:b3). In this  
mode, the ADC is programmed to output a linear 8–bit PCM  
pin for battery voltage monitoring.  
EXT  
allows the DSP circuitry to work when the V  
voltage is as  
EXT  
low as 2.7 V. The output of this regulator is brought out to the  
pin for a 0.1 µF decoupling capacitor. This regulator is  
V
DSP  
word for the voltage at V  
which is intended to be read in  
EXT  
not designed to power any loads external to the device.  
BR9 (b7:b0). The data format for the ADC output is a “Don’t  
Care” for the sign bit and seven magnitude bits. The scaling  
ANALOG INTERFACE AND SIGNAL PATH  
Transmit Analog  
for the ADC is for 6.3 V at V  
1111). The ADPCM algorithm does not support dc signals.  
equals full scale (BIN X111  
EXT  
The transmit analog portion of this device includes a low–  
noise, three terminal operational amplifier capable of driving  
a 2 kload. This op amp has inputs of TI+ and TI– and its  
output is TG. This op amp is intended to be configured in an  
inverting gain circuit. The analog signal may be applied di-  
rectly to the TG pin if this transmit op amp is independently  
powered down. Power–down may be achieved by connect-  
Transmit Digital  
The Digital Signal Processor (DSP) section of this device  
is a custom designed, interrupt driven, microcoded machine  
optimized for implementing the ADPCM algorithms. In the  
full–duplex speech mode, the DSP services one encode in-  
terrupt and one decode interrupt per frame (125 µs). The en-  
code algorithm (i.e., 16 kbps, 24 kbps, or 32 kbps ADPCM, or  
64 kbps PCM) is determined by the length of the transmit  
output enable at the FST pin. The length of the FST enable  
measured in transmit data clock (BCLKT) cycles tells the de-  
vice which encoding rate to use. This enable length informa-  
tion is used by the encoder each frame. The transmit  
ADPCM word corresponding to this request will be computed  
during the next frame and will be available a total of two  
frames after being requested. This transmit enable length in-  
formation can be delayed by the device an additional four  
frames corresponding to a total of six frames. These six  
frames of delay allow the device to be clocked with the same  
clocks for both transmit (encode) and receive (decode), and  
to be frame aligned for applications that require every sixth  
frame signaling. It is important to note that the enable length  
information is delayed and not the actual ADPCM (PCM)  
sample word. The amount of delay for the FST enable length  
is controlled in BR7 (b5). If the FST enable goes low before  
ing both the TI+ and TI– inputs to the V  
pin. The TG pin  
DD  
becomes high impedance when the transmit op amp is pow-  
ered down. The TG pin is internally connected to a time con-  
tinuous three–pole anti–aliasing pre–filter. This pre–filter  
incorporates a two–pole Butterworth active low–pass filter,  
followed by a single passive pole. This pre–filter is followed  
by a single–ended to differential converter that is clocked at  
512 kHz. All subsequent analog processing utilizes fully dif-  
ferential circuitry. The output of the differential converter is  
followed by the transmit trim gain stage. This stage is in-  
tended to compensate for gain tolerances of external compo-  
nents such as microphones. The amount of gain control is  
0–7 dB in 1 dB steps. This stage only accommodates posi-  
tive gain because the maximum signal levels of the output of  
the input op amp are the same as the transmit filter and ADC,  
which should nominally be next to the clip levels of this de-  
vice’s circuitry. Any requirement for attenuation of the output  
of the input op amp would mean that it is being overdriven.  
MOTOROLA  
MC14LC5540  
11  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
the falling edge of BCLKT during the last bit of the ADPCM  
this device is powered with 5 V, it is recommended that the dc  
word, the digital data output circuitry counts BCLKT cycles to  
keep the data output (DT pin) low impedance for the duration  
of the ADPCM data word (2, 3, 4, or 8 BCLKT cycles) minus  
one half of a BCLKT cycle.  
reference for this circuitry be programmed to V . This al-  
lows maximum output signals for driving high power tele-  
phone line transformer interfaces and loud speaker/ringers.  
AG  
For applications that are battery powered, V  
pin will still be  
AG  
2.4 V, but the receive analog output circuitry will be powered  
from as low as 2.7 V. To optimize the output power, this cir-  
cuitry should be referenced to one half of the battery voltage,  
Receive Digital  
The receive digital section of this device accepts serial  
ADPCM (PCM) words at the DR pin under the control of the  
BCLKR and FSR pins. The FSR enable duration, measured  
in BCLKR cycles, tells the device which decode algorithm  
(i.e., 16 kbps, 24 kbps, or 32 kbps ADPCM, or 64 kbps PCM)  
the DSP machine should use for the word that is being re-  
ceived at the DR pin. This algorithm may be changed on a  
frame by frame basis.  
The DSP machine receives an interrupt when an ADPCM  
word has been received and is waiting to be decoded into a  
PCM word. The DSP machine performs a decode and an en-  
code every frame when the device is operating in its full du-  
plex conversation mode. The DSP machine decodes the  
ADPCM word according to CCITT G.726 for 32 kbps,  
24 kbps, and 16 kbps. This decoding includes the correction  
for the CCITT/ANSI Sync function, except when the receive  
digital gain is used. The receive digital gain is anticipated to  
be user adjustable gain control in handset applications  
where as much as 12 dB of gain or more than 12 dB of atten-  
uation may be desirable. The receive digital gain is a linear  
multiply performed on the 13–bit linear data before it is con-  
verted to Mu–Law or A–Law, and is programmed via the SCP  
port in BR3 (b7:b0). The decoded PCM word may be read via  
the SCP port in BR10 (b7:b0).  
V
/2. The RO pin is powered by the V  
pin, but its dc  
EXT  
DD  
reference point is programmed the same as the high current  
analog output circuitry.  
This device has two pairs of power amplifiers that are con-  
nected in a push–pull configuration. These push–pull power  
driver pairs have similar drive capabilities, but have different  
circuit configurations and different intended uses. The PO+  
and PO– power drivers are intended to accommodate large  
gain ranges with precise adjustment by two external resistors  
for applications such as driving a telephone line or a handset  
receiver. The PI pin is the inverting input to the PO– power  
amplifier. The non–inverting input is internally tied to the  
same reference as the RO output. This allows this amplifier  
to be used in an inverting gain circuit with two external resis-  
tors. The PO+ amplifier has a gain of – 1, and is internally  
connected to the PO– output. This complete power amplifier  
circuit is a differential (push–pull) amplifier with adjustable  
gain which is capable of driving a 300 load to + 12 dBm  
when V  
is 5 V. The PO+ and PO– outputs are intended  
EXT  
to drive loads differentially and not to V  
or V . The PO+  
SS  
and PO– power amplifiers may be powered down indepen-  
AG  
dently of the rest of the chip by connecting the PI pin to V  
or in BR2 (b5).  
DD  
The other paired power driver outputs are the AXO+ and  
AXO– Auxiliary outputs. These push–pull output amplifiers  
are intended to drive a ringer or loud speaker with imped-  
Receive Analog Signal Processing  
ance as low as 300 to + 12 dBm when V  
is 5 V. The  
The receive analog signal processing section includes the  
DAC described above, a sample and hold amplifier, a trim  
gain stage, a 5–pole, 3400 Hz switched capacitor low–pass  
filter with sinX/X correction, and a 2–pole active smoothing  
filter to reduce the spectral components of the switched ca-  
pacitor filter. (The receive low–pass smoothing filter may be  
removed from the signal path for the additional spectral com-  
ponents for applications using the on–chip tone generator  
function described below. This low–pass filter performs the  
sinX/X compensation. The receive filter is removed from the  
circuit via the SCP in BR2 (b4).) The input to the smoothing  
filter is the output to the receive trim gain stage. This stage is  
intended to compensate for gain tolerances of external com-  
ponents such as handset receivers. This stage is capable of  
0 to 7 dB of attenuation in 1–dB steps. This stage only ac-  
commodates attenuation because the nominal signal levels  
of the DAC should be next to the clip levels of this device’s  
circuitry and any positive gain would overdrive the outputs.  
The gain is programmed via the SCP port in BR2 (b2:b0).The  
output of the 2–pole active smoothing filter is buffered by an  
amplifier which is output at the RO pin. This output is capable  
EXT  
AXO+ and AXO– outputs are intended to drive loads differ-  
entially and not to V or V . The AXO+ and AXO–  
SS  
AG  
power amplifiers may be powered down independently of the  
rest of the chip via the SCP port in BR2 (b6).  
SIDETONE  
The Sidetone function of this device allows a controlled  
amount of the output from the transmit filter to be summed  
with the output of the DAC at the input to the receive low–  
pass filter. The sidetone component has gains of –8.5 dB,  
–10.5 dB, –12.0 dB, –13.5 dB, –15.0 dB, –18.0 dB,  
–21.5 dB, and v – 70 dB. The sidetone function is controlled  
by the SCP port in BR1 (b6:b4).  
UNIVERSAL TONE GENERATOR  
The Universal Dual Tone Generator function supports both  
the transmit and the receive sides of this device. When the  
tone generator is being used, the decoder function of the  
DSP circuit is disabled. The output of the tone generator is  
made available to the input of the receive digital gain function  
for use at the receive analog outputs. In handset applica-  
tions, this could be used for generating DTMF, distinctive  
ringing or call progress feedback signals. In telephone line  
interface applications, this tone generator could be used for  
signaling on the line. The tone generator output is also avail-  
able for the input to the encoder function of the DSP machine  
for outputting at the DT pin. This function is useful in handset  
applications for non–network signaling such as information  
of driving a 2 kload to the V  
pin.  
AG  
Receive Analog Output Drivers and Power Supply  
The high current analog output circuitry (PO+, PO–, PI,  
AXO+, AXO–) is powered by the V  
to the wide range of V  
EXT  
this circuitry and the RO pin have a programmable reference  
power supply pin. Due  
operating voltages for this device,  
EXT  
point of either V  
(2.4 V) or V  
/2. In applications where  
AG  
EXT  
MC14LC5540  
12  
MOTOROLA  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
services, answering machine control, etc. At the network in-  
Long Frame Sync  
terface side of a cordless telephone application, this function  
could be used for dialing feedback or call progress to the  
handset. The tone generator function is controlled by the  
SCP port in BR4, BR5, and BR7. The tone generator does  
not work when the device is operated in 64 kbps mode, ex-  
cept when analog loopback is enabled at BR0 (b5).  
Long Frame Sync is the industry name for one type of  
clocking format which controls the transfer of the ADPCM or  
PCM data words (see Figures 1 through 4). The “Frame  
Sync” or “Enable” is used for two specific synchronizing func-  
tions. The first is to synchronize the PCM data word transfer,  
and the second is to control the internal analog–to–digital  
and digital–to–analog conversions. The term “Sync” refers to  
the function of synchronizing the PCM data word onto or off  
of the multiplexed serial PCM data bus, also known as a  
PCM highway. The term “Long” comes from the duration of  
the frame sync measured in PCM data clock cycles. Long  
Frame Sync timing occurs when the frame sync is used di-  
rectly as the PCM data output driver enable. This results in  
the PCM output going low impedance with the rising edge of  
the transmit frame sync, and remaining low impedance for  
the duration of the transmit frame sync.  
POWER–DOWN AND RESET  
There are two methods of putting all of this device into a  
low power consumption mode that makes the device non-  
functional and consumes virtually no power. PDI/RESET is  
the power–down input and reset pin which, when taken low,  
powers down the device. Another way to power the device  
down is by the SCP port at BR0. BR0 allows the analog sec-  
tion of this device to be powered down individually and/or the  
digital section of this device to be powered down individually.  
When the chip is powered down, the V , TG, RO, PO+,  
The implementation of Long Frame Sync for this device  
has maintained industry compatibility and been optimized for  
external clocking simplicity. The PCM data output goes low  
impedance with the rising edge of the FST pin but the MSB of  
the data is clocked out due to the logical AND of the transmit  
frame sync (FST pin) with the transmit data clock (BCLKT  
pin). This allows either the rising edge of the FST enable or  
the rising edge of the BCLKT data clock to be first. This im-  
plementation includes the PCM data output remaining low  
impedance until the middle of the LSB (seven and a half data  
clock cycles for 64 kbps PCM, three and a half data clock  
cycles for 32 kbps ADPCM, etc.). This allows the frame sync  
to be approximately rising edge aligned with the initiation of  
the PCM data word transfer but the frame sync does not  
have a precise timing requirement for the end of the PCM  
data word transfer. This prevents bus contention between  
similar devices on a common bus. The device recognizes  
Long Frame Sync clocking when the frame sync is held high  
for two consecutive falling edges of the transmit data clock.  
In the full–duplex speech mode, the DSP services one en-  
code interrupt and one decode interrupt per frame (125 µs).  
The encode algorithm (i.e., 16 kbps, 24 kbps, or 32 kbps  
ADPCM or 64 kbps PCM) is determined by the length of the  
transmit output enable at the FST pin. The length of the FST  
enable measured in transmit data clock (BCLKT) cycles tells  
the device which encoding rate to use. This enable length in-  
formation is used by the encoder each frame. The transmit  
ADPCM word corresponding to this request will be computed  
during the next frame and be available a total of two frames  
after being requested. This transmit enable length informa-  
tion can be delayed by the device an additional four frames  
corresponding to a total of six frames. This six frames of  
delay allows the device to be clocked with the same clocks  
for both transmit (encode) and receive (decode), and to be  
frame aligned for applications that require every sixth frame  
signaling. It is important to note that the enable length in-  
formation is delayed and not the actual ADPCM (PCM) sam-  
ple word. The amount of delay for the FST enable length is  
controlled by the SCP port at BR7 (b5). The digital data out-  
put circuitry counts BCLKT cycles to keep the data output  
(DT pin) low impedance for the duration of the ADPCM data  
word (2, 3, 4, or 8 BCLKT cycles) minus one half of a BCLKT  
cycle.  
AG  
PO–, AXO+, AXO–, DT and SCP Tx outputs are high imped-  
ance. To return the chip to the power–up state, PDI/RESET  
must be high and the SPC clock and the FST or the FSR  
frame sync pulses must be present. The ADPCM algorithm is  
reset to the CCITT initial state following the reset transition  
from low to high logic states. The DT output will remain in a  
high–impedance state for at least two FST pulses after pow-  
er–up. This device is functional after being reset for full–du-  
plex voice coding with the charge pump active.  
SIGNAL PROCESSING CLOCK (SPC)  
This is the clock that sequences the DSP circuit. This clock  
may be asynchronous to all other functions of this device.  
Clock frequencies of 20.48 MHz to 24.32 MHz are recom-  
mended. This clock is also used to drive a digitally phase–  
locked prescaler that is referenced to FST (8 kHz) and  
automatically determines the proper divide ratio to use for  
achieving the required 256 kHz internal sequencing clock for  
all analog signal processing, including analog–to–digital con-  
version, digital–to–analog conversion, transmit filtering, re-  
ceive filtering and analog gain functions of this device, and  
the charge pump. The SPC clock should be a multiple of 256  
kHz.  
The analog sequencing function of the SPC clock may be  
eliminated by reprogramming the device to use the BCLKR  
pin as the direct input for the required 256 kHz analog se-  
quencing clock. The 256 kHz clock applied at BCLKR must  
be an integer 32 times the FST 8 kHz clock and be approxi-  
mately rising edge aligned with the FST rising edge. This  
mode requires that the transmit and receive ADPCM trans-  
fers be controlled by the BCLKT pin. This is reprogrammed  
via the SCP port in BR0(b7).  
DIGITAL I/O  
The MC14LC5540 is programmable for Mu–Law or A–  
Law. The timing for the PCM data transfer is independent of  
the companding scheme selected. Table 1 shows the 8–bit  
data word format for positive and negative zero and full scale  
for both 64 kbps companding schemes (see Figures 1  
through 5 for a summary and comparison of the five PCM  
data interface modes of this device).  
MOTOROLA  
MC14LC5540  
13  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
Table 1. PCM Full Scale and Zero Words  
Mu–Law  
Chord Bits  
0 0 0  
A–Law  
Level  
Sign Bit  
Step Bits  
0 0 0 0  
1 1 1 1  
1 1 1 1  
0 0 0 0  
Sign Bit  
Chord Bits  
0 1 0  
Step Bits  
1 0 1 0  
0 1 0 1  
0 1 0 1  
1 0 1 0  
+ Full Scale  
+ Zero  
1
1
0
0
1
1
0
0
1 1 1  
1 0 1  
– Zero  
1 1 1  
1 0 1  
– Full Scale  
0 0 0  
0 1 0  
The length of the FST enable tells the DSP what encoding  
algorithm to use. The transmit logic decides on each frame  
sync whether it should interpret the next frame sync pulse as  
a Long or a Short Frame Sync. The device is designed to  
prevent PCM bus contention by not allowing the PCM data  
output to go low impedance for at least two frame sync  
cycles after power is applied or when coming out of the pow-  
er–down mode.  
The receive side of the device is designed to accept the  
same frame sync and data clock as the transmit side and to  
be able to latch its own transmit PCM data word. Thus the  
PCM digital switch only needs to be able to generate one  
type of frame sync for use by both transmit or receive sec-  
tions of the device.  
The logical AND of the receive frame sync with the receive  
data clock tells the device to start latching the serial word into  
the receive data input on the falling edges of the receive data  
clock. The internal receive logic counts the receive data  
clock falling edges while the FSR enable is high and trans-  
fers the enable length and the PCM data word into internal  
registers for access by the DSP machine which also sets the  
DSP’s decoder interrupt.  
The receive digital section of this device accepts serial  
ADPCM (PCM) words at the DR pin under the control of the  
BCLKR and FSR pins. The FSR enable duration measured  
in BCLKR cycles, tells the device which decode algorithm  
(i.e., 16 kbps, 24 kbps, or 32 kbps ADPCM, or 64 kbps PCM)  
the DSP machine should use for the word that is being re-  
ceived at the DR pin. This algorithm may be changed on a  
frame by frame basis.  
The first is to synchronize the ADPCM data word transfer,  
and the second is to control the internal analog to digital and  
digital to analog conversions. The term “Sync” refers to the  
function of synchronizing the ADPCM data word onto or off of  
the multiplexed serial ADPCM data bus, also known as a  
PCM highway. The term “Short” comes from the duration of  
the frame sync measured in PCM data clock cycles. Short  
Frame Sync timing occurs when the frame sync is used as a  
“pre–synchronization” pulse that is used to tell the internal  
logic to clock out the ADPCM data word under complete con-  
trol of the data clock. The Short Frame Sync is held high for  
one falling data clock edge. The device outputs the ADPCM  
data word beginning with the following rising edge of the data  
clock. This results in the ADPCM output going low imped-  
ance with the rising edge of the transmit data clock, and re-  
maining low impedance until the middle of the LSB (three  
and a half PCM data clock cycles).  
The device recognizes Short Frame Sync clocking when  
the frame sync is held high for one and only one falling edge  
of the transmit data clock. The transmit logic decides on each  
frame sync whether it should interpret the next frame sync  
pulse as a Long or a Short Frame Sync. It is not recom-  
mended to switch between Long Frame Sync and Short  
Frame Sync clocking without going through a power–down  
cycle due to bus contention problems. The device is de-  
signed to prevent PCM bus contention by not allowing the  
ADPCM data output to go low impedance for at least two  
frame sync cycles after power is applied or when coming out  
of a powered down mode.  
The receive side of the device is designed to accept the  
same frame sync and data clock as the transmit side and to  
be able to latch its own transmit ADPCM data word. Thus the  
PCM digital switch only needs to be able to generate one  
type of frame sync for use by both transmit or receive sec-  
tions of the device.  
When the device is programmed to be in the PCM Codec  
mode by BR0 (4:3), the device will output and input the com-  
plete 8–bit PCM words using the Long Frame Sync clocking  
format as though the FST and FSR pulses were held high for  
8 data clock cycles.  
The DSP machine receives an interrupt when an ADPCM  
word has been received and is waiting to be decoded into a  
PCM word. The DSP machine performs a decode and an en-  
code every frame when the device is operating in its full–du-  
plex conversation mode. The DSP machine decodes the  
ADPCM word according to CCITT G.726 for 32 kbps,  
24 kbps, and 16 kbps.  
The falling edge of the receive data clock (BCLKR) latch-  
ing a high logic level at the receive frame sync (FSR) input  
tells the device to start latching the 4–bit ADPCM serial word  
into the receive data input on the following four falling edges  
of the receive data clock. The internal receive logic counts  
the receive data clock cycles and transfers the ADPCM data  
word to a register for access by the DSP.  
When the device is programmed to be in the PCM Codec  
mode by BR0 (4:3), the device will output the complete 8–bit  
PCM word using the Short Frame Sync clocking format. The  
8–bit PCM word will be clocked out (or in) the same way that  
the 4–bit ADPCM word would be, except that the fourth bit  
will be valid for the full BCLKT period and the eighth bit will be  
valid for only one half of the BCLKT period.  
Short Frame Sync  
Short Frame Sync is the industry name for this type of  
clocking format which controls the transfer of the ADPCM  
data words (see Figure 5). This device uses Short Frame  
Sync timing for 32 kbps ADPCM only. The “Frame Sync” or  
“Enable” is used for two specific synchronizing functions.  
MC14LC5540  
14  
MOTOROLA  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
and status of the part. Register BR15 holds the value of the  
SERIAL CONTROL PORT REGISTER MAP  
mask number for the particular MC14LC5540. BR6 and  
BR11 – BR14 are not defined and as such are presently re-  
served.  
The SCP register map consists of 16 byte registers. Regis-  
ters BR0 – BR5 and BR7 – BR10 provide external control of  
Table 2. Byte Register Map  
Byte  
BR0  
b7  
b6  
b5  
b4  
b3  
b2  
b1  
b0  
Ext  
256 kHz  
CLK  
Mu–/A–Law  
Select  
Analog  
Loopback  
I/O Mode  
(1)  
I/O Mode  
(0)  
Charge  
Pump  
Disable  
Analog  
Power  
Down  
Digital  
Power  
Down  
BR1  
BR2  
Reserved  
Sidetone  
Gain (2)  
Sidetone  
Gain (1)  
Sidetone  
Gain (0)  
Transmit  
Mute  
Transmit  
Gain (2)  
Transmit  
Gain (1)  
Transmit  
Gain (0)  
RO  
Reference  
Select  
AXO  
Enable  
PO  
Disable  
Receive  
Filter  
Disable  
RO Mute  
Analog  
Receive  
Gain (2)  
Analog  
Receive  
Gain (1)  
Analog  
Receive  
Gain (0)  
BR3  
BR4  
Digital Rx  
Gain  
Enable  
Digital Rx  
Gain (6)  
Digital Rx  
Gain (5)  
Digital Rx  
Gain (4)  
Digital Rx  
Gain (3)  
Digital Rx  
Gain (2)  
Digital Rx  
Gain (1)  
Digital Rx  
Gain (0)  
N.B. Time  
/ Tone  
Param.  
(7)  
N.B. Time  
/ Tone  
Param.  
(6)  
N.B. Time  
/ Tone  
Param.  
(5)  
N.B. Time  
/ Tone  
Param.  
(4)  
N.B.Time  
/ Tone  
Param.  
(3)  
N.B. Time  
/ Tone  
Param.  
(2)  
N.B. Time  
/ Tone  
Param.  
(1)  
N.B. Time  
/ Tone  
Param.  
(0)  
BR5  
N.B.  
Threshold  
(7) /  
N.B.  
Threshold  
(6) /  
N.B.  
Threshold  
(5) /  
N.B.  
Threshold  
(4) /  
N.B.  
Threshold  
(3) /  
N.B.  
Threshold  
(2) /  
N.B.  
Threshold  
(1) /  
N.B.  
Threshold  
(0) /  
Address  
Param.  
(1)  
Address  
Param.  
(0)  
Don’t  
Care  
Don’t  
Care  
Tone  
Param.  
(11)  
Tone  
Param.  
(10)  
Tone  
Param.  
(9)  
Tone  
Param.  
(8)  
BR6  
BR7  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Tone  
Param.  
Status  
N.B.  
Detect  
Enable  
2/6  
Delay  
G.726/  
Motorola  
16 kbps  
Tone  
Enable  
Tone 1  
Enable  
Tone 2  
Enable  
BR8  
Software  
Encoder  
Reset  
Software  
Decoder  
Reset  
Linear  
Codec  
Mode  
Highpass  
Disable  
Reserved  
Reserved  
Reserved  
Reserved  
BR9  
Encoder  
PCM (7)  
Encoder  
PCM (6)  
Encoder  
PCM (5)  
Encoder  
PCM (4)  
Encoder  
PCM (3)  
Encoder  
PCM (2)  
Encoder  
PCM (1)  
Encoder  
PCM (0)  
BR10  
D/A PCM  
(7)  
D/A PCM  
(6)  
D/A PCM  
(5)  
D/A PCM  
(4)  
D/A PCM  
(3)  
D/A PCM  
(2)  
D/A PCM  
(1)  
D/A PCM  
(0)  
BR11  
BR12  
BR13  
BR14  
BR15  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Reserved  
Mask (3)  
Reserved  
Reserved  
Reserved  
Reserved  
Mask (2)  
Reserved  
Reserved  
Reserved  
Reserved  
Mask (1)  
Reserved  
Reserved  
Reserved  
Reserved  
Mask (0)  
NOTE: “Setting” a bit corresponds to writing a 1 to the register and “clearing” a bit corresponds to writing a 0 to the register.  
MOTOROLA  
MC14LC5540  
15  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
APPLICATION CIRCUITS  
+2.7 V  
1 k  
68 µF  
1 kΩ  
1.0 µF  
20 kΩ  
20 kΩ  
V
DD  
TG  
TI–  
TI+  
28  
27  
26  
25  
24  
23  
22  
21  
20  
19  
18  
17  
16  
15  
1 •  
2
1.0 µF  
1 kΩ  
1 kΩ  
FSR  
BCLKR  
DR  
MIC  
3
V
1.0 µF  
AG  
RO  
4
ADPCM IN  
0.1 µF  
C1+  
C1–  
5
0.1 µF  
150 Ω  
AXO–  
AXO+  
6
RINGER  
V
SS  
7
V
DSP  
SPC  
8
20.736 MHz  
ADPCM OUT  
2.048 MHz  
8 kHz  
20 kΩ  
0.1 µF  
0.1 µF  
V
EXT  
DT  
9
+2.7 V  
PI  
PO–  
BCLKT  
FST  
10  
11  
12  
13  
14  
3 kΩ  
SCP Rx  
SCP Tx  
SCPCLK  
RECEIVER  
PO+  
150 Ω  
PDI/RESET  
SCPEN  
TO MICROCONTROLLER  
SERIAL PERIPHERAL  
INTERFACE PORT AND  
RESET CIRCUIT  
MC14LC5540  
Figure 11. MC14LC5540 Handset Application  
MC14LC5540  
16  
MOTOROLA  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
10 kΩ  
V
DD  
TG  
TI–  
TI+  
28  
27  
26  
25  
24  
23  
22  
21  
20  
19  
18  
17  
16  
15  
1 •  
2
+5 V  
10 kΩ  
0.1 µF  
FSR  
BCLKR  
DR  
3
V
AG  
0.1 µF  
4
ADPCM IN  
RO  
C1+  
C1–  
5
NC  
NC  
AXO–  
AXO+  
6
NC  
NC  
V
SS  
7
20 kΩ  
V
DSP  
SPC  
8
20.48 MHz  
ADPCM OUT  
2.048 MHz  
8 kHz  
0.1 µF  
0.1 µF  
V
EXT  
DT  
9
+5 V  
PI  
PO–  
PO+  
BCLKT  
FST  
10  
11  
12  
13  
14  
3 kΩ  
R0 = 600 Ω  
TIP  
150 Ω  
SCP Rx  
SCP Tx  
SCPCLK  
N = 1  
N = 0.5  
PDI/RESET  
SCPEN  
TO MICROCONTROLLER  
SERIAL PERIPHERAL  
INTERFACE PORT AND  
RESET CIRCUIT  
RING  
MC14LC5540  
Figure 12. MC14LC5540 Step–Up 1:0.5 Transformer Application  
10 kΩ  
V
TG  
DD  
28  
27  
26  
25  
24  
23  
22  
21  
20  
19  
18  
17  
16  
15  
1 •  
2
+5 V  
10 kΩ  
0.1 µF  
TI–  
TI+  
FSR  
BCLKR  
DR  
3
V
0.1 µF  
AG  
RO  
4
ADPCM IN  
C1+  
C1–  
5
SPEAKER  
NC  
NC  
150 Ω  
AXO–  
AXO+  
6
V
SS  
7
V
DSP  
SPC  
8
20.736 MHz  
ADPCM OUT  
2.048 MHz  
8 kHz  
20 kΩ  
600 Ω  
0.1 µF  
0.1 µF  
V
EXT  
DT  
9
+5 V  
PI  
BCLKT  
FST  
10  
11  
12  
13  
14  
20 kΩ  
PO–  
RO = 600 TIP  
N = 1  
SCP Rx  
SCP Tx  
SCPCLK  
PO+  
N = 1  
PDI/RESET  
TO MICROCONTROLLER  
SERIAL PERIPHERAL  
INTERFACE PORT AND  
RESET CIRCUIT  
SCPEN  
RING  
MC14LC5540  
Figure 13. MC14LC5540 1:1 Transformer Application  
MOTOROLA  
MC14LC5540  
17  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
This page intentionally left blank.  
MC14LC5540  
18  
MOTOROLA  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
This page intentionally left blank.  
MOTOROLA  
MC14LC5540  
19  
For More Information On This Product,  
Go to: www.freescale.com  
Freescale Semiconductor, Inc.  
HOW TO REACH US:  
USA/EUROPE/LOCATIONS NOT LISTED:  
Motorola Literature Distribution  
P.O. Box 5405, Denver, Colorado 80217  
1-303-675-2140  
(800) 441-2447  
JAPAN:  
Motorola Japan Ltd.  
SPS, Technical Information Center  
3-20-1, Minami-Azabu Minato-ku  
Tokyo 106-8573 Japan  
Information in this document is provided solely to enable system and software implementers to use  
81-3-3440-3569  
Motorola products. There are no express or implied copyright licenses granted hereunder to design  
or fabricate any integrated circuits or integrated circuits based on the information in this document.  
ASIA/PACIFIC:  
Motorola Semiconductors H.K. Ltd.  
Silicon Harbour Centre, 2 Dai King Street  
Tai Po Industrial Estate, Tai Po, N.T., Hong Kong  
852-26668334  
Motorola reserves the right to make changes without further notice to any products herein.  
Motorola makes no warranty, representation or guarantee regarding the suitability of its products  
for any particular purpose, nor does Motorola assume any liability arising out of the application or  
use of any product or circuit, and specifically disclaims any and all liability, including without  
limitation consequential or incidental damages. “Typical” parameters which may be provided in  
Motorola data sheets and/or specifications can and do vary in different applications and actual  
performance may vary over time. All operating parameters, including “Typicals” must be validated  
for each customer application by customer’s technical experts. Motorola does not convey any  
license under its patent rights nor the rights of others. Motorola products are not designed,  
intended, or authorized for use as components in systems intended for surgical implant into the  
body, or other applications intended to support or sustain life, or for any other application in which  
the failure of the Motorola product could create a situation where personal injury or death may  
occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized  
application, Buyer shall indemnify and hold Motorola and its officers, employees, subsidiaries,  
affiliates, and distributors harmless against all claims, costs, damages, and expenses, and  
reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death  
associated with such unintended or unauthorized use, even if such claim alleges that Motorola was  
negligent regarding the design or manufacture of the part.  
TECHNICAL INFORMATION CENTER:  
(800) 521-6274  
HOME PAGE:  
www.motorola.com/semiconductors  
Motorola and the Stylized M Logo are registered in the U.S. Patent and Trademark Office.  
digital dna is a trademark of Motorola, Inc. All other product or service names are the property of  
their respective owners. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.  
© Motorola, Inc. 2002  
MC14LC5540TS/D  
For More Information On This Product,  
Go to: www.freescale.com  

相关型号:

MC14XXXBCL

QUAD 2 INPUT NAND SCHMITT TRIGGER
MOTOROLA

MC14XXXBCL

Industrial Time Base Generator
FREESCALE

MC14XXXBCP

QUAD 2 INPUT NAND SCHMITT TRIGGER
MOTOROLA

MC14XXXBCP

Industrial Time Base Generator
FREESCALE

MC14XXXBD

QUAD 2 INPUT NAND SCHMITT TRIGGER
MOTOROLA

MC14XXXBD

Industrial Time Base Generator
FREESCALE

MC14XXXBDW

BCD-TO-SEVEN SEGMENT LATCH/DECODER/DRIVER
MOTOROLA

MC14XXXUBCL

Dual 2-wide, 2-input Expandable And-Or-Invert Gate
MOTOROLA

MC14XXXUBCP

Dual 2-wide, 2-input Expandable And-Or-Invert Gate
MOTOROLA

MC14XXXUBD

Dual 2-wide, 2-input Expandable And-Or-Invert Gate
MOTOROLA

MC1502

10 TO 1500 MHz TO-8 DOUBLE-BALANCED MIXER
ETC

MC1503AUS

Voltage Reference, 2.5V, BIPolar, CDIP8
MOTOROLA