Ordering number : EN5203203 CMOS LSI LC737212, LC737212M Telephone Dialer IC with On-Chip Memory for PushButton Telephones Overview The LC737212 and LC737212M are CMOS LSI telephone dialers for pushbutton telephones. They support both DTMF and pulse dialing. These products include 25 16-digit memories for storing telephone numbers and one 63-digit memory for redialing, and they provide, in a single chip, all the functions required for dialing and control for a standard independent telephone, including on-hook dialing and a hold function. They also provide a serial I/O interface for connection to a microcontroller. Functions • Fabrication in a CMOS process that allows these circuits to be directly operated from a telephone line • Support for single-contact keypads • Built-in oscillator circuit (fosc = 3.58 MHz) that can drive either a standard color-TV crystal oscillator element or a ceramic resonator • High-precision DTMF signal • Frequency generator circuit (±0.1%) adopted for eased ceramic resonator selection • Five one-touch 16-digit auto-dial memories and 20 quick-dialing memories • On-hook or off-hook can be specified for memory entries. • Mode change and pause data items can be stored in the dialing memories. • 63-digit redial memory • Automatic pause (3.9 seconds) insertion when the mode is switched. • Automatic pause (1.0 second) insertion after a flash operation. • Mode changing is one-directional, from pulse mode to tone mode. • Output of a key press tone (1036 Hz, 31 ms) for keys other than DTMF keys when key input is valid • Output of an operation complete confirmation tone (2072 Hz, 279 ms for each telephone number) when a telephone number is stored in memory • Generates 12 signal types in DTMF mode. • Supports an on-hook dialing mode. • Supports a hold function with hold mode. • Supports both 10 and 20 pps dialing pulse rates. • The mode can be switched from either the P/T pin or by a key input. • Settable dialing pulse circuit closed ratio (make percent): either 33% or 39%. • Supports either keypad or serial input. • Provides serial output of the keypad input data and the internal status. • Capable of controlling the serial output timing. • Supports 18 user-defined keys. • Wide operating power-supply voltage range — Pulse mode: VDD = 1.5 to 5.5 V — DTMF mode: VDD = 2.0 to 5.5 V • Low power operation — Pulse mode: IDD = 0.5 mA max (VDD = 3.0 V) — DTMF mode: IDD = 1.0 mA max (VDD = 3.0 V) • Low standby current — IDR = 0.5 µA max (VDD = 1.0 V) SANYO Electric Co.,Ltd. Semiconductor Bussiness Headquarters TOKYO OFFICE Tokyo Bldg., 1-10, 1 Chome, Ueno, Taito-ku, TOKYO, 110-8534 JAPAN 21398RM(OT) No. 5203-1/27 LC737212, 737212M Package Dimensions unit: mm 3170-DIP36S unit: mm 3129-MFP36SD [LC737212] [LC737212M] SANYO: DIP36S SANYO: MFP36SD Specifications Absolute Maximum Ratings at Ta = 25°C Ratings Unit Maximum power supply voltage Parameter VDD max Symbol –0.3 to +6.5 V Maximum input voltage VIN max –0.3 to VDD +0.3 V VOUT max –0.3 to VDD +0.3 Maximum output voltage Conditions Allowable power dissipation Pd max Ta ≤ 70 ˚C Minimum load resistance PL min Between the DTMF and VSS pins V 250 mW 1 kΩ Operating temperature Topr –30 to +70 °C Storage temperature Tstg –40 to +125 °C Allowable Operating Ranges at Ta = 25°C Parameter max Unit VDDP Pulse mode 1.5 5.5 V VDDT DTMF mode 2.0 5.5 V VIH All input pins 0.7 VDD VDD V Input low-level voltage VIL All input pins VSS 0.3 VDD Key contact resistance RKI Keypad capacitance CKI Supply voltage Input high-level voltage Oscillator element rating Symbol f RS Conditions Center frequency = 3.579545 MHz min –1.3 typ V 3.0 kΩ 330 pF +1.3 % 100 Ω No. 5203-2/27 LC737212, 737212M Electrical Characteristics at Ta = 25°C, fosc = 3.579545 MHz Parameter Operating current drain Static current drain Symbol typ max IDDP Pulse output mode, outputs open, VDD = 3.0 V 0.3 0.5 mA IDDT DTMF output mode,outputs open, VDD = 3.0 V 0.5 1 mA 1 µA 0.5 µA 1 µA IDD(ST) Conditions Standby mode, outputs open, VDD = 1.5 to 5.5 V Memory retention voltage VDR Between VDD and VSS Memory retention current IDR VDD = 1 V IIH1 The SOUT-ENA, OFF-HOOK, DPR, P/T, BMR, ON-HOOK-DIAL IN, HOLD-OFF IN, DISCON IN, SI/KEY, OFF/ON-HOOK, and STORE pins, VIH = VDD IIL1 The SOUT-ENA, OFF-HOOK, DPR, P/T, BMR, ON-HOOK-DIAL IN, HOLD-OFF IN, DISCON IN, SI/KEY, OFF/ON-HOOK, and STORE pins, VIL = VSS IILK1 IILK2 IOLK1 IOLK2 Input pin current Key pin current Output pin leakage current IOFF min 1 Unit V –1 µA All key pins, VDD = 1.5 V, VILK = VSS –20 µA All key pins, VDD = 5.5 V, VILK = VSS –300 µA All key pins, VDD = 1.5 V, VOLK = 0.4 V 200 µA All key pins, VDD = 5.5 V, VOLK = 0.4 V 0.7 mA VO = VDD, VDD = 5.5 V, with the output off, the DP, 1 µA MUTE1, MUTE2, and S-OUT pins. VOH1 The K-TONE, HOLD-OUT, HOOK-CTL, and SP-CTL pins, VDD = 1.5 V, IOH = –250 µA VOH2 The K-TONE, HOLD-OUT, HOOK-CTL, and SP-CTL pins, VDD = 5.5 V, IOH = –1 mA VOL1 The K-TONE, DP, MUTE1, MUTE2, SP-CTL, HOLD-OUT, and HOOK-CTL pins, VDD = 1.5 V, IOL = 250 µA 0.4 V VOL2 The K-TONE, DP, MUTE1, MUTE2, SP-CTL, HOLD-OUT, and HOOK-CTL pins, VDD = 5.5 V, IOL = 1 mA 0.4 V max Unit Output pin voltage VDD – 0.5 V VDD – 1 V AC Characteristics at Ta = 25°C, fosc = 3.579545 MHz Parameter Key debounce time Pin chatter exclusion time Symbol Conditions min TKD TPCHT OFF-HOOK, P/T, ON-HOOK-DIAL, IN HOLD OFF IN typ 30 ms 45 ms Key scan frequency fKSC 258.9 HZ Key tone frequency fKT 1035.7 HZ Key tone output time TKT 30.9 Auto-pause time TAP DTMF output time TMFON DTMF interdigit pause time ms In Pulse mode at 10 pps 3.88 3.9 3.93 s In Pulse mode at 20 pps 3.88 3.9 3.93 s DTMF mode 3.88 3.9 3.93 s 98 100 102 ms TMFOFF 93 95 97 ms Hooking time THK 700 710 720 ms Hooking pause time THKP 0.98 1.0 1.02 s Memory store confirmation tone frequency fKST 2071.4 Hz Memory store confirmation tone output time TKSTON 278.1 ms Low tone amplitude Tone output ratio Tone output distortion Oscillator start time VOR VDD = 3.5 V, RL = 10 kΩ 165 200 240 1 2 3 mVrms dBCR VDD = 2.0 to 5.5 V, RL = 10 kΩ DIS VDD = 2.0 to 5.5 V, RL = 10 kΩ 10 % VDD = 1.5 to 5.5 V 30 ms TSTART VDD = 3.0V 1 dB ms No. 5203-3/27 LC737212, 737212M Pulse Dialing Output/fosc = 3.579545 MHz DPR pin BMR pin Dialing pulse rate Interdigit pause Make percent 33.2% VSS VDD 9.94 pps 834.2 ms VDD VDD 19.89 pps 525.2 ms 33.2% VSS VSS 9.94 pps 834.2 ms 39.2% VDD VSS 19.89 pps 525.2 ms 39.2% DTMF Output/fosc = 3.579545 MHz Input Output frequency [Hz] Deviation [%] Standard LC737212 R1 697 697.0 +0.01 R2 770 770.1 –0.02 R3 852 852.3 –0.03 R4 941 942.0 –0.11 C1 1209 1209.3 –0.03 C2 1336 1335.7 +0.03 C3 1477 1476.7 +0.02 C4 1633 1633.0 +0.00 Pin Assignment Top view No. 5203-4/27 LC737212, 737212M Block Diagram No. 5203-5/27 LC737212, 737212M Keypad Layout R1 1 2 3 F 00 05 10 15 4 5 6 M 01 06 11 16 7 8 9 R/P 02 07 12 17 * 0 # HOLD ON/OFF 03 08 13 A4 A1 A2 A3 STORE 04 09 14 A5 to R5 C1 to C8 Key Matrix Functions (when the SOUT-ENA pin is high) Digits 1 to 9, 0: * and #: F: M: R/P: HOLD ON/OFF: STORE: A1 to A5: 00 to 17: Dialing data DTMF dialing data In pulse mode, the * key switches the LC737212/M to DTMF mode. Flash (0.71 second) Quick-dialing address specification (only in the on-hook state, sets up memory store mode) Redial, pause (3.9 seconds), clear the paused state Controls the on/off state of hold mode Sets up memory store mode. One-touch dialing key Definable function keys The keypad is formed as a matrix using the key input pins (R1 to R5 and C1 to C8) and supports 40 keys. A given key is input by shorting or grounding the column pin and the row pin for that key. To prevent discharge of the backup battery due to inadvertent key presses in standby mode (when the circuit is disconnected from the telephone line), key input by shorting is not accepted. This means that if on-hook storing of telephone numbers in memory is selected, the application must implement STORE key (or M key) input by grounding the ROW pin and COLUMN pin. • Digit keys (1 to 9 and 0) — Dialing data keys — Quick-dialing memory address specification keys • * and # keys — DTMF mode: The * and # keys function as dial data keys — Pulse mode: * ... Pulse/tone switching key # ... Unused. • F key (flash key) Invokes an operation equivalent to 0.71-second hooking implemented by turning on the DP output for 0.71 second. Although a 1-second pause is automatically inserted, the following dialing data may be entered during that period. Redialing is possible after a flash operation. • M key (memory key) When on-hook memory registration is set up, the system switches from standby mode to memory registration mode when the M key is pressed. The address of the dialing memory is specified by combination of the digit keys that are pressed immediately after the M key. The system operates as follows when the memory address operation is performed incorrectly. No. 5203-6/27 LC737212, 737212M Memory readout Memory store • R/P key After connecting to the line, the R/P functions as a redial key as long as the system has not performed a dialing output operation. In manual dialing mode, the R/P key functions as the pause data key. When dialing from memory: — During a pause operation: Cancels the pause — While dialing: Inserts a pause During a redial operation: — During a pause operation: Cancels the pause — While dialing: Ignored If two or more pause characters occur in the data, the pause cancel operation will cancel all pending pauses in a single operation. • STORE key Pressing the STORE key sets the system to memory store mode. Pressing the STORE key again during a memory store operation cancels all input data. • HOLD ON/OFF key Controls the on/off state of off-hook mode. No key tone is output at this time. • Keys A1 to A5 These are the one-touch auto-dialing keys. Pressing one of these keys outputs the corresponding memory data from the DP and DTMF pins. • Keys 00 to 17 These are user-defined keys. When one of these keys is pressed, the LC737212/M outputs the corresponding status and key code from the serial interface. No. 5203-7/27 LC737212, 737212M Pin Functions Pin No. Symbol 1 C5 2 R1 3 R2 4 R3 5 R4 Function Column input Row input 6 R5 7 SOUT-ENA 8 HOLD-OFF IN Hold mode clear input; falling edge detection. 9 ON-HOOK DIAL IN On-hook dialing input; falling edge detection 10 SI/KEY 11 ON-HOOK 12 DPR Dialing pulse rate switching; H: 20 pps, L: 10 pps 13 R/T Pulse/tone switching; H:pulse, L: tone 14 BMR Make percentage switching input; H: 33%, L: 39% 15 XIN 16 XOUT Oscillator circuit. Connect either a crystal or ceramic oscillator element with a frequency of 3.58 MHz between these pins. 17 OFF/ON-HOOK STORE 18 VDD 19 VSS 20 SP-CTL 21 DTMF 22 MUTE2 DTMF mute output; n-channel open drain output 23 MUTE1 DP and K-TONE muting output; n-channel open drain output 24 S-OUT Serial data output; n-channel open drain output 25 DP 26 K-TONE 27 HOOK-CTL Hook control output; complementary output 28 HOLD-OUT Hold mode output; complementary output 29 DISCON IN Disconnect input 30 C1 31 C6 32 C7 33 C2 34 C8 35 C3 36 C4 Serial output enable, H: enable, L: disable Serial input/keypad input switching Hook-switching input Off-hook store/on-hook store switching Power supply Speaker reception control output; complementary output DTMF output; npn emitter-follower output Dialing pulse output; n-channel open drain output K-tone output; complementary output Column inputs No. 5203-8/27 LC737212, 737212M • SOUT-ENA Normaly set high. Serial output and Dial output are enabled when this pin is set high. • HOLD OFF IN Hold mode is cleared when a falling edge is detected on this pin. HOLD-OFF pin inputs are not accepted for the 0.5 seconds immediately following a transition to on-hook hold mode. • ON-HOOK-DIAL IN This pin toggles an on/off state on each input falling edge. When the telephone is on hook, this pin toggles the on/off state of on-hook dialing mode. When the telephone is off hook, this pin toggles the on/off state of monitor mode. • SI/KEY The keypad is set to input mode when this pin is set low. When this pin is set high, serial input is enabled. In this state, all keypad inputs are pulled up by built-in resistors, and the pins C6 to C8 function as the serial interface input pins. C6 = serial clock input C7 = serial data input C8 = strobe input • OFF-HOOK This pin is the hook state switching input. • DPR This pin is the dialing pulse rate switching input. (H: 20 pps, L: 10 pps) • P/T This pin is the dialing signal switching input. (H: pulse, L: DTMF) This pin can only switch from pulse to DTMF. This allows mixed-mode dialing, i.e. switching modes during dialing. • DISCON IN Setting this pin low switches the LC737212/M to low power mode and forcibly stops the oscillator circuit. All outputs are turned off in low power mode. (The n-channel open-drain outputs go to the high-impedance state, and the complementary outputs go low.) The internal states of the LC737212/M are reset when this pin goes high. Off-hook input On-hook Dial input Status H H STANDBY H L ON-HOOK DIAL L H OFF-HOOK DIAL L L MONITOR We recommend setting the DISCON pin low when power is first applied, and setting it high after the power-supply voltage (VDD) has reached or exceeded 1.5 volts. 1 to 10 kΩ 0.1 to 10 µF • BMR This pin sets the break/make ratio for the dialing pulse output. (H: 33.2%, L: 39.2%) • OFF/ON-HOOK STORE This pin switches the memory storing mode. H: Off-hook store (Memory stored with the telephone line connected.) L: On-hook store (Memory stored with the telephone line disconnected.) No. 5203-9/27 LC737212, 737212M • SP-CTL This pin provides the speaker reception control output. This output is set on during the on-hook dialing, monitor, and hold states. This is a complementary output. • DTMF The DTMF output pin. This is an npn emitter-follower output. • MUTE2 The DTMF muting output. This output is turned on in synchronization with the DTMF output. This is an n-channel open-drain output. The wired OR with the MUTE1 output can be taken. • MUTE1 The DP and K-TONE muting output. This output is turned on in synchronization with the dialing pulse and K-TONE outputs. This is an n-channel open-drain output. The wired OR with the MUTE2 output can be taken. • S-OUT The serial data output. This pin is used to output the internal status of the LC737212/M and the keypad data. This is an n-channel open-drain output. • DP The dialing pulse output. This is an n-channel open-drain output. • K-TONE This pin outputs the key input confirmation tone (1036 Hz, 31 ms) and the memory store confirmation tone (2073 Hz, 279 ms). This is a complementary output. • HOOK-CTL The circuit control output. A high level is output when the circuit is connected. This is a complementary output. • HOLD-OUT The hold control output. A high level is output during a hold. This is a complementary output. • XIN and XOUT The oscillator connection pins. Connect a 3.579545-MHz oscillator element. No other external components are required if a crystal oscillator element with built-in feedback resistor and capacitor components is used. Two 30-pF capacitors are required if a ceramic resonator is used. • R1 to R5 and C1 to C8 The keypad connections. • VDD and VSS The power supply connections. No. 5203-10/27 LC737212, 737212M Pin Internal Circuit Pin No. 1 to 6 30 to 36 Pin Internal equivalent circuit R1 to R5 C1 to C8 SOUT-ENA HOLDOFF IN ON-HOOKDIAL IN SI/KEY 7 to 14 17 29 OFF-HOOK DPR P/T BMR OF/ON-HOOK STORE DISCON IN 15 XIN 16 XOUT 22 to 25 20 26 to 28 21 MUTE2 MUTE1 S-OUT DP SP-CTL K-TINE HOOK-CTL HOLD-OUT DTMF No. 5203-11/27 LC737212, 737212M Key Operations ↓: On hook Dn : Key input Dn: Pulse output ↑: Off hook . Dn: Tone output Item Key Input Normal dialing (pulse mode) ↑ D1 Normal dialing using the R/P key (pulse mode) ↑ D1 Normal ↑ D1 Redialing ↓↑ Using keys ↑ D1 , D2 , D2 , D2 • , • • R/P • , • • • • Dialing Output Dn D1, D2 D3 • • Dn • • • Dn 3.9 s D1, D2 • • D3 D1, D2 • • • • • Dn D1, D2 • • • • • Dn Normal dialing and redialing (pulse mode) R/P , D3 , (P/T↓), D2 , * , D2 D1, 3.9 s . . , D2, D3 3.9 s . . , D2, D3 Normal dialing including mode changes (pulse mode at the start of the operation) Using the P/T switch ↑ D1 Store (pulse mode) ↓ Readout ↑ M Store (tone mode) ↓ Readout ↑ A1 STO D1 D2 , D3 D3 D1, M D4 D5 Quick dialing D4 D5 D1, D2, D3 Memory store and readout STO D1 D2 D3 A1 One-touch dialing . . . D1, D2, D3 Timing Charts Pulse dialing No. 5203-12/27 LC737212, 737212M DTMF dialing Flash operation Pulse/tone mixed dialing After the pulse dialing (including IDP) has completed, when DTMF key input operations are performed, DTMF signals are output continuously while keys are pressed. No. 5203-13/27 LC737212, 737212M Pulse/Tone Mixed Dialing (using automatic pausing) If a DTMF key operation is performed during dialing pulse output (including IDP), the K-TONE signal will be output continuously while keys are pressed. Then, after the pulse dialing completes, the LC737212/M will pause for 3.9 seconds and then output the DTMF signals. No. 5203-14/27 LC737212, 737212M LC737212 and LC737212M Operating Specifications 1. IC Internal Status The LC737212 and LC737212M have 14 internal states. Table 1 presents a functional overview of these states. The individual status bits have the following interpretations. D4: SP-CTL output D3: HOOK-SW information D2: Memory store D1: Hold (the HOLDOUT output) D0: Dialing allowed. However, note that during standby key acquisition, D1 and D2 do not have the above meanings. Table.1 State Table No. 1 2 3 4 5 6 7 8 State Standby Standby with key acquisition Off-hook dialing Off-hook dialing with key acquisition On-hook dialing On-hook dialing with key acquisition Monitor Monitor with key acquisition HOOK-SW ON ON OFF OFF ON ON OFF OFF Function Key input by shorting key pins disabled. Keypad input enabled. Only the keypad data is output through the serial interface. Off-hook dialing mode Only the keypad data is output through the serial interface. Data is not written to the redial memory. On-hook dialing mode Only the keypad data is output through the serial interface. Data is not written to the redial memory. Monitor mode Only the keypad data is output through the serial interface. Data is not written to the redial memory. HOOK- SP- HOLD- Dialing Status bits CTL CTL OUT output D4 to D0 OFF OFF OFF Disabled 01000 OFF OFF OFF Disabled 01110 ON OFF OFF Disabled 00001 ON OFF OFF Disabled 00000 ON ON OFF Enabled 11001 ON ON OFF Disabled 11000 ON ON OFF Enabled 10001 ON ON OFF Disabled 10000 9 Off-hook hold OFF Hold mode ON ON ON Disabled 10010 10 On-hook hold ON Hold mode ON ON ON Disabled 11010 11 On-hook store ON Memory store more (circuit disconnected) OFF OFF OFF Disabled 01100 12 Off-hook store OFF Memory store more (circuit connected) ON ON OFF Disabled 00100 13 Off-hook dialing and store ON Memory store more (circuit connected) ON ON OFF Disabled 11100 14 Monitor store OFF Memory store more (circuit connected) ON ON OFF Disabled 10100 Notes Switched to from standby mode. Switched to from offhook dialing mode. Switched to from offhook dialing mode. Switched to from monitor mode. Switched to from offhook dialing mode. Switched to from onhook hold mode. Switched to from standby mode. Switched to from offhook dialing mode. Switched to from offhook dialing mode. Switched to from monitor mode. 2. Dialing Output Specifications Dialing output is possible in the off-hook dialing, on-hook dialing, and monitor modes. The output pulse make percentage in pulse mode can be specified to be 33.2 or 39.3% with the BMR pin. The output pulse rate in pulse mode can be set to be 10 or 20 pps with the DPR pin. The LC737212 can generate 12 DTMF dialing signals in DTMF mode. (If serial input is used, it can generate 16 DTMF dialing signals.) DTMF signals are output continuously as long as the corresponding key is held down. The LC737212 guarantees a minimum DTMF output time of about 100 ms, and also guarantees a minimum IDP of about 100 ms. If the mode is changed (with the P/T pin or * key) during a pulse dialing operation and then DTMF data is keyed in, the system automatically inserts a 3.9 second pause after completing the pulse dialing sequence and then outputs the DTMF signals. No. 5203-15/27 LC737212, 737212M If the mode is changed after a pulse dialing operation and DTMF data is keyed in, the system does not automatically insert a pause, but rather outputs the DTMF data as it is keyed in. The pause key (the R/P key used as the second or later digit) can be used to enter pause data. If pause data and mode change data (MC) are entered consecutively, the system pauses for 3.9 seconds. After connecting to the line, the first time the R/P key is pressed, the system will redial the previously entered dialing data. 3. Memory Output Specifications The LC737212/M provides five 16-digit memory locations for one touch dialing memory, 20 16-digit memory locations for quick-dialing memory, a 16-digit buffer memory for store operations, and a 63-digit redialing memory. A single digit of memory can hold a single dialing data item (1 to 9, 0, *, or #), a single mode change data item (MC), or a single pause data item (P). • RD memory The LC737212/M includes a 63-digit buffer memory that also functions as the redial memory, and thus is called the RD memory. The keyed in input data is stored sequentially in the RD memory. — Dialing data stored in RD memory is read out at the specified dialing rate and output from the DP or DTMF pin. — Dialing numbers that exceed 63 digits is possible. The system writes the key data that exceeds 63 digits starting at the beginning (location 0) of RD memory and outputs that data. — However, this means that redialing numbers that exceed 63 digits is not possible since the dialing data is not all correctly retained in RD memory. • Dialing memory (one-touch dialing and quick dialing) — LC737212 provides five locations (A1 to A5) for one-touch dialing, and 20 locations (M00 to M19) for quick dialing. — Each of these dialing memory locations holds 16 digits of dialing data plus the output format (pulse or DTMF) for the start of the data. — When a dialing memory location is accessed, its content is copied to RD memory and then the LC737212/M dials that number by reading it out of RD memory. — If a number stored as DTMF in dialing memory is read out after a pulse dialing operation, a mode change (MC) data item is automatically inserted in RD memory. — After a DTMF signal is output, if data registered as pulse data is read out from a dialing memory, that data will be output as DTMF signals. • Data store buffer memory — This memory is used when storing a number in dialing memory. 4. Off-Hook Hold and On-Hook Hold Modes Pressing the HOLD key switches between off-hook dialing mode and hold (off-hook hold mode). In hold mode, the HOLD-OUT and SP-CTL outputs are turned on. Dialing is disabled in hold mode. It is not possible to hold during dialing. Placing the phone on hook switches the system from off-hook hold mode to on-hook hold mode. Lifting the receiver switches the system from on-hook hold mode to off-hook hold mode. Hold is cleared by a falling edge on the HOLD-OFF IN pin. — This switches from off-hook hold mode to on-hook dialing mode. — This also switches from on-hook hold mode to standby mode. After switching to off-hook hold mode, falling edges on the HOLD-OFF IN pin are not detected for 0.5 second. 5. On-Hook Dialing Falling edges on the ON-HOOK DIAL IN input switches the system between standby mode and on-hook dialing mode. In on-hook dialing mode, the HOOK-CTL and SP-CTL pins output high levels. It is not possible to hold when the system is in on-hook dialing mode. Lifting the receiver switches the system to off-hook dialing mode. No. 5203-16/27 LC737212, 737212M 6. Monitor Mode Falling edges on the ON-HOOK DIAL IN input switches the system between off-hook dialing mode and monitor mode. In monitor mode, the HOOK-CTL and SP-CTL pins output high levels. It is not possible to hold when the system is in monitor mode.• to on-hook dialing mode. Placing the receiver on-hook switches the system 7. Memory Store Function On-hook (with the line disconnected) and off-hook (with the line connected, including on-hook dialing and monitor modes) storing can be selected. The On/OFF-HOOK store pin is used for this selection. Data is stored in memory in store mode. The following key sequences switch the system to store mode. — On-hook (disconnected from the line) ... Pressing either the STORE or M key — Off-hook (connected to the line) ... Pressing the STORE key Data is written to a memory store buffer memory (16 digits) by keying in that dialing data. Key confirmation tones (1036 Hz, 31 ms) are output from the K-TONE pin during this operation. Keyed data corresponding to a seventeenth or later digit is ignored and the confirmation tone is not output for those digits. Specifying the memory address copies the contents of the memory store buffer memory to the specified address and completes the memory store operation. A memory store confirmation tone (2072 Hz, 279 ms) is output from the KTONE pin at this point. The data at a given address can be deleted by switching to store mode and then specifying the address without entering any dialing data. 8. Key Acquisition Modes In these modes, the LC737212/M simply accepts key input and transmits the corresponding key code and status over the serial interface. Data from the keypad is not written to the RD memory and dialing is not performed. • Standby key acquisition mode — Pressing the 00 key when the SI/KEY pin is low, or entering a code value of 20 when the SI/KEY pin is high, switches the LC737212/M between standby mode and standby key acquisition mode. — If, and only if, on-hook memory storing is selected, pressing the STORE key will switch the system to on-hook store mode. • Off-hook key acquisition mode, on-hook dialing key acquisition mode, and monitor key acquisition mode — In modes that allow dial output, entering a code value of 20 over the serial interface will switch the LC737212/M to the corresponding key acquisition mode. — Even if the LC737212/M is in a key acquisition mode, dialing data entered over the serial interface will be dialed. 9. Serial Output During key input and when the system's internal mode change, the LC737212/M outputs the corresponding status data from the S-OUT pin. Values of 0 and 1 are expressed by the length of the period the n-channel open-drain output pin is in the on state, and data is grouped in 4-bit units for output. 0 = 280 µs, 1 = 760 µs, inter-bit interval = 560 µs Interval between 4-bit groups = 1440 µs (In memory content readout mode only, the 4-bit group interval is 1520 µs.) • During Key Input — This data consists of 16 bits, starting with a bit (always 0) that indicates that this data is key input data. The next 2 bits are dialing related data, then the next 5 bits indicated the LC737212/M internal status, and finally, the last 8 bits indicate the key data. — The data for all key presses that were longer than 30 ms (the key bounce (chatter) exclusion time) are output. (For example, data key presses when the system is in hold mode are not dialed, but are output from S-OUT as key data.) No. 5203-17/27 LC737212, 737212M * Timing chart · Assuming the 3 key was pressed in normal mode. D15 D14 D13 D12 Indicates that this is for key input. Always 0 Indicates the key data write type. Pulse = 1, DTMF = 0 Indicates dialing output. Output in progress = 1, output done = 0. Upper bit of the IC internal status D11 D10 D9 D8 Lower four bits of the IC internal status. D7 D6 D5 D4 Key code KCU D3 D2 D1 D0 Key code KCL No. 5203-18/27 LC737212, 737212M Key Codes KEY KEY CODE KEY ROW COL D7 D6 D5 D4 D3 D2 D1 D0 1 1 1 1 0 0 0 0 0 0 1 8 HEX 1 2 1 2 1 0 0 0 0 0 1 0 8 2 3 1 3 1 0 0 0 0 0 1 1 8 3 4 2 1 1 0 0 0 0 1 0 0 8 4 5 2 2 1 0 0 0 0 1 0 1 8 5 6 2 3 1 0 0 0 0 1 1 0 8 6 7 3 1 1 0 0 0 0 1 1 1 8 7 8 3 2 1 0 0 0 1 0 0 0 8 8 9 3 3 1 0 0 0 1 0 0 1 8 9 0 4 2 1 0 0 0 1 0 1 0 8 A */T 4 1 1 0 0 1 1 0 1 1 9 B # 4 3 1 0 0 1 1 1 0 0 9 C F 1 4 0 1 0 0 0 0 1 1 4 3 M 2 4 0 1 0 0 0 1 0 1 4 5 HOLD 4 4 0 1 0 0 0 1 1 1 4 7 STORE 5 4 0 1 0 0 1 0 0 1 4 9 R/P 3 4 0 1 1 0 1 0 0 1 6 9 No. 5203-19/27 LC737212, 737212M Key Codes KEY KEY CODE KEY ROW COL D7 D6 D5 D4 D3 D2 D1 D0 00 1 5 0 0 0 0 0 0 0 0 0 HEX 0 01 2 5 0 0 0 0 0 0 0 1 0 1 02 3 5 0 0 0 0 0 0 1 0 0 2 03 4 5 0 0 0 0 0 0 1 1 0 3 04 5 5 0 0 0 0 0 1 0 0 0 4 05 1 6 0 0 0 0 0 1 0 1 0 5 06 2 6 0 0 0 0 0 1 1 0 0 6 07 3 6 0 0 0 0 0 1 1 1 0 7 08 4 6 0 0 0 0 1 0 0 0 0 8 09 5 6 0 0 0 0 1 0 0 1 0 9 10 1 7 0 0 0 1 0 0 0 0 1 0 11 2 7 0 0 0 1 0 0 0 1 1 1 12 3 7 0 0 0 1 1 0 1 0 1 2 13 4 7 0 0 0 1 0 0 1 1 1 3 14 5 7 0 0 0 1 0 1 0 0 1 4 15 1 8 0 0 0 1 0 1 0 1 1 5 16 2 8 0 0 0 1 0 1 1 0 1 6 17 3 8 0 0 0 1 0 1 1 1 1 7 A1 5 1 0 0 1 1 0 0 0 1 3 1 A2 5 2 0 0 1 1 0 0 1 0 3 2 A3 5 3 0 0 1 1 0 0 1 1 3 3 A4 4 8 0 0 1 1 0 1 0 0 3 4 A5 5 8 0 0 1 1 0 1 0 1 3 5 • Mode change (when the IC internal state changes) — Here the data consists of eight bits, one bit (which is always 1) used to differentiate this data from key data, and seven bits expressing the mode change. This data is output when the internal state changes, the P/T pin changes, or when dialing completes. — D5 expresses the state of the P/T pin. 1 = pules, 0 = DTMF In the following cases, the status is not output even if the P/T pin changes state. In standby mode, off-hook hold mode, or on-hook hold mode. After tone data (including MC) is written to RD memory. — When a memory location that does not have data stored is accessed: If not dialing: the status when dialing completed is output as serial data. If dialing: A serial output operation is not performed. — If a redial operation is attempted when redial is disabled (when the last number dialed exceeded 63 digits) the status when dialing completed is output as serial data. * Timing Chart · From the standby state to off hook, and then to off-hook dialing · With the P/T switch set to P state No. 5203-20/27 LC737212, 737212M 10. Serial Input The following control can be performed using serial input. Keypad input replacement (except for user-defined keys) Setting the status bits (e.g., setting the on-hook dialing mode on/off) Reading out the content of dialing memory Setting the output port on/off states (including the DTMF signal output) • Serial input format — Set the SI/KEY input pin high. This causes all the keypad inputs to be pulled up and the C6 to C8 pins function as serial input pins for an internal shift register. C6 = Clock input C7 = Data input C8 = Strobe input — Data is written on the falling edge of the clock input — The period when the strobe input is low is equivalent to the period when a keypad key is pressed. — The data consists of 8 bits. — Codes other than the 40 codes defined as keypad keys are defined as input data codes in the serial input. — This allows controls other than the DPR and BMR controls to be input serially. D6 D7 D5 D4 D3 D2 D1 D0 D0 No. 5203-21/27 LC737212, 737212M Serial Input Code Table Serial code (HEX) Command Function or operation 00 01 02 03 04 Serial readout of quick-dialing memory locations 00 to 09 05 06 07 08 09 0A 0B 0C Serial readout of one-touch memory locations A1 to A5 0D 0E 0F Serial readout of the buffer memory used for storing to memory 10 11 12 13 14 Serial readout of quick-dialing memory locations 10 to 19 15 16 17 18 19 1A Undefined 1B 1C 1D Serial readout of redial memory 1E 1C: digits 1 to 16 1D: Digits 17 to 32 1F 1E: digits 33 to 48 1F digits 49 to 63 20 Key acquisition mode on/off setting 21 to 2F Undefined 30 The same function as the A1 one-touch dialing key. 31 A1 32 A2 33 A3 34 A4 35 A5 36 to 3E The same function as the A1 one-touch dialing key 3F Cancels a memory store operation if one is in progress. Otherwise identical to the A1 key. 40 to 42 Undefined 43 F 44 RD 45 M 46 CLR 47 HOLD 48 Identical to the F1 key. Cancels redial or pause operations. Identical to the M key. Clears all memories. This function is enabled in memory store mode. Identical to the HOLD key. Undefined 49 STORE 4A OHD-ON 4B to 4C 4D The same functions as the one-touch dialing keys A1 to A5 Identical to the STORE key. On-hook dial and monitor mode setting (OHD-ON) Undefined RDINH Disables redial. Continued on next page. No. 5203-22/27 LC737212, 737212M Continued from preceding page. Serial Code (HEX) Command 4E 4F DTMF output off DISCON 50 to 5F 60 to 6F Function or operation Initial settings (DISCON) Undefined R/P 70 to 7F Identical to the R/P key. Undefined 80 Undefined 81 1 82 2 83 3 84 4 85 5 86 6 87 7 88 8 89 9 8A 0 Identical to the dial data keys 1 to 8. Identical to the dial data keys 9 and 0. 8B, 8C Illegal value 8D Pause data 8E Undefined 8F Illegal value 90 Undefined 91 to 9A Illegal in pulse mode. Dialing data when the IC is in tone mode. 9B * Identical to the dial data key “*”. 9C # Identical to the dial data key “#”. 9D Illegal in pulse mode. Pause data when the IC is in tone mode. 9E Undefined 9F Illegal value A0, A1 Undefined A2 MC A3 to AF P1/DFIN Undefined B0 to BF P2 Undefined C0 to CF Converts input data from pulse to DTMF. Illegal in tone mode. Undefined D0 Outputs the DTMF signal for 1 D1 Outputs the DTMF signal for 4 D2 Outputs the DTMF signal for 7 D3 Outputs the DTMF signal for * D4 Outputs the DTMF signal for 2 D5 Outputs the DTMF signal for 5 D6 Outputs the DTMF signal for 8 D7 Outputs the DTMF signal for 0 D8 Outputs the DTMF signal for 3 D9 LCHN Left channel N output DA LVSS Left channel ground. Normally 0 V. DB Outputs the DTMF signal for # DC Outputs the DTMF signal for A DD Outputs the DTMF signal for B DE Outputs the DTMF signal for C DF Outputs the DTMF signal for D E0 Sets the S-OUT output off E1 Sets the S-OUT output on E2 Sets the HOLD output off E3 Sets the HOLD output on E4 Sets the HK-CTL output off Continued on next page. No. 5203-23/27 LC737212, 737212M Continued from preceding page. Serial code (HEX) Command Function or operation E5 Sets the HK-CTL output on E6 Turns on the K-TONE 2-kHz frequency for 279 ms E7 Turns on the K-TONE 1-kHz frequency for 31 ms E8 Sets the SP-CTL output off E9 Sets the SP-CTL output on EA Sets the MUTE2 output off EB Sets the MUTE2 output on EC Sets the MUTE1 output off ED Sets the MUTE1 output on EE Sets the DP output off EF Sets the DP output on F0 to FF SREQ Reads out the status data serially (SREQ) Note: The undefined command codes are ignored. • Functions unique to the serial input commands — When the SI/KEY pin is high, inputting code values 00 to 19 or 1C to 1F serially causes the contents of the corresponding dialing memory to be output from the S-OUT pin. — All data is grouped into four-bit groups and output. After first outputting the output format (pulse = 1111, DTMF = 1110), the LC737212/M outputs the dial data. The data value 0000 indicates that output has completed. — See item (9) concerning serial output on page 17 for details on the output format for the data from the S-OUT pin. — RD memory data (63 digits) is read out 16 digits at a time in four operations. — When redial memory is disabled, attempts to read out RD memory (1C) serially will result in the output of either F0 or E0. Data in dialing memory is represented as shown in the table. Dialing Data Representation in RAM Dialing Data Representation in RAM 1 0001 9 1001 2 0010 0 1010 3 0011 * 1011 4 0100 # 1100 5 0101 Pause 1101 6 0110 MC (P → C) 1110 7 0111 Data end 000 8 1000 Switching Output Ports On and Off — When the SI/KEY pin is high, inputting the following code values serially sets the corresponding output port on or off. Since these commands directly write to the output port data latch, they do not change the internal status, memory or other aspects. S-OUT ON (E1) OFF (E0) HOLD ON (E3) OFF (E2) HK-CTL ON (E5) OFF (E4) K-TONE 1 kHz (E7) 2 kHz (E6) SP-CTL ON (E9) OFF (E8) MUTE2 ON (EB) OFF (EA) MUTE1 ON (ED) OFF (EC) DP ON (EF) OFF (EE) No. 5203-24/27 LC737212, 737212M When the K-TONE output is turned on, the MUTE1 output will operate in synchronization with the K-TONE output. When the HK-CTL output is turned on, key inputs due to shorting row pins and column pins will be accepted. — When the SI/KEY pin is high, inputting the following code values serially can turn DTMF output on or off. DTMF output ON 4 (D1) 1 (D0) * (D3) 7 (D2) 5 (D5) 5 (D4) 0 (D7) 8 (D6) 6 (D9) 3 (D8) # (DB) 9 (DA) B (DD) A (DC) D (DF) C (DE) DTMF output OFF (4E) Other Serial Input Codes — SREQ (F0 to FF) These commands output the IC's internal status from the SOUT pin. All the status items are valid. — 20 Turns key acquisition mode on or off. — 46 (CLR) Inputting the CLR code in memory store mode erases all stored dialing data. — 4A (OHD-ON) Inputting the OHD-ON code in standby mode switches the system to on-hook dialing mode. Input the DISCON code (4F) to return to standby mode. — 8D (pause) This command corresponds to 3.9-second pause data. — A2 (MC) Changes the dialing data input mode plug from pulse to tone. This is represented as 1110 in memory. This is ignored and not written to memory if the dialing data input mode is tone mode. Note that codes marked as undefined in the serial code table are ignored. • Notes on serial input usage — If the SI/KEY pin is switched from low to high and then to low again while a key is pressed, the LC737212/M will receive two key presses for that key. — TCLKD (The first SCLK input after the SI/KEY pin goes from low to high) The LC737212/M monitors the SOUT output after SI/KEY goes high, and if there is no serial output due to a key press after 3.5 ms or longer has elapsed, then it enables SCLK input. For all other cases, 35 ms or longer is required. — The IC will reliably output the status data from the SOUT pin if a status request command (FF) or a code 20 command in a mode other than hold or memory store mode is input. If this output does not appear for over 25 ms (in cases other than serial readout from memory), the IC itself may have caused some sort of error. In such cases, the IC must be re-initialized using the DISCON pin. — We recommend always re-initializing the IC with the DISCON pin when receiving standby status. (At this time, the IC will once again output the standby status data.) No. 5203-25/27 LC737212, 737212M Status Diagram Basic functions Key acquisition mode No. 5203-26/27 LC737212, 737212M During Store Operations Off/On-HOOK STORE = 0 Off/On-HOOK STORE = 1 ■ No products described or contained herein are intended for use in surgical implants, life-support systems, aerospace equipment, nuclear power control systems, vehicles, disaster/crime-prevention equipment and the like, the failure of which may directly or indirectly cause injury, death or property loss. ■ Anyone purchasing any products described or contained herein for an above-mentioned use shall: ① Accept full responsibility and indemnify and defend SANYO ELECTRIC CO., LTD., its affiliates, subsidiaries and distributors and all their officers and employees, jointly and severally, against any and all claims and litigation and all damages, cost and expenses associated with such use: ➁ Not impose any responsibility for any fault or negligence which may be cited in any such claim or litigation on SANYO ELECTRIC CO., LTD., its affiliates, subsidiaries and distributors or any of their officers and employees jointly or severally. ■ Information (including circuit diagrams and circuit parameters) herein is for example only; it is not guaranteed for volume production. SANYO believes information herein is accurate and reliable, but no guarantees are made or implied regarding its use or any infringements of intellectual property rights or other rights of third parties. This catalog provides information as of February, 1998. Specifications and information herein are subject to change without notice. PS No. 5203-27/27