MT3170B/71B, MT3270B/71B, MT3370B/71B Wide Dynamic Range DTMF Receiver Data Sheet Features August 2005 • Wide dynamic range (50 dB) DTMF Receiver • Call progress (CP) detection via cadence indication • 4-bit synchronous serial data output • Software controlled guard time for MT3x70B • Internal guard time circuitry for MT3x71B • Powerdown option (MT317xB & MT337xB) • 4.194304 MHz crystal or ceramic resonator (MT337xB and MT327xB) • External clock input (MT317xB) • Guarantees non-detection of spurious tones Ordering Information MT3170/71BE MT3270/71BE MT3370/71BS MT3370/71BN MT3370/71BSR MT3371BNR MT3270/71BE1 MT3171BE1 MT3170BE1 MT3370/BN1 MT3370/71BS1 MT3370/71BSR1 8 Pin PDIP 8 Pin PDIP 18 Pin SOIC 20 Pin SSOP 18 Pin SOIC 20 Pin SSOP 8 Pin PDIP* 8 Pin PDIP* 8 Pin PDIP** 20 Pin SSOP* 18 Pin SOIC* 18 Pin SOIC* *Pb Free Matte Tin **Pb Free Tin/Silver/Copper Tubes Tubes Tubes Tubes Tape & Reel Tape & Reel Tubes Tubes Tubes Tubes Tubes Tape & Reel -40°C to 85°C Applications • Integrated telephone answering machine • End-to-end signalling • Fax Machines PWDN ➀ VDD Steering Circuit Voltage Bias Circuit VSS INPUT AGC High Group Filter Antialias Filter Dial Tone Filter Digital Detector Algorithm Low Group Filter OSC2 OSC1 (CLK) ➁ Digital Guard Time➂ Code Converter and Latch Parallel to Serial Converter & Latch Mux Oscillator and Clock Circuit Energy Detection To All Chip Clocks ➀ MT3170B/71B and MT337xB only. ➁ MT3270B/71B and MT337xB only. ➂ MT3x71B only. Figure 1 - Functional Block Diagram 1 Zarlink Semiconductor Inc. Zarlink, ZL and the Zarlink Semiconductor logo are trademarks of Zarlink Semiconductor Inc. Copyright 1995-2005, Zarlink Semiconductor Inc. All Rights Reserved. ESt or DStD ACK SD MT3170B/71B, MT3270B/71B, MT3370B/71B Data Sheet Description The MT3x7xB is a family of high performance DTMF receivers which decode all 16 tone pairs into a 4-bit binary code. These devices incorporate an AGC for wide dynamic range and are suitable for end-to-end signalling. The MT3x70B provides an early steering (ESt) logic output to indicate the detection of a DTMF signal and requires external software guard time to validate the DTMF digit. The MT3x71B, with preset internal guard times, uses a delay steering (DStD) logic output to indicate the detection of a valid DTMF digit. The 4-bit DTMF binary digit can be clocked out synchronously at the serial data (SD) output. The SD pin is multiplexed with call progress detector output. In the presence of supervisory tones, the call progress detector circuit indicates the cadence (i.e., envelope) of the tone burst. The cadence information can then be processed by an external microcontroller to identify specific call progress signals. The MT327xB and MT337xB can be used with a crystal or a ceramic resonator without additional components. A power-down option is provided for the MT317xB and MT337xB. MT3170B/71B MT3270B/71B INPUT 1 8 VDD INPUT 1 8 VDD PWDN 2 7 ESt/ DStD OSC2 2 7 ESt/ DStD CLK 3 6 ACK OSC1 3 6 ACK VSS 4 5 SD VSS 4 5 SD 8 PIN PLASTIC DIP MT3370B/71B MT3370B/71B 1 2 3 4 5 6 7 8 9 NC INPUT PWDN OSC2 NC OSC1 NC NC VSS 18 17 16 15 14 13 12 11 10 VDD NC NC ESt/DStD NC ACK NC SD NC NC NC INPUT PWDN NC OSC2 OSC1 VSS NC NC 18 PIN PLASTIC SOIC 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 14 13 12 11 NC NC VDD NC ESt/DStD NC ACK SD NC NC 20 PIN SSOP Figure 2 - Pin Connections Pin Description Pin # Name Description 337xB 327xB 317xB 2 1 1 INPUT DTMF/CP Input. Input signal must be AC coupled via capacitor. 4 2 - OSC2 Oscillator Output. 6 3 3 OSC1 (CLK) Oscillator/Clock Input. This pin can either be driven by: 1) an external digital clock with defined input logic levels. OSC2 should be left open. 2) connecting a crystal or ceramic resonator between OSC1 and OSC2 pins. 9 4 4 VSS Ground. (0V) 11 5 5 SD Serial Data/Call Progress Output. This pin serves the dual function of being the serial data output when clock pulses are applied after validation of DTMF signal, and also indicates the cadence of call progress input. As DTMF signal lies in the same frequency band as call progress signal, this pin may toggle for DTMF input. The SD pin is at logic low in powerdown state. 13 6 6 ACK Acknowledge Pulse Input. After ESt or DStD is high, applying a sequence of four pulses on this pin will then shift out four bits on the SD pin, representing the decoded DTMF digit. The rising edge of the first clock is used to latch the 4-bit data prior to shifting. This pin is pulled down internally. The idle state of the ACK signal should be low. 2 Zarlink Semiconductor Inc. MT3170B/71B, MT3270B/71B, MT3370B/71B Data Sheet Pin Description Pin # 337xB 327xB 317xB 15 7 7 Name ESt (MT3x70B) DStD (MT3x71B) Description Early Steering Output. A logic high on ESt indicates that a DTMF signal is present. ESt is at logic low in powerdown state. Delayed Steering Output. A logic high on DStD indicates that a valid DTMF digit has been detected. DStD is at logic low in powerdown state. 18 8 8 VDD Positive Power Supply (5 V Typ.) Performance of the device can be optimized by minimizing noise on the supply rails. Decoupling capacitors across VDD and VSS are therefore recommended. 1,5,7,8, 10, 12, 14,16, 17 - - NC No Connection. Pin is unconnected internally. 3 - 2 PWDN Power Down Input. A logic high on this pin will power down the device to reduce power consumption. This pin is pulled down internally and can be left open if not used. ACK pin should be at logic ’0’ to power down device. Summary of MT3x70/71B Product Family Device Type 8 Pin MT3170B √ MT3171B √ MT3270B √ √ √ MT3271B √ √ √ 18 Pin 20 Pin Ext CLK ESt √ √ √ √ √ PWDN 2 Pin OSC MT3370B √ √ √ √ √ MT3371B √ √ √ √ √ DStD √ √ √ √ √ Functional Description The MT3x7xBs are high performance and low power consumption DTMF receivers. These devices provide wide dynamic range DTMF detection and a serial decoded data output. These devices also incorporate an energy detection circuit. An input voiceband signal is applied to the devices via a series decoupling capacitor. Following the unity gain buffering, the signal enters the AGC circuit followed by an anti-aliasing filter. The bandlimited output is routed to a dial tone filter stage and to the input of the energy detection circuit. A bandsplit filter is then used to separate the input DTMF signal into high and low group tones. The high group and low group tones are then verified and decoded by the internal frequency counting and DTMF detection circuitry. Following the detection stage, the valid DTMF digit is translated to a 4-bit binary code (via an internal look-up ROM). Data bits can then be shifted out serially by applying external clock pulses. Automatic Gain Control (AGC) Circuit As the device operates on a single power supply, the input signal is biased internally at approximately VDD/2. With large input signal amplitude (between 0 and approximately -30 dBm for each tone of the composite signal), the 3 Zarlink Semiconductor Inc. MT3170B/71B, MT3270B/71B, MT3370B/71B Data Sheet AGC is activated to prevent the input signal from being clipped. At low input level, the AGC remains inactive and the input signal is passed directly to the hardware DTMF detection algorithm and to the energy detection circuit. Filter and Decoder Section The signal entering the DTMF detection circuitry is filtered by a notch filter at 350 and 440 Hz for dial tone rejection. The composite dual-tone signal is further split into its individual high and low frequency components by two 6th order switched capacitor bandpass filters. The high group and low group tones are then smoothed by separate output filters and squared by high gain limiting comparators. The resulting squarewave signals are applied to a digital detection circuit where an averaging algorithm is employed to determine the valid DTMF signal. For MT3x70B, upon recognition of a valid frequency from each tone group, the early steering (ESt) output will go high, indicating that a DTMF tone has been detected. Any subsequent loss of DTMF signal condition will cause the ESt pin to go low. For MT3x71B, an internal delayed steering counter validates the early steering signal after a predetermined guard time which requires no external components. The delayed steering (DStD) will go high only when the validation period has elapsed. Once the DStD output is high, the subsequent loss of early steering signal due to DTMF signal dropout will activate the internal counter for a validation of tone absent guard time. The DStD output will go low only after this validation period. Energy Detection The output signal from the AGC circuit is also applied to the energy detection circuit. The detection circuit consists of a threshold comparator and an active integrator. When the signal level is above the threshold of the internal comparator (-35dBm), the energy detector produces an energy present indication on the SD output. The integrator ensures the SD output will remain at high even though the input signal is changing. When the input signal is removed, the SD output will go low following the integrator decay time. Short decay time enables the signal envelope (or cadence) to be generated at the SD output. An external microcontroller can monitor this output for specific call progress signals. Since presence of speech and DTMF signals (above the threshold limit) can cause the SD output to toggle, both ESt (DStD) and SD outputs should be monitored to ensure correct signal identification. As the energy detector is multiplexed with the digital serial data output at the SD pin, the detector output is selected at all times except during the time between the rising edge of the first pulse and the falling edge of the fourth pulse applied at the ACK pin. Serial Data (SD) Output When a valid DTMF signal burst is present, ESt or DStD will go high. The application of four clock pulses on the ACK pin will provide a 4-bit serial binary code representing the decoded DTMF digit on the SD pin output. The rising edge of the first pulse applied on the ACK pin latches and shifts the least significant bit of the decoded digit on the SD pin. The next three pulses on ACK pin will shift the remaining latched bits in a serial format (see Figure 5). If less than four pulses are applied to the ACK pin, new data cannot be latched even though ESt/DStD can be valid. Clock pulses should be applied to clock out any remaining data bits to resume normal operation. Any transitions in excess of four pulses will be ignored until the next rising edge of the ESt/DStD. ACK should idle at logic low. The 4-bit binary representing all 16 standard DTMF digits are shown in Table 1. FLOW FHIGH DIGIT b3 b2 b1 b0 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 4 Zarlink Semiconductor Inc. MT3170B/71B, MT3270B/71B, MT3370B/71B FLOW FHIGH DIGIT b3 b2 b1 b0 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 Data Sheet 0= LOGIC LOW, 1= LOGIC HIGH Table 1 - Serial Decode Bit Table Note: b0=LSB of decoded DTMF digit and shifted out first. Powerdown Mode (MT317xB/337xB) The MT317xB/337xB devices offer a powerdown function to preserve power consumption when the device is not in use. A logic high can be applied at the PWDN pin to place the device in powerdown mode. The ACK pin should be kept at logic low to avoid undefined ESt/DStD and SD outputs (see Table 2). MT317xB/337xB status ACK (input) PWDN (input) ESt/DStD (output) SD (output) low low Refer to Fig. 4 for timing waveforms Refer to Fig. 4 for timing waveforms normal operation low high+ low low powerdown mode high low low undefined undefined high high undefined undefined undefined Table 2 - Powerdown Mode + =enters powerdown mode on the rising edge. Frequency 1 (Hz) Frequency 2 (Hz) On/Off Description 350 440 continuous North American Dial Tones 425 --- continuous European Dial Tones 400 --- continuous Far East Dial Tones 480 620 0.5s/0.5s North American Line Busy 440 --- 0.5s/0.5s Japanese Line Busy 480 620 0.25s/0.25s North American Reorder Tones 440 480 2.0s/4.0s North American Audible Ringing 480 620 0.25s/0.25s North American Reorder Tones Table 3 - Call Progress Tones 5 Zarlink Semiconductor Inc. MT3170B/71B, MT3270B/71B, MT3370B/71B Parameter Unit Resonator Crystal R1 Ohms 6.580 150 L1 mH 0.359 95.355 C1 pF 4.441 15.1E-03 C0 pF 34.890 12.0 Qm - 1.299E+03 101.2E+ 03 ∆f % ±0.2% ±0.01% Data Sheet Table 4 - Recommended Resonator and Crystal Specifications Note: Qm=quality factor of RLC model, i.e., 1/2P¶R1C1. L1 C1 R1 C0 R1 = Equivalent resistor. L1 = Equivalent inductance. C1 = Equivalent compliance. C0 = Capacitance between electrode. Resonator and Crystal Electric Equivalent Circuit Oscillator The MT327xB/337xB can be used in both external clock or two pin oscillator mode. In two pin oscillator mode, the oscillator circuit is completed by connecting either a 4.194304 MHz crystal or ceramic resonator across OSC1 and OSC2 pins. Specifications of the ceramic resonator and crystal are tabulated in Table 4. It is also possible to configure a number of these devices employing only a single oscillator crystal. The OSC2 output of the first device in the chain is connected to the OSC1 input of the next device. Subsequent devices are connected similarly. The oscillator circuit can also be driven by an 4.194304 MHz external clock applied on pin OSC 1. The OSC2 pin should be left open. For MT317xB devices, the CLK input is driven directly by an 4.194304 MHz external digital clock. Applications The circuit shown in Figure 3 illustrates the use of a MT327xB in a typical receiver application. It requires only a coupling capacitor (C1) and a crystal or ceramic resonator (X1) to complete the circuit. The MT3x70B is designed for user who wishes to tailor the guard time for specific applications. When a DTMF signal is present, the ESt pin will go high. An external microcontroller monitors ESt in real time for a period of time set by the user. A guard time algorithm must be implemented such that DTMF signals not meeting the timing requirements are rejected. The MT3x71B uses an internal counter to provide a preset DTMF validation period. It requires no external components. The DStD output high indicates that a valid DTMF digit has been detected. The 4.194304 MHz frequency has a secondary advantage in some applications where a real time clock is required. A 22-bit counter will count 4,194,304 cycles to provide a one second time base. 6 Zarlink Semiconductor Inc. MT3170B/71B, MT3270B/71B, MT3370B/71B C1 DTMF/CP Input Data Sheet VDD 1 VDD INPUT 8 MT327xB 2 X1 3 4 COMPONENTS LIST: C1 = 0.1 µF ± 10 % X1 = Crystal or Resonator (4.194304 MHz) OSC2 ESt/DStD OSC1 VSS ACK SD 7 6 5 Figure 3 - Application Circuit for MT327xB 7 Zarlink Semiconductor Inc. To microprocessor or microcontroller MT3170B/71B, MT3270B/71B, MT3370B/71B Data Sheet Absolute Maximum Ratings† - Voltages are with respect to VSS=0V unless otherwise stated. Parameter Symbol 1 DC Power Supply Voltage 2 Voltage on any pin (other than supply) VI/O 3 Current at any pin (other than supply) II/O 4 Storage temperature TS 5 Package power dissipation PD Min. VDD-VSS -0.3 -65 Max. Units 6 V 6.3 V 10 mA 150 °C 500 mW † Exceeding these values may cause permanent damage. Functional operation under these conditions is not implied. Recommended Operating Conditions - Voltages are with respect to VSS=0V unless otherwise stated Parameter Sym. Min. Typ.‡ Max. Units 4.75 5.0 5.25 V 1 Positive Power Supply VDD 2 Oscillator Clock Frequency fOSC 3 Oscillator Frequency Tolerance 4.194304 ∆fOSC Test Conditions MHz ±0.1 % -40 25 85 °C Operating Temperature Td Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to production testing. 4 ‡ DC Electrical Characteristics - Voltages are with respect to VDD=5V±5%,VSS=0V, and temperature -40 to 85°C, unless otherwise stated. Typ.‡ Max. Units IDD 3 8 mA Standby supply current IDDQ 30 100 µA 3a Input logic 1 VIH 4.0 V 3b Input logic 1 (for OSC1 input only) VIH 3.5 V 4a Input logic 0 VIL 1.0 V 4b Input logic 0 (for OSC1 input only) VIL 1.5 V 5 Input impedance (pin 1) RIN 6 Pull-down Current (PWDN, ACK pins) IPD 7 Output high (source) current IOH Characteristics Sym. 1 Operating supply current 2 Min. 50 PWDN=5V, ACK=0V ESt/DStD = SD = 0V MT327xB/MT337xB MT327xB/MT337xB kW 0.4 25 mA with internal pull-down resistor of approx. 200 kΩ. PWDN/ACK = 5V 4.0 mA VOUT=VDD-0.4V 8 ‡ Test Conditions Output low (sink) current IOL 1.0 9.0 mA VOUT=VSS+0.4V Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to production testing. 8 Zarlink Semiconductor Inc. MT3170B/71B, MT3270B/71B, MT3370B/71B Data Sheet AC Electrical Characteristics - voltages are with respect to VDD=5V±5%, VSS=0V and temperature -40 to +85°C unless otherwise stated. Characteristics Sym. Min. Typ.‡ -50 2.45 Max. Units 0 775 dBm mVRMS Test Conditions* 1 Valid input signal level (each tone of composite signal) 2 Positive twist accept 8 dB 1,2,3,4,11,12,15 3 Negative twist accept 8 dB 1,2,3,4,11,12,15 4 Frequency deviation accept ±1.5%± 2Hz 5 Frequency deviation reject ±3.5% 6 Third tone tolerance -16 dB 1,2,3,4,5,12 7 Noise tolerance -12 dB 7,9,12 8 Dial tone tolerance +15 dB 8,10,12 9 Supervisory tones detect level (Total power) 10 Supervisory tones reject level 11 Energy detector attack time tSA 12 Energy detector decay time tSD 1,2,3,5,12 1,2,3,5,12,15 -35 dBm 16 -50 dBm 16 6.5 ms 16 25 ms 16 10 30 50 ms ms ms IDDQ ≤ 100µA MT3170B/3370B MT3171B/3371B Note 14 13 20 ms MT3x70B 3 15 ms MT3x70B 40 ms MT3x71B ms MT3x71B 1.0 3 13a Powerdown time 13b Powerup time 14 Tone present detect time (ESt logic output) tDP 15 Tone absent detect time (ESt logic output) tDA 16 Tone duration accept (DStD logic output) tREC 17 Tone duration reject (DStD logic output) tREC 3 1,2,3,5,6,12 20 9 Zarlink Semiconductor Inc. MT3170B/71B, MT3270B/71B, MT3370B/71B Data Sheet AC Electrical Characteristics - voltages are with respect to VDD=5V±5%, VSS=0V and temperature -40 to +85°C unless otherwise stated. Characteristics Sym. Min. Typ.‡ Max. Units Test Conditions* 40 ms MT3x71B ms MT3x71B 18 Interdigit pause accept (DStD logic output) tID 19 Interdigit pause reject (DStD logic output) tDO 20 Data shift rate 40-60% duty cycle fACK 1.0 3.0 MHz 21 Propagation delay (ACK to Data Bit) tPAD 100 140 ns 1MHz fACK, 13,15 22 Data hold time (ACK to SD) tDH ns 13,15 20 30 50 13,15 ‡ Typical figures are at 25°C and are for design aid only: not guaranteed and not subject to production testing * Test Conditions 1. dBm refers to a reference power of 1 mW delivered into a 600 ohms load. 2. Data sequence consists of all DTMF digits. 3. Tone on = 40 ms, tone off = 40 ms. 4. Signal condition consists of nominal DTMF frequencies. 5. Both tones in composite signal have an equal amplitude. 6. Tone pair is deviated by ±1.5% ± 2 Hz. 7. Bandwidth limited (0-3 kHz) Gaussian noise. 8. Precise dial tone frequencies are 350 Hz and 440 Hz ( ± 2%). 9. Referenced to lowest level frequency component in DTMF signal. 10. Referenced to the minimum valid accept level. 11. Both tones must be within valid input signal range. 12. External guard time for MT3x70B = 20 ms. 13. Timing parameters are measured with 70pF load at SD output. 14. Time duration between PWDN pin changes from ‘1‘ to ‘0‘ and ESt/DStD becomes active. 15. Guaranteed by design and characterization. Not subject to production testing. 16. Value measured with an applied tone of 450 Hz. 10 Zarlink Semiconductor Inc. MT3170B/71B, MT3270B/71B, MT3370B/71B tDO tREC DTMF Tone #n INPUT Data Sheet DTMF Tone #n + 1 DTMF Tone #n + 1 Input Signal tDA tDP ESt (MT3x70B) tID tREC DStD (MT3x71B) ACK LSB LSB MSB MSB tSD tSA Input Signal Envelope SD b0b1b2b3 b0b1b2b3 tDO tID tREC tREC tDA tDP tSA tSD - maximum allowable dropout during valid DTMF signals. (MT3x7xB). minimum time between valid DTMF signals (MT3x71B). maximum DTMF signal duration not detected as valid (MT3x7xB). minimum DTMF signal duration required for valid recognition (MT3x71B). time to detect the absence of valid DTMF signals (MT3x70B). time to detect the presence of valid DTMF signals (MT3x70B). supervisory tone integrator attack time (MT3x7xB). supervisory tone integrator decay time (MT3x7xB). Figure 4 - Timing Diagram ESt/DStD 1/fACK VIH ACK VIL tPAD SD VIH VIL DTMF Energy Detect tDH b0 b1 b2 b3 MSB LSB Figure 5 - ACK to SD Timing 11 Zarlink Semiconductor Inc. DTMF Energy Detect For more information about all Zarlink products visit our Web Site at www.zarlink.com Information relating to products and services furnished herein by Zarlink Semiconductor Inc. or its subsidiaries (collectively “Zarlink”) is believed to be reliable. However, Zarlink assumes no liability for errors that may appear in this publication, or for liability otherwise arising from the application or use of any such information, product or service or for any infringement of patents or other intellectual property rights owned by third parties which may result from such application or use. Neither the supply of such information or purchase of product or service conveys any license, either express or implied, under patents or other intellectual property rights owned by Zarlink or licensed from third parties by Zarlink, whatsoever. Purchasers of products are also hereby notified that the use of product in certain ways or in combination with Zarlink, or non-Zarlink furnished goods or services may infringe patents or other intellectual property rights owned by Zarlink. This publication is issued to provide information only and (unless agreed by Zarlink in writing) may not be used, applied or reproduced for any purpose nor form part of any order or contract nor to be regarded as a representation relating to the products or services concerned. The products, their specifications, services and other information appearing in this publication are subject to change by Zarlink without notice. No warranty or guarantee express or implied is made regarding the capability, performance or suitability of any product or service. Information concerning possible methods of use is provided as a guide only and does not constitute any guarantee that such methods of use will be satisfactory in a specific piece of equipment. It is the user’s responsibility to fully determine the performance and suitability of any equipment using such information and to ensure that any publication or data used is up to date and has not been superseded. Manufacturing does not necessarily include testing of all functions or parameters. These products are not suitable for use in any medical products whose failure to perform may result in significant injury or death to the user. All products and materials are sold and services provided subject to Zarlink’s conditions of sale which are available on request. Purchase of Zarlink’s I2C components conveys a licence under the Philips I2C Patent rights to use these components in and I2C System, provided that the system conforms to the I2C Standard Specification as defined by Philips. Zarlink, ZL and the Zarlink Semiconductor logo are trademarks of Zarlink Semiconductor Inc. Copyright Zarlink Semiconductor Inc. All Rights Reserved. TECHNICAL DOCUMENTATION - NOT FOR RESALE