TOSHIBA TMP86CK74A/CM74A CMOS 8-Bit Microcontroller TMP86CK74AFG/TMP86CM74AFG TMP86CK74A/CM74A is a low power, high-speed and high-performance 8-bit single chip microcomputer, including large capacity ROM/RAM, input/output ports, multiple timer/counter, serial interface, 8-bit AD converter and VFT (Vacume Fluorescent Tube) driver. Product No. ROM RAM Package OTP MCU TMP K74AF 24K i 1K i settee eee BECK74AFG 24K x8 bits AK x8 bits P-QFP80-1420-0.80M TMP86PM74AFG TMP86CM74AFG 32 K x8 bits 2K x8 bits Features P-QFP80-1420-0.80M @ 8-bit single chip microcomputer TLCS-870/C series @ Minimum instruction execution time: 0.25 ws (at 16 MHz) 122 ws (at 32.768 kHz) @ 7831 basic machine instructions : 132 types @ 17 interrupt sources (External : 6, Internal : 11) @ Input/output ports : 70 pins TMP86CK74AFG @ 16-bit timer counters : 2 channels TMP86CM74AFG e TC1: Timer, Event counter, PPG (Programmable Pulse Generator) output, Pulse width measurement, External trigger timer, and Window modes @ TC2: Timer, Event counter,Window modes @ 8-bit timer counters : 2 channels e TC3: Timer, Event counter, Capture modes (Pulse width/duty measurement). e TC4: Timer, Event counter, PWM (Pulse width modulation) Output, PDO (Programmable Divider Output) 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. 86CM74A-1 2003-01-22TOSHIBA TMP86CK74A/CM74A @ Time base timer @ Watchdog timer Interrupt source @ Divider output function @ 4Key-on wake up pins @ Serial interface 8bit SIO: 1 channel (with 32 bytes Buffer) @ 8-bit successive approximation type AD converter @ Analog input: 8 channels @ Vacume flouorescent tube driver (automatic display) @ Programmable grid scan @ High breakdown voltage ports (max 40 V X 37 bits) @ Low consumption power (9 modes) @ Dual clock operation STOP mode SLOWI1 mode SLOW2 mode IDLEO mode IDLE1 mode IDLE2 mode SLLEP0O mode SLEEP1 mode : SLEEP2 mode : Oscillation stop (Battery/Capacitor back-up). Low consumption power operation by low-frequency clock (High-frequency clock stop.) Low consumption power operation by low-frequency clock (High-frequency clock oscillate.) CPU stops, and peripherals operate using high-frequency clock of Time-Base- Timer. Release by INTTBT interrupt. CPU stops, and peripherals operate using high-frequency clock. Release by interrupts. CPU stops, and peripherals operate using high and low-frequency clock. Release by interrupts. CPU stops, and peripherals operate using low-frequency clock of Time-Base- Timer. Release by INTTBT interrupt. CPU stops, and peripherals operate using low-frequency clock. Release by interrupts. CPU stops, and peripherals operate using high and low-frequency clock. Release by interrupts. @ Single/Dual-clock mode @ Wide operating voltage: 4.5 V to 5.5 V at 16 MHz/32.768 kHz 2.7 V to 5.5 V at 8 MHz/32.768 kHz 86CM74A-2 2003-01-22TMP86CK74A/CM74A P-QFP80-1420-0.80M Pin Assignments (Top View) TOSHIBA BFaA gaaa oo0o0 FEE Ee WM Ww Neveu PG He aAos 22222222 byideciddd SEYRowntgHane- onwondtdm itetrrrrtrrtttosegcs >>dtadnanaooaoadt & AF Ae Oonmnnmnnwunwnt mani - COMA On WOH TAM HOIAMHMMHIOMNN NNN (QEA) dd Coo I+ vc z0d (SEA) Edd Com Zr et 10d (VEA) 70d Cor eer ef 100d (EEA) 1d Comore LZ@for) AQ) ESd (ZEA) Odd Com St O@HTl (INI LOL) 24d (LEA) 246d Cor 947 6 Ltr (CLINI) LSd (OA) 96d COT /r SLOT @LNI) OSd (6ZA) S6d Cor 8 1) 0199) 41d (8ZA) 76d Cor 6r 9lfor) 5) 91d (ZZA) 6d Com 0s S Slfr7 (1s) Std (97A) @6d Com 1S oY plore (LN) wld (SZA) L6d Coma zs > elf 7 dd) eld (vZA) 06d Co s o ZL OO (Ol pOdd vIWd) 71d (ZA) 8d Co vs Oo LLP) (ELNI EDL) bd (Z@ZA) 98d Com ss Ee OLM (291) Old (LZA) 8d Comm 9s 6O07 (SINI dOLS) O@d (OZA) v89d Comm Pmax 842.5mW > 132 + 88X 18.69 > X Thus, a fluorescent display tube with less than 18 segments can be used. If a fluorescent display tube with 18 segments or more is used, either a pull-down resistor must be attached externally, or the number of segments to be lit must be kept to less than 18 by software. 86CM74A-133 2003-01-22TOSHIBA TMP86CK74A/CM74A DC Characteristics (Vpp = 5 V) [Condition] Vpp=5.0V + 10%, Vsg=Ayss = 0 V, Topr= - 30 to 70C (Typ. : Vpp = 5.0 V, Topr = 25C, Vin = 5.0 V/OV) Parameter Symbol Pins Condition Min | Typ. | Max | Unit Hysteresis Voltage Vus Hysteresis input - 0.9 - Vv lina TEST Input Current lin2 Sink Open-drain, Tri-st Vpp = 5.5 V, Vin =5.5V /0V - - +2 uA nz | RESET, STOP Input resistance Rin RESET Pull-UP 100 220 450 ka Pull-down resistance Re Source Open Drain Vpp=5.5V,Vig= -30V 50 80 110 Output Leakage lLon Sink Open-drain, Tri-st Vpp = 5.5 V, Vout = 5.5 V - - +2 Current ILo2 | Source Open-drain Vpp = 5.5 V, Vkx= -32V = = +2 uA Output High Voltage Vou Tri-st Vpp = 4.5 V, lon = -0.7mMA 4.1 - - Vv Output Low Voltage Vou Except XOUT, P3 Vpp=4.5V,loL=1.6mA - - 0.4 lon1 | P6, P7 Vpp = 4.5 V, Voy =2.4V -18| -28] - Output High Current lon2 | P8, P9, PD Vpp = 4.5 V, Von =2.4V -9 | -14 - Output Low Current lot High-current (P3) Vpp = 4.5 V, VoL=1.0V - 20 - fc= 16.0 MHz . fs = 32.768 KHz - 12 | 18 Supply Current in NORMAL1, 2 modes fe = 8.0 MHz AD converter 6 9 fs = 32.768 KHz Disable fc=16.0MHz _|(IREF off) mA = - 6 9 Supply Current in fs = 32.768 KHz IDLEQ, 1,2 modes fc = 8.0 MHz lbp fs = 32.768 KHz - 3 4.5 fe = 16.0 MHz Supply Current in fs=32.768KHz |ADconverter | ~ 13 | 19 NORMAL1, 2 modes Enable fc = 8.0 MHz fs = 32.768 KHz - 7 10 Supply Current in Topr= to 50 C AD converter _ 05 5 STOP mode Topr= to 70 C Disable 10 eN Note 3: Note 1: Typical values show those at Topr = 25C, Vpp = SV. Note2: Input current (liny, lin3) ; The current through pull-up or pull-down resistor is not included. {DD does not include [REF current. 86CM74A-134 2003-01-22TOSHIBA TMP86CK74A/CM74A DC Characteristics (Vpp = 3 V) [Condition] Vpp=3.0V + 10%, Vsg =Ayss = 0 V, Topr = - 30 to 70C (Typ. : Vpp = 3.0 V, Topr = 25C, Vin = 3.0 V/OV) Parameter Symbol Pins Condition Min | Typ. | Max | Unit Hysteresis Voltage Vus Hysteresis input - 0.4 - Vv lina | TEST Input Current lin2 Sink Open-drain, Tri-st Vpp =3.3V,Vin=3.3 V/0OV - - +2 uA ling | RESET, STOP Input resistance Rin RESET Pull-Up 100 220 450 ko Pull-down resistance Re Source Open Drain Vpp =3.3V,Vig= -30V 45 70 105 Output Leakage lLon Sink Open-drain, Tr-st Vpp = 3.3 V, Vout = 3.3 W/0 V - - +2 Current lloz | Source Open-drain Vop = 3.3 V, Vx= -32V - - +2 | A Output High Voltage Vou Tri-st Vpp = 2.7 V, lon = -0.6mA 2.3 - - Vv Output Low Voltage Vou Except XOUT, P3 Vpop=2.7V, lo, =0.9MA - - 0.4 I P6, P7 Vpp = 2.7 V, VoH=1.5V -5.5 -8 - Output High Current on pe OH lon2 | P8, P9, PD Vpp = 2.7 V, Von = 1.5V -3 | -45] - Output Low Current lot High-current (P3) Vpp =2.7V, VoL=1.0V - 6 - Supply Current in fc = 8.0 MHz NORMAL1, 2 modes fs=32.768KHz |ADconverter - 3 4.5 mA Disable Supply Current in fe = 8.0 MHz (IREF off) 2 25 IDLEO, 1, 2 modes fs = 32.768 KHz ~ , Supply Current in fc = 8.0 MHz AD converter NORMAL1, 2 modes fs = 32.768 KHz Enable ~ 3.5 5 Supply Current in SLOW1, 2 modes lp - 3 | 60 : fs = 32.768 KHz Supply Current in AD converter _ 15 30 a SLEEPO, 1, 2 modes Disable Supply Current in Topr= to 50 C 5 - 0.5 STOP mode Topr= to 70 C 10 Note?: Typical values show those at Topr = 25C, Vop = 3V. Note2: Input current (linq, lin3) ; The current through pull-up or pull-down resistor is not included. Note 3: [DD does not include IREF current. Note4: The supply currents of SLOW2 and SLEEP2 modes are equivalent to IDLEO, 1, 2. 86CM74A-135 2003-01-22TOSHIBA TMP86CK74A/CM74A AD Characteristics (Vs5 =Ayss =O V, 4.5 V S Vpp = 5.5V, Topr= 30 to 70C) Parameter Symbol Condition Min Typ. Max Unit Analog Reference Voltage VAREF Vpp - 1.5 - Vop Vv Analog Reerence Voltage Range Z\VarRer 3.0 - - Analog Input Voltage VaIN 0 - VaAREF Vv Vop = Varer=5.5V, _ Analog Supply Current IREF V55=0.0V 0.6 1.0 mA Non linearity Error - - +1 Zero Point Error Vop = Varer = 4.5 to 5.5V, _ _ +1 Vg = OV LSB Full Scale Error - - +1 Total Error _ _ + (Vss5 =Ayss =OV, 2.7 V S Vpp < 4.5 V, Topr = 30 to 70C) Parameter Symbol Condition Min Typ. Max Unit Analog Reference Voltage VaREF Vpp- 1.5 - Vop Vv Analog Reerence Voltage Range /\Varer 2.5 - - Analog Input Voltage VAIN 0 - VaRerF Vv Vpp = Varer=4.5V, _ Analog Supply Current IREF Vsg=0.0V 0.5 0.8 mA Non linearity Error - - + Zero Point Error Vop = Varer = 2.7 to 4.5V, - _ +1 Veg = OV LSB Full Scale Error - - + Total Error - - + Note 1: Total errors includes all errors, except quantization error, and is defined as a maximum deviation from the ideal conversion line. Note2: Conversion time is differant in recommended value by power supply voltage. About conversion time, please refer to 2.11.2 Register Configuration. Note3: Please use input voltage to AIN input pin in limit of Varer - Vss. When voltage of range outside is input, conversion value becomes unsettled and gives affect to other channel conversion value. Note4: Analog Reference Voltage Range; AVarer = Varer - Vss 86CM74A-136 2003-01-22TOSHIBA TMP86CK74A/CM74A AC Characteristics (Vss = OV, 4.5 V S Vpp = 5.5 V, Topr= 30 to 70C) Parameter Symbol Conditions Min Typ. Max Unit NORMAL1,2 mode . . IDLEO,1,2 mode 0.25 ~ 4 Machine Cycle Time tcyc ys SLOW 1,2 mode 117.6 _ 133.3 SLEEPO,1,2 mode High Level Clock Pulse Width tweH For external clack operation (XIN input) 31.25 ns Low Level Clock Pulse Width tweL fc = 16 MHz . High Level Clock Pulse Width twecH For external clack operation (XTIN input) - - 15.26 - (S Low Level Clock Pulse Width tweL fs = 32.768 kHz (Vss = OV, 2.7 V S Vpp & 4.5 V, Topr = 30 to 70C) Parameter Symbol Conditions Min Typ. Max Unit NORMAL1,2 mode IDLEO,1,2 mode 0-5 7 8 Machine Cycle Time teyc SLOW12mod us ve mons 117.6 - 133.3 SLEEPO,1,2 mode High Level Clock Pulse Width twcH For external clock operation (XIN input) _ 625 _ ns Low Level Clock Pulse Width tweL fc=8 MHz . High Level Clock Pulse Width twcH For external clock operation (XTIN input) - 15.26 - us Low Level Clock Pulse Width tweL fs = 32.768 kHz 86CM74A-137 2003-01-22TOSHIBA TMP86CK74A/CM74A HSIO AC Characteristics (Vss = OV, 2.7V S Vpp = 5.5V, Topr= 30 to 70C) Parameter Symbol Conditions Min Typ. Max Unit SCK output period (internal clock) Tscx4 16/fc - - SCK output low width (internal clock) T 8MHz < fe = 16MHz 8/fe 100ns - - as SOU Vpp = 4.5V 10 5.5 V SCK output high width (internal clock) Tscu4 8/fc 100ns - - SCK output period (internal clock) Tsck2