TMP86PM29B
CMOS 8-Bit Microcontroller
TMP86PM29BU/BF
The TMP86PM29B is a OTP type MCU which includes 32 Kbyte One-time PROM. It is a pin
compatible with a mask ROM product of the TMP86C829B/H29B/M29B. Writing the program to
built-in PROM, the TMP86PM29B operates as the same way as the TMP86C829B/H29B/M29B.
Also, this product has upper compatibility for TMP86CH21 and TMP86C420/820 and can be used as
an one-time PROM for these products. Please refer to detail “Functional differences of product
basis”. Using the Adapter socket, you can write and verify the data for the TMP86PM29B with a
general-purpose PROM programmer same as TC571000D/AD.
Product No.
TMP86PM29BU
TMP86PM29BF
OTP
32 K
8-bit
RAM
1.5 K
8 bit
Package
P-LQFP64-1010-0.50
P-QFP64-1414-0.80A
Adapter Socket
BM11162
BM11163
P-LQFP64-1010-0.50
TMP86PM29BU
P-QFP64-1414-0.80A
TMP86PM29BF
030619EBP1
• The information contained herein is subject to change without notice.
• The information contained herein is presented only as a guide for the applications of our products. No responsibility is assumed by
TOSHIBA for any infringements of patents or other rights of the third parties which may result from its use. No license is granted by
implication or otherwise under any patent or patent rights of TOSHIBA or others.
• 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 malfunctionor
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.
• TOSHIBA products should not be embedded to the downstream products which are prohibited to be produced and sold, under any law
and regulations.
• 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.
86PM29B-1
2003-07-03
TMP86PM29B
Functional Differences on Product Basis
TMP86C829B/H29B/M29B
Input/output ports
Package
Instruction execution time
Operating voltage
18-bit timer counter
8-bit timer counter
Time base timer
Watchdog timer
AD converter
UART
SIO
LCD driver
Operating temperature
10 bit
8 ch
1 ch
(Note)
32 seg
4 com
40 to 85 C
TMP86CH21
39 pins
P-LQFP64-1010-0.50
P-QFP64-1414-0.80A
0.25 s (at 16 MHz )
122 s (at 32.768 kHz)
TMP86C420/820
1.8 to 5.5 V @ 4.2 MHz/32.768 kHz
2.7 to 5.5 V @ 8 MHz/32.768 kHz
4.5 to 5.5 V @ 16 MHz/32.768 kHz
1 ch
(ECIN input is both edge or single edge)
4 ch
1 ch
1 ch
8 bit
8ch
1 ch
1 ch
(ECIN is single edge)
2 ch
Note: UART and SIO can not use function synchronously because each function pin is shared.
86PM29B-2
2003-07-03
TMP86PM29B
Pin Assignments (Top View)
SEG3/A3
SEG4/A4
SEG5/A5
SEG6/A6
SEG7/A7
P77 (SEG8)/D7
P76 (SEG9)/D6
P75 (SEG10)/D5
P74 (SEG11)/D4
P73 (SEG12)/D3
P72 (SEG13)/D2
P71 (SEG14)/D1
P70 (SEG15)/D0
P57 (SEG16)/A15
P56 (SEG17)/A14
P55 (SEG18)/A13
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
P-LQFP64-1010-0.50
P-QFP64-1414-0.80A
VSS
XIN
XOUT
VPP/TEST
VCC/VDD
(XTIN) P21
(XTOUT) P22
RESET
(STOP/INT5) P20
(AIN0) P60
(AIN1/ECIN) P61
(AIN2/ECNT) P62
(AIN3/INT0) P63
(AIN4/STOP2) P64
(AIN5/STOP3) P65
(AIN6/STOP4) P66
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
A2/SEG2
A1/SEG1
A0/SEG0
COM3
COM2
COM1
COM0
V3
V2
V1
C1
C0
(DVO) P30
(PWM3/PDO3/TC3) P31
(PWM4/PDO4/PPG4/TC4) P32
(PWM6/PDO6/PPG6/TC6) P33
P54 (SEG19)/A12
P53 (SEG20)/A11
P52 (SEG21)/A10
P51 (SEG22)/A9
P50 (SEG23)/A8
P17 (SEG24/SCK)
P16 (SEG25/TXD/SO)
P15 (SEG26/RXD/SI)/PGM
P14 (SEG27/INT3)/OE
P13 (SEG28/INT2)/CE
P12 (SEG29/INT1)
P11 (SEG30)
P10 (SEG31)
AVDD
VAREF
P67 (AIN7/STOP5)
86PM29B-3
2003-07-03
TMP86PM29B
Pin Function
The TMP86PM29B has MCU mode and PROM mode.
(1)
MCU mode
In the MCU mode, the TMP86PM29B is a pin compatible with the TMP86C420/820,
TMP86CH21 and TMP86C829B/H29B/M29B (Make sure to fix the TEST pin to low level).
However, TMP86C420/820 have not timer/counter 6 input/ouput and UART input/output.
(2)
PROM mode
Pin Name
A15 to A8
A7 to A0
D7 to D0
CE
OE
PGM
VPP
VCC, AVDD
GND, VAREF
P11, P21
P10, P22, P20, P61
RESET
P64, P65, P67
P17, P16, P12
P66, P63, P62, P60
P33 to P30
COM3 to COM0
V3 to V1
C1, C0
XIN
XOUT
Input
Output
Self oscillation with resonator (8 MHz).
I/O
Open
Output
I/O
Power supply
Input
Input/Output
Input
I/O
Functions
Input of memory address for program
Pin Name (MCU mode)
P57 to P50
SEG7 to SEG0
P13
P14
P15
VDD, AVDD
VSS, VAREF
Input/Output of memory data for program P77 to P70
Chip enable
Output enable
Program control
6.25 V/5 V
0V
PROM mode setting pin. Fix to high.
PROM mode setting pin. Fix to low.
Output pin for PROM operation test. Open or release.
12.75 V/5 V (Power supply of program) TEST
Note: No pin is applied to A16 input.
86PM29B-4
2003-07-03
TMP86PM29B
Operation
This section describes the functions and basic operational blocks of TMP86PM29B.
The TMP86PM29B has PROM in place of the mask ROM which is included in the TMP86C420/
820, TMP86CH21 and TMP86C829B/H29B/M29B. The configuration and function are the same as
the mask ROM products. For TMP86C420/820 and TMP86CH21, however, some functions have been
partially changed or deleted.
In addition, TMP86PM29B operates as the single clock mode when releasing reset.
When using the dual clock mode, oscillate a low-frequency clock by SET. XTEN command at the
beginning of program.
1. Operating Mode
The TMP86PM29B has MCU mode and PROM mode.
1.1
MCU Mode
The MCU mode is set by fixing the TEST/VPP pin to the low level. (TEST/VPP pin cannot be
used open because it has no built-in pull-down resister).
1.1.1
Program Memory
The TMP86PM29B has a 32-Kbyte built-in one time PROM (addresses 8000
H
to FFFF
H
in the
MCU mode, addresses 0000 to 7FFF
H
in the PROM mode).
When using TMP86PM29B for evaluation of mask ROM products, the program is written in the
program storing area shown in Figure 1.1.1.
86PM29B-5
2003-07-03