October 1991
TP3064, TP3067 ``Enhanced'' Serial Interface
CMOS CODEC/Filter COMBOÉ
General Description
The TP3064 (m-law) and TP3067 (A-law) are monolithic PCM CODEC/Filters utilizing the A/D and D/A conversion architecture shown in Figure 1 , and a serial PCM interface. The devices are fabricated using National's advanced dou- ble-poly CMOS process (microCMOS).
Similar to the TP305X family, these devices feature an additional Receive Power Amplifier to provide push-pull balanced output drive capability. The receive gain can be adjusted by means of two external resistors for an output level of up to g6.6V across a balanced 600X load.
Also included is an Analog Loopback switch and a TSX output.
See also AN-370, ``Techniques for Designing with CODEC/ Filter COMBO Circuits.''
COMBOÉ and TRI-STATEÉ are registered trademarks of National Semiconductor Corporation.
Features
YComplete CODEC and filtering system including:
ÐTransmit high-pass and low-pass filtering
ÐReceive low-pass filter with sin x/x correction
ÐActive RC noise filters
Ðm-law or A-law compatible COder and DECoder
ÐInternal precision voltage reference
ÐSerial I/O interface
ÐInternal auto-zero circuitry
ÐReceive push-pull power amplifiers
Ym-lawÐTP3064
YA-lawÐTP3067
YDesigned for D3/D4 and CCITT applications
Yg5V operation
YLow operating powerÐtypically 70 mW
YPower-down standby modeÐtypically 3 mW
YAutomatic power-down
YTTL or CMOS compatible digital interfaces
YMaximizes line interface card circuit density
Block Diagram
TL/H/5070 ± 1
FIGURE 1
COMBO CODEC/Filter CMOS Interface Serial ``Enhanced'' TP3067 TP3064,
C1995 National Semiconductor Corporation |
TL/H/5070 |
RRD-B30M115/Printed in U. S. A. |
Connection Diagrams
Plastic Chip Carrier
Dual-In-Line Package
|
TL/H/5070 ± 2 |
|
Top View |
Pin Description |
|
Symbol |
Function |
VPOa |
The non-inverted output of the receive power |
|
amplifier. |
GNDA |
Analog ground. All signals are referenced to |
|
this pin. |
VPOb |
The inverted output of the receive power |
|
amplifier. |
VPI |
Inverting input to the receive power amplifier. |
VFRO |
Analog output of the receive filter. |
VCC |
Positive power supply pin. VCCea5Vg5%. |
FSR |
Receive frame sync pulse which enables |
|
BCLKR to shift PCM data into DR. FSR is an |
|
8 kHz pulse train. See Figures 2 and 3 for |
|
timing details. |
DR |
Receive data input. PCM data is shifted into |
|
DR following the FSR leading edge. |
BCLKR/ |
The bit clock which shifts data into DR after |
CLKSEL |
the FSR leading edge. May vary from 64 kHz |
|
to 2.048 MHz. Alternatively, may be a logic |
|
input which selects either |
|
1.536 MHz/1.544 MHz or 2.048 MHz for |
|
master clock in synchronous mode and |
|
BCLKX is used for both transmit and receive |
|
directions (see Table I). |
MCLKR/ |
Receive master clock. Must be 1.536 MHz, |
PDN |
1.544 MHz or 2.048 MHz. May be |
|
asynchronous with MCLKX, but should be |
|
synchronous with MCLKX for best |
|
performance. When MCLKR is connected |
continuously low, MCLKX is selected for all internal timing. When MCLKR is connected continuously high, the device is powered down.
TL/H/5070 ± 6
Top View
Order Number TP3064J or TP3067J
See NS Package J20A
Order Number TP3064WM or TP3067WM
See NS Package M20B
Order Number TP3064N or TP3067N
See NS Package N20A
Order Number TP3064V or TP3067V
See NS Package V20A
Symbol |
Function |
|
MCLKX |
Transmit master clock. Must be 1.536 MHz, |
|
|
|
1.544 MHz or 2.048 MHz. May be |
|
|
asynchronous with MCLKR. Best |
|
|
performance is realized from synchronous |
|
|
operation. |
BCLKX |
The bit clock which shifts out the PCM data |
|
|
|
on DX. May vary from 64 kHz to 2.048 MHz, |
|
|
but must be synchronous with MCLKX. |
DX |
The TRI-STATEÉ PCM data output which is |
|
|
|
enabled by FSX. |
FSX |
Transmit frame sync pulse input which |
|
|
|
enables BCLKX to shift out the PCM data on |
|
|
DX. FSX is an 8 kHz pulse train, see Figures 2 |
|
|
and 3 for timing details. |
|
|
|
TSX |
Open drain output which pulses low during |
|
|
|
the encoder time slot. |
ANLB |
Analog Loopback control input. Must be set |
|
|
|
to logic `0' for normal operation. When pulled |
|
|
to logic `1', the transmit filter input is |
|
|
disconnected from the output of the transmit |
|
|
preamplifier and connected to the VPOa |
|
|
output of the receive power amplifier. |
GSX |
Analog output of the transmit input amplifier. |
|
|
|
Used to externally set gain. |
VFXIb |
Inverting input of the transmit input amplifier. |
|
VFXIa |
Non-inverting input of the transmit input |
|
|
|
amplifier. |
VBB |
Negative power supply pin. VBBeb5Vg5%. |
2
Functional Description
POWER-UP
When power is first applied, power-on reset circuitry initializes the COMBOTM and places it into a power-down state. All non-essential circuits are deactivated and the DX, VFRO, VPOb and VPOa outputs are put in high impedance states. To power-up the device, a logical low level or clock must be applied to the MCLKR/PDN pin and FSX and/or FSR pulses must be present. Thus, 2 power-down control modes are available. The first is to pull the MCLKR/PDN pin high; the alternative is to hold both FSX and FSR inputs continuously lowÐthe device will power-down approximately 2 ms after the last FSX or FSR pulse. Power-up will occur on the first FSX or FSR pulse. The TRI-STATE PCM data output, DX, will remain in the high impedance state until the second FSX pulse.
SYNCHRONOUS OPERATION
For synchronous operation, the same master clock and bit clock should be used for both the transmit and receive directions. In this mode, a clock must be applied to MCLKX and the MCLKR/PDN pin can be used as a power-down control. A low level on MCLKR/PDN powers up the device and a high level powers down the device. In either case, MCLKX will be selected as the master clock for both the transmit and receive circuits. A bit clock must also be applied to BCLKX and the BCLKR/CLKSEL can be used to select the proper internal divider for a master clock of 1.536 MHz, 1.544 MHz or 2.048 MHz. For 1.544 MHz operation, the device automatically compensates for the 193rd clock pulse each frame.
With a fixed level on the BCLKR/CLKSEL pin, BLCKX will be selected as the bit clock for both the transmit and receive directions. Table I indicates the frequencies of operation which can be selected, depending on the state of BCLKR/ CLKSEL. In this synchronous mode, the bit clock, BCLKX, may be from 64 kHz to 2.048 MHz, but must be synchronous with MCLKX.
Each FSX pulse begins the encoding cycle and the PCM data from the previous encode cycle is shifted out of the enabled DX output on the positive edge of BCLKX. After 8 bit clock periods, the TRI-STATE DX output is returned to a high impedance state. With an FSR pulse, PCM data is latched via the DR input on the negative edge of BCLKX (or BCLKR if running). FSX and FSR must be synchronous with MCLKX/R.
TABLE I. Selection of Master Clock Frequencies
|
Master Clock |
||
BCLKR/CLKSEL |
Frequency Selected |
||
|
|
||
TP3067 |
TP3064 |
||
|
|||
|
|
|
|
Clocked |
2.048 MHz |
1.536 MHz or |
|
|
|
1.544 MHz |
|
0 |
1.536 MHz or |
2.048 MHz |
|
|
1.544 MHz |
|
|
1 |
2.048 MHz |
1.536 MHz or |
|
|
|
1.544 MHz |
|
|
|
|
ASYNCHRONOUS OPERATION
For asynchronous operation, separate transmit and receive clocks may be applied. MCLKX and MCLKR must be 2.048 MHz for the TP3067, or 1.536 MHZ, 1.544 MHz for the TP3064, and need not be synchronous. For best transmis-
sion performance, however, MCLKR should be synchronous with MCLKX, which is easily achieved by applying only static logic levels to the MCLKR/PDN pin. This will automatically connect MCLKX to all internal MCLKR functions (see Pin Description). For 1.544 MHz operation, the device automatically compensates for the 193rd clock pulse each frame. FSX starts each encoding cycle and must be synchronous with MCLKX and BCLKX. FSR starts each decoding cycle and must be synchronous with BCLKR. BCLKR must be a clock, the logic levels shown in Table I are not valid in asynchronous mode. BCLKX and BCLKR may operate from 64 kHz to 2.048 MHz.
SHORT FRAME SYNC OPERATION
The COMBO can utilize either a short frame sync pulse (the same as the TP3020/21 CODECs) or a long frame sync pulse. Upon power initialization, the device assumes a short frame mode. In this mode, both frame sync pulses, FSX and FSR, must be one bit clock period long, with timing relationships specified in Figure 2 . With FSX high during a falling edge of BCLKX, the next rising edge of BCLKX enables the DX TRI-STATE output buffer, which will output the sign bit. The following seven rising edges clock out the remaining seven bits, and the next falling edge disables the DX output. With FSR high during a falling edge of BCLKR (BCLKX in synchronous mode), the next falling edge of BCLKR latches in the sign bit. The following seven falling edges latch in the seven remaining bits. All devices may utilize the short frame sync pulse in synchronous or asynchronous operating mode.
LONG FRAME SYNC OPERATION
To use the long (TP5116A/56 CODECs) frame mode, both the frame sync pulses, FSX and FSR, must be three or more bit clock periods long, with timing relationships specified in Figure 3 . Based on the transmit frame sync, FSX, the COMBO will sense whether short or long frame sync pulses are being used. For 64 kHz operation, the frame sync pulse must be kept low for a minimum of 160 ns. The DX TRISTATE output buffer is enabled with the rising edge of FSX or the rising edge of BCLKX, whichever comes later, and the first bit clocked out is the sign bit. The following seven BCLKX rising edges clock out the remaining seven bits. The DX output is disabled by the falling BCLKX edge following the eighth rising edge, or by FSX going low, whichever comes later. A rising edge on the receive frame sync pulse, FSR, will cause the PCM data at DR to be latched in on the next eight falling edges of BCLKR(BCLKX in synchronous mode). All devices may utilize the long frame sync pulse in synchronous or asynchronous mode.
TRANSMIT SECTION
The transmit section input is an operational amplifier with provision for gain adjustment using two external resistors, see Figure 4 . The low noise and wide bandwidth allow gains in excess of 20 dB across the audio passband to be realized. The op amp drives a unity-gain filter consisting of RC active pre-filter, followed by an eighth order switched-ca- pacitor bandpass filter clocked at 256 kHz. The output of this filter directly drives the encoder sample-and-hold circuit. The A/D is of companding type according to m-law (TP3064) or A-law (TP3067) coding conventions. A precision voltage reference is trimmed in manufacturing to provide an input overload (tMAX) of nominally 2.5V peak (see
3
Functional Description (Continued)
table of Transmission Characteristics). The FSX frame sync pulse controls the sampling of the filter output, and then the successive-approximation encoding cycle begins. The 8-bit code is then loaded into a buffer and shifted out through DX at the next FSX pulse. The total encoding delay will be approximately 165 ms (due to the transmit filter) plus 125 ms (due to encoding delay), which totals 290 ms. Any offset voltage due to the filters or comparator is cancelled by sign bit integration.
RECEIVE SECTION
The receive section consists of an expanding DAC which drives a fifth order switched-capacitor low pass filter clocked at 256 kHz. The decoder is A-law (TP3067) or m-law (TP3064) and the 5th order low pass filter corrects for the sin x/x attenuation due to the 8 kHz sample/hold. The filter is then followed by a 2nd order RC active post-filter with its output at VFRO. The receive section is unity-gain, but gain can be added by using the power amplifiers. Upon the occurrence of FSR, the data at the DR input is clocked in on the falling edge of the next eight BCLKR (BCLKX) peri-
ods. At the end of the decoder time slot, the decoding cycle begins, and 10 ms later the decoder DAC output is updated. The total decoder delay is E10 ms (decoder update) plus 110 ms (filter delay) plus 62.5 ms ((/2 frame), which gives approximately 180 ms.
RECEIVE POWER AMPLIFIERS
Two inverting mode power amplifiers are provided for directly driving a matched line interface transformer. The gain of the first power amplifier can be adjusted to boost the g2.5V peak output signal from the receive filter up to g3.3V peak into an unbalanced 300X load, or g4.0V into an unbalanced 15 kX load. The second power amplifier is internally connected in unity-gain inverting mode to give 6 dB of signal gain for balanced loads.
Maximum power transfer to a 600X subscriber line termination is obtained by differentially driving a balanced trans-
former with a S2:1 turns ratio, as shown in Figure 4 . A total peak power of 15.6 dBm can be delivered to the load plus termination.
ENCODING FORMAT AT DX OUTPUT
|
|
|
|
TP3064 |
|
|
|
|
|
|
TP3067 |
|
|
|
||
|
|
|
|
|
|
|
|
|
|
A-Law |
|
|
|
|||
|
|
|
|
m-Law |
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
(Includes Even Bit Inversion) |
|
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VIN e aFull-Scale |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
VIN e 0V |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
|
Ð0 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
VIN e bFull-Scale |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
4
Absolute Maximum Ratings
If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/Distributors for availability and specifications.
VCC to GNDA |
7V |
VBB to GNDA |
b7V |
Voltage at any Analog Input |
|
or Output |
VCCa0.3V to VBBb0.3V |
Voltage at any Digital Input |
|
or Output |
VCCa0.3V to GNDAb0.3V |
Operating Temperature Range |
b25§C to a125§C |
Storage Temperature Range |
b65§C to a150§C |
Lead Temp. (Soldering, 10 sec.) |
300§C |
ESD (Human Body Model) J |
1000V |
ESD (Human Body Model) N |
1500V |
Latch-Up Immunity |
100 mA on Any Pin |
Electrical Characteristics Unless otherwise noted, limits printed in BOLD characters are guaranteed for VCC e a5.0V g5%, VBB e b5.0V g5%; TA e 0§C to 70§C by correlation with 100% electrical testing at TA e 25§C. All other limits are assured by correlation with other production tests and/or product design and characterization. All signals referenced to GNDA. Typicals specified at VCC e a5.0V, VBB e b5.0V, TA e 25§C.
Symbol |
Parameter |
|
|
Conditions |
Min |
Typ |
Max |
Units |
|
|
|
|
|
|
|
|
|
POWER DISSIPATION (ALL DEVICES) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ICC0 |
Power-Down Current |
(Note) |
|
0.5 |
1.5 |
mA |
||
IBB0 |
Power-Down Current |
|
(Note) |
|
0.05 |
0.3 |
mA |
|
ICC1 |
Active Current |
VPIe0V; VFRO, VPOa and VPOb unloaded |
|
7.0 |
10.0 |
mA |
||
IBB1 |
Active Current |
|
VPIe0V; VFRO, VPOa and VPOb unloaded |
|
7.0 |
10.0 |
mA |
|
DIGITAL INTERFACE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VIL |
Input Low Voltage |
|
|
|
|
|
0.6 |
V |
VIH |
Input High Voltage |
|
|
|
2.2 |
|
|
V |
VOL |
Output Low Voltage |
|
DX, ILe3.2 mA |
|
|
0.4 |
V |
|
|
|
|
TSX |
, ILe3.2 mA, Open Drain |
|
|
0.4 |
V |
VOH |
Output High Voltage |
|
DX, IHeb3.2 mA |
2.4 |
|
|
V |
|
IIL |
Input Low Current |
|
GNDAsVINsVIL, All Digital Inputs |
b10 |
|
10 |
mA |
|
IIH |
Input High Current |
|
VIHsVINsVCC |
b10 |
|
10 |
mA |
|
IOZ |
Output Current in High Impedance |
|
DX, GNDAsVOsVCC |
b10 |
|
10 |
mA |
|
|
State (TRI-STATE) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note: ICC0 and IBB0 are measured after first achieving a power-up state.
5
Electrical Characteristics (Continued)
Unless otherwise noted, limits printed in BOLD characters are guaranteed for VCC e a5.0Vg5%, VBB e b5.0Vg5%; TA e 0§C to 70§C by correlation with 100% electrical testing at TA e 25§C. All other limits are assured by correlation with other production tests and/or product design and characterization. All signals referenced to GNDA. Typicals specified at VCC e a5.0V, VBB e b5.0V, TA e 25§C.
Symbol |
Parameter |
Conditions |
Min |
Typ |
Max |
Units |
|
|
|
|
|
|
|
ANALOG INTERFACE WITH TRANSMIT INPUT AMPLIFIER (ALL DEVICES) |
|
|
|
|
||
|
|
|
|
|
|
|
IIXA |
Input Leakage Current |
b2.5VsVsa2.5V, VFXIa or VFXIb |
b200 |
|
200 |
nA |
RIXA |
Input Resistance |
b2.5VsVsa2.5V, VFXIa or VFXIb |
10 |
|
|
MX |
ROXA |
Output Resistance |
Closed Loop, Unity Gain |
|
1 |
3 |
X |
RLXA |
Load Resistance |
GSX |
10 |
|
|
kX |
CLXA |
Load Capacitance |
GSX |
|
|
50 |
pF |
VOXA |
Output Dynamic Range |
GSX, RLt10 kX |
b2.8 |
|
a2.8 |
V |
AVXA |
Voltage Gain |
VFXIa to GSX |
5000 |
|
|
V/V |
FUXA |
Unity-Gain Bandwidth |
|
1 |
2 |
|
MHz |
VOSXA |
Offset Voltage |
|
b20 |
|
20 |
mV |
VCMXA |
Common-Mode Voltage |
CMRRXA l 60 dB |
b2.5 |
|
2.5 |
V |
CMRRXA |
Common-Mode Rejection Ratio |
DC Test |
60 |
|
|
dB |
|
|
|
|
|
|
|
PSRRXA |
Power Supply Rejection Ratio |
DC Test |
60 |
|
|
dB |
|
|
|
|
|
|
|
ANALOG INTERFACE WITH RECEIVE FILTER (ALL DEVICES) |
|
|
|
|
||
|
|
|
|
|
|
|
RORF |
Output Resistance |
Pin VFRO |
|
1 |
3 |
X |
RLRF |
Load Resistance |
VFROeg2.5V |
10 |
|
|
kX |
CLRF |
Load Capacitance |
Connect from VFRO to GNDA |
|
|
25 |
pF |
VOSRO |
Output DC Offset Voltage |
Measure from VFRO to GNDA |
b200 |
|
200 |
mV |
ANALOG INTERFACE WITH POWER AMPLIFIERS (ALL DEVICES) |
|
|
|
|
||
|
|
|
|
|
|
|
IPI |
Input Leakage Current |
b1.0VsVPIs1.0V |
b100 |
|
100 |
nA |
RIPI |
Input Resistance |
b1.0VsVPIs1.0V |
10 |
|
|
MX |
VIOS |
Input Offset Voltage |
|
b25 |
|
25 |
mV |
ROP |
Output Resistance |
Inverting Unity-Gain at |
|
1 |
|
X |
|
|
VPOa or VPOb |
|
|
|
|
FC |
Unity-Gain Bandwidth |
Open Loop (VPOb) |
|
400 |
|
kHz |
CLP |
Load Capacitance |
|
|
|
100 |
pF |
GAPa |
Gain from VPOb to VPOa |
RLe600X VPOa to VPOb |
|
b1 |
|
V/V |
|
|
Level at VPObe1.77 Vrms |
|
|
|
|
PSRRP |
Power Supply Rejection of |
VPOb Connected to VPI |
|
|
|
|
|
VCC or VBB |
0 kHzb4 kHz |
60 |
|
|
dB |
|
|
4 kHzb50 kHz |
36 |
|
|
dB |
RLP |
Load Resistance |
Connect from VPOa to VPOb |
600 |
|
|
X |
6