SA545 sames SA545, SA54L5 PULSE/DTMF SWITCHABLE DIALLERS WITH 10 REPERTORY MEMORIES FEATURES ■ Selectable Loop-disconnect (Pulse) or DTMF (Tone) dialling modes ■ Selectable Break:Make Ratios 2:1 or 3:2 ■ 10 x 24 Digit Repertory Dialling Stores ■ ■ 24 Digit Last Number Redial (LNR) Uses inexpensive 560KHz ceramic resonator ■ Selectable Interdigit Pause (IDP) 500ms or 800ms ■ Earth Loop Recall and Timed Break Recall (Timed Flash) ■ Operates with inexpensive single contact keypad ■ ■ On-chip Darlington transistor pair for DTMF tone filtering Low on-hook Supply Current Options SA54X53 - 5µA @ 2.5V SA54X56 - 1µA @ 2.5V SA54X59 - 1µA @ 3.0V ■ ■ Low power CMOS technology enables direct operation from Telephone line Call, barring/locking feature available on the SA54L5 ■ ■ Keypad switchable Loop-Disconnect to DTMF during a call Optional use of external capacitor for oscillator PIN CONNECTIONS: SA545 M63-1961 sames PIN CONNECTIONS: SA54L5 1/18 PDS039-SA545-001 REV. B 31-08-94 SA545 ABSOLUTE MAXIMUM RATINGS * Parameter Min Supply Voltage VDD - VSS -0,3 Voltage on any pin (except HSW) VSS -0,3 Voltage on pin HSW VSS -0,3 Current at any pin -1 (except HSW, FILTOUT and FILTIN) Current at pin FILTOUT 0 Current at pin FILTIN -5 Operating Temperature -25 Storage Temperature -55 Typ Max Unit 6,5 VDD +0,3 1 V V V mA 0,1 0 70 125 mA mA °C °C Notes See Note 1 * Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This a stress rating only. Functional operation of the device at these or any other condition above those indicated in the operation sections of this specification, is not implied. Exposure to Absolute Maximum Ratings for extended periods may affect device reliability. Note 1: A diode is internally connected between this pin and VDD. Provided current is externally limited to 300µA max, no damage will occur. 2/18 sames SA545 DC ELECTRICAL CHARACTERISTICS (VDD = 2,5V at 25°C, unless otherwise specified) Condition Supply voltage: Min Typ Max Unit on-hook 1,8 5,7 V off-hook 2,4 5,7 V Hookswitch input: on-hook 0,2 VDD off-hook 0,8 V DD Supply Current: on-hook SA54X53 <0.2 5 µA SA54X56 <0.2 1 µA SA54X59 <0.2 1 µA off-hook 1,5 µA MF tone sending 1,0 mA LD impulsing 200 µA Output High Voltage 2,2 V (MASK, MUTE and IMP Outputs) Output Low Voltage 0,3 V (MASK, MUTE and IMP Outputs) MF OUT d.c. Level During Tone Sending 0,9VDD V MF OUT Output Resistance 'Key Pressed' Resistance 2 500 Darlington Pair Current Gain 600 VDD = 2.5V VDD = 2.5V VDD = 3V If MF OUT is low I = -1mA I = +1mA KΩ 3 'Key Not Pressed' Resistance Notes For memory retention 50,000 KΩ 2,5V<VDD<5,7V KΩ 2,5V<VDD<5,7V Ie=100µA,Vce=2V AC ELECTRICAL CHARACTERISTICS (VDD = 2,5V at 25°C, unless otherwise specified) Condition Oscillating Frequency Tone Output: Low Group High Group High-to-Low Group Amplitude Ratio Total harmonic Distortion: 0-4KHz 0-10KHz 0-50KHz 0-200KHz sames Min 68 1,5 Typ 560 77 97 2 1,5 2,5 5,0 6,5 Max Unit kHz mVrms 109 mVrms 2,5 dB % % % 10 % Notes No Load No Load at MF OUT 3/18 SA545 Keypad Nominal frequency (Hz) Deviation from nominal (%) -,22 R1 R2 R3 R4 C1 697 770 -,07 852 -,10 941 +,19 1209 -,15 C2 C3 1336 1477 -,17 -,20 There will be an additional error due to any deviation in the oscillator frequency from 560 kHz. FUNCTIONAL OVERVIEW The SAMES SA545 is a family of keypad switchable Loop Disconnect (LD)/Dual Tone multi-Frequency (DTMF) dialler devices for use in low-cost, dual dialling mode telephone instruments. The devices feature automatic storage of a single telephone number of up to 24 digits for Last Number Redial (LNR) purposes as well as10 repertory dialling memories capable of each storing 24 digits. The low current consumption of the SA545 ensures memory retention while powered from the line. Two modes of operation are available. The first is a LD/DTMF mode which operates normally in LD mode, but can be switched temporarily via the keypad to DTMF mode during a call. This mode has been optimised for applications such as home banking, credit-card verification and other applications requiring low speed data communications. The second mode allows DTMF dialling only. The Lock function will be described in the Functional Description. The SA545 family is pin compatible with SAMES SA541 family. Ordering Information Lock Option SA54X5X/X L : with (22 pin package) Blank : without (20 pin package) On-Hook Current Option 3 : 5µA @ 2.5V 6 : 1µA @ 2.5V 9 : 1µA @ 3V Blank : /1 : 4/18 MF Digits dialled after */# not stored All MF digits stored sames SA545 Block Diagram Figure 1 depicts the SA545 block diagram, while Table 1 lists the respective pin functions of the SA545 and SA54L5. Figure 1: SA54X5 Block Diagram sames 5/18 SA545 SA545 Designation Description 10 9 SA54L5 10 9 VDD V SS Positive Supply input Negative Supply input 4 5 4 5 OSC OUT OSC IN Connections for 560KHz ceramic resonator 12 14 MUTE Active high output during keying and tone transmission. (See Note 1) 3 3 MASK Output to disable speech circuit during pulse dialling and recall. (See Note 2) 6 7 6 7 FILT IN FILT OUT Unity gain amplifier input and output for DTMF tone filtering 11 1 13 1 MF OUT IMP DTMF output 'Loop disconnect' dialling output. During dialling, a logic 1 (high level) correponds to loop connection while a logic 0 (low level) corresponds to loop disconnection. 2 13 14 15 2 15 16 17 SELECT C1 C2 C3 LD/DTMF selection, IDP and B:M ratio programming Column output connections for 16 button single contact keypad 20 16 17 18 22 18 19 20 C4 R1 R2 R3 19 21 R4 8 8 HSW Hookswitch input. A logic 1 (High) applied to this input indicates an "off-hook" condition. - 11 LOCK Lock Input must be tied to V SS to disable all keypad keys (except TBR and LNR). Normal operation is enabled by connecting LOCK to V DD. - 12 N/C No connection Row input connections for 16 button single contact keypad Note 1: The MUTE output is provided to disable the microphone (via the speech network) while maintaining the loop condition during DTMF transmission. Note 2: The MASK output may be used to disconnect the whole speech circuit in order to maintain the break condition whilst on-hook, during a Timed Break Recall (TBR) operation or LD dialling. Table 1: Pin Description 6/18 sames SA545 FUNCTIONAL DESCRIPTION Note: All timing data assumes the use of a 560 KHz ceramic resonator as time base. 1. Power On When power is applied to the chip, a power-on reset circuit operates and ensures that the Last Number Redial (LNR) and 10 Repertory stores are cleared and all logic is reset. The power-on reset circuit is designed such that if the chip supply voltage drops to a level at which the LNR and Repertory stores may be corrupted, it will always, under all conditions, clear the stores when power is restored, so that corrupt data is not retained. 2. Hookswitch Operation The HSW input is used to inform the SA545 of whether the telephone is on-hook or off-hook. Logic ‘0’ is recognised as on-hook, Logic ‘1’ is recognised as off-hook. When the HSW input rises from ‘0’ to ‘1’ the off-hook state is recognised immediately and keypad inputs are accepted. However, when the HSW input falls from ‘1’ to ‘0’ the on-hook state is not recognised for 200-300ms. This ensures that short line breaks of less than 200ms, such as line reversals applied by the exchange, are ignored. In this case, the MASK and IMP outputs will go low immediately the HSW input goes low in order to preserve current, but will resume normal operation immediately HSW goes high. On-hook state: In the on-hook state all chip outputs are set low, the oscillator circuit is inhibited and no key inputs are accepted. This conserves supply current so that the LNR and Repertory stores contents may be retained. Off-hook state: When the HSW input goes high, the MASK output immediately goes to the logic ‘1’ level and remains there until dialling starts (see Figure 5). COLUMN outputs also go high until a key is pressed. The oscillator circuit remains inactive until a key is pressed, and is normally off whenever timing functions are not required, hence reducing operating current. 3. Keypad Operation A single contact, normally open keypad is required. When off-hook the COLUMN outputs are normally held high and the ROW inputs are low (via internal pull-down resistors). When a key is pressed, a COLUMN output is connected to a ROW input, pulling the latter high. This action initiates keyboard scanning. During keyboard scanning, the COLUMN outputs are normally low but generate scanning pulses at 7ms intervals on each output, in sequence. A key is accepted as valid when two successive scanning pulses from the same COLUMN are seen on a ROW input. Hence, the minimum bounce-free key closure period which is necessary to guarantee detection is 14ms(plus the oscillator start up time if it was not already running). sames 7/18 SA545 Simultaneous Key Depressions: If two keys are pressed simultaneously (i.e. a second key is pressed before the first has been verified), neither key will be accepted until both keys are released and the correct key is pressed again. Table 2 indicates the keypad layout for the SA54X5 family. R1 R2 R3 R4 TBR: REDIAL: STORE: PAUSE: C1 1 4 7 ∗ C2 2 5 8 0 C3 3 6 9 # C4 TBR REDIAL STORE PAUSE Timed Break Recall (Flash) Last Number and Repertory Store Redial Enters digits into a Repertory Store Enters a pause into a Repertory Store Table 2: Keypad Layout 4. Dialling Mode Selection The dialling mode may be selected via the SELECT pin (pin 2) as detailed in Table 3. Four Loop-Disconnect options are available with different Interdigit pauses (IDP) and Break:Make ratios. If the DTMF mode is selected, dialling will remain fixed in the DTMF mode. However, if one of the LD modes is selected, the chip will be in LD mode in the initial off-hook condition, but may be switched to DTMF by pressing either the ∗ or # keys, provided that dialling is not in progress. If the ∗ or # keys are pressed during LD dialling, they will be ignored. Once in DTMF mode, depression of either the ∗ or # keys will cause the relevant tone-pair to be output. Only digits entered prior to a DTMF switchover will be stored and available for redialling (see Last Number Redial operation). Once switched to DTMF, dialling will remain in this mode until either a Recall (Flash) operation or until the device returns to the on-hook state. Select (Pin 2) Connected to: VSS C1 C2 C3 VDD Dialling Mode LD LD LD LD DTMF IDP(ms) 800 500 500 800 B:M Ratio 2:1 2:1 3:2 3:2 Table 3: Dialling Mode Selection 8/18 sames SA545 5. Last Number Redial (LNR) The function of the on-chip LNR store is to automatically retain a manually dialled number for redialling later. The capacity of the store is 24 digits. If a number longer than 24 digits is dialled, redialling will be inhibited. The LNR store has two features designed to assist the user,viz: Moving Cursor Facility and Mixed Mode Dialling. Moving Cursor Facility: This facility is provided to aid use in PABX applications, where the user must first dial an access digit or digits, and then wait for a second dialtone before continuing dialling. If the first digit(s) of a new number dialled match the contents of the LNR store, then pressing LNR (redial button twice) will dial out the remaining digits. If there is a mismatch in the number then redial is inhibited until the next on-hook and the LNR store will contain the new number. If the user manually dials the first digit(s) matching those stored in LNR, and then goes on-hook, the whole contents of the store will be retained. Mixed Mode Dialling: In the case of a call which starts in LD mode and is switched by the user (via the∗ or # keys) to DTMF mode, only the digits dialled in LD mode will be retained. Provided that the number of digits dialled in LD mode does not exceed 24, the digits will be retained regardless of the number of DTMF digits entered subsequently. 6. Repertory Dialling (10 Numbers) The SA545 provides 10 repertory stores each of which is 24 digits in length. Any attempt to store a number greater than 24 digits, will cause the store to be automatically cleared. No further digits will be accepted into the store until the whole programming operation is repeated. To 1. 2. 3. 4. 5. programme a repertory store: (At any time while off-hook and not dialling.) Press the STORE key Press the number (0-9) of the store to be programmed Enter digits to be stored (No digits will be dialled while programming) Either press the STORE key again or go on-hook to close the store Repeat to programme other stores sames 9/18 SA545 Notes: i) Only valid keys will be accepted while a store is being programmed (e.g. if REDIAL is pressed while programming a store, it will be ignored). ii) Dual mode (i.e. LD and DTMF) numbers should be programmed into the store using the procedure outlined under 'Dialling Mode Selection'. When redialling from a repertory store, if an LD/DTMF mode change is encountered, dialling will halt (and the speech circuit will be reactivated) until told to continue by the user. It should be noted that if a mode change is entered into a repertory store, it will require one store location. iii) Pauses may be stored in repertory stores. This is achieved by pressing the PAUSE key while programming the store. When redialling from a repertory store, and a pause is encountered, dialling will halt (the speech circuit will be reactivated) until told to continue by the user. A pause will require one store location. To dial a number from a repertory store: (Whilst off-hook and not already dialling) 1. Press the REDIAL key once 2. Press the number (0-9) of the store to be dialled Dialling will now start 3. If dialling halts due to an LD to DTMF mode change or a pause instruction, further dialling will be resumed by pressing the REDIAL key or the PAUSE key. (Alternatively, pulling C4 low for a minimum of 14ms will have the same effect). Notes: i) If an LD/DTMF mode change instruction is encountered while dialling from a repertory store, dialling will halt. If further dialling from this store is invoked (as described above) it will be in DTMF mode. ii) Digits may be dialled manually, or a Last Number Redial carried out before dialling from a repertory store. In this case, when repertory dialling is invoked. it will commence in the mode that was current immediately before repertory dialling was invoked. iii) Further dialling (either manual or repertory) is allowed after repertory dialling. Subsequent dialling will commence in the same mode of the last digit dialled from the repertory store (even if dialling halted at an LD/DTMF switchover). iv) If an LD/DTMF switchover is stored in the first location of a repertory store, the following digits will be dialled in DTMF without first halting. v) All key inputs will be ignored whilst a number is being dialled from a repertory store. Only when dialling has stopped, will further key inputs be recognised. 10/18 sames SA545 7. Earth Loop Recall (ELR) / Timed Break Recall (TBR) (Timed Flash) The SA545 supports both TBR and ELR and offers a common operating protocol in both cases. After a Recall (Flash) operation, the dialling mode selected via the SELECT pin will be restored. Only the digits dialled after the ELR/TBR operation will be retained in the LNR store. A TBR of 100ms1) is generated when the TBR key is pressed. The MASK output goes low in order to produce the line break. When in DTMF mode, the MF OUT output also goes low for the duration of the break. ELR is supported via the C3 pin. If this pin is connected to ground for a minimum of 20ms during an ELR operation, the chip will offer the same operating protocol as for TBR. The ELR function may be achieved by use of the circuit shown in Figure 2, or by use of a double contact switch. 1) Other periods avaiable on request. Figure 2: Earth Loop Recall Application sames 11/18 SA545 8. Oscillator Circuit This requires an external 560KHz ceramic resonator connected between OSC IN and OSC OUT, providing a timing reference for all chip functions. Consult your resonator supplier for recommendation of a suitable resonator type. 9. Tone Filtering The spectral purity of the DTMF output is sufficient for most applications. However, where lower distortion DTMF tones are required, an on-chip Darlington pair is provided (accessible via pins 6 & 7) for use in a low pass active filter. Figure 3 shows how a 2-pole Sallen and Key filter may be implemented. The typical component values have been chosen to give a second order Butterworth response with a cut-off frequency of about 3,5KHz and a nominal pass-band insertion loss of 0,5dB. The relative values of R3 and R4 may be adjusted to achieve the desired DTMF amplitude which varies with supply voltage. DTMF Tone Filtering Figure 3: 2-Pole Sallen and Key Filter Circuit 12/18 sames SA545 10. DTMF Dialling (Figure 4) During DTMF dialling, the MUTE output goes to logic ‘1’ and remains there for the duration of the tone transmission. The IMP output remains low during tone transmission. The MF OUT output rises to its d.c. level of 0,9 VDD at the start of the tone transmission and is kept there between tone bursts. This is to avoid transients at the beginning and end of tone bursts. The maximum rate at which tones are sent to line is 100ms on, followed by 100ms off. If keys are activated faster than this, they are placed in a temporary store and then sent to line at the maximum rate. Dialling from the LNR store occurs at the maximum rate. If a key is held down for longer than 100ms, the tone output will continue until the key is released. DTMF Mode Timing Diagram Figure 4: DTMF Mode Timing Diagram sames 13/18 SA545 11. Loop Disconnect Dialling (Figures 5 and 6) The MASK output is provided in order to disable the speech circuit during LD dialling. Consequently, the MASK output is normally at logic '1' in the off-hook condition, but changes to logic '0' during LD dialling. MASK also changes to logic '0' in order to signal a Timed Break Recall (Flash) to the line. Both MUTE and MF OUT remain low during LD dialling. LD dialling is signalled on the IMP output. A break is signalled by a logic '0', make periods and IDP times are signalled by a logic '1'. When not dialling, the IMP output remains at logic '0'. Figure 5: LD Mode Timing Diagram t1 t2 t3 t4 t5 = = = = = Pre-digit Pause (= t 5) Break Period (60ms or 67ms) Make Period (40ms or 33ms) Post-digit Make (= t3) Inter-digit Pause (800ms or 500ms) Figure 6: Detailed Timing for IMP Output 14/18 sames SA545 12. LOCKING FACILITY This feature is available on the SA54L5. Pin 11 (LOCK) should be connected to VSS if the device is to be locked and to VDD if the device is to be unlocked. This feature can be controlled by an inexpensive low voltage SPDT switch. When locked it is impossible to dial out any number other than those stored in the LNR and repertory memory. If the redial key is pressed twice while in the locked state the number in the LNR store will be dialled out. To dial from the repertory memory while in the locked state the redial key is pressed once followed by the number (0-9) of the store to be dialled. 13. OPTIONS The SA545 has been designed to allow the telephonic manufacturer to cater for different market requirements. The device can be programmed, on request, at the final manufacturing stage so as to enable various attractive options. These options are listed below and are available in any combination. The standard options are listed first in Italics. A. Packaging SA545 a) 20 pin DIP b) 18 pin DIP (filter not bonded out) c) Other packages available on request (e.g. SO,LCC) SA54L5 a) 22 pin DIP b) 20 pin DIP (filter not bonded out) c) Other packages on request B. TBR (Flash) Period SA545 and SA54L5 a) 100ms d) 600ms b) 200ms c) 300ms C. TBR (Flash) LNR Protocol a) Number after the TBR is retained in LNR store. b) Number before the TBR is retained in the LNR store. D. PIN 3 a) MASK b) MASK E. PIN 1 a) IMP b) IMP c) IMP + MASK d) IMP + MASK sames 15/18 SA545 F. PIN 12 (SA545)/PIN 14 (SA54L5) a) MUTE b) MUTE G. LNR Protocol a) Numbers entered after * or # are never retained in the LNR store. (Attractive for banking applications since PIN is not retained). b) Numbers entered after * or # are retained in the LNR store if initial mode is set to DTMF. TYPICAL APPLICATIONS The circuit in Figure 7 uses a constant current supply to draw current from the telephone line which is used to power the SA54X5. The 2,5V reference diode produces a stabilised supply voltage which determines the DTMF tone level of the SA545. In Figure 8, a stabilising voltage from the speech circuit is used to supply the SA545 during DTMF dialling to give accurate tone levels. The SA545 is powered via the 150KΩ resistor during TBR operations and LD dialling breaks, and via T1 during dialling makes. This configuration minimises the component count, at the expense of allowing a leakage current of about 450µA during dialling breaks. The 47µF reservoir capacitor maintains and smoothes the supply to the chip. 16/18 sames SA545 Figure 7: Typical Application Circuit: Powered via Reference Diode Figure 8: Typical Application Circuit: Powered via Speech Circuit sames 17/18 Disclaimer: The information contained in this document is confidential and proprietary to South African MicroElectronic Systems (Pty) Ltd ("SAMES) and may not be copied or disclosed to a third party, in whole or in part, without the express written consent of SAMES. The information contained herein is current as of the date of publication; however, delivery of this document shall not under any circumstances create any implication that the information contained herein is correct as of any time subsequent to such date. SAMES does not undertake to inform any recipient of this document of any changes in the information contained herein, and SAMES expressly reserves the right to make changes in such information, without notification,even if such changes would render information contained herein inaccurate or incomplete. SAMES makes no representation or warranty that any circuit designed by reference to the information contained herein, will function without errors and as intended by the designer. South African Micro-Electronic Systems (Pty) Ltd P O Box 15888, 21 Eland Street, Lynn East, Koedoespoort Industrial Area, 0039 Pretoria, Republic of South Africa, Republic of South Africa Tel: Fax: 012 333-6021 012 333-8071 Tel: Fax: Int +27 12 333-6021 Int +27 12 333-8071