Under Development TMP88CH40 CMOS 8-Bit Microcontroller TMP88CH40N/M The TMP88CH40N/M are the high-speed and high-function 8-bit single-chip microcomputer which incorporates the TLCS-870/X Series CPU core, as well as a sine wave drive PMD (Programmable Motor Driver), a 10-bit AD converter, multi-function Timer/Counters, and synchronous/asynchronous serial interfaces. Product Type Name TMP88CH40N TMP88CH40M ROM RAM Package OTP 16 Kbytes 512 + 128 bytes P-SDIP28-400-1.78 TMP88PH40N P-SOP28-450-1.27 TMP88PH40M Features ♦ 8-bit single-chip microcomputer: TLCS-870/X Series ♦ Minimum instruction execution time: 0.20 µs (at 20.0 MHz operation) ♦ Fundamental machine instruction: 181 kinds, 842 instructions ♦ I/O port: 19 pins • Large-current output: 14 pins (typ. 20 mA), capable of LED direct drive ♦ Watchdog Timer (WDT) ♦ Time Base Timer (TBT) ♦ Programmable motor driver: 1 channel (PMD2) • Sine wave drive circuit (RAM for sine wave data is incorporated.) • Rotor position detection function • Timer and capture function for montor controlling • Overload protective function • Start functions for automatic commutation and automatic position detection P-SDIP28-400-1.78 TMP88CH40N P-SOP28-450-1.27 -0.80D TMP88CH40M 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. 1 2002-02-05 Under Development TMP88CH40 ♦ 16-Bit Timer/Counter: 1 channel (TC1) ♦ 8-Bit Timer/Counter: 2 channels (TC3, TC4) • TC3: Timer • TC4: Timer, UART baud rate ♦ 10-bit successive approximation type AD converter (with sample-and-hold) • Analog input: 4 channels ♦ Serial interface: 2 channels (SIO and UART use the same I/O pins) • 8-bit SIO (synchronous): 1 channel • 8-bit UART (asynchronous): 1 channel ♦ Low power dissipation mode • IDLE mode: Halts CPU and operates only peripheral hardware. IDLE mode is reset by an interrupt. (CPU is restarted.) • Operating voltage: 4.5 to 5.5 V at 8 to 20 MHz 2 2002-02-05 Under Development TMP88CH40 Pin Assignments P-SDIP28-400-1.78, P-SOP28-450-1.27 VSS 1 28 AVSS XIN XOUT 2 3 27 26 AVDD VAREF TEST 4 25 P63 (AIN3) VDD 5 6 24 23 P62 (AIN2) P61 (A IN1) RESET 7 SDIP28 SOP28 22 P60 (AIN0) (X1) P32 8 9 21 20 P10 ( INT0 ) P45 (SO, TXD) (W1) P33 10 19 P44 (SI, RXD) (V1) P34 (U1) P35 11 12 18 17 P43 ( SCK ) P42 (PDU1) ( EMG1 ) P36 ( CL1 ) P37 13 16 P41 (PDV1) 14 15 P40 (PDW1) (Z1) P30 (Y1) P31 Block Diagram TMP88CH40 System Controller TBT TLCS -870/X WDT CPU Core Data Memory Motor Controlling RAM Circuit (512 + 128 bytes) Program Memory Timing Generator PMD2 (1 ch) ROM (16 Kbytes) Clock Generator Interrupt Controller TC1 TC3 TC4 16-Bit Timer/Counter 8-Bit Timer/Counter 8-Bit Timer/Counter P1 P3 10-Bit AD Converter Serial I/O 4 ch UART SIO Port Tri-St (Hysteresis) Tri-St/O.D. (Hysteresis) Nch large current P4 P6 Tri-St/O.D. (Hysteresis) Nch large current Tri-St r Tri-St: Tri -state I/O O.D.: Sink open-drain output Tri-St/O.D.: Tri -state I/O and Sink open-drain output (Hysteresis): Hysteresis input Nch large current: Large curre nt output 3 2002-02-05 Under Development Specification List (compared to the TMP88CS43F) Product Function Package TMP88CH40 ( : Incorporated, −: Not incorporated) TMP88CS43F TMP88CH40N/M P-QFP80-1420-0.80 P-SDIP28-400-1.78 P-SOP28-450-1.27 ROM (byte) 64 K 16 K RAM (byte) 2 K + 128 512 + 128 CPU Core TLCS -870/X TLCS -870/X Operating range (fc = 8 − 20 MHz) 4.5 to 5.5 V 4.5 to 5.5 V Number of I/O ports PMD (Sine wave control circuit) 16-bit TC 71 19 2 ch 1 ch TC1 (TC1B) (Note) − CTC (CTC1) TC3 (TC3C) (Note) 8-bit TC4 (TC5B) (can be used as UART baud rate) TC TC5 (TC6) Suitable for cascade connection, − TC6 (TC6) and used as a 16-bit timer. − (Note) High-speed PWM 2 ch − 10-bit AD converter 16 ch 4 ch Serial Communication 1 ch (Pins are selectable) UART SIO 1 ch 1 ch (Uses the same I/O pins with SIO.) 1 ch (Uses the same I/O pins with UART.) TBT WDT − DVO − Standby Port 0 Port 1 Port 2 Output: Tri -state/Programmable open-drain Input: Schmitt Output: Tri -state Input: Schmitt Output: Open-drain Input: Schmitt P00 to P03 − P10 to P17 P10 P20 to P22 − P30 to P37 P30 to P37 P40 to P47 P40 to P45 P50 to P57 − P60 to P67 P60 to P63 P70 to P77 − P80 to P87 − P90 to P97 − TMP88PS43F TMP88PH40N/M Output: Tri -state/Programmable open-drain Port 3 Nch large current Input: Schmitt Output: Tri -state/Programmable open-drain Port 4 Nch large current Input: Schmitt Output: Tri -state/Programmable open-drain Port 5 Nch large current Input: Schmitt Port 6 Port 7 Port 8 Port 9 Output: Tri -state Input: Normal Output: Tri -state Input: Normal Output: Tri -state/Programmable open-drain Input: Normal Output: T ri-state/Programmable open-drain Input: Normal OTP Note: No timer I/O pin 4 2002-02-05