MT8888C
MT8888C
MT8888C
MT8888C
Integrated DTMF Transceiver
with Intel Micro Interface
Ordering Information
• Central office quality DTMF transmitter/receiver MT8888CE 20 Pin Plastic DIP
• Low power consumption MT8888CS 20 Pin SOIC
• High speed Intel micro interface MT8888CN 24 Pin SSOP
• Adjustable guard time -40°C to +85°C
• Automatic tone burst mode
• Call progress tone detection to -30dBm Description
D0
Row and Data
D/A Transmit Data
TONE ∑ Converters Column Register
Bus D1
Counters Buffer
D2
Status D3
Tone Burst Control Register Interrupt
Gating Cct. Logic Logic
IRQ/CP
IN+ + Dial Control
Tone Register
IN- - High Group A
Filter Digital RD
Filter Algorithm
GS and Code Control I/O CS
Low Group Converter Register
OSC1 Filter B Control
Oscillator R/W
Circuit
OSC2
Control RS0
Steering Receive Data
Bias Logic
Logic Register
Circuit
4-89
MT8888C
4-90
MT8888C
Functional Description
R3 R2
Input Configuration
VRef
GS
941 1477 # 1 1 0 0
RF
697 1633 A 1 1 0 1
VRef 770 1633 B 1 1 1 0
VOLTAGE GAIN MT8888C 852 1633 C 1 1 1 1
(AV) = RF / RIN
941 1633 D 0 0 0 0
Figure 3 - Single-Ended Input Configuration 0= LOGIC LOW, 1= LOGIC HIGH
Table 1. Functional Encode/Decode Table
4-91
MT8888C
Following the filter section is a decoder employing
digital counting techniques to determine the VDD
frequencies of the incoming tones and to verify that
they correspond to standard DTMF frequencies. A MT8888C
complex averaging algorithm protects against tone C1
simulation by extraneous signals such as voice while VDD
providing tolerance to small frequency deviations Vc
St/GT
and variations. This averaging algorithm has been
developed to ensure an optimum combination of ESt
R1
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 tGTA = (R1C1) In (VDD / VTSt)
tones (this is referred to as the “signal condition” in
some industry specifications) the “Early Steering” tGTP = (R1C1) In [VDD / (VDD-VTSt)]
(ESt) output will go to an active state. Any
Figure 5 - Basic Steering Circuit
subsequent loss of signal condition will cause ESt to
assume an inactive state.
Guard Time Adjustment
Steering Circuit
The simple steering circuit shown in Figure 5 is
adequate for most applications. Component values
Before registration of a decoded tone pair, the are chosen according to the following inequalities
receiver checks for a valid signal duration (referred to (see Figure 7):
as character recognition condition). This check is
performed by an external RC time constant driven by
tREC ≥ tDPmax+tGTPmax - tDAmin
ESt. A logic high on ESt causes vc (see Figure 5) to
rise as the capacitor discharges. Provided that the tREC ≤ tDPmin+tGTPmin - tDAmax
signal condition is maintained (ESt remains high) for tID ≥ tDAmax+tGTAmax - tDPmin
the validation period (tGTP), vc reaches the threshold tDO ≤ tDAmin+tGTAmin - tDPmax
(VTSt) of the steering logic to register the tone pair,
latching its corresponding 4-bit code (see Table 1) The value of tDP is a device parameter (see AC
into the Receive Data Register. At this point the GT Electrical Characteristics) and tREC is the minimum
output is activated and drives vc to VDD. GT signal duration to be recognized by the receiver. A
continues to drive high as long as ESt remains high. value for C1 of 0.1 µF is recommended for most
Finally, after a short delay to allow the output latch to
settle, the delayed steering output flag goes high, tGTP = (RPC1) In [VDD / (VDD-VTSt)]
signalling that a received tone pair has been tGTA = (R1C1) In (VDD/VTSt)
registered. The status of the delayed steering flag
VDD RP = (R1R2) / (R1 + R2)
can be monitored by checking the appropriate bit in
the status register. If Interrupt mode has been C1
selected, the IRQ/CP pin will pull low when the St/GT
delayed steering flag is active.
4-92
MT8888C
applications, leaving R1 to be selected by the DTMF signals cannot be detected if CP mode has
designer. Different steering arrangements may be been selected (see Table 7). Figure 8 indicates the
used to select independent tone present (tGTP) and useful detect bandwidth of the call progress filter.
tone absent (tGTA) guard times. This may be Frequencies presented to the input, which are within
necessary to meet system specifications which place the ‘accept’ bandwidth limits of the filter, are hard-
both accept and reject limits on tone duration and limited by a high gain comparator with the IRQ/CP
interdigital pause. Guard time adjustment also allows pin serving as the output. The squarewave output
the designer to tailor system parameters such as talk obtained from the schmitt trigger can be analyzed by
off and noise immunity. a microprocessor or counter arrangement to
determine the nature of the call progress tone being
Increasing tREC improves talk-off performance since detected. Frequencies which are in the ‘reject’ area
it reduces the probability that tones simulated by will not be detected and consequently the IRQ/CP
speech will maintain a valid signal condition long pin will remain low.
enough to be registered. Alternatively, a relatively
short tREC with a long tDO would be appropriate for LEVEL
extremely noisy environments where fast acquisition (dBm)
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 -25
Figure 7 with a description of the events in Figure 9.
EVENTS A B C D E F
TONE TONE
Vin TONE #n #n + 1 #n + 1
tDP tDA
ESt
tGTP
tGTA
St/GT VTSt
tPStRX
b2
Read
Status
Register
IRQ/CP
4-93
MT8888C
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 REMAINS UNCHANGED.
F) END OF TONE #n+1 DETECTED, TONE ABSENT DURATION VALID, INFORMATION IN RX DATA REGISTER
RETAINED UNTIL NEXT VALID TONE PAIR.
EXPLANATION OF SYMBOLS
V in DTMF COMPOSITE INPUT SIGNAL.
ESt EARLY STEERING OUTPUT. INDICATES DETECTION OF VALID TONE FREQUENCIES.
St/GT STEERING INPUT/GUARD TIME OUTPUT. DRIVES EXTERNAL RC TIMING CIRCUIT.
RX0-RX 3 4-BIT DECODED DATA IN RECEIVE DATA REGISTER
b3 DELAYED STEERING. INDICATES THAT VALID FREQUENCIES 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.
tREC MAXIMUM DTMF SIGNAL DURATION NOT DETECTED AS VALID.
tREC MINIMUM DTMF SIGNAL DURATION REQUIRED FOR VALID RECOGNITION.
tID MINIMUM TIME BETWEEN VALID SEQUENTIAL DTMF SIGNALS.
tDO MAXIMUM ALLOWABLE DROPOUT DURING VALID DTMF SIGNAL.
tDP TIME TO DETECT VALID FREQUENCIES PRESENT.
tDA TIME TO DETECT VALID FREQUENCIES ABSENT.
tGTP GUARD TIME, TONE PRESENT.
tGTA GUARD TIME, TONE ABSENT.
4-94
MT8888C
Scaling Information
10 dB/Div
Start Frequency = 0 Hz
Stop Frequency = 3400 Hz
Marker Frequency = 697 Hz and
1209 Hz
4-95
MT8888C
The Fourier components of the tone output Figures 17 and 18 are the timing diagrams for the
correspond to V2f.... Vnf as measured on the output Intel 8031, 8051 and 8085 (5 MHz) microcontrollers.
waveform. The total harmonic distortion for a dual By NANDing the address latch enable (ALE) output
tone can be calculated using Equation 2. VL and VH with the high-byte address (P2) decode output, CS is
correspond to the low group amplitude and high generated. Figure 12 summarizes the connection of
group amplitude, respectively and V2IMD is the sum these Intel processors to the MT8888C transceiver.
of all the intermodulation components. The internal
switched-capacitor filter following the D/A converter The microprocessor interface provides access to five
keeps distortion products down to a very low level as internal registers. The read-only Receive Data
shown in Figure 10. Register contains the decoded output of the last valid
DTMF digit received. Data entered into the write-only
Transmit Data Register will determine which tone
V22L + V23L + .... V2nL + V22H +
pair is to be generated (see Table 1 for coding
V23H + .. V2nH + V2IMD details). Transceiver control is accomplished with two
control registers (see Tables 6 and 7), CRA and
THD (%) = 100 CRB, which have the same address. A write
V2L + V2H operation to CRB is executed by first setting the most
significant bit (b3) in CRA. The following write
Equation 2. THD (%) For a Dual Tone operation to the same address will then be directed
to CRB, and subsequent write cycles will be directed
back to CRA. The read-only status register indicates
DTMF Clock Circuit
the current transceiver state (see Table 8).
OSC1 OSC2 OSC1 OSC2 OSC1 OSC2 1 1 0 Read from Status Register
b3 b2 b1 b0
3.579545 MHz
Figure 11 - Common Crystal Connection RSEL IRQ CP/DTMF TOUT
Table 4. CRA Bit Positions
Microprocessor Interface
b3 b2 b1 b0
C/R S/D TEST BURST
The MT8888C incorporates an Intel microprocessor
ENABLE
interface which is compatible with fast versions (16
MHz) of the 80C51. No wait cycles need to be Table 5. CRB Bit Positions
inserted.
4-96
MT8888C
b0 TOUT Tone Output Control. A logic high enables the tone output; a logic low turns the tone output
off. This bit controls all transmit tone functions.
b1 CP/DTMF Call Progress or DTMF Mode Select. A logic high enables the receive call progress mode;
a logic low enables DTMF mode. In DTMF mode the device is capable of receiving and
transmitting DTMF signals. In CP mode a rectangular wave representation of the received
tone signal will be present on the IRQ/CP output pin if IRQ has been enabled (control
register A, b2=1). In order to be detected, CP signals must be within the bandwidth
specified in the AC Electrical Characteristics for Call Progress.
Note: DTMF signals cannot be detected when CP mode is selected.
b2 IRQ Interrupt Enable. A logic high enables the interrupt function; a logic low de-activates the
interrupt function. When IRQ is enabled and DTMF mode is selected (control register A,
b1=0), the IRQ/CP output pin will go low when either 1) a valid DTMF signal has been
received for a valid guard time duration, or 2) the transmitter is ready for more data (burst
mode only).
b3 RSEL Register Select. A logic high selects control register B for the next write cycle to the control
register address. After writing to control register B, the following control register write cycle
will be directed to control register A.
Table 6. Control Register A Description
b0 BURST Burst Mode Select. A logic high de-activates burst mode; a logic low enables burst mode.
When activated, the digital code representing a DTMF signal (see Table 1) can be written
to the transmit register, which will result in a transmit DTMF tone burst and pause of equal
durations (typically 51 msec.). Following the pause, the status register will be updated (b1 -
Transmit Data Register Empty), and an interrupt will occur if the interrupt mode has been
enabled.
When CP mode (control register A, b1) is enabled the normal tone burst and pause
durations are extended from a typical duration of 51 msec to 102 msec.
When BURST is high (de-activated) the transmit tone burst duration is determined by the
TOUT bit (control register A, b0).
b1 TEST Test Mode Control. A logic high enables the test mode; a logic low de-activates the test
mode. When TEST is enabled and DTMF mode is selected (control register A, b1=0), the
signal present on the IRQ/CP pin will be analogous to the state of the DELAYED
STEERING bit of the status register (see Figure 7, signal b3).
b2 S/D Single or Dual Tone Generation. A logic high selects the single tone output; a logic low
selects the dual tone (DTMF) output. The single tone generation function requires further
selection of either the row or column tones (low or high group) through the C/R bit (control
register B, b3).
b3 C/R Column or Row Tone Select. A logic high selects a column tone output; a logic low selects
a row tone output. This function is used in conjunction with the S/D bit (control register B,
b2).
Table 7. Control Register B Description
4-97
MT8888C
b0 IRQ Interrupt has occurred. Bit one Interrupt is inactive. Cleared after
(b1) or bit two (b2) is set. Status Register is read.
b1 TRANSMIT DATA Pause duration has terminated Cleared after Status Register is
REGISTER EMPTY and transmitter is ready for new read or when in non-burst mode.
(BURST MODE ONLY) data.
b2 RECEIVE DATA REGISTER Valid data is in the Receive Data Cleared after Status Register is
FULL Register. read.
b3 DELAYED STEERING Set upon the valid detection of Cleared upon the detection of a
the absence of a DTMF signal. valid DTMF signal.
Table 8. Status Register Description
8031/8051
8080/8085 MT8888C
A8-A15 CS
A8
RS0
D0-D3
PO
RD RD
WR WR
VDD
MT8888C
C3
IN+ VDD
C1 R1
DTMF/CP C2
IN- St/GT
INPUT R4
GS ESt
R2 R3
VRef D3
VSS D2
X-tal
OSC1 D1
OSC2 D0
To µP
DTMF IRQ/CP or µC
OUTPUT TONE
WR RD
RL
CS RS0
Notes:
R1, R2 = 100 kΩ 1%
R3 = 374 kΩ 1%
R4 = 3.3 kΩ 10%
RL = 10 k Ω (min.)
* Microprocessor based systems can inject undesirable noise into the supply rails.
C1 = 100 nF 5% The performance of the MT8888C can be optimized by keeping
C2 = 100 nF 5% noise on the supply rails to a minimum. The decoupling capacitor (C3) should be
C3 = 100 nF 10%* connected close to the device and ground loops should be avoided.
X-tal = 3.579545 MHz
4-98
MT8888C
MMD6150 (or
equivalent) 2.4 kΩ 3 kΩ
TEST POINT TEST POINT
130 pF 24 kΩ 100 pF
MMD7000 (or
equivalent)
Test load for D0-D3 pins Test load for IRQ/CP pin
INITIALIZATION PROCEDURE
A software reset must be included at the beginning of all programs to initialize the control registers after
power up.The initialization procedure should be implemented 100ms after power up.
Description: Control Data
RS0 WR RD b3 b2 b1 b0
1) Read Status Register 1 1 0 X X X X
2) Write to Control Register 1 0 1 0 0 0 0
3) Write to Control Register 1 0 1 0 0 0 0
4) Write to Control Register 1 0 1 1 0 0 0
5) Write to Control Register 1 0 1 0 0 0 0
6) Read Status Register 1 1 0 X X X X
Sequence:
RS0 WR RD b3 b2 b1 b0
1) Write to Control Register A 1 0 1 1 1 0 1
(tone out, DTMF, IRQ, Select Control Register B)
2) Write to Control Register B 1 0 1 0 0 0 0
(burst mode)
3) Write to Transmit Data Register 0 0 1 0 1 1 1
(send a digit 7)
4) Wait for an interrupt or poll Status Register
5) Read the Status Register 1 1 0 X X X X
-if bit 1 is set, the Tx is ready for the next tone, in which case...
Write to Transmit Register 0 0 1 0 1 0 1
(send a digit 5)
-if bit 2 is set, a DTMF tone has been received, in which case....
Read the Receive Data Register 0 1 0 X X X X
NOTE: IN THE TX BURST MODE, STATUS REGISTER BIT 1 WILL NOT BE SET UNTIL 100 ms (±2 ms) AFTER THE DATA IS
WRITTEN TO THE TX DATA REGISTER. IN EXTENDED BURST MODE THIS TIME WILL BE DOUBLED TO 200 ms (± 4 ms).
4-99
MT8888C
Recommended Operating Conditions - Voltages are with respect to ground (VSS) unless otherwise stated.
Parameter Sym Min Typ‡ Max Units Test Conditions
1 Positive power supply VDD 4.75 5.00 5.25 V
2 Operating temperature TO -40 +85 °C
3 Crystal clock frequency fCLK 3.575965 3.579545 3.583124 MHz
‡ Typical figures are at 25 °C and for design aid only: not guaranteed and not subject to production testing.
4-100
MT8888C
Electrical Characteristics
Gain Setting Amplifier - Voltages are with respect to ground (VSS) unless otherwise stated, VSS= 0V.
Characteristics Sym Min Typ Max Units Test Conditions
MT8888C AC Electrical Characteristics† - Voltages are with respect to ground (VSS) unless otherwise stated.
Characteristics Sym Min Typ‡ Max Units Notes*
AC Electrical Characteristics† - Voltages are with respect to ground (VSS) unless otherwise stated. fC=3.579545 MHz
Characteristics Sym Min Typ‡ Max Units Notes*
4-101
MT8888C
AC Electrical Characteristics†- Call Progress - Voltages are with respect to ground (VSS), unless otherwise stated.
Characteristics Sym Min Typ‡ Max Units Conditions
AC Electrical Characteristics†- DTMF Reception - Typical DTMF tone accept and reject requirements. Actual
values are user selectable as per Figures 5, 6 and 7.
AC Electrical Characteristics† - Voltages are with respect to ground (VSS), unless otherwise stated.
Characteristics Sym Min Typ‡ Max Units Conditions
1 T Tone present detect time tDP 3 11 14 ms Note 11
O
2 N Tone absent detect time tDA 0.5 4 8.5 ms Note 11
E
3 Delay St to b3 tPStb3 13 µs See Figure 7
4 I Delay St to RX0-RX3 tPStRX 8 µs See Figure 7
N
4-102
MT8888C
AC Electrical Characteristics†- MPU Interface - Voltages are with respect to ground (VSS), unless otherwise stated.
Characteristics Sym Min Typ‡ Max Units Conditions
NOTES: 1) dBm=decibels above or below a reference power of 1 mW into a 600 ohm load.
2) Digit sequence consists of all 16 DTMF tones.
3) Tone duration=40 ms. Tone pause=40 ms.
4) Nominal DTMF frequencies are used.
5) Both tones in the composite signal have an equal amplitude.
6) The tone pair is deviated by ± 1.5%±2 Hz.
7) Bandwidth limited (3 kHz) Gaussian noise.
8) The precise dial tone frequencies are 350 and 440 Hz ( ±2%).
9) Guaranteed by design and characterization. Not subject to production testing.
10) Referenced to the lowest amplitude tone in the DTMF signal.
11) For guard time calculation purposes.
4-103
MT8888C
tCYC
tR tF
tPWH tPWL
RD/WR
tPWL
RD
tPWH
tAS tAH
CS, RS0
tDDR tDHR
DATA BUS
tPWL
RD
tPWH
tAS tAH
CS, RS0
tDSW tDHW
DATA BUS
4-104