E2E0050-18-95 ¡ Semiconductor MSM64P155/64P155L ¡ Semiconductor Pr el im This version: Sep. 1998 MSM64P155/64P155L ina ry 4-Bit Microcontroller with Built-in LCD Driver and Melody Circuit GENERAL DESCRIPTION The MSM64P155 (1.5 V)/64P155L (3.0 V) is a one-time-programmable ROM version product, which has one-time PROM (OTP) as internal program memory. On the other hand, the MSM64155 is a mask ROM-version product, which has mask ROM as internal program memory. Unlike the mask ROM-version MSM64155 which has a P-well CMOS structure, the MSM64P155/ 64P155L has been fabricated with the N-well CMOS-structured EPROM process technology. Therefore, the MSM64P155/64P155L differs from the MSM64155 in the polarity of the power supply for LCD bias generation and in the external circuit structure. Unlike the mask ROM-version product, the MSM64P155/64P155L cannot be supplied in the form of a chip. The MSM64P155/64P155L is an OTP-version product used to evaluate an application program. The MSM64P155/64P155L has two operation modes, microcontroller operation mode and PROM mode. The microcontroller operation mode is used to operate the MSM64P155/64P155L like a mask ROM-version product and the PROM mode is used to program or read the PROM. FEATURES • Operating range Operating voltage (mask option) : 1.5 V/3.0 V Operating frequency : 32.768 kHz crystal oscillation Approx. 32 kHz RC oscillation • Minimum instruction execution time : 91 ms • General memory space : 4064 bytes (PROM) • Local memory space : 256 nibbles • LCD driver : 64 Common driver ¥ 4 Segment driver ¥ 60 1/4 duty, 1/3 bias; 240 segments (60 ¥ 4) 1/3 duty, 1/3 bias; 180 segments (60 ¥ 3) • I/O port Input-output port : 2 ports ¥ 4 bits (open-drain output/CMOS output selectable; pull-down resistor input/high-impedance input selectable) Input port : 1 port ¥ 2 bits (pull-down resistor input/high-impedance input selectable) 1 port ¥ 4 bits (pull-down resistor input/high-impedance input selectable) Output port : 1 port ¥ 4 bits (CMOS output) • Event counter : 1 channel • Melody output :2 • Capture circuits : 2 channels 256 Hz, 128 Hz, 64 Hz, 32 Hz 1/29 ¡ Semiconductor MSM64P155/64P155L • Interrupt sources : 10 sources External 4, time base 4, melody 2 (When TST3 = "1", six time base sources) • Clock generation circuit (mask option) : Crystal/RC oscillation • Package: 100-pin plastic QFP (QFP100-P-1420-0.65-BK) Product name : MSM64P155-001GS-BK (crystal oscillation, 1.5 V, blanked PROM) MSM64P155L-002GS-BK (crystal oscillation, 3.0 V, blanked PROM) MSM64P155-003GS-BK (RC oscillation, 1.5 V, blanked PROM) MSM64P155L-004GS-BK (RC oscillation, 3.0 V, blanked PROM) MSM64P155-xxxGS-BK (crystal/RC oscillation, 1.5 V, written PROM) MSM64P155L-xxxGS-BK (crystal/RC oscillation, 3.0 V, written PROM) xxx indicates a code number. 2/29 ¡ Semiconductor MSM64P155/64P155L C2 C1 VDD3 VDD2 VDD1 BLOCK DIAGRAM TR2 TR0 HALT (4) C ROM 4064B PCH PCM PCL ALU A8 to A11 MIEF A7 to A0 B A (4) (4) H L X SP SEG59 ROMR INTC MD0 RST 4 TBC (8) MD1 PORT ADDRESS TST PORT4 PORT6 P4.0 P4.1 P4.2 P4.3 P6.0 P6.1 P6.2 P6.3 PORT3 P3.1 EVENT INT INT PORT7 P7.0 P7.1 P7.2 P7.3 INT P3.0 PORT2 P2.0 P2.1 P2.2 P2.3 CAPR MD1 INT INT BUP MD0 MD1 DB7 to DB0 VSS MD0 INT INT TST1 TST2 TST3 SEG0 (8) IR RESET TIMING CONTROLLER IR DECODER OSC1 CLK LCD RAM 256N Y DB7 to DB0 OSC0 COM1 COM2 COM3 COM4 TR1 PORT ADDRESS BSR BIAS is the CPU core (nx-4/20). 3/29 ¡ Semiconductor MSM64P155/64P155L 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 63 19 62 20 61 21 60 22 59 23 58 24 57 25 56 26 55 27 54 28 53 29 52 30 51 SEG11 SEG12 SEG13 SEG14 SEG15 SEG16 SEG17 SEG18 SEG19 SEG20 SEG21 SEG22 SEG23 SEG24 SEG25 SEG26 SEG27 SEG28 SEG29 SEG30 SEG31 SEG32 SEG33 SEG34 SEG35 SEG36 SEG37 SEG38 SEG39 SEG40 SEG59 SEG58 SEG57 SEG56 SEG55 SEG54 SEG53 SEG52 SEG51 (NC) SEG50 SEG49 SEG48 SEG47 SEG46 SEG45 SEG44 SEG43 SEG42 SEG41 50 64 18 49 65 17 48 66 16 47 67 15 46 68 14 45 69 13 44 70 12 43 71 11 42 72 10 41 73 9 40 74 8 39 75 7 38 76 6 37 77 5 36 78 4 35 3 34 79 33 80 2 32 1 31 RESET OSC0 OSC1 VPP P2.3 P2.2 P2.1 P2.0 P3.1 P3.0 P4.3 P4.2 P4.1 P4.0 P6.3 P6.2 P6.1 P6.0 P7.3 P7.2 P7.1 P7.0 VSS MD0 MD0 MD1 MD1 TST3 TST2 TST1 99 100 VDD1 VDD2 VDD3 C1 C2 COM1 COM2 COM3 COM4 SEG0 SEG1 SEG2 SEG3 SEG4 SEG5 SEG6 SEG7 SEG8 SEG9 SEG10 PIN CONFIGURATION (TOP VIEW) 100-Pin Plastic QFP Note: Pins marked as (NC) are no-connection pins which are left open. 4/29 ¡ Semiconductor MSM64P155/64P155L PIN DESCRIPTIONS Basic Functions Function Pin Power Supply Oscillation Test RESET Description 23 Symbol VSS Type — 100 VDD1 — Digital positive power supply (1.5 V spec.) Bias output for LCD driver (3.0 V spec.) 99 VDD2 — Digital positive power supply (3.0 V spec.) Bias output for LCD driver (1.5 V spec.) 98 97 VDD3 Bias output for LCD driver (+4.5 V) C1 — — 96 4 C2 VPP — — 2 OSC0 I 3 OSC1 O 30 29 TST1 28 TST3 I I I 1 RESET I TST2 Digital supply voltage (0 V) Pins for connecting a capacitor for generating LCD driving bias Positive power supply for writing programming data to PROM (+12.5 V) Clock oscillation pins: Either a crystal (32.768 kHz) and a capacitor (10 to 30 pF) are connected to these pins or a resistor (1 MW) is. Input pins for test: These pins are internally pulled down to VSS. When this pin is set to "H" level, the 256 Hz and 4 Hz interrupts are enabled, and then the MSM64P155 can be used as an OTP version of the MSM64152A, MSM64153A, and MSM64158A. System reset input pin : Setting this pin to "H" level puts this device into a reset state. Then, setting this pin to "L" level starts executing an instruction from address 000H. This pin is internally connected to VSS through a pull-down resistor. 5/29 ¡ Semiconductor MSM64P155/64P155L Basic Functions (continued) Function Ports Melody Drivers LCD Drivers Pin Symbol Type Description 8 P2.0 I 7 6 P2.1 4-bit input port (port 2) : Select between pull-down resistor input and high impedance input for each bit with the port 2 control register (P2CON). When configured for secondary functions, an external interrupt and capture circuit trigger input are allocated. If P2.0 to P2.3 are set to "H" level, the device enters system reset mode. 2-bit input port (port 3) : Select between pull-down resistor input and high impedance input with the port 3 control register (P3CON). When configured for a secondary function, an external interrupt is allocated to P3.0 and an event counter is allocated to P3.1. 5 P2.2 P2.3 10 P3.0 9 P3.1 14 P4.0 13 P4.1 12 P4.2 11 P4.3 18 P6.0 17 16 P6.1 I O 4-bit output port (port 4) : 4-bit CMOS output port. I/O 4-bit input-output port (port 6) : Select between input and output, between pull-down resistor input and high impedance input, and between open-drain output and CMOS output with the port 6 control register (P6CON). When configured for a secondary function, an external interrupt is allocated. 4-bit input-output port (port 7) : Select between input and output, between pull-down resistor input and high impedance input, and between open-drain output and CMOS output with the port 7 control register (P7CON). When configured for a secondary function, an external interrupt is allocated. 15 P6.2 P6.3 22 P7.0 21 P7.1 20 19 P7.2 P7.3 25 24 MD0 MD0 O O Output pin of melody driver 0. Inverted output pin of MD0 output. 26 MD1 O Output pin of melody driver 1. I/O 27 MD1 O Inverted output pin of MD1 output. 95 COM1 LCD common signal output pins. 94 93 COM2 O O 92 COM3 COM4 O O 6/29 ¡ Semiconductor MSM64P155/64P155L Basic Functions (continued) Function Pin Symbol Type LCD Drivers 91 SEG0 O 90 SEG1 O 89 SEG2 O 88 87 SEG3 SEG4 O O 86 85 SEG5 SEG6 O O 84 SEG7 O 83 SEG8 O 82 SEG9 O 81 SEG10 O 80 79 SEG11 SEG12 O O 78 SEG13 O 77 SEG14 O 76 75 SEG15 SEG16 O O 74 SEG17 O 73 SEG18 SEG19 O 72 71 70 SEG20 SEG21 O O 69 SEG22 O 68 SEG23 O 67 66 SEG24 SEG25 O O 65 64 SEG26 SEG27 O O 63 SEG28 O 62 SEG29 O 61 SEG30 O 60 59 SEG31 SEG32 O O 58 57 SEG33 SEG34 O O 56 SEG35 O 55 54 SEG36 SEG37 O O 53 SEG38 O 52 SEG39 O Description LCD segment signal output pins. O 7/29 ¡ Semiconductor MSM64P155/64P155L Basic Functions (continued) Function LCD Drivers Pin Symbol Type 51 SEG40 O 50 49 SEG41 O O 48 47 SEG43 SEG44 O O 46 45 SEG45 SEG46 O O 44 SEG47 O 43 SEG48 O 42 41 SEG49 O O 39 SEG51 38 37 SEG52 36 35 34 SEG54 O O SEG55 SEG56 O O 33 SEG57 O 32 SEG58 O 31 SEG59 O SEG42 SEG50 SEG53 Description LCD segment signal output pins. O O 8/29 ¡ Semiconductor MSM64P155/64P155L Secondary Functions Function Pin Symbol Type Description External Interrupts 8 P2.0 I 7 6 P2.1 P2.2 5 P2.3 P2.0 to P2.3 secondary functions : These are level-triggered external interrupt input pins. Select interrupt enable/disable for each bit with the P2 interrupt enable register (P2IE). If P2.0 to P2.3 pins are set to "H" level for a minimum of 2 seconds, the device enters system reset mode. P2.0, P2.1 secondary functions : trigger input pins for capture circuit. 10 P3.0 I P3.0 secondary function : This is an input pin for external interrupt. This pin can receive an interrupt at a rising edge, a falling edge, or at both rising and falling edges. 18 P6.0 I 17 16 P6.1 P6.2 P6.0 to P6.3 secondary functions : These are level-triggered external interrupt input pins. 15 P6.3 22 P7.0 I 21 20 P7.1 P7.2 P7.0 to P7.3 secondary functions : These are level-triggered external interrupt input pins. 19 P7.3 9 P3.1 I P3.1 secondary function : Input port for event counter Event Counter Input 9/29 ¡ Semiconductor MSM64P155/64P155L PROM-Related Pins The pins for writing program data of the MSM64P155/64P155L are shown below. Function Pin Symbol Programming 23 VSS 100 99 Type O Description 0 V power supply VDD1* VDD2* — Positive power supply pin (+5 V) — Positive power supply pin (+5 V) 4 VPP — 1 RESET I 30 29 TST1 TST2 91 90 SEG0/D0 SEG1/D1 89 SEG2/D2 88 SEG3/D3 87 SEG4/D4 86 SEG5/D5 85 SEG6/D6 84 SEG7/D7 83 Power supply pin for programming PROM (+12.5 V) PROM programming setting pins. When a "H" level is input to these pins, the device enters the PROM mode. I/O Pins for writing or reading program data to and from PROM. SEG8/CE I/O PROM chip enable pin 82 81 SEG9/OE SEG10/A0 I/O PROM output enable signal I Program address input pins 80 SEG11/A1 79 SEG12/A2 78 SEG13/A3 77 SEG14/A4 76 SEG15/A5 75 SEG16/A6 74 SEG17/A7 73 SEG18/A8 72 SEG19/A9 71 SEG20/A10 70 69 SEG21/A11 SEG22 I Normally apply a "H" level to this pin. * When in PROM mode, supply a 5 V power to both VDD1 and VDD2. 10/29 ¡ Semiconductor MSM64P155/64P155L Handling When Specific Pins Are Not Used Recommended Pin Connection Symbol TST1 to TST3 Open "L" level or open "L" level or open P2.0 to P2.3 P3.0, P3.1 P4.0 to P4.3 Open P6.0 to P6.3 In input mode : "L" level or open (Initial setting: input mode) In output mode : Open P7.0 to P7.3 In input mode : "L" level or open (Initial setting: input mode) In output mode : Open MD0, MD0 MD1, MD1 Open COM1 to COM4 Open SEG0 to SEG59 Open 11/29 ¡ Semiconductor MSM64P155/64P155L (1) For 1.5 V Specifications in the Microcontroller Operation Mode Product Name: MSM64P155 ABSOLUTE MAXIMUM RATINGS (VSS = 0 V) Parameter Symbol Condition Rating Unit Power Supply Voltage 1 VDD1 Ta = 25°C –0.3 to +2.0 V Power Supply Voltage 2 VDD2 Ta = 25°C –0.3 to +4.0 V Power Supply Voltage 3 VDD3 Ta = 25°C –0.3 to +5.5 V Input Voltage 1 VIN1 VDD1 input, Ta = 25°C –0.3 to VDD1 + 0.3 V Output Voltage 1 VOUT1 VDD1 output, Ta = 25°C –0.3 to VDD1 + 0.3 V Output Voltage 2 VOUT2 VDD2 output, Ta = 25°C –0.3 to VDD2 + 0.3 V Output Voltage 3 VOUT3 VDD3 output, Ta = 25°C –0.3 to VDD3 + 0.3 V Storage Temperature TSTG — –55 to +150 °C RECOMMENDED OPERATING CONDITIONS (VSS = 0 V) Parameter Operating Temperature Symbol Condition Range Unit Top — 0 to +65 °C Operating Voltage VDD1 — 1.4 to 1.7 V Crystal Oscillation Frequency fXT ROS — — 30 to 35 1M ±10% kHz W External RC Oscillator Resistance 12/29 ¡ Semiconductor MSM64P155/64P155L ELECTRICAL CHARACTERISTICS DC Characteristics (VSS = 0 V, VDD1 = 1.5 V, Ta = 0 to +65°C unless otherwise specified) Parameter Symbol Condition VDD2 Voltage VDD2 Ca, C12 = 1 mF Cb = 0.1 mF 2.8 3.0 3.2 V VDD3 Voltage VDD3 Ca, C12 = 1 mF Cb = 0.1 mF 4.3 4.5 4.7 V 1.47 — — V Crystal Oscillation Start Voltage Crystal Oscillation Hold Voltage External Crystal Oscillator Capacitance Internal Crystal Oscillator Capacitance RC Oscillation Frequency VSTA Oscillation start time: within 5 seconds Min. Typ. Max. Unit VHOLD — 1.40 — — V CG — 10 — 30 pF CD — 10 15 20 pF fCR ROS = 1 MW 15 40 75 kHz Measuring Circuit 1a DC Characteristics (32.768 kHz Crystal Oscillation) (VSS = 0 V, VDD1 = 1.5 V, Ta = 0 to +65°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit Supply Current 1 IDD1 CPU in the HALT mode — 2.0 10 mA Supply Current 2 IDD2 CPU in the operating mode — 75 100 mA Measuring Circuit 1a DC Characteristics (RC Oscillation) (VSS = 0 V, VDD1 = 1.5 V, ROS = 1 MW, Ta = 0 to +65°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit Supply Current 1 IDD1 CPU in the HALT mode — 3.0 20 mA Supply Current 2 IDD2 CPU in the operating mode — 100 200 mA Measuring Circuit 1b 13/29 ¡ Semiconductor MSM64P155/64P155L DC Characteristics (continued) (VSS = 0 V, VDD1 = 1.5 V, VDD2 = 3.0 V, VDD3 = 4.5 V, Ta = 0 to +65°C unless otherwise specified) Parameter Output Current 1 (P4.0 to P4.3) (MD0, MD0) (MD1, MD1) Output Current 2 (SEG0 to SEG59) (COM1 to COM4) Output Current 3 (P6.0 to P6.3) (P7.0 to P7.3) Output Leakage (P6.0 to P6.3) (P7.0 to P7.3) Input Current 1 Symbol Min. Typ. Max. Unit IOH1 VOH1 = VDD1 – 0.5 V –2.0 –0.7 –0.1 mA IOL1 VOL1 = +0.5 V 0.1 0.7 2.0 mA IOH2 VOH2 = VDD3 – 0.2 V (VDD3 level) — — –4.0 mA IOMH2 VOMH2 = VDD2 + 0.2 V (VDD2 level) 4.0 — — mA IOMH2S VOMH2S = VDD2 – 0.2 V (VDD2 level) — — –4.0 mA IOML2 VOML2 = VDD1 + 0.2 V (VDD1 level) 4.0 — — mA IOML2S VOML2S = VDD1 – 0.2 V (VDD1 level) — — –4.0 mA 4.0 — — mA IOL2 VOL2 = +0.2 V IOH3 VOH3 = VDD1 – 0.5 V –5.0 –2.1 –0.3 mA (VSS level) IOL3 VOL3 = +0.5 V 0.1 0.7 2.0 mA IOOH VOH = VDD1 — — 0.3 mA IOOL VOL = VSS –0.3 — — mA IIH1 VIH1 = VDD1 (when pulled down) 1.0 10 100 mA 0 — 1.0 mA (P2.0 to P2.3) (P3.0, P3.1) Condition IIH1Z (P6.0 to P6.3) VIH1 = VDD1 (in a high impedance state) (P7.0 to P7.3) IIL1 VIL1 = VSS –1.0 — 0 mA Input Current 2 IIH2 VIH2 = VDD1 0.3 0.75 1.5 mA (TST1, TST2) IIL2 VIL2 = VSS –1.0 — 0 mA Input Current 3 IIH3 VIH3 = VDD1 0.3 1.0 5.0 mA (TST3) IIL3 VIL3 = VSS 0 — 1.0 mA Input Current 4 IIH4 VIH4 = VDD1 15 40 100 mA (RESET) IIL4 VIL4 = VSS –1 — 0 mA –0.3 — 0 V Input Voltage 1 (P2.0 to P2.3) (P3.0, P3.1) (P6.0 to P6.3) (P7.0 to P7.3) (TST1, TST2, TST3) (RESET) VIH1 — Measuring Circuit 2 3 4 VIL1 — –1.5 — –1.2 V 14/29 ¡ Semiconductor MSM64P155/64P155L Measuring circuit 1a OSC1 Crystal 32.768 kHz OSC0 MSM64P155 CG C1 C2 VSS VDD1 VDD2 VSS VDD3 Ca A C12 Ca, C12 Cb CG Cb V : 1 mF : 0.1 mF : 15 pF V Measuring circuit 1b OSC1 ROS OSC0 MSM64P155 C1 C12 C2 VSS VDD1 VDD2 VDD3 Ca A Ca Cb, C12 ROS Cb V : 20 mF : 0.1 to 0.2 mF : 1 MW V 15/29 ¡ Semiconductor MSM64P155/64P155L OUTPUT Measuring circuit 2 (*1) INPUT VIH (*2) A MSM64P155 VIL VSS VDD1 VDD2 VDD3 Measuring circuit 3 OUTPUT (*3) INPUT A MSM64P155 VSS VDD1 VDD2 VDD3 16/29 ¡ Semiconductor MSM64P155/64P155L OUTPUT Measuring circuit 4 (*3) VIL INPUT VIH Waveform Monitoring MSM64P155 VSS VDD1 VDD2 VDD3 *1 Input logic circuit to determine the specified measuring conditions. *2 Measured at the specified output pins. *3 Measured at the specified input pins. 17/29 ¡ Semiconductor MSM64P155/64P155L (2) For 3.0 V Specifications in the Microcontroller Operation Mode Product Name: MSM64P155L ABSOLUTE MAXIMUM RATINGS (VSS = 0 V) Parameter Symbol Condition Rating Unit Power Supply Voltage 1 VDD1 Ta = 25°C –0.3 to +2.0 V Power Supply Voltage 2 VDD2 Ta = 25°C –0.3 to +4.0 V Power Supply Voltage 3 VDD3 Ta =25°C –0.3 to +5.5 V Input Voltage 1 VIN1 VDD2 input, Ta = 25°C –0.3 to VDD2 + 0.3 V Output Voltage 1 VOUT1 VDD2 output, Ta = 25°C –0.3 to VDD2 + 0.3 V Output Voltage 2 VOUT2 VDD3 output, Ta = 25°C –0.3 to VDD3 + 0.3 V Storage Temperature TSTG — –55 to +150 °C RECOMMENDED OPERATING CONDITIONS Parameter Operating Temperature Operating Voltage Crystal Oscillation Frequency External RC Oscillator Resistance Symbol Condition Range (VSS = 0 V) Unit Top VDD2 — 0 to +65 °C — V fXT — 2.7 to 3.5 30 to 66 kHz ROS — 1M ±10% W 18/29 ¡ Semiconductor MSM64P155/64P155L ELECTRICAL CHARACTERISTICS DC Characteristics (VSS = 0 V, VDD2 = 3.0 V, Ta = 0 to +65°C unless otherwise specified) Parameter Min. Typ. Max. Unit Symbol Condition VDD1 Voltage VDD1 Ca = 1 mF Cb, C12 = 0.1 mF 1.3 1.5 1.7 V VDD3 Voltage VDD3 Ca = 1 mF Cb, C12 = 0.1 mF 4.3 4.5 4.7 V 2.7 — — V Oscillation start time: Crystal Oscillation Start Voltage VSTA Crystal Oscillation Hold Voltage External Crystal Oscillator VHOLD — 2.7 — — V CG — 10 — 30 pF CD — 10 15 20 pF fCR ROS = 1 MW 15 40 75 kHz Capacitance Internal Crystal Oscillator Capacitance RC Oscillation Frequency within 5 seconds Measuring Circuit 1a DC Characteristics (32.768 kHz Crystal Oscillation) (VSS = 0 V, VDD2 = 3.0 V, Ta = 0 to +65°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit Supply Current 1 IDD1 CPU in the HALT mode — 1.0 5.0 Supply Current 2 IDD2 CPU in the operating mode — 35 50 mA mA Measuring Circuit 1a DC Characteristics (RC Oscillation) (VSS = 0 V, VDD2 = 3.0 V, Ta = 0 to +65°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit Supply Current 1 IDD1 CPU in the HALT mode — 3.0 15 Supply Current 2 IDD2 CPU in the operating mode — 50 100 mA mA Measuring Circuit 1b 19/29 ¡ Semiconductor MSM64P155/64P155L DC Characteristics (continued) (VSS = 0 V, VDD1 = 1.5V, VDD2 = 3.0 V, VDD3 = 4.5 V, Ta = 0 to +65°C unless otherwise specified) Parameter Output Current 1 (P4.0 to P4.3) (MD0, MD0) (MD1, MD1) Output Current 2 (SEG0 to SEG59) (COM1 to COM4) Symbol Condition Min. Typ. Max. Unit IOH1 VOH1 = VDD2 – 0.5 V –6.0 –2.0 –0.7 mA IOL1 VOL1 = +0.5 V 0.7 2.0 6.0 mA IOH2 VOH2 = VDD3 – 0.2 V (VDD3 level) — — –4.0 mA 4.0 — — — — –4.0 mA mA 4.0 — — — — –4.0 mA mA 4.0 — — IOMH2 VOMH2 = VDD2 + 0.2 V (VDD2 level) IOMH2S VOMH2S = VDD2 – 0.2 V (VDD2 level) IOML2 IOML2S VOML2 = VDD1 + 0.2 V (VDD1 level) VOML2S = VDD1 – 0.2 V (VDD1 level) VOL2 = +0.2 V IOH3 VOH3 = VDD2 – 0.5 V –18 –6.0 –2.0 mA IOL3 IOOH VOL3 = +0.5 V VOH = VDD2 0.7 — 1.6 — 6.0 0.3 mA mA IOOL VOL = VSS –0.3 — — mA Input Current 1 IIH1 VIH1 = VDD2 (when pulled down) 50 100 300 mA 0 — 1.0 mA (P2.0 to P2.3) (P3.0, P3.1) IIH1Z (P6.0 to P6.3) VIH1 = VDD2 (in a high impedance state) (P7.0 to P7.3) IIL1 VIL1 = VSS –1.0 — 0 mA Input Current 2 VIH2 = VDD2 VIL2 = VSS 0.75 1.5 (TST1, TST2) IIH2 IIL2 –1.0 — 3.0 0 mA mA Input Current 3 IIH3 VIH3 = VDD2 20 80 200 mA (TST3) IIL3 VIL3 = VSS –1.0 — 0 mA Input Current 4 IIH4 VIH4 = VDD2 40 80 200 mA (RESET) IIL4 VIL4 = VSS –1.0 — 0 mA 2.4 — 3.0 V Input Voltage 1 (P2.0 to P2.3) (P3.0, P3.1) (P6.0 to P6.3) (P7.0 to P7.3) (TST1, TST2, TST3) (RESET) VIH1 — Circuit 2 mA IOL2 Output Current 3 (P6.0 to P6.3) (P7.0 to P7.3) Output Leakage Current (P6.0 to P6.3) (P7.0 to P7.3) (VSS level) Measuring 3 4 VIL1 — 0 — 0.6 V 20/29 ¡ Semiconductor MSM64P155/64P155L Measuring circuit 1a OSC1 Crystal 32.768 kHz OSC0 MSM64P155L CG C1 C12 C2 VSS VDD2 VDD1 VDD3 Ca A VSS Ca Cb, C12 CG Cb V : 1 mF : 0.1 mF : 15 pF V Measuring circuit 1b OSC1 ROS OSC0 MSM64P155L C1 C12 C2 VSS VDD2 VDD1 VDD3 Ca A Ca Cb, C12 ROS Cb V : 1 mF : 0.1 mF : 1 MW V 21/29 ¡ Semiconductor MSM64P155/64P155L OUTPUT Measuring circuit 2 (*1) INPUT VIH (*2) A MSM64P155L VIL VSS VDD1 VDD2 VDD3 Measuring circuit 3 OUTPUT (*3) INPUT A MSM64P155L VSS VDD1 VDD2 VDD3 22/29 ¡ Semiconductor MSM64P155/64P155L OUTPUT Measuring circuit 4 (*3) VIL INPUT VIH Waveform Monitoring MSM64P155L VSS VDD1 VDD2 VDD3 *1 Input logic circuit to determine the specified measuring conditions. *2 Measured at the specified output pins. *3 Measured at the specified input pins. 23/29 ¡ Semiconductor MSM64P155/64P155L (3) PROM Operations (Common to 1.5 V and 3.0 V Specifications) ABSOLUTE MAXIMUM RATINGS (VSS = 0 V) Parameter Symbol PROM Power Source Voltage VCC Program Voltage VPP PROM Input Voltage VI PROM Output Voltage VO Storage Temperature TSTG Condition VCC = VDD1 = VDD2 Ta = 25°C Ta = 25°C VCC input Ta = 25°C VCC output Ta = 25°C — Rating Unit –0.3 to +6.7 V –0.3 to +14.0 V –0.3 to VCC + 0.3 V VSS1 – 0.3 to +0.3 V –55 to +150 °C RECOMMENDED OPERATING CONDITIONS (VSS = 0 V) Parameter Operating Temperature VCC Power Supply Voltage VPP Power Supply Voltage Input Voltage Symbol Condition Range Unit Top — 0 to +65 °C VCC VCC = VDD1 = VDD2 4.75 to 5.25 V When data is read 4.75 to 5.25 V VIH When data is written VCC = VDD1 = VDD2 12.0 to 13.0 4.0 to VCC V V VIL — 0 to 1.0 V VPP 24/29 ¡ Semiconductor MSM64P155/64P155L ELECTRICAL CHARACTERISTICS (1) Read Operation DC Characteristics Parameter (VDD1 = VDD2 = VPP = 5 V ±5%, Ta = 25°C ±5°C unless otherwise specified) Min. Typ. Max. Symbol Condition Unit VCC Supply Voltage (Standby) ICC1 VCC Supply Voltage (Operating) ICC2 Input Voltage Output Current VIH VCC = VDD1 = VDD2 CE = VIH VCC = VDD1 = VDD2 CE = VIL VCC = VDD1 = VDD2 — VIL IOH IOL VCC = VDD1 = VDD2 VOH = VCC – 0.5 V VOL = 0.5 V — — 35 mA — — 100 mA 4.0 — VCC V 0 — 1.0 V –2 –0.7 –0.2 mA 0.2 0.7 2 mA AC Characteristics (VCC = 5 V ±5%, VPP = VCC, Ta = 0 to +65°C unless otherwise specified) Min. Typ. Max. Unit Address Access Time tACC OE = CE = VIL — — 120 ns CE Access Time tCE OE = VIL — — 120 ns OE Access Time tOE CE = VIL — — 50 ns Output Disable Time tDF CE = VIL 0 — 40 ns Parameter Symbol Condition Measurement Conditions: Input pulse level ............ 0.45 V to 4.55 V Input rise/fall time ....... 5 ns Threshold level .............. input 0.8 V, 2 V/output 0.8 V, 2 V 25/29 ¡ Semiconductor MSM64P155/64P155L Address Input CE tCE OE tOE tDF tACC Data Output 26/29 ¡ Semiconductor MSM64P155/64P155L (2) Write Operation DC Characteristics (VSS = 0 V, VDD1 = VDD2 = 5 V ±5%, VPP = 12.5 V ±0.5 V, Ta = 25°C ±5°C unless otherwise specified) Min. Typ. Max. Parameter Symbol Condition Unit VPP Power Supply Current IPP CE = VIL — — 50 mA VCC Power Supply Current ICC VCC = VDD1 = VDD2 — — 100 mA VIH VCC = VDD1 = VDD2 4.0 — VCC V 0 — 1.0 V –2.0 –0.7 –0.2 mA 0.2 0.7 2.0 mA Input Voltage — VIL IOH Output Current IOL VCC = VDD1 = VDD2 VOH = VCC – 0.5 V VOL = 0.5 V AC Characteristics (VSS = 0 V, VDD1 = VDD2 = 5 V ±5%, VPP = 12.5 V ±0.5 V, Ta = 25°C ±5°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit Address Setup Time tAS — 2.0 — — ms OE Setup Time tOES — 2.0 — — ms Data Setup Time tDS — 2.0 — — ms Address Hold Time tAH — 0 — — ms Data Hold Time tDH — 2.0 — — ms OE Output Floating Delay Time tDFP — 0 — 130 ns VPP Power Source Setup Time tVS — 2.0 — — ms Initial Program Pulse Width tPW 0.95 1.0 1.05 ms Additional Program Pulse Width tOPW 2.85 — 78.75 ms OE Output Effective Delay Time tOE — — 150 ns VDD1 = VDD2 6 V ±0.25 V VDD1 = VDD2 6 V ±0.25 V — Measurement Conditions: Input pulse level ............ 0.45 V to 4.55 V Input rise/fall time ....... less than 20 ns Threshold level .............. input 0.8 V, 2 V/output 0.8 V, 2 V 27/29 ¡ Semiconductor MSM64P155/64P155L Address Input Address N tAH tAS Data Input-Output Data Input Data Output tDH tDS tOE tDFP VPP tVS CE tPW tOES tOPW OE 28/29 ¡ Semiconductor MSM64P155/64P155L PACKAGE DIMENSIONS (Unit : mm) QFP100-P-1420-0.65-BK 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 1.29 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). 29/29