TMP88PU74 CMOS 8-Bit Microcontroller TMP88PU74F The TMP88PU74 are the high-speed and high performance 8-bit single chip microcomputers which built in a program storage area (96 Kbytes) and the One-Time PROM of bector table storage area (256 bytes). The TMP88PU74 is pin compatible with the TMP88CU74. The operations possible with the TMP88PU74 can be performed by writing programs to PROM. The TMP88PU74 can write and verify in the same way as the TC571000 an EPROM programmer. Product No. OTP RAM Package Adaptor Socket TMP88PU74F 96 Kbytes + 256 bytes 2 Kbytes P-QFP80-1420-0.80B BM11131 P-QFP80-1420-0.80B TMP88PU74F 000707EBP1 • For a discussion of how the reliability of microcontrollers can be predicted, please refer to Section 1.3 of the chapter entitled Quality and Reliability Assurance / Handling Precautions. • TOSHIBA is continually working to improve the quality and reliability of its products. Nevertheless, semiconductor devices in general can malfunction or fail due to their inherent electrical sensitivity and vulnerability to physical stress. It is the responsibility of the buyer, when utilizing TOSHIBA products, to comply with the standards of safety in making a safe design for the entire system, and to avoid situations in which a malfunction or failure of such TOSHIBA products could cause loss of human life, bodily injury or damage to property. In developing your designs, please ensure that TOSHIBA products are used within specified operating ranges as set forth in the most recent TOSHIBA products specifications. Also, please keep in mind the precautions and conditions set forth in the “Handling Guide for Semiconductor Devices,” or “TOSHIBA Semiconductor Reliability Handbook” etc.. • The TOSHIBA products listed in this document are intended for usage in general electronics applications (computer, personal equipment, office equipment, measuring equipment, industrial robotics, domestic appliances, etc.). These TOSHIBA products are neither intended nor warranted for usage in equipment that requires extraordinarily high quality and/or reliability or a malfunction or failure of which may cause loss of human life or bodily injury (“Unintended Usage”). Unintended Usage include atomic energy control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments, combustion control instruments, medical instruments, all types of safety devices, etc.. Unintended Usage of TOSHIBA products listed in this document shall be made at the customer’s own risk. • The products described in this document are subject to the foreign exchange and foreign trade laws. • The information contained herein is presented only as a guide for the applications of our products. No responsibility is assumed by TOSHIBA CORPORATION for any infringements of intellectual property or other rights of the third parties which may result from its use. No license is granted by implication or otherwise under any intellectual property or other rights of TOSHIBA CORPORATION or others. • The information contained herein is subject to change without notice. Purchase of TOSHIBA I2C components conveys a license under the Philips I2C Patent Rights to use these components in an I2C system, provided that the system conforms to the I2C Standard Specification as defined by Philips. 88PU74-1 2003-02-17 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 (V24) P90 (V25) P91 (V26) P92 (V27) P93 (V28) P94 (V29) P95 (V30) P96 (V31) P97 (V32) PD0 (V33) PD1 (V34) PD2 (V35) PD3 (V36) PD4 VKK ( SCK1 ) P00 (SI1) P01 (SO1) P02 P03 P04 P05 P06 P07 VSS XOUT XIN RESET (XTOUT) P22 (XTIN) P21 TEST (STOP/INT5) P20 (INT0) P10 (INT1) P11 (TC2/PPG) P12 (DVO) P13 (PDO/PWM) P14 (TC1/INT3) P15 (INT2) P16 (INT4/TC3) P17 (SCL/SI0) P30 (SDA/SO0) P31 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 P87 (V23) P86 (V22) P85 (V21) P84 (V20) P83 (V19) P82 (V18) P81 (V17) P80 (V16) P77 (V15) P76 (V14) P75 (V13) P74 (V12) P73 (V11) P72 (V10) P71 (V9) P70 (V8) P67 (V7) P66 (V6) P65 (V5) P64 (V4) P63 (V3) P62 (V2) P61 (V1) P60 (V0) TMP88PU74 Pin Assignments (Top View) P-QFP80-1420-0.80B 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 88PU74-2 VDD VAREF VASS P53 (AIN11) P52 (AIN10) P51 (AIN9) P50 (AIN8) P47 (AIN7) P46 (AIN6) P45 (AIN5) P44 (AIN4) P43 (AIN3) P42 (AIN2) P41 (AIN1) P40 (AIN0) P32 ( SCK 0 ) 2003-02-17 TMP88PU74 Pin Function The TMP88PU74 has two modes: MCU and PROM. (1) MCU mode In this mode, the TMP88PU74 is pin compatible with the TMP88CU74 (fix the TEST pin at low level). (2) PROM mode Pin Name (PROM mode) Input/ Output Functions A16 A15 to A8 P60 Input PROM address inputs A7 to A0 D7 to D0 P05, P32 to 30, P53 to 50 P47 to P40 I/O CE OE Pin Name (MCU mode) Input PROM data input/outputs P17 to P10 Chip enable signal input (active low) P03 Output enable signal input (active low) P04 PGM Program mode single input P02 VPP +12.75 V/5 V (Program supply voltage) TEST + 6.25 V/5 V VDD 0V VSS VCC GND Power supply P37 to P30 Pull-up with resistance for input processing P47 to P41 P54 to P50 P01 P21 Input PROM mode setting pin. Be fixed at high level. P07, P06, P00 PROM mode setting pin. Be fixed at low level. P22, P20 RESET P67 to P61 P77 to P70 P87 to P80 Output Open P97 to P90 PD4 to PD0 XIN XOUT VAREF VASS VKK Input Output Power supply Connect an 10 MHz oscillator to stabilize the internal state. 0 V (GND) Open 88PU74-3 2003-02-17 TMP88PU74 Operational Description The configuration and functions of the TMP88PU74 are the same as those of the TMP88CU74, except in that a one-time PROM is used instead of an on-chip mask ROM. 1. Operating Mode The TMP88PU74 has two modes: MCU and PROM. 1.1 MCU Mode The MCU mode is activated by fixing the TEST/VPP pin at low level. In the MCU mode, operation is the same as with the TMP88CU74 (the TEST/VPP pin cannot be used open because it has no built-in pull-down resistance). 1.1.1 Program Memory The TMP88PU74 has a 96 Kbytes (addresses 04000H to 1BFFFH in the MCU mode, addresses 00000H to 17FFFH in the PROM mode) of program storage area and 256 byte (addresses FFF00 to FFFFFH in the MCU mode, addresses 1FF00 to 1FFFFH in the PROM mode) one-time PROM of vector table storage area. 00000H 00000H 04000H 04000H Program storage area Program storage area 1BFFFH 1BFFFH FFF00H 00000H Vector table storage area FFF00H 17FFFH Vector table storage area FFFFFH FFFFFH 1FF00H Vector table storage area 1FFFFH TMP88PU74 MCU mode TMP88CU74 MCU mode Program storage area TMP88PU74 PROM mode Note: Either write the data FFH to the unused area Figure 1.1.1 Program Storage Area 88PU74-4 2003-02-17 TMP88PU74 Electrical Characteristics Absolute Maximum Ratings Parameter (VSS = 0 V) Symbol Supply Voltage VDD Program Voltage VPP Input Voltage VIN VOUT1 Output Voltage Power Dissipation [Topr =25℃] Ratings Unit −0.3 to 6.5 −0.3 to 13.0 TEST/VPP −0.3 to VDD + 0.3 V −0.3 to VDD + 0.3 P2, P3 (at open drain) VDD − 40 to VDD + 0.3 VOUT2 P6, P7, P8, P9, PD IOUT1 P0, P1, P2, P4, P5 3.2 IOUT2 P6, P7, P8, P9, PD −25 ΣIOUT1 P0, P1, P3, P4, P5 −40 ΣIOUT2 P0, P1, P2, P3, P4, P5 120 ΣIOUT3 P6, P7, P8, P9, PD −160 Output Current (Per 1 pin) Output Current (Total) Pins PD (Note 2) 1200 Soldering Temperature (time) Tsld 260 (10 s) Storage Temperature Tstg −55 to + 125 Operating Temperature Topr −30 to 70 mA mW °C Note 1: The absolute maximum ratings are rated values which must not be exceeded during operation, even for an instant. Any one of the ratings must not be exceeded. If any absolute maximum rating is exceeded, a device may break down or its performance may be degraded, causing it to catch fire or explode resulting in injury to the user. Thus, when designing products which include this device, ensure that no absolute maximum rating value will ever be exceeded. Note 2: Power Dissipation (PD); For PD, it is necessary to decrease 14.3 mW/°C. (Refernce to TMP88CU74) Recommended Operating Conditions Parameter Symbol (VSS = 0 V, Topr = −30 to 70°C) Pins Conditions fc = 12.5 MHz Supply Voltage NORMAL1, 2 modes IDLE1, 2 fs = SLOW 32.768 KHz SLEEP VDD STOP Input High Voltage VIH1 Except hysteresis input VIH2 Hysteresis input VIH3 Input Low Voltage VIL1 Except hysteresis input VIL2 Hysteresis input fc XIN, XOUT Unit 4.5 modes 2.7 5.5 modes modes VDD ≥ 4.5 V VDD ≥ 4.5 V 2.0 VDD × 0.70 VDD × 0.75 V VDD VDD × 0.90 VDD × 0.30 0 VDD × 0.25 VDD × 0.10 VDD < 4.5 V XTIN, XTOUT Max modes VDD < 4.5 V VIL3 Clock Frequency Min VDD = 4.5 to 5.5 V(Note 2) 8 12.5 MHz VDD = 2.7 to 5.5 V 30.0 34.0 kHz Note 1: The recommended operating conditions for a device are operating conditions under which it can be guaranteed that the device will operate as specified. If the device is used under operating conditions other than the recommended operating conditions (supply voltage, operating temperature range, specified AC/DC values etc.), malfunction may occur. Thus, when designing products which include this device, ensure that the recommended operating conditions for the device are always adhered to. Note 2: Clock frequency fc: Supply voltage range is specified in NORMAL 1/2 mode and IDLE 1/2 mode. 88PU74-9 2003-02-17 TMP88PU74 DC Characteristics Parameter (VSS = 0 V, Topr = −30 to 70°C) Symbol Hysteresis Voltage Pins VHS Hysteresis input IIN1 TEST Input Current IIN2 IIN3 Open drain ports, Tri-state ports RESET , STOP Input Resistance RIN3 RESET Pull-down Resistance Output Leakage Current Conditions VDD = 5.5 V VIN = 5.5 V/0 V Min Typ. Max Unit 0.9 V ±2 µA 100 220 450 Source open drain ports VDD = 5.5 V, VKK = −30 V 50 80 110 ILO1 Sink open drain ports VDD = 5.5 V, VOUT = 5.5 V 2 ILO2 Source open drain ports −2 2 RK VDD = 5.5 V, VOUT = −32 V VDD = 5.5 V, µA ILO3 Tri-state ports Output High Voltage VOH Tri-state ports lOH = −0.7 mA 4.1 Output Low Voltage VOL Except XOUT VDD = 4.5 V, IOL = 1.6 mA 0.4 Output High current IOH P6, P7, P8, P9, PD port VDD = 4.5 V, VOH = 2.4 V −20 13.5 20 VOUT = 5.5 V/ 0V VDD = 4.5 V, VDD = 5.5 V V Supply Current in NORMAL 1, 2 modes VIN = 5.3 V/0.2 V Supply Current in IDLE 1, 2 modes fc = 12.5 MHz fs = 32.768 kHz 5.5 8.5 VDD = 3.0 V 30 60 15 30 0.5 10 Supply Current in SLOW mode IDD kΩ mA VIN = 2.8 V/0.2 V Supply Current in SLEEP mode fs = 32.768 kHz VDD = 5.5 V Supply Current in STOP mode VIN = 5.3 V/0.2 V µA Note 1: Typical values show those at Topr = 25°C, VDD = 5 V. Note 2: Input Current IIN3; The current through resistor is not included, when the input resistor (pull-up/pull-down) is contained. AD Conversion Characteristics Parameter Analog Reference Voltage (VSS = 0 V, VDD = 4.5 to 5.5 V, Topr = −30 to 70°C) Symbol VAREF VAIN Analog Input Voltage IREF Zero Point Error Full Scale Error Total Error Note: Min Typ. Max 4.5 ― VDD VSS VASS Analog Reference Voltage Range Nonlinearity Error Conditions VAREF = 5.5 V, VASS = 0.0 V VDD = 5.0 V, VSS = 0.0 V VAREF = 5.000 V VASS = 0.000 V Unit V VASS ― VAREF ― 0.5 1.0 ― ― ±1 ― ― ±1 ― ― ±1 ― ― ±2 mA LSB Quantizing error is not contained in those errors. 88PU74-10 2003-02-17 TMP88PU74 AC Characteristics (VSS = 0 V, VDD = 4.5 to 5.5 V, Topr = −30 to 70°C) Parameter Symbol Conditions Min Typ. Max 0.32 ― 0.5 117.6 ― 133.3 For external clock operation (XIN input), fc = 12.5 MHz 33.75 ― ― ns For external clock operation (XTIN input), fs = 32.768 kHz 14.7 ― ― µs In NORMAL1, 2 modes Machine Cycle Time In IDLE1, 2 modes tcy µs In SLOW mode In SLEEP mode High Level Clock Pulse Width tWCH Low Level Clock Pulse Width tWCL High Level Clock Pulse Width tWSH Low Level Clock Pulse Width tWSL Recommended Oscillating Conditions Parameter (VSS = 0 V, VDD = 4.5 to 5.5 V, Topr = −30 to 70°C) Oscillation Frequency Oscillator Recommended Oscillator Recommended Constant C1 Ceramic Resonator High-frequency Oscillation Low-frequency Oscillation C2 12.5 MHz Murata CSA12.5MTZ 30 pF 30 pF 8 MHz Murata CSA8.00MTZ 30 pF 30 pF Crystal Oscillator 12.5 MHz NDK AT-51 10 pF 10 pF Crystal Oscillator 32.768 KHz NDK MX-38T 15 pF 15 pF XIN C1 Unit XOUT XTIN C1 C2 (1) High-frequency Oscillation XTOUT C2 (2) Low-frequency Oscillation Note 1: An electrical shield by metal shied plate on the IC package should be recommend able in order to prevent the device from the high electric fieldstress applied for continuous reliable operation. Note 2: The product numbers and specifications of the resonators by Murata Manufacturing Co., Ltd. are subject to change. For up-to-date information, please refer to the following URL; http://www.murata.co.jp/search/index.html 88PU74-11 2003-02-17 TMP88PU74 DC/AC Characteristics (PROM mode) (VSS = 0 V) (1) Read operation (VDD = 5.0 ± 0.25 V, Topr = 25 ± 5°C) Parameter Symbol Input High Voltage (A0 to A16, CE , OE , PGM ) Conditions Min Typ. Max VIH4 VDD × 0.7 - VDD Input Low Voltage (A0 to A16, CE , OE , PGM ) VIL4 0 - 0.8 Program Power Supply Voltage VPP 4.75 5.0 5.25 Address Access Time tACC - 1.5tcyc + 300 - Unit V ns Note: tcyc = 400 ns at 10 MHz A16 to A0 CE OE PGM tACC High-Z D7 to D0 Data outputs 88PU74-12 2003-02-17 TMP88PU74 (2) High-speed programming operation (Topr = 25 ± 5°C, VDD = 6.25 ± 0.25 V) Parameter Symbol Input High Voltage (D0 to D7, A0 to A16 CE , OE , PGM ) VIH4 Input Low Voltage (D0 to D7, A0 to A16, CE , OE , PGM ) VIL4 Program Power Supply Voltage VPP Initial Program Pulse Width tPW Conditions VDD = 6.0 V Min Typ. Max VDD × 0.7 - VDD 0 - 0.8 12.5 12.75 13.0 0.095 0.1 0.105 Unit V ms High-program A16 to A0 CE OE D7 to D0 Unknown Input data Output data tPW PGM VPP Write Verify Note 1: When VCC power supply is turned on or after, VPP must be increased. When VCC power supply is turned off or before, VPP must be decreased. Note 2: The device must not be set to the EPROM programmer or picked up from it under applying the program voltage (12.75 V ± 0.5 V) to the VPP pin as the device is damaged. Note 3: Be sure to execute the recommended programing mode with the recommended programing adaptor. If a mode or an adaptor except the above, the misoperation sometimes occurs. 88PU74-13 2003-02-17