E2E0009-38-94 ¡ Semiconductor MSM6051 ¡ Semiconductor This version: Sep. 1998 MSM6051 Previous version: Mar. 1996 Built-in Melody Circuit and LCD Driver 4-Bit Microcontroller GENERAL DESCRIPTION The MSM6051 is a low-power microcontroller manufactured in complementary metal-oxide semiconductor technology. Integrated into a single chip are ROM, RAM, crystal oscillator, voltage doubler, timer, melody circuit, LCD driver, input port, and output port. Using the on-chip ROM for application code reduces power consumption. The MSM6051 is widely used in electronic products requiring low-power operation, such as stopwatches with lap time memory, calculator watches, and handy terminals. FEATURES • Low power consumption • Internal ROM : 2560 ¥ 14 bits • Internal RAM : 120 ¥ 4 bits • Input port : 2 ports ¥ 4 bits, 1 port ¥ 1 bit • Output port : 1 port ¥ 4 bits • 4 ¥ 4 key matrix input is available by using K1 to K4 and M1 to M4 • 66 LCD drivers (including 3 commons) (1/3 duty, 1/3 bias, 189 segments) • 59 instructions • Minimum instruction execution time : 91.5 ms (Display instruction cycle : 183 ms) • 1.5 V operating voltage (Can be changed to the lithium battery version by mask option) • Melody function : Up to 512 notes can be played automatically (with an envelope) • Lamp drivers • Crystal oscillator : 32.768 kHz • Chip (102 pads) 1/7 to MELODY CIRCUIT BD M1 to M4 L0 LAMP DRIVER OUTPUT PORT (M1to M4) K1 to K4 INPUT PORT (K1 to K4) S1 to S4 INPUT PORT (S1 to S4) OPIN to MPX DOUT3 A4 to A6 ACC Interrupt Z C G Z C G A0 to A3 MPX P REG MAIN ALU MPX P REG INT A REGISTER MPX MPX FMT REGISTER DATA RAM 120 ¥ 4 bits DISPLAY LATCH and DRIVER PROGRAM COUNTER DOUT13 to DOUT0 A0 to A11 PROGRAM ROM 2560 ¥ 14 bits SEGMENT OUT 1 to SEGMENT OUT 66 INSTRUCTION DECODER STACK TIMING GENERATOR VDD VSS1 VSS2 VSS3 VEE VCP VCM RESET T1 T2 T3 T4 T5 32Hz 2/7 MSM6051 XTOUT AC2 XT XT INPUT PORT (OPTION) Interrupt LD Main PIT REGISTER DIN3 DOUT0 ACC Main ¡ Semiconductor BLOCK DIAGRAM DIN0 ¡ Semiconductor SEG65 SEG64 SEG63 SEG62 SEG61 SEG60 SEG59 SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 SEG50 SEG49 SEG48 SEG47 SEG46 SEG45 SEG44 SEG43 SEG42 SEG41 SEG40 SEG39 SEG38 SEG37 SEG36 PAD CONFIGURATION Pad Layout SEG66 VDD XT XT XTOUT AC2 S2 S3 VEE K1 K2 K3 K4 M1 M2 M3 M4 LO SEG1 Chip size: 5.85 ¥ 4.10 (mm) SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 MSM6051 SEG35 SEG34 OPIN VDD VSS2 VSS3 VCP VCM S1 S4 VSS1 BD LD RESET T3 T1 T4 T2 T5 32Hz SEG33 SEG32 3/7 ¡ Semiconductor MSM6051 PIN DESCRIPTIONS Symbol Description VDD Circuit ground potential. VSS1 Power source (–1.5 V). VSS2 Power source for LCD driver (–3.0 V). This pin is connected to the VDD pin through a 0.1 mF capacitor. VSS3 Power source for LCD driver (–4.5 V). This pin is connected to the VDD pin through a 0.1 mF capacitor. VEE Power source for internal logic (–1.5 to –3.0 V). This pin is connected to the VDD pin through a 0.1 mF capacitor. VCP, VCM Booster capacitor connection pins. XT, XT Input and output pins of oscillator inverter. 32.768 kHz crystal is connected to these pins. VCP pin is connected to VCM pin through a 0.1 mF capacitor. T1 to T5 Pins to test internal logic. T1, T2, T4, and T5 are pulled down to VSS1. T3 is an output. The test pins are normally open. RESET Pin to clear internal logic pulled down to VSS1. After power is turned on, the MSM6051 can be reset by this pin. BD Buzzer output. LD Lamp output. LO Load data pin of M1 to M4. AC2 Reset pin for external circuit. XTOUT Clock output for external circuit. 4/7 ¡ Semiconductor MSM6051 ABSOLUTE MAXIMUM RATINGS Parameter Symbol Condition Rating Unit Power Supply Voltage VSS1-VDD Ta = 25°C –2.0 to +0.3 V Input Voltage VIN Ta = 25°C VSS1 – 0.3 to +0.3 V Storage Temperature TSTG — –55 to +125 °C Operating Temperature Top — –20 to +75 °C ELECTRICAL CHARACTERISTICS DC Characteristics (VDD = 0 V, VSS1 = VEE = –1.55 V, VSS2 = –3.0 V, VSS3 = –4.5 V, Cl = 30 kW, Ta = 25°C) Symbol Condition Min. Typ. Max. Unit VSS1 Operating Voltage Parameter –VSS1 VSS1 pin 1.25 1.55 1.65 V Power Supply Current IDD 3.0 * — mA 1.45 — — V Oscillation Start Voltage –VOSC VSS1 pin — (Refer to Measuring Circuit) Within 5 seconds, VSS1 pin (Refer to Measuring Circuit) IOH1 VOH1 = –0.2 V — — –4 Output Current 1 IOMH1 VOMH1 = VSS1 ±0.2 V –4 — 4 COM 1 to 3 IOML1 VOML1 = VSS2 ±0.2 V –4 — 4 IOL1 VOL1 = –4.3 V 4 — — IOH2 VOH2 = –0.2 V — — –4 Output Current 2 IOMH2 VOMH2 = VSS1 ±0.2 V –4 — 4 SEGMENT IOML2 VOML2 = VSS2 ±0.2 V –4 — 4 IOL2 VOL2 = –4.3 V 4 — — Output Current 3 IOH3 VOH3 = –0.5 V — — –10 LO IOL3 VOL3 = –1.15 V 10 — — Output Current 4 IOH4 VOH4 = –0.5 V — — –500 M1 to M4 IOL4 VOL4 = –1.0 V 2 — 10 Output Current 5 IOH5 VOH5 = –0.55 V VSS1 = –1.25 V –82.5 –25 –12.5 LD IOL5 VOL5 = –0.85 V V SS2 = –2.0 V 1 — — Output Current 6 IOH6 VOH6 = –0.55 V VSS1 = –1.25 V –51.5 –30 –17.2 BD IOL6 — 5 — Input Current 1 IIH1 VIH1 = 0 V 2 20 100 S1 to S4 IIL1 VIL1 = –1.55 V –0.2 — — Input Current 2 IIH2 VIH2 = 0 V 5 13 26 K1 to K4 IIL2 VIL2 = –1.55 V –0.2 — — Input Current 3 IIH3 VIH3 = 0 V — 30 45 OPIN IIL3 VIL3 = –1.55 V –0.2 — — Built-in CD Capacitance CD — — 20 — * mA mA mA mA mA VEE = –2.0 V mA VEE = –2.0 V VOL6 = –0.85 V V SS2 = –2.0 V mA mA mA pF The typ. value varies depending on the application program. 5/7 ¡ Semiconductor MSM6051 Measuring circuit VCP VCM C4 XT MSM6051 VEE Crystal 32.768 kHz XT C5 VDD C1 VSS1 VSS2 C2 A VSS3 C3 V C1, C2, C3, C4 : 0.1 mF C5 : 30 pF 6/7 ¡ Semiconductor MSM6051 APPLICATION CIRCUIT C1 C2 to C5 B L LCD : : : : 5 to 35 pF 0.1 mF 1.5 V 20 mH Lamp S1 S2 S3 S4 SEGMENTS COM1 to COM3 S1 S2 L LD S3 BD S4 MSM6051 Crystal 32.768 kHz VSS1 XT B (CD = 20 pF) VDD XT C1 VEE VCP VCM RESET VSS2 C2 C3 VSS3 C4 C5 7/7