MITEL MT8889CS, MT8889CE Datasheet

4-107
Features
Central office quality DTMF transmitter/ receiver
Low power c onsu mpt ion
High speed ada ptiv e micr o interf ace
Adjustable guard time
Call prog ress ton e det ection t o -30dBm
Applications
Credit card systems
Paging systems
Repeater systems/mobile radio
Interconn ect di alers
Persona l comp uters
Description
The MT8889C is a monolithic DTMF transceiver with call progress filter. It is fabricated in CMOS technology offering low power consumption and high reliability.
The receiver section is based upon the industry standard MT8870 DTMF receiver while the transmitter utilizes a switched capacitor D/A converter for low distortion, high accuracy DTMF signalling. Internal counters provide a burst mode such that tone bursts can be transmitted with precise timing. A call progress filter can be selected allowing a microprocessor to analyze call progress tones.
The MT8889C utilizes an adaptive micro interface, which allows the device to be connected to a number of popular microcontrollers with minimal external logic. The MT8889C-1 is functionally identical to the MT8889C except the receiver is enhanced to accept lower level signals, and also has a specified low signal rejection level.
Ordering Information
MT8889CE/CE- 1 20 Pin Plast ic D IP MT8889CC/CC-1 20 Pin Ceramic DIP MT8889CS/CS- 1 20 Pin SOI C MT8889CN/C N-1 24 Pin SSOP
-40°C to +85°C
Figure 1 - Functional Block Diagram
TONE
IN+
IN­GS
OSC1 OSC2
V
DDVRefVSS
ESt St/GT
D0 D1 D2 D3
IRQ
/CP
DS/RD CS R/W/WR RS0
D/A
Converters
Row and
Column
Counters
Transmit Data
Register
Data
Bus
Buffer
Tone Burst Gating Cct.
+
-
Oscillator
Circuit
Bias
Circuit
Control
Logic
Digital
Algorithm and Code Converter
Control
Logic
Steerin g
Logic
Status
Register
Control
Register
A
Control
Register
B
Receive Data
Register
Interrupt
Logic
I/O
Control
Low Group
Filter
High Group
Filter
Dial Tone Filter
ISSUE 2 May 1995
MT8889C/MT8889C-1
Integrated DTMFTransceiver
with Adaptive Micro Interface
MT8889C/MT8889C-1
4-108
Figure 2 - Pin Connections
Pin Description
Pin #
Name Description
20 24
11 IN+Non-inverting op-am p input. 22 IN- Inverting op-amp input . 33 GSGain Select. Gives access to output of front end differential amplif ier for connecti on of
feedback resistor.
44 V
Ref
Reference Voltage output (VDD/2).
55 V
SS
Ground (0V). 66OSC1Oscillator input. This pin can also be driven directl y by an external clock. 77OSC2Oscillator output. A 3.579545 MHz crystal connected between OSC1 and OSC2 completes
the internal oscillator circuit. Leave open circuit when OSC1 is driven externally. 8 10 TONE Output from internal DTMF transmitter. 911 R/W
(WR
)
(Motorola) Read/Write
or (Intel) Write microprocessor input. TTL compatible.
10 12 CS
Chip Select input. This signal must be quali fie d externally by either address strobe (AS),
valid memory address (VMA) or address latch enable (ALE) signal, see Figure 12.
11 13 RS0 Register Select input. Refer to Table 3 for bit interpretation. TTL compatible. 12 14 DS (RD
) (Motorola) Data Strobe or (Inte l) Read microprocessor input. Act ivity on this input is only
required when the device is being accessed. TTL compatible.
13 15 IRQ
/CP Interrupt Request/Call Progress (ope n drain) outpu t. In interrupt mode, this output goes
low when a valid DTMF tone burst has been transmitted or received. In call progress mode,
this pin will output a rectangular signal representative of the input signal applied at the input
op-amp. The input signal must be within the bandwidth lim it s of the call progress filte r, see
Figure 8.
14-1718-21D0-D3 Microprocessor data bus. High impedance when CS
= 1 or DS =0 (Motorola) or RD = 1
(Intel). TTL compatible.
18 22 ESt Early Steering output. Present s a logic high once the digital algo rithm has detect ed a valid
tone pair (signal condition). Any moment ary loss of signal con dition will cause ESt to return
to a logic low.
19 23 St/GT Steering Input/Guard Time output (bidirect ional ). A voltage great er than V
TSt
detected at St causes the device to register the detected tone pair and updat e the output latch. A voltage less than V
TSt
frees the device to accept a new tone pair. The GT output acts to
reset the external steering time-const ant; its stat e is a function of ESt and the volt age on St.
20 24 V
DD
Positive power supply (5V typ.).
8,9 16,
17
NC No Connection.
1 2
3 4
5 6
7 8 9
10
11
12
20 19 18 17 16 15 14 13
IN+
IN-
GS
VRef
VSS OSC1 OSC2
TONE
R/W
/WR
CS
VDD St/GT ESt D3 D2 D1 D0 IRQ
/CP
DS/RD RS0
NC
1 2
3 4
5 6
7 8
9 10 11 12
13
14
15
16
24 23 22 21 20 19 18 17
IN+
IN-
GS
VRef
VSS OSC1 OSC2
NC
TONE
R/W
/WR
CS
VDD St/GT ESt D3 D2 D1 D0 NC NC IRQ
/CP DS/RD RS0
24 PIN SSOP
20 PIN CERDIP/PLASTIC DIP/SOIC
MT8889C/MT8889C-1
4-109
Functional Description
The MT8889C/MT8889C-1 Integrated DTMF Transceiver consists of a high performance DTMF receiver with an internal gain setting amplifier and a DTMF generator, which employs a burst counter to synthesize precise tone bursts and pauses. A call progress mode can be selected so that frequencies within the specified passband can be detected. The adaptive micro interface allows microcontrollers, such as the 68HC11, 80C51 and TMS370C50, to access the MT8889C/MT8889C-1 internal registers.
Input Configuration
The input arrangement of the MT8889C/MT8889C-1 provides a differential-input operational amplifier as well as a bias source (V
Ref
), which is used to bias the
inputs at V
DD
/2. Provision is made for connection of a feedback resistor to the op-amp output (GS) for gain adjustment. In a single-ended configuration, the input pins are connected as shown in Figure 3.
Figure 4 shows the necessary connections for a differential input configuration.
Receiver Se ction
Separation of the low and high group tones is achieved by applying the DTMF signal to the inputs of two sixth-order switched capacitor bandpass filters, the bandwidths of which correspond to the low and high group frequencies (see Table 1). The filters also incorporate notches at 350 Hz and 440 Hz for exceptional dial tone rejection. Each filter output is followed by a single order switched capacitor filter section, which smooths the signals prior to limiting. Limiting is performed by high-gain comparators which are provided with hysteresis to prevent detection of unwanted low-level signals. The outputs of the comparators provide full rail logic swings at the frequencies of the incoming DTMF signals.
Figure 3 - Single-Ended Input Configuration
C
R
IN
R
F
IN+
IN-
GS
V
Ref
VOLTAGE GAIN
(A
V
) = RF / R
IN
MT8889C/ MT8889C-1
Figure 4 - Differential Input Configuration
0= LOGIC LOW, 1= LOGIC HIGH
Table 1. Functional Encode/Decode Table
F
LOW
F
HIGH
DIGIT D
3
D
2
D
1
D
0
697 1209 1 0 0 0 1 697 1336 2 0 0 1 0 697 1477 3 0 0 1 1 770 1209 4 0 1 0 0 770 1336 5 0 1 0 1 770 1477 6 0 1 1 0 852 1209 7 0 1 1 1 852 1336 8 1 0 0 0 852 1477 9 1 0 0 1 941 1336 0 1 0 1 0 941 1209 * 1 0 1 1 941 1477 # 1 1 0 0 697 1633 A 1 1 0 1 770 1633 B 1 1 1 0 852 1633 C 1 1 1 1 941 1633 D 0 0 0 0
C1
C2
R1
R2
R3
R4
R5
IN+
IN-
GS
V
Ref
MT8889C/
DIFFERENTIAL INPUT AMPLIFIER
C1 = C2 = 10 nF R1 = R4 = R5 = 100 k R2 = 60k, R3 = 37.5 k R3 = (R2R5)/(R2 + R5)
VOLTAGE GAIN
(A
V
diff) - R5/R1
INPUT IMPEDANCE
(Z
IN
diff) = 2 R12 + (1/ωC)
2
MT8889C-1
MT8889C/MT8889C-1
4-110
Following the filter section is a decoder employing digital counting techniques to determine the frequencies of the incoming tones and to verify that they correspond to standard DTMF frequencies. A complex averaging algorithm protects against tone simulation by extraneous signals such as voice while providing tolerance to small frequency deviations and variations. This averaging algorithm has been developed to ensure an optimum combination of immunity to talk-off and tolerance to the presence of interfering frequencies (third tones) and noise. When the detector recognizes the presence of two valid tones (this is referred to as the “signal condition” in some industry specifications) the “Early Steering” (ESt) output will go to an active state. Any subsequent loss of signal condition will cause ESt to assume an inactive state.
Steering Circuit
Before registration of a decoded tone pair, the receiver checks for a valid signal duration (referred to as character recognition condition). This check is performed by an external RC time constant driven by ESt. A logic high on ESt causes v
c
(see Figure 5) to rise as the capacitor discharges. Provided that the signal condition is maintained (ESt remains high) for the validation period (t
GTP
), vc reaches the threshold
(V
TSt
) of the steering logic to register the tone pair, latching its corresponding 4-bit code (see Table 1) into the Receive D ata Regist er. At th is point t he GT output is activated and drives v
c
to VDD. GT continues to drive high as long as ESt remains high. Finally, after a short de lay to a ll ow th e o ut put latch to settle, the delayed steering output flag goes high, signalling that a received tone pair has been registered. The status of the delayed steering flag can be monitored by checking the appropriate bit in the status register. If Interrupt mode has been selected, the IRQ
/CP pin will pull low when the
delayed s t e er ing flag is a cti ve.
The contents of the output latch are updated on an active delayed steering transition. This data is presented to the four bit bidirectional data bus when the Receive Data Register is read. The steering circuit works in reverse to validate the interdigit pause between signals. Thus, as well as rejecting signals too short to be considered valid, the receiver will tolerate signal interruptions (drop out) too short to be considered a valid pause. This facility, together with the capability of selecting the steering time constants externally, allows the designer to tailor performance to meet a wide variety of system requirements.
Figure 5 - Basic Steering Circuit
Guard Time Adjustment
The simple steering circuit shown in Figure 5 is adequate for most applications. Component values are chosen according to the following inequalities (see Figure 7):
t
REC
t
DPmax
+ t
GTPmax
- t
DAmin
t
REC
t
DPmin
+ t
GTPmin
- t
DAmax
tID ≥ t
DAmax
+ t
GTAmax
- t
DPmin
tDO t
DAmin
+ t
GTAmin
- t
DPmax
The value of tDP is a device parameter (see AC Electrical Characteristics) and t
REC
is the minimum signal duration to be recognized by the receiver. A value for C1 of 0.1 µF is recommended for most
Figure 6 - Guard Time Adjustment
V
DD
V
DD
St/GT
ESt
C1
Vc
R1
MT8889C/
t
GTA
= (R1C1) In (VDD / V
TSt
)
t
GTP
= (R1C1) In [VDD / (VDD-V
TSt
)]
MT8889C-1
V
DD
St/GT
ESt
V
DD
St/GT
ESt
C1
R1
R2
C1
R1
R2
t
GTA
= (R1C1) In (VDD/V
TSt
)
t
GTP
= (RPC1) In [VDD / (VDD-V
TSt
)]
R
P
= (R1R2) / (R1 + R2)
t
GTA
= (RpC1) In (VDD/V
TSt
)
t
GTP
= (R1C1) In [VDD / (VDD-V
TSt
)]
R
P
= (R1R2) / (R1 + R2)
a) decreasing tGTP; (tGTP < tGTA)
b) decreasing tGTA; (tGTP > tGTA)
MT8889C/MT8889C-1
4-111
applications, leaving R1 to be selected by the designer. Different steering arrangements may be used to select independent tone present (t
GTP
) and
tone absent (t
GTA
) guard times. This may be necessary to meet system specifications which place both accept and reject limits on tone duration and interdigital pause. Guard t ime adjustment also allows the designer to tailor system parameters such as talk off and noise immunity.
Increasing t
REC
improves talk-off performance since it reduces the probability that tones simulated by speech will maintain a valid signal condition long enough to be registered. Alternatively, a relatively short t
REC
with a long tDO would be appropriate for extremely noisy environments where fast acquisition time and immunity to tone drop-outs are required. Design information for guard time adjustment is shown in Figure 6. The receiver timing is shown in Figure 7 with a description of the events in Figure 9.
Call Progress Filter
A call progress mode, using the MT8889C/ MT8889C-1, can be selected allowing the detection of various tones, which identify the progress of a telephone call on the network. The call progress tone input and DTMF input are common, however, call progress tones can only be detected when CP
mode has been selected. DTMF signals cannot be detected if CP mode has been selected (see Table
7). Figure 8 indicates the useful detect bandwidth of the call progress filter. Frequencies presented to the input, which are within the ‘accept’ bandwidth limits of the filter, are hard-limited by a high gain comparator with the IRQ
/CP pin serving as the output. The squarewave output obtained from the schmitt trigger can be analyzed by a microprocessor or counter arrangement to determine the nature of the call progress tone being detected. Frequencies which are in the ‘reject’ area will not be detected and consequently the IRQ
/CP pin will remain low.
Figure 8 - Call Progress Response
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAAA
AAA
AAA
A
AAA
A
AAA
A
AAAA
AAA
AAA
AAA
AAAA
AAAA
AAAA
AAAA
A
A
A
A
A
AA
LEVEL
(dBm)
FREQUENCY (Hz)
-25
0 250 500 750
= Reject = May Accept = Accept
Figure 7 - R ece iver Tim ing Diag ram
V
in
ESt
St/GT
RX
0
-RX
3
b3
b2
Read Status Register
IRQ
/CP
EVENTS
ABCDEF
t
REC
t
REC
t
ID
t
DO
TONE #n
TONE #n + 1
TONE #n + 1
t
DP
t
DA
t
GTP
t
GTA
t
PStRX
t
PStb3
DECODED TONE # (n-1)
# n
# (n + 1)
V
TSt
MT8889C/MT8889C-1
4-112
Figur e 9 - D e scri pt ion of Tim in g Ev en ts
EXPLANATION OF EVENTS
A) TONE BURSTS DETECTED, TONE DURATION INVALID, RX DATA REGISTER NOT UPDATED. B) TONE #n DETECTED, TONE DURATION VALID, TONE DECODED AND LATCHED IN RX DATA REGISTER. C) END OF TONE #n DETECTED, TONE ABSENT DURATION VALID, INFORMATION IN RX DATA REGISTER
RETAINED UNTIL NEXT VALID TONE PAIR. D) TONE #n+1 DETECTED, TONE DURATION VALID, TONE DECODED AND LATCHED IN RX DATA REGISTER. E) ACCEPTABLE DROPOUT OF TONE #n+1, TONE ABSENT DURATION INVALID, DATA R EMAINS UNCHANGED. F) END OF TONE #n+1 DE TECTED, TONE A BSENT DURATION VALID, INFORMATION IN RX DATA REGISTER
RETAINED UNTIL NEXT VALID TONE PAIR.
EXPLANATION OF SYMBOLS
V
in
DTMF COMPOSITE INPUT SIG NA L. ESt EARLY STEERING OUTPUT. INDICATES DETECTION OF VALID TONE FREQUENCIES. St/GT STEERING INPUT/GUARD TIME OUTPUT. DRIVES EXTERNAL RC TIMING CIRCUIT. RX
0
-RX34-BIT DECODED DATA IN RECEIVE DATA REGISTER
b3 DEL AYED STEERING. INDICATES THAT VALID FREQUEN CIES HAVE BEEN PRESENT/ABSENT FOR THE
REQUIRED GUARD TIME THUS CONSTITUTING A VALID SIGNAL. ACTIVE LOW FOR THE DURATION OF A VALID DTMF SIGNAL .
b2 INDICATES THAT VALID DATA IS IN THE RECEIVE DATA REGISTER. THE BIT IS CLEARED AFTER THE STATUS
REGISTER IS READ.
IRQ
/CP INTERRUPT IS ACTIVE INDICATING THAT NEW DATA IS IN THE RX DATA REGISTER. THE INTERRUPT IS
CLEARED AFTER THE STATUS REGISTER IS READ.
t
REC
MAXIMUM DTMF SIGNAL DURATION NOT DETECTED AS VALID. t
REC
MINIMUM DTMF SIGNAL DURATION REQUIRED FOR VALID RECOGNITION. t
ID
MINIMUM TIME BET WEEN VALID SEQUENTIAL D TMF SIG NAL S. t
DO
MAXIMUM ALLOWABLE DROPOUT DURING VALID DTMF SIGNAL. t
DP
TIME TO DETECT VALID FREQUENCIES PRESENT. t
DA
TIME TO DETECT VALID FREQUENCIES ABSENT. t
GTP
GUARD TIME, TO NE PR ESEN T. t
GTA
GUARD TIME, TO NE ABSEN T.
DTMF Generator
The DTMF transmitter employed in the MT8889C/ MT8889C-1 is capable of generating all sixteen standard DTMF tone pairs with low distortion and high accuracy. All frequencies are derived from an external 3.579545 MHz crystal. The sinusoidal waveforms for the individual tones are digitally synthesized using row and column programmable dividers and switched capacitor D/A converters. The row and column tones are mixed and filtered providing a DTMF signal with low total harmonic distortion and high accuracy. To specify a DTMF signal, data conforming to the encoding format shown in Table 1 must be written to the transmit Data Register. Note that this is the same as the receiver output code. The individual tones which are generated (f
LOW
and f
HIGH
) are referred to as Low Group and High Group tones. As seen from the table, the low group frequencies are 697, 770, 852 and 941 Hz. The high group frequencies are 1209, 1336, 1477 and 1633 Hz. Typically, the high group to low group amplitude ratio (twist) is 2 dB to com­pensate for high group attenuation on long loops.
The period of each tone consists of 32 equal time segments. The period of a tone is controlled by varying the length of these time segments. During
write operations to the Transmit Data Register the 4 bit data on the bus is latched and converted to 2 of 8 coding for use by the programmable divider circuitry. This code is used to specify a time segment length, which will ultimately determine the frequency of the tone. When the divider reaches the appropriate count, as determined by the input code, a reset pulse is issued and the counter starts again. The number of time segments is fixed at 32, however, by varying the segment length as described above the frequency can also be varied. The divider output clocks another counter, which addresses the sinewave lookup ROM.
The lookup table contains codes which are used by the switched capacitor D/A converter to obtain discrete and highly accurate DC voltage levels. Two identical circuits are employed to produce row and column tones, which are then mixed using a low noise summing amplifier. The oscillator described needs no “start-up” time as in other DTMF generators since the crystal oscillator is running continuously thus providing a high degree of tone burst accuracy. A bandwidth limiting filter is incorporated and serves to attenuate distortion products above 8 kHz. It can be seen from Figure 6 that the distortion products are very low in amplitude.
Loading...
+ 12 hidden pages