E2E0019-38-94 This version: Sep. 1998 MSM6545/6575/6545L/6575L Previous version: Mar. 1996 ¡ Semiconductor MSM6545/6575/6545L/6575L ¡ Semiconductor Operatable at 0.9 V and Built-in Buzzer Circuit 4-Bit Microcontroller GENERAL DESCRIPTION MSM6545/6575/6545L/6575L is a 4-bit, low-power microcontroller manufactured in a CMOS silicon gate process. The microcontroller can be initialized and operated at a low supply voltage of 0.9 V. This single 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, and an updown counter. 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 : 4096 words ¥ 17 bits (MSM6545/6545L) 2048 words ¥ 17 bits (MSM6575/6575L) • RAM : 256 words ¥ 4 bits (MSM6545/6545L) 128 words ¥ 4 bits (MSM6575/6575L) • I/O port Input-output port : 7 ports ¥ 4 bits Input port : 1 port ¥ 4 bits • Interrupt functions (real-time interrupt, external interrupt, and serial interrupt) • Serial I/O port : 8-bit sync communication • Buzzer output circuit • 4-bit decimal updown counter • 73 instructions • Minimum instruction execution time : 61 ms • Operation under single 1.5 V power supply (MSM6545/6575) A mask option allows the 3 V power supply to be used (MSM6545L/6575L) • Built-in 32.768 kHz crystal oscillator circuit • Package options: 44-pin plastic QFP (QFP44-P-910-0.80-K) : (Product name : MSM6545/6545L-¥¥GS-K) 44-pin plastic QFP (QFP44-P-910-0.80-2K) : (Product name : MSM6545/6545L-¥¥GS-2K) 44-pin plastic QFP (QFP44-P-910-0.80-K) : (Product name : MSM6575/6575L-¥¥GS-K) 44-pin plastic QFP (QFP44-P-910-0.80-2K) : (Product name : MSM6575/6575L-¥¥GS-2K) Chip ¥¥ indicates a code number. 1/13 PORT5 PORT4 PORT3 PORT2 PORT1 PORT0 P5.3 P5.2 P5.1 P5.0 P4.3 P4.2 P4.1 P4.0 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 SIN SOUT SCKL SCND1 EIF INSTRUCTION DECODER INSTRUCTION REGISTER IRQEX STACK RAM PNEX ADDER IRQSIO PRIO RAM MSM6545/6545L...256 ¥ 4 bits MSM6575/6575L...128 ¥ 4 bits PAGE WORK ADRS INTERRUPT CONTROL FIEX SBFFL SBFFH IRQRT PROGRAM ROM MSM6545/6545L ... 4096 ¥ 17 bits MSM6575/6575L ... 2048 ¥ 17 bits EIRT SERIAL I/O SCND0 VOLTAGE REGULATOR BUZZER MDTL ALU ACC MPX MDTH S-bus TEMPO XTB MODE OSC PORT6 P6.3 P6.2 P6.1 P6.0 4-Bit BCD COUNTER CCNT PGCONH PGCONL D-BUS XT PORT7 P7.3 P7.2 P7.1 P7.0 CCLK BU/D BD VCP VCM VEE VDD VSS1 VSS2 A-bus ¡ Semiconductor MSM6545/6575/6545L/6575L BLOCK DIAGRAM FLAG FRMT PROGRAM COUNTER 2/13 ¡ Semiconductor MSM6545/6575/6545L/6575L 34 P1.2 35 P1.3 36 P2.0 37 P2.1 38 P2.2 39 VDD 40 P2.3 41 P3.0 42 P3.1 43 P3.2 44 P3.3 PIN CONFIGURATION (TOP VIEW) P4.0 1 33 P1.1 P4.1 2 32 P1.0 P4.2 3 31 P0.3 P4.3 4 30 P0.2 RESET 5 29 P0.1 TEST1 6 28 P0.0 TEST2 7 27 P5.0 TEST3 8 26 P5.1 P7.3/CCLK 9 25 P5.2 P7.2/BU/D 10 24 P5.3 P7.1/SIN 11 VEE 22 VSS2 21 VCP 20 VCM 19 VDD 17 VSS1 18 XT 16 XTB 15 P6.0 14 P6.3/SCLK 13 P7.0/SOUT 12 23 BD 44-Pin Plastic QFP Notes: 1. P6.3, P7.0 and P7.1 also function as serial port pins. P7.2, and P7.3 also function as updown counter pins. 2. P6.1 and P6.2 are not assigned pins. 3/13 ¡ Semiconductor MSM6545/6575/6545L/6575L 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) PORT7 (P7.0 to P7.3) Type Description 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 External interrupt port 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 I/O 4-bit Input-output port, I/O switchable, with/without input pull-down resistor 4-bit input port I Tie to the negative pole of the battery when not used. BD O Buzzer output pin RESET I Reset pin with input pull-down resistor TEST1 TEST2 P2.0 to P2.3 I TEST3 P6.3: SCLK P7.0: SOUT P7.1: SIN Shared with serial port P7.2: BU/D Shared with 4-bit P7.3: CCLK up/down counter 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 oscillator 4/13 ¡ Semiconductor MSM6545/6575/6545L/6575L ABSOLUTE MAXIMUM RATINGS (MSM6545/6575, 1.5 V, BUF = "0") VDD = 0 V (VSS1 = battery voltage) Parameter Power Supply Voltage Input Voltage Symbol Condition Rating VSS1 VIN Output Voltage VOUT Storage Temperature TSTG Unit –6.0 to +0.3 Ta = 25°C VSS1 – 0.3 to +0.3 V VSS1 – 0.3 to +0.3 — –55 to +125 °C Note: The input of the constant voltage circuit is equal to the output of the voltage converter (VSS2). RECOMMENDED OPERATING CONDITIONS (MSM6545/6575, 1.5 V, BUF = "0") VDD = 0 V (VSS1 = battery voltage) Parameter Operating Voltage Symbol Condition Range Unit Vop — –1.75 to –0.9 V Operating Temperature Top — –20 to +70 °C Oscillation Frequency fOSC — 32.768 kHz Note: The input of the constant voltage circuit is equal to the output of the voltage converter (VSS2). ELECTRICAL CHARACTERISTICS (MSM6545/6575, 1.5 V, BUF = "0") VDD = 0 V, VSS1 = –1.5 V (battery voltage), VSS2 = –3.0 V, fOSC = 32.768 kHz, CX = 35 pF, Ta = 25°C Parameter Power Supply Current Oscillation Start Voltage Output Current 1 Output Current 2 Input Current 1 Input Leakage Current Input Current 3 Input Voltage Symbol Condition IDD *1 –VOSC –IOH1 Min. Typ. Max. Unit Applied Pin — 3 — mA Within 2 seconds — — 0.9 V VO = –0.5 V 150 — — IOL1 VO = –1.0 V 150 — — –IOH2 VO = –0.5 V 20 — — IOL2 VO = –1.0 V 20 — — 7 15 30 IIH1 ÁIILÁ IIH3 –VIH –VIL VI = 0 V, in the input state, with pull-down resistor VI = 0 V, –1.5 V, in the input state, without pull-down resistor VI = 0 V, with pull-down resistor — mA mA mA — — 1 mA 70 250 500 mA — — 0.3 1.2 — — V — VSS1 PORT0 to PORT6*2 SOUT, SCLK BD PORT0 to PORT6 *2 PORT0 to PORT7*2 SIN, SOUT, SCLK RESET TEST1 to TEST3 All input pins *1 Depends on the program. (Values in the above table are applied in the case where the software duty is about 5%.) *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 Note: The input of the constant voltage circuit is equal to the output of the voltage converter (VSS2). 5/13 ¡ Semiconductor MSM6545/6575/6545L/6575L ABSOLUTE MAXIMUM RATINGS (MSM6545/6575, 1.5 V, BUF = "1") VDD = 0 V (VSS1 = battery voltage) Parameter Power Supply Voltage Input Voltage Symbol Condition Rating VIN Output Voltage VOUT Storage Temperature TSTG 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 +125 °C Note: The input of the constant voltage circuit is directly connected to the power supply (VSS1). RECOMMENDED OPERATING CONDITIONS (MSM6545/6575, 1.5 V, BUF = "1") VDD = 0 V (VSS1 = battery voltage) Parameter Operating Voltage Symbol Condition Range Unit Vop — –1.75 to –0.9 V Operating Temperature Top — –20 to +70 °C Oscillation Frequency fOSC — 32.768 kHz Note: The input of the constant voltage circuit is directly connected to the power supply (VSS1). ELECTRICAL CHARACTERISTICS (MSM6545/6575, 1.5 V, BUF = "1") VDD = 0 V, VSS1 = –1.5 V (battery voltage), VSS2 = –3.0 V, fOSC = 32.768 kHz, CX = 35 pF, Ta = 25°C Parameter Power Supply Current Oscillation Start Voltage Output Current 1 Output Current 2 Input Current 1 Symbol Condition IDD *1 –VOSC –IOH1 — 1.5 — mA Within 2 seconds — — 0.9 V VO = –0.5 V 150 — — IOL1 VO = –1.0 V 150 — — –IOH2 VO = –0.5 V 20 — — IOL2 VO = –1.0 V 20 — — 7 15 30 IIH1 Input Leakage Current ÁIILÁ Input Current 3 IIH3 Input Voltage Min. Typ. Max. Unit Applied Pin –VIH –VIL VI = 0 V, in the input state, with pull-down resistor VI = 0 V, –1.5 V, in the input state, without pull-down resistor VI = 0 V, without pull-down resistor — mA mA mA — — 1 mA 70 250 500 mA — — 0.3 1.2 — — V — VSS1 PORT0 to PORT6*2 SOUT, SCLK BD PORT0 to PORT6 *2 PORT0 to PORT7*2 SIN, SOUT, SCLK RESET TEST1 to TEST3 All input pins *1 Depends on the program. (Values in the above table are applied in the case where the software duty is about 5%.) *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 Note: The input of the constant voltage circuit is directly connected to the power supply (VSS1). 6/13 ¡ Semiconductor MSM6545/6575/6545L/6575L ABSOLUTE MAXIMUM RATINGS (MSM6545L/6575L, 3.0 V, BUF = "0") VDD = 0 V (VSS2 = battery voltage) Parameter Power Supply Voltage Input Voltage Symbol Condition Rating VSS2 VIN Output Voltage VOUT Storage Temperature TSTG Unit –6.0 to +0.3 Ta = 25°C VSS2 – 0.3 to +0.3 V VSS2 – 0.3 to +0.3 — –55 to +125 °C Note: The input of the constant voltage circuit is equal to the output of the voltage converter (VSS1). RECOMMENDED OPERATING CONDITIONS (MSM6545L/6575L, 3.0 V, BUF = "0") VDD = 0 V (VSS2 = battery voltage) Parameter Operating Voltage Symbol Condition Range Unit Vop — –3.5 to –1.8 V Operating Temperature Top — –20 to +70 °C Oscillation Frequency fOSC — 32.768 kHz Note: The input of the constant voltage circuit is equal to the output of the voltage converter (VSS1). ELECTRICAL CHARACTERISTICS (MSM6545L/6575L, 3.0 V, BUF = "0") VDD = 0 V, VSS1 = –1.5 V, VSS2 = –3.0 V (battery voltage), fOSC = 32.768 kHz, CX = 35 pF, Ta = 25°C Parameter Power Supply Current Oscillation Start Voltage Output Current 1 Output Current 2 Symbol IDD *1 — 0.75 — mA — Within 2 seconds — — 1.8 V VSS2 –IOH1 VO = –0.5 V 500 — — IOL1 VO = –2.5 V 500 — — –IOH2 VO = –0.5 V 20 — — IOL2 VO = –2.5 V 20 — — 50 100 200 mA — — 1 mA 200 750 1500 mA — — 0.5 2.5 — — IIH1 Input Leakage Current ÁIILÁ Input Voltage Min. Typ. Max. Unit Applied Pin –VOSC Input Current 1 Input Current 3 Condition IIH3 –VIH –VIL VI = 0 V, in the input state, with pull-down resistor VI = 0 V, –3 V, in the input state, without pull-down resistor VI = 0 V, with pull-down resistor — mA mA V PORT0 to PORT6*2 SOUT, SCLK BD PORT0 to PORT6 *2 PORT0 to PORT7*2 SIN, SOUT, SCLK RESET TEST1 to TEST3 All input pins *1 Depends on the program. (Values in the above table are applied in the case where the software duty is about 5%.) *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 Note: The input of the constant voltage circuit is equal to the output of the voltage converter (VSS1). 7/13 ¡ Semiconductor MSM6545/6575/6545L/6575L ABSOLUTE MAXIMUM RATINGS (MSM6545L/6575L, 3.0 V, BUF = "1") VDD = 0 V (VSS2 = battery voltage) Parameter Symbol Power Supply Voltage VSS2 Input Voltage VIN Output Voltage VOUT Storage Temperature TSTG Condition Rating Unit Ta = 25°C VSS2 – 0.3 to +0.3 –6.0 to +0.3 V VSS2 – 0.3 to +0.3 — –55 to +125 °C Note: The input of the constant voltage circuit is directly connected to the power supply (VSS2). RECOMMENDED OPERATING CONDITIONS (MSM6545L/6575L, 3.0 V, BUF = "1") VDD = 0 V (VSS2 = battery voltage) Symbol Condition Range Unit Operating Voltage Parameter Vop — –3.5 to –0.9 V Operating Temperature Top — –20 to +70 °C Oscillation Frequency fOSC — 32.768 kHz Note: The input of the constant voltage circuit is directly connected to the power supply (VSS2). ELECTRICAL CHARACTERISTICS (MSM6545L/6575L, 3.0 V, BUF = "1") VDD = 0 V, VSS1 = –1.5 V, VSS2 = –3.0 V (battery voltage), fOSC = 32.768 kHz, CX = 35 pF, Ta = 25°C Parameter Power Supply Current Oscillation Start Voltage Output Current 1 Output Current 2 Symbol Condition IDD *1 — 1.5 — mA — –VOSC Within 2 seconds — — 0.9 V VSS2 –IOH1 VO = –0.5 V 500 — — IOL1 VO = –2.5 V 500 — — –IOH2 VO = –0.5 V 20 — — IOL2 VO = –2.5 V 20 — — 50 100 200 mA — — 1 mA 200 750 1500 mA — — 0.5 2.5 — — Input Current 1 IIH1 Input Leakage Current ÁIIL Á Input Current 3 IIH3 Input Voltage –VIH –VIL VI = 0 V, in the input state, with pull-down resistor VI = 0 V, –3 V, in the input state, without pull-down resistor VI = 0 V, with pull-down resistor — Min. Typ. Max. Unit Applied Pin mA mA V PORT0 to PORT6*2 SOUT, SCLK BD PORT0 to PORT6 *2 PORT0 to PORT7*2 SIN, SOUT, SCLK RESET TEST1 to TEST3 All input pins *1 Depends on the program. (Values in the above table are applied in the case where the software duty is about 5%.) *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 Note: The input of the constant voltage circuit is directly connected to the power supply (VSS2). 8/13 ¡ Semiconductor MSM6545/6575/6545L/6575L NOTES ON USE Power Supply for 0.9 V Microcontroller Series (Backup Flag and Constant-Voltage Circuit) The 0.9 V devices have a 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 of 1.5 V or 3.0 V can be selected. VDD (0 V) Internal logic Voltage converter VSS1 (–1.5 V) VSS2 (–3.0 V) VSS3* (–4.5 V) XT Backup flag (BUF) 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 (approximately – 1.3V), 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 specification, setting the backup flag at "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 to 4 show the internal status depending on the backup flag settings for the battery, as well as status features. 9/13 ¡ Semiconductor MSM6545/6575/6545L/6575L (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. Operating range –0.9 to –1.75 V Current 1.5 mA* consumption (–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. Operating range –0.9 to –1.75 V Current 3 mA* consumption (–3.0 V) Feature VR VEE When the battery 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% (Figure 3) 3.0 V Operation (Backup Flag = 1) VDD = 0 V VDD (–1.5 V) Internal logic Voltage converter VSS1 VB = –3.0 V VSS2 Voltage doubler The battery level VSS2 is applied to the input of the constant voltage circuit. Operating range –0.9 to –3.5 V Current 1.5 mA* consumption VR VEE Internal status Feature When the battery level is powered down, the internal circuit is powered directly by the battery. * When the software duty is about 5% 10/13 ¡ Semiconductor MSM6545/6575/6545L/6575L (Figure 4) 3.0 V Operation (Backup Flag = 0) VDD = 0 V VDD (–1.5 V) Internal logic Voltage converter VSS1 VB = –3.0 V VSS2 Voltage doubler A doubled level of VSS1 is applied to the input of the constant voltage circuit. Operating range –1.8 to –3.5 V Current 0.75 mA* consumption VR VEE Internal status Feature When the battery level is powered down, a smaller operating voltage margin is gained, compared to the case of Figure 3. * When the software duty is about 5% 11/13 ¡ Semiconductor MSM6545/6575/6545L/6575L 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). 12/13 ¡ Semiconductor MSM6545/6575/6545L/6575L (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). 13/13