CMX631A Low Voltage SPM Detector D/631A/1 May 1998 Provisional Information Features and Applications * Detects 12kHz or 16kHz SPM Frequencies * Tone Follower and Packet Mode Outputs * High Speech-Band Rejection Properties * Low Power Operation (2.7V <0.8mA) * Call Charge Applications on PABX Line Cards * Complex and/or Simple Telephone Systems * Remote Telephone/Payphones Brief Description The CMX631A is a low-power, system-selectable Subscriber Pulse Metering (SPM) detector that indicates the presence of either 12kHz or 16kHz telephone call-charge frequencies on a telephone line. Deriving its input directly from the telephone line, input amplitude/sensitivities are component adjustable to the user's national `Must/Must-Not Decode' specifications via an on-chip input amplifier. The 12kHz and 16kHz frequency limits are accurately defined by the use of an external 3.579545MHz telephone-system Xtal or clock-pulse input. The CMX631A demonstrates exceptional 12kHz and 16kHz performance in the presence of both voice and noise. This device may operate from a single or differential analogue signal input, from which two individual logic outputs will be produced; a Tone Follower Output and a Packet Mode Output. This system (12kHz/16kHz) selectable integrated circuit, requires a 2.7V to 5.5V power supply which may be line-powered, is available in the following packages: 24-pin SSOP (CMX631AD5), 16-pin SOIC (CMX631AD4), and 16-pin PDIP (CMX631AP3). Additional package styles may be available to meet specific design requirements. 1998 Consumer Microcircuits Limited Low Voltage SPM Detector CMX631A CONTENTS Section Page Features and Applications .................................................................................................. 1 Brief Description .................................................................................................................. 1 1 Block Diagram ................................................................................................................... 3 2 Signal List .......................................................................................................................... 4 3 External Components ....................................................................................................... 5 4 General Description .......................................................................................................... 6 4.1 Tone Follower Mode .............................................................................................................. 6 4.2 Packet Mode.......................................................................................................................... 6 4.3 Sensitivity Setting................................................................................................................... 7 4.4 `WILL'/'WILL-NOT' Detect Frequencies ................................................................................ 9 5 Applications....................................................................................................................... 9 5.1 Input Configurations............................................................................................................... 9 5.1.1 Protection Against High Voltages ................................................................................................. 9 5.1.2 Aliasing ....................................................................................................................................... 10 The `Clock-Out' Pin.............................................................................................................................. 10 6 Performance Specification ............................................................................................. 11 6.1 Electrical Specifications ....................................................................................................... 11 6.1.1 Absolute Maximum Ratings........................................................................................................ 11 6.1.2 Operating Limits ......................................................................................................................... 11 6.1.3 Operating Characteristics ........................................................................................................... 12 6.2 Packages............................................................................................................................. 14 1998 Consumer Microcircuits Limited 2 D/631A/1 Low Voltage SPM Detector 1 CMX631A Block Diagram Figure 1: Block Diagram 1998 Consumer Microcircuits Limited 3 D/631A/1 Low Voltage SPM Detector CMX631A 2 Signal List Packages D5 1 D4/P3 1 Signal Name Xtal/Clock Type I/P 4 5 2 3 XtalN Clock Out O/P O/P 6 4 Clock In I/P 8 7 VBIAS Power 12 8 VSS Power Negative supply (GND). 13 9 Signal In + I/P 17 10 Signal In - I/P 18 11 Amp Out O/P 19 13 O/P 20 14 Tone Follower Output Packet Mode Output 21 15 System I/P 24 16 VDD Power 2, 3, 7, 9, 10, 11, 14, 15, 16, 22, 23 5,6,12 N/C The positive input to the input gain adjusting signal amplifier. See Section 4.3, Sensitivity Setting and 4.4, `Will'/'Will Not' Detect Frequencies. The negative input to the input gain adjusting signal amplifier. See Section 4.3, Sensitivity Setting and 4.4, `Will'/'Will Not' Detect Frequencies. The output of the input gain adjusting signal amplifier. See Section 4.3, Sensitivity Setting and 4.4, `Will'/'Will Not' Detect Frequencies. This output provides a logic `0' for the period of a detected tone and a logic `1' for a NOTONE detection. See 4.1, Tone Follower Mode and Figure 3. This output provides a logic `0' for a detected tone and a logic 1 for NOTONE detection and will ignore a small fluctuation or fade during the tone signal. See Section 4.2, Packet Mode and Figure 3. This logic input selects the device operation to either 12kHz (logic 1) or 16kHz (logic `0') SPM systems. This input has an internal 1M pull-up resistor (12kHz). Positive supply. A single, stable power supply is required. Critical levels and voltages within the CMX631A are dependent upon this supply. This pin should be de-coupled to VSS by a capacitor mounted close to the pin. Note: If this device is line powered, the resulting power supply must be stable. See Section 5.1.1 - Protection against High Voltages. No internal connection; leave open circuit. 1998 Consumer Microcircuits Limited Description O/P The input to the on-chip clock oscillator; for use with a 3.579545MHz Xtal in conjunction with the Xtal output; circuit components are on-chip. When using a Xtal input, the Clock Out pin should be connected directly to the Clock In pin. If a clock pulse input is used at the Clock In pin, this (Xtal/Clock) pin must be connected directly to VDD . See Figure 2 and Section 3 - External Components. The output of the on-chip clock oscillator inverter. A clock signal derived from the on-chip Xtal oscillator. If the on-chip oscillator is used, this pin should be connected directly to the Clock In pin. This output should not be used to clock other devices The 3.579545MHz clock pulse input to the internal clock dividers. If an externally generated clock pulse is used, the Xtal/Clock input pin should be connected to VDD. See Section 3 External Components. The output of the on-chip bias circuitry. Held internally at VDD/2, this pin should be de-coupled to VSS. See Figure 2. 4 D/631A/1 Low Voltage SPM Detector 3 CMX631A External Components Figure 2: Recommended External Components R1 Note 1 RFEEDBACK C1 1.0F 20% R2 Note 1 RIN(-) C2 1.0F 20% R3 Note 1 RIN(+) C3 CIN(-) R4 Note 1 RBIAS C4 CIN(+) X1 Note 2, 3, 4 3.579545MHz Table 2: Recommended External Components Recommended External Component Notes: 1. When calculating input gain components, for correct operation R1 and R4 should always be 33k. 2. For best results, a crystal oscillator design should drive the clock inverter input with signal levels of at least 40% of VDD, peak to peak. Tuning fork crystals generally cannot meet this requirement. To obtain crystal oscillator design assistance, consult your crystal manufacturer. 3. The on-chip crystal circuitry includes a feedback resistor (nominally 2M) between pins 1 and 2 and load capacitors on pins 1 and 2 (nominally 10pF each, excluding package and board parasitics). 4. When using an external clock input, X1 should be removed, Pin 1 (Xtal/Clock) should be tied to VDD, the Clock In and Clock Out jumper should be removed, and the external clock signal applied to Clock In. 1998 Consumer Microcircuits Limited 5 D/631A/1 Low Voltage SPM Detector CMX631A 4 General Description 4.1 Tone Follower Mode The Tone Follower Output produces a logic `0' when a valid signal is detected. A logic `1' signifies a NOTONE or bad decode. See Figure 3. 4.2 Packet Mode The Packet (Cumulative Tone) Mode Output will respond and/or de-respond after a cumulative 40ms of good tone (or NOTONE) in any 48ms period by providing a Logic level output. See Figure 3. This process will ignore small fluctuations or fades of a valid frequency input and is available for Processor `wake-up', Minimum tone detection, NOTONE indication or transient avoidance. SIGNAL INPUT TONE NOTONE TONE FOLLOWER OUTPUT RESPONSE DELAY PACKET MODE OUTPUT SIGNAL INPUT ...... TONE FOLLOWER OUTPUT ...... DERESPONSE DELAY PACKET MODE OUTPUT ...... Figure 3: Tone Follower and Packet Mode Outputs 1998 Consumer Microcircuits Limited 6 D/631A/1 Low Voltage SPM Detector 4.3 CMX631A Sensitivity Setting The CMX631A input sensitivity can be accurately adjusted and set to support many national 12kHz and 16kHz SPM specifications. 4.3.1 Input Gain Calculation The input amplifier, with external circuitry, is used to set the sensitivity of the CMX631A to conform to the user's national level specification with regard to `Must' and `Must-Not' decode signal levels. With reference to the graphs in Figure 4 and Figure 5, the following steps will assist in the determination of the required gain/attenuation. 1. Draw two horizontal lines from the Y-axis [Signal Level (dB)] in Figure 4 and Figure 5. The upper line represents the required `Must' decode level. The lower line represents the required `Must-Not' decode level 2. Mark the intersection of the upper horizontal line and the upper sloping line; drop a vertical line from this point to the X-axis [Amplifier Gain (dB)]. The point where the vertical line meets the X-axis indicates the minimum Input Amp gain required for reliable decoding of valid signals. 3. Mark the intersection of the lower horizontal line and the lower sloping line; drop a vertical line from this point to the X-axis. The point where the vertical line meets the X-axis will indicate the maximum allowable Input Amp gain. Input signals at or below the `Must-Not' decode level will not be detected as long as the amplifier gain is no higher than this level. 1998 Consumer Microcircuits Limited 7 D/631A/1 CMX631A SIGNAL LEVEL (dB) 0dB ref: 775mVRMS Low Voltage SPM Detector AMPLIFIER GAIN (dB) VDD = 3.0V (0.1) TAMB = -40C to 85C Figure 4: Input Gain Calculation Graph for VDD = 3.0V -10 SIGNAL LEVEL (dB) 0dB ref: 775mVRMS -15 -20 MUST DECODE LEVEL -25 MUST NOT DECODE LEVEL -30 -35 -40 -45 MINIMUM AMPLIFIER GAIN -50 -25 -20 -15 MAXIMUM AMPLIFIER GAIN -10 -5 0 5 10 AMPLIFIER GAIN (dB) VDD = 5.0 (0.5) TEMP = -40C to 85C 15 20 25 Figure 5: Input Gain Calculation Graph for VDD = 5.0V 1998 Consumer Microcircuits Limited 8 D/631A/1 Low Voltage SPM Detector 4.3.2 CMX631A Input Gain Components Refer to the gain components found in Table 2 and Figure 2. The user should calculate and select external components (R1/R2/C3 and R3/R4/C4) to provide amplifier gain within the limits obtained in 4.3.1 Input Gain Calculation. Component tolerances should not move the gain-figure outside these limits. The graphs Figure 4 and Figure 5 are for the calculation of input gain components for a CMX631A using a VDD of 3.0 (0.1) or VDD of 5.0 (0.5). 4.4 `WILL'/'WILL-NOT' Detect Frequencies Figure 6: `WILL'/'WILL-NOT' Detect Frequencies 5 Applications 5.1 Input Configurations Figure 7: Input Configurations 5.1.1 Protection Against High Voltages Telephone systems may have high DC and AC voltages present on the line. If the CMX631A is a part of host equipment that has its own signal input protection circuitry, there will be no need for further protection as long as the voltage on any pin is limited to within VDD +0.3V and VSS -0.3V. If the host system does not have input protection, or there are signals present outside the device's specified limits, the CMX631A will require protection diodes at its signal inputs (+ and -). The breakdown voltage of the capacitors and the peak inverse voltage of the diodes must be sufficient to withstand the sum of the DC voltages plus all expected signal peaks. 1998 Consumer Microcircuits Limited 9 D/631A/1 Low Voltage SPM Detector 5.1.2 CMX631A Aliasing Due to the sampling nature of switched-capacitor filters used in the CMX631A, high frequency noise or unwanted signals can alias into the passband, disrupting detection. External components must be chosen carefully to avoid alias effects. Possible Alias Frequencies: 12kHz Mode = 52kHz 16kHz Mode = 69kHz If other filtering in the system has not attenuated these alias frequencies, capacitors should be employed across resistors R1 and R4 to provide anti-alias filtering. The low-pass cutoff frequency should be chosen to be approximately 20kHz to 25kHz for a 12kHz system, or 25kHz to 30kHz for a 16kHz system. i.e. C = 1 2 x x f x (R1 or R4) 0 When anti-alias capacitors are used, an allowance must be made for reduced gain at the SPM frequency (12kHz or 16kHz). The `Clock-Out' Pin The Clock-Out pin is intended to drive the CMX631A Clock-In pin only. It is not recommended that it be used to clock other devices within the host equipment. 1998 Consumer Microcircuits Limited 10 D/631A/1 Low Voltage SPM Detector CMX631A 6 Performance Specification 6.1 Electrical Specifications 6.1.1 Absolute Maximum Ratings Exceeding the maximum rating can result in device damage. Parameter Supply Voltage (VDD-VSS) Min. -0.3 Voltage on any pin to VSS Current into ...... VDD Typ. Max. 7.0 Unit V -0.3 (VDD + 0.3) V -30 30 mA VSS -30 30 mA Any other pin -20 20 mA Max. 800 Unit mW 13 mW/C 85 85 C C Max. 550 Unit mW 9 mW/C 85 85 C C D4 / P3 Packages Min. Typ. Total allowable device dissipation at TAMB 25C Derating above TAMB 25C Operating Temperature Storage Temperature -40 -40 D5 Package Min. Typ. Total allowable device dissipation at TAMB 25C Derating above TAMB 25C Operating Temperature Storage Temperature 6.1.2 -40 -40 Operating Limits Correct Operation of the device outside these limits is not implied. Parameter Supply Voltage (VDD) Min. 2.7 Operating Temperature Xtal/Clock Frequency -40 3.558918 1998 Consumer Microcircuits Limited Typ. 3.0/5.0 11 Max. 5.5 Unit V 85 3.589368 C MHz D/631A/1 Low Voltage SPM Detector 6.1.3 CMX631A Operating Characteristics All device characteristics are measured under the following conditions unless otherwise specified: VDD = 3.0V to 5.0V @ TAMB = -40C to 85C Audio Level 0dB (ref.) = 775mVRMS, Noise Bandwidth = 50kHz Xtal/Clock Frequency = 3.579545MHz, System Setting = 12kHz or 16kHz Notes Min. Typ. Max. Units - - 0.8 mA - - 2.2 mA 70.0 - - %VDD Input Logic `0' - - 30.0 %VDD Output Logic `1' 90.0 - - %VDD Output Logic `0' - - 10.0 %VDD 3.558918 - 3.589368 MHz 100 100 - - ns ns 60.0 - 100 1.0 - dB Hz M 0.7 10.0 - 14.0 3.8 30.0 M M k 1 1 1 1 1 1 11.820 12.480 15.760 16.640 - 12.180 11.520 16.240 15.360 - kHz kHz kHz kHz kHz kHz 2 -27.8 - -31.8 dBm 2 -23.5 - -27.5 dBm 3, 4, 5, 6 3, 4, 5, 7 5, 6 1, 8 22.0 -36.0 -25.0 20.0 -40.0 - -29.0 dB dB dB 10.0 ms 48.0 ms Supply Current VDD = 3.0V VDD = 5.0V Logic Inputs/Outputs Input Logic `1' Xtal/Clock or Clock In Frequency External Clock Pulse Width High Low Input Amplifier D. C. Gain Bandwidth (-3dB) Input Impedance Logic Impedances Input System Clock In Output Overall Performance 12kHz Detect Bandwidth 12kHz Not-detect Frequencies 12kHz Not-detect Frequencies 16kHz Detect Bandwidth 16kHz Not-detect Frequencies 16kHz Not-detect Frequencies Sensitivity VDD = 3.0V0.1V (below 12kHz) (above 12kHz) (below 16kHz) (above 16kHz) VDD = 5.0V0.5V Tone Operating Characteristics Signal-to-Noise Requirements Signal-to-Voice Requirements Signal-to-Voice Requirements Tone Follower Mode Response and De-Response Time Packet Mode Response and De-Response Time 1998 Consumer Microcircuits Limited (Amp Input) (Amp Input) (Amp Output) 1, 8 40.0 12 - D/631A/1 Low Voltage SPM Detector CMX631A Operating Characteristics Notes: 1. With adherence to Signal-to-Voice and Signal-to-Noise specifications. 2. With Input Amplifier gain set to unity gain. See Section 4.3 for description of sensitivity setting. 3. Common Mode SPM and balanced voice signal. 4. Immune to false responses. 5. Immune to false de-responses. 6. With SPM and voice signal amplitudes balanced. To avoid false de-responses due to saturation, the peak to peak voice+noise level at the output of the Input Amp (12/16kHz Filter Input) should be no greater than the dynamic range of the device. 7. Maximum voice frequencies = 3.4kHz. 8. Response, De-Response and Power-up Response timing. 1998 Consumer Microcircuits Limited 13 D/631A/1 Low Voltage SPM Detector 6.2 CMX631A Packages The CMX631A is available in the following packages. Additional package styles may be available to meet specific design requirements. Figure 8: 24-pin SSOP Mechanical Outline: order as part no. CMX631AD5 Figure 9: 16-pin SOIC Mechanical Outline: order as part no. CMX631AD4 1998 Consumer Microcircuits Limited 14 D/631A/1 Low Voltage SPM Detector CMX631A Figure 10: 16-pin PDIP Mechanical Outline: order as part no. CMX631AP3 Handling precautions: This product includes input protection, however, precautions should be taken to prevent device damage from electro-static discharge. CML does not assume any responsibility for the use of any circuitry described. No IPR or circuit patent licences are implied. CML reserves the right at any time without notice to change the said circuitry and this product specification. CML has a policy of testing every product shipped using calibrated test equipment to ensure compliance with this product specification. Specific testing of all circuit parameters is not necessarily performed. 1 WHEATON ROAD Telephone: +44 1376 513833 WITHAM - ESSEX Telefax: +44 1376 518247 CM8 3TD - ENGLAND e-mail: sales@cmlmicro.co.uk website: http://www.cmlmicro.co.uk