E2E0021-38-94 ¡ Semiconductor MSM6576 ¡ Semiconductor This version: Sep. 1998 MSM6576 Previous version: Mar. 1996 Operatable at 0.9 V and 7-level Detector 4-Bit Microcontroller GENERAL DESCRIPTION MSM6576 is a 4-bit, low-power microcontroller that is manufactured in a CMOS silicon-gate process. The microcontroller can be started and operated at a low supply voltage of 0.9 V. This device contains a crystal oscillator circuit, voltage converter circuits, a time base counter, a ROM, a RAM, a stack RAM, I/O ports, interrupt function components, a serial I/O port, a buzzer output circuit, a level detector, and a differential amplifier. This IC is driven by one battery and is well suited to products that need to be operated under low power consumption. FEATURES • The IC can be initialized and operated even at a low voltage of 0.9 V. • Low power consumption • ROM : 2048 words ¥ 17 bits • RAM : 64 words ¥ 4 bits • I/O port Input-output port : 7 ports ¥ 4 bits Input port : 1 port ¥ 1 bit • Interrupt functions (real-time interrupt, external interrupt, and serial interrupt) • Serial I/O port : 8-bit sync communication • Buzzer output circuit • Level detector : 7-level detection • Comparator • 73 instructions • Minimum instruction execution time : 61 ms • Operation under single 1.5 V power supply • Built-in 32.768 kHz crystal oscillator circuit • Package options: 44-pin plastic QFP (QFP44-P-910-0.80-K) (Product name : MSM6576-¥¥GS-K) 44-pin plastic QFP (QFP44-P-910-0.80-2K) (Product name : MSM6576-¥¥GS-2K) Chip ¥¥ indicates a code number. 1/12 PORT4 PORT3 PORT2 PORT1 PORT0 P3.3 P3.2 P3.1 P3.0 P2.3 P2.2 P2.1 P2.0 P1.3 P1.2 P1.1 P1.0 P0.3 P0.2 P0.1 P0.0 PCZIOX PCHZX0 PCIOX0 PCHZ0 PCIO0 SYSTEM CLOCK GENERATOR TMOUT TIME BASE COUNTER SCND1 EIF INSTRUCTION DECODER INSTRUCTION REGISTER 2048¥17 bits IRQEX STACK RAM ADRS ADDER IRQSIO WORK RAM 64 ¥ 4 bits PNEX PAGE INTERRUPT CONTROL FIEX SBFFL SBFFH IRQRT PROGRAM ROM EIRT SERIAL I/O SCND0 PRIO VOLTAGE REGULATOR BUZZER MDTL ALU ACC MPX MDTH S-bus TEMPO XTB MODE OSC PORT5 P4.3 P4.2 P4.1 P4.0 SIN SOUT SCKL LEVEL DETECTOR ADCON ADSET ADOUT D-BUS XT PORT6 P5.3 P5.2 P5.1 P5.0 LDIN COMPARATOR PORT7 P6.3 P6.2 P6.1 P6.0 P7.0 P7.1 P7.3 P7.2 BD VCP VCM VEE VDD VSS1 VSS2 A-bus ¡ Semiconductor MSM6576 BLOCK DIAGRAM FLAG FRMT PROGRAM COUNTER 2/12 ¡ Semiconductor MSM6576 34 P1.2 35 P1.3 36 P2.0 37 P2.1 38 P2.2 39 VDD 40 P3.0 41 P3.1 42 P3.2 43 P3.3 44 P4.0 PIN CONFIGURATION (TOP VIEW) P4.1 1 33 P1.1 P4.2 2 32 P1.0 P4.3 3 31 P0.3 RESET 4 30 P0.2 TEST1 5 29 P0.1 TEST2 6 28 P0.0 TEST3 7 27 BD P5.0 8 26 P7.0/SIN P5.1 9 25 P7.1 (LDIN) VEE 22 VCP 20 VSS2 21 VCM 19 VSS1 18 XT 16 VDD 17 XTB 15 P6.3/SOUT 14 23 P7.3 (OPIN1) P6.0 12 24 P7.2 (OPIN2) P5.3 11 P6.2/SCLK 13 P5.2 10 44-Pin Plastic QFP Notes: 1. P6.3, P7.0 and P7.1 are used as serial port pins as well. P7.2 and P7.3 are used as up/down counter pins as well. 2. P6.1 is not assigned as a pin. 3/12 ¡ Semiconductor MSM6576 PIN DESCRIPTIONS Symbol PORT0 (P0.0 to P0.3) PORT1 (P1.1 to P1.3) PORT2 (P2.0 to P2.3) PORT3 (P3.0 to P3.3) PORT4 (P4.0 to P4.3) PORT5 (P5.0 to P5.3) PORT6 (P6.0 to P6.3) Type I/O I/O I/O Description 4-bit input-output port, I/O switchable, input pull-down resistor/pull-up resistor switchable, with/without input resistor 4-bit input-output port, I/O switchable, with/without input pull-down resistor 4-bit input-output port, I/O switchable, with/without input pull-down resistor P2.0 to P2.3 4-bit input-output port, I/O switchable, with/without input pull-down resistor I/O 4-bit input-output port, I/O switchable, with/without input pull-down resistor I/O 4-bit input-output port, I/O switchable, with/without input pull-down resistor I/O 4-bit input-output port, I/O switchable, with/without input pull-down resistor P7.0: Input port, without input resistor (P7.0 to P7.3) port I/O P6.3: SOUT P6.2: SCLK PORT7 External interrupt I P7.0: SIN Shared with serial port P7.1: Input pin for level detector P7.2: Input pin for comparator P7.3: Input pin for comparator BD O Buzzer output pin RESET I Reset pin with input pull-down resistor TEST1 TEST2 I TEST3 Testing pins with input pull-down resistor Tie to the negative pole of the battery. XT I XTB O VDD — 0 V power supply pin VSS1 — –1.5 V supply pin (power supply pin for –1.5 V operation) VSS2 — –3.0 V supply pin (power supply pin for –3.0 V operation) — Connection pins for internal potential development capacitor — Supply pin for internal logic (constant voltage circuit output pin) VCP VCM VEE Connection pins for crystal 4/12 ¡ Semiconductor MSM6576 ABSOLUTE MAXIMUM RATINGS 1.5 V operation Backup flag (BUF) = "0" The input of the constant voltage circuit is equal to the output of the voltage converter (VSS2). VDD = 0 V (VSS1 = battery voltage) Parameter Power Supply Voltage Input Voltage Symbol Condition VIN Output Voltage VOUT Storage Temperature TSTG Rating Unit –6.0 to +0.3 VSS1 Ta = 25°C VSS1 – 0.3 to +0.3 V VSS1 – 0.3 to +0.3 — –55 to +150 °C RECOMMENDED OPERATING CONDITIONS 1.5 V operation Backup flag (BUF) = "0" The input of the constant voltage circuit is equal to the output of the voltage converter (VSS2). VDD = 0 V (VSS1 = battery voltage) Parameter Symbol Condition Range Unit Operating Voltage Vop — –3.5 to –0.9 V Operating Temperature Top — –20 to +70 °C Oscillation Frequency fOSC — 32.768 kHz 5/12 ¡ Semiconductor MSM6576 ELECTRICAL CHARACTERISTICS 1.5 V operation Backup flag (BUF) = "0" The input of the constant voltage circuit is equal to the output of the voltage converter (VSS2). (VDD = 0 V, VSS1 = –1.5 V (battery voltage) , VSS2 = –3.0 V, fOSC = 32.768 kHz, CX = 35 pF, Ta = 25°C) Parameter Symbol Condition Min. Typ. Max. Unit Applied Pin Power Supply Current 1 *1 IDD1 Level detector OFF — 3 — mA — Power Supply Current 2 *1 IDD2 Level detector ON — 15 — mA — –VOSC Within 2 seconds — — 0.9 V –IOH1 VO = –0.5 V 150 — — IOL1 VO = –1.0 V 150 — — –IOH2 VO = –0.5 V 20 — — IOL2 VO = –1.0 V 20 — — 3.75 7.5 15 mA 3.75 7.5 15 mA — — 1 mA 70 250 500 mA Oscillation Start Voltage Output Current 1 Output Current 2 Input Current 1 IIH1 Input Current 2 –IIH2 Input Leakage Current ÁIIL Á Input Current 3 IIH3 Input Voltage Level Detector Off Voltage Level Detector Detecting Voltage VI = 0 V, in the input state, with pull-down resistor VI = –1.5 V, in the input state, with pull-up resistor VI = 0 V, –1.5 V, in the input state, without pull-down resistor VI = –0 V, with pull-down resistor mA mA –VIH — — — 0.3 –VIL — 1.2 — — –VLDoff ADSTART = "0" 0 — 80 –VLD6H (ADOUT) = 6H 725 742 759 –VLD5H (ADOUT) = 5H 841 858 875 –VLD4H (ADOUT) = 4H 958 975 992 –VLD3H (ADOUT) = 3H 1075 1092 1109 mV –VLD2H (ADOUT) = 2H 1191 1208 1225 –VLD1H (ADOUT) = 1H 1308 1325 1342 (ADOUT) = 0H 1425 1442 1459 –VLD0H Level Detector Settling Time tSET Level Detector Conversion Rate fLD ADSTART = "1", during OUT ADSET execution — V SOUT, SCLK BD PORT0 to PORT6 *2 PORT0 PORT0 to PORT7*2 SIN, SOUT, SCLK RESET, TEST1 to TEST3 All input pins mV P7.1 — — 61 ms — — 100 Hz Comparator Offset Voltage –VCMPoff — — — 15 mV Comparator Input Voltage –VCMPin –VB = Battery voltage VB/2 — VB V fCMP — — — 100 Hz Comparator Conversion Rate VSS1 PORT0 to PORT6*2 P7.3, P7.2 *1 Depends on program. (Values in the above table are applied in the case where the software duty is about 3%.) *2 PORT0 = P0.0 to P0.3, PORT1 = P1.0 to P1.3, PORT2 = P2.0 to P2.3, PORT3 = P3.0 to P3.3, PORT4 = P4.0 to P4.3, PORT5 = P5.0 to P5.3, PORT6 = P6.0 to P6.3, PORT7 = P7.0 to P7.3 6/12 ¡ Semiconductor MSM6576 ABSOLUTE MAXIMUM RATINGS 1.5 V operation Backup flag (BUF) = "1" The input of the constant voltage circuit is directly connected to the power supply (VSS1). VDD = 0 V (VSS1 = battery voltage) Parameter Symbol Power Supply Voltage VSS1 Input Voltage VIN Output Voltage VOUT Storage Temperature TSTG Condition Rating Ta = 25°C VSS1 – 0.3 to +0.3 Unit –6.0 to +0.3 V VSS1 – 0.3 to +0.3 — –55 to +150 °C RECOMMENDED OPERATING CONDITIONS 1.5 V operation Backup flag (BUF) = "1" The input of the constant voltage circuit is directly connected to the power supply (VSS1). VDD = 0 V (VSS1 = battery voltage) Parameter Symbol Condition Range Unit Operating Voltage Vop — –3.5 to –0.9 V Operating Temperature Top — –20 to +70 °C Oscillation Frequency fOSC — 32.768 kHz 7/12 ¡ Semiconductor MSM6576 ELECTRICAL CHARACTERISTICS 1.5 V operation Backup flag (BUF) = "1" The input of the constant voltage circuit is directly connected to the power supply (VSS1). (VDD = 0 V, VSS1 = –1.5 V (battery voltage) , VSS2 = –3.0 V, fOSC = 32.768 kHz, CX = 35 pF, Ta = 25°C) Parameter Symbol Condition Min. Typ. Max. Unit Applied Pin Power Supply Current 1 *1 IDD1 Level detector OFF — 1.5 — mA — Power Supply Current 2 *1 IDD2 Level detector ON — 13.5 — mA — –VOSC Within 2 seconds — — 0.9 V –IOH1 VO = –0.5 V 150 — — IOL1 VO = –1.0 V 150 — — –IOH2 VO = –0.5 V 20 — — IOL2 VO = –1.0 V 20 — — 3.75 7.5 15 mA 3.75 7.5 15 mA — — 1 mA 70 250 500 mA Oscillation Start Voltage Output Current 1 Output Current 2 Input Current 1 IIH1 Input Current 2 –IIH2 Input Leakage Current ÁIILÁ Input Current 3 IIH3 Input Voltage Level Detector Off Voltage Level Detector Detecting Voltage VI = 0 V, in the input state, with pull-down resistor VI = –1.5 V, in the input state, with pull-up resistor VI = 0 V, –1.5 V, in the input state, without pull-down resistor VI = 0 V, with pull-down resistor mA mA –VIH — — — 0.3 –VIL — 1.2 — — –VLDoff ADSTART = "0" 0 — 80 –VLD6H (ADOUT) = 6H 725 742 759 –VLD5H (ADOUT) = 5H 841 858 875 –VLD4H (ADOUT) = 4H 958 975 992 –VLD3H (ADOUT) = 3H 1075 1092 1109 mV –VLD2H (ADOUT) = 2H 1191 1208 1225 –VLD1H (ADOUT) = 1H 1308 1325 1342 (ADOUT) = 0H 1425 1442 1459 –VLD0H Level Detector Settling Time tSET Level Detector Conversion Rate fLD ADSTART = "1", during OUT ADSET execution — V SOUT, SCLK BD PORT0 to PORT6 *2 PORT0 PORT0 to PORT7*2 SIN, SOUT, SCLK RESET, TEST1 to TEST3 All input pins mV P7.1 — — 61 ms — — 100 Hz Comparator Offset Voltage –VCMPoff — — — 15 mV Comparator Input Voltage –VCMPin –VB = Battery voltage VB/2 — VB V fCMP — — — 100 Hz Comparator Conversion Rate VSS1 PORT0 to PORT6*2 P7.3, P7.2 *1 Depends on program. (Values in the above table are applied in the case where the software duty is about 3%.) *2 PORT0 = P0.0 to P0.3, PORT1 = P1.0 to P1.3, PORT2 = P2.0 to P2.3, PORT3 = P3.0 to P3.3, PORT4 = P4.0 to P4.3, PORT5 = P5.0 to P5.3, PORT6 = P6.0 to P6.3, PORT7 = P7.0 to P7.3 8/12 ¡ Semiconductor MSM6576 NOTES ON USE Power Supply for 0.9 V Microcontroller Series (Backup Flag and Constant-Voltage Circuit) The 0.9 V microcontroller series has built-in constant-voltage circuit. The output of this constant-voltage circuit powers the microcontroller's internal logic circuits. Setting a backup flag (BUF) allows the input of the constant-voltage circuit to be switched to either the battery or the output generated in the voltage converter, based on the battery voltage. A battery voltage is 1.5 V. VDD (0 V) VSS1 (–1.5 V) VSS2 (–3.0 V) VSS3* (–4.5 V) Voltage Backup flag converter (BUF) Internal logic XT XTAL XTB Constant-voltage circuit VR VEE (About–1.3 V) LCD driver* *The VSS3 pin is provided for the devices that contain an LCD driver. The output (VEE) of the constant-voltage circuit is set at approximately –1.3 V. This allows the current consumed by the internal logic to be limited, irrespective of the battery voltage. However, if the input of the constant-voltage circuit is below this set value (about –1.3 V), the output (VEE) is equal to the input. The 0.9 V microcontroller can be operated even if the internal voltage (output from the constant-voltage circuit) falls to 0.9 V. Setting the backup flag allows a larger operating voltage margin despite changes in internal voltage due to noise. For example, for the 1.5 V operation, setting the backup flag to "0" supplies twice the battery voltage to the constant-voltage circuit. Thus, even if the battery voltage falls to 0.9 V, the output voltage (VEE) is maintained at –1.3 V, providing a larger margin of operating voltage of the internal logic circuits because 1.8 V is applied to the input of the constant-voltage circuit. Figures 1 and 2 show the internal status depending on the backup flag settings for the battery, as well as status features. 9/12 ¡ Semiconductor MSM6576 (Figure 1) 1.5 V Operation (Backup Flag = "1") VDD = 0 V VDD VB = –1.5 V Internal logic Voltage converter VSS1 VSS2 Voltage doubler Internal status The battery level VSS1 is applied to the input of the constant-voltage circuit. (VSS2). Operating range –0.9 to –3.5 V Current consumption 1.5 mA* (–3.0 V) Feature VR VEE When the battery level is powered down, the internal circuit is powered directly by the battery. * When the software duty is about 5% (Figure 2) 1.5 V Operation (Backup Flag = "0") VDD = 0 V VDD VB = –1.5 V Internal logic Voltage converter VSS1 VSS2 Voltage doubler Internal status A doubled level of VSS2 is applied to the input of the constant-voltage circuit. (VSS2). Operating range –0.9 to –3.5 V Current consumption (–3.0 V) VR VEE Feature 3 mA* When the baftery level is powered down, a larger operating voltage margin is gained, compared to the case of Figure 1. * When the software duty is about 5% 10/12 ¡ Semiconductor MSM6576 PACKAGE DIMENSIONS (Unit : mm) QFP44-P-910-0.80-K Mirror finish Package material Lead frame material Pin treatment Solder plate thickness Package weight (g) Epoxy resin 42 alloy Solder plating 5 mm or more 0.35 TYP. Notes for Mounting the Surface Mount Type Package The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which are very susceptible to heat in reflow mounting and humidity absorbed in storage. Therefore, before you perform reflow mounting, contact Oki’s responsible sales person for the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times). 11/12 ¡ Semiconductor MSM6576 (Unit : mm) QFP44-P-910-0.80-2K Mirror finish Package material Lead frame material Pin treatment Solder plate thickness Epoxy resin 42 alloy Solder plating 5 mm or more Package weight (g) 0.41 TYP. Notes for Mounting the Surface Mount Type Package The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which are very susceptible to heat in reflow mounting and humidity absorbed in storage. Therefore, before you perform reflow mounting, contact Oki’s responsible sales person for the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times). 12/12