FUJITSU MB89145V2P-SH

FUJITSU SEMICONDUCTOR
DATA SHEET
DS07-12522-3E
8-bit Proprietary Microcontroller
CMOS
F2MC-8L MB89140 Series
MB89145/146 and MB89P147/PV140
■ DESCRIPTION
The MB89140 series is a line of single-chip microcontrollers that use the F2MC*-8L CPU core which can operate
at low voltage but at high speed. The MB89140 series contains a variety of peripheral functions, such as timers,
a serial interface, an A/D converter, and an external interrupt. The MB89140 series is applicable to a wide range
of applications from welfare products to industrial equipment, including portable devices.
*: F2MC stands for FUJITSU Flexible Microcontroller.
■ FEATURES
• Minimum execution time: 0.5 µs/8-MHz oscillation
• F2MC-8L family CPU core
Instruction set optimized for controllers
Multiplication and division instructions
16-bit arithmetic operations
Test and branch instructions
Bit manipulation instructions, etc.
(Continued)
■ PACKAGES
64-pin Plastic SH-DIP
64-pin Plastic QFP
64-pin Ceramic MDIP
(DIP-64P-M01)
(FPT-64P-M06)
(MDP-64C-P02)
64-pin Ceramic MQFP
(MQP-64C-P01)
MB89140 Series
(Continued)
• Low-voltage operation (when an A/D converter is not used)
• Low current consumption (compatible with dual-clock system)
• High-voltage ports on chip
• Five types of timers
8-bit PWM timer (also usable as a reload timer)
12-bit MPG timer (also usable as a PPG output, PWM output, and reload timer)
8/16-bit timer (also usable as two 8-bit timers)
21-bit time-base timer
• One serial interface
Swichable transfer direction allows communication with various equipment.
• 10-bit A/D converter: 12 channels
Successive approximation type
• External interrupt: 2 channels
Two channels are independent and capable of wake-up from low-power consumption modes. (Rising edge,
falling edge/both edges selectability)
–0.3 V to +7.0 V can be applied to INT1 (N-ch open-drain)
• Low-power consumption modes
Stop mode (Oscillation stops to minimize the current consumption.)
Sleep mode (The CPU stops to reduce the current consumption to approx. 1/3 of normal.)
Subclock mode
Watch mode
• Reset output and power-on reset selectability
2
MB89140 Series
■ PRODUCT LINEUP
Part number
MB89145
MB89146
MB89P147
MB89PV140
Parameter
Classification
Mass production products
(mask ROM products)
ROM size
16 K × 8 bits
(internal mask
ROM)
24 K × 8 bits
(internal mask
ROM)
RAM size
512 × 8 bits
768 × 8 bits
CPU functions
Number of instructions:
Instruction bit length:
Instruction length:
Data bit length:
Minimum execution time:
Interrupt processing time:
Note:
Ports
High-voltage output port
(P-ch open-drain):
Buzzer output
(P-ch open-drain, high-voltage):
Output ports (CMOS):
Input ports (CMOS):
I/O ports (CMOS):
I/O ports (N-ch open-drain):
Total:
Clock timer
8-bit PWM timer
(timer 1)
12-bit MPG
(timer 4)
8/16-bit timer
counter
(timer 2, 3)
One-time PROM/
EPROM product
Piggyback/
evaluation product
(for evaluation and
development)
32 K × 8 bits
(internal PROM)
32 K × 8 bits
(external ROM)
1 K × 8 bits
136
8 bits
1 to 3 bytes
1, 8, 16 bits
0.5 µs/8 MHz to 8.0 µs/8 MHz, 61 µs/32.768 kHz
4.5 µs/8 MHz to 72.0 µs/8 MHz, 562.5 µs/32.768 kHz
The above times change according to the gear function.
8 (P60 to P67, for heavy current) 16 (P40 to P47, P50 to
P57 for low current)
1 (heavy current)
4 (P20 to P23)
2 (P70 and P71, function as X0A and XIA pins when
dual-clock system is used.)
23 (P00 to P07, P10 to P17, P30, and P32 to P37)
1 (P31)
55
21 bits × 1 (in main clock mode), 15 bits × 1 (at 32.768 kHz)
8-bit timer operation
(toggled output capable, operating clock: 1, 2, 8, 16 system clock cycles)
8-bit resolution PWM operation
(conversion cycle: 128 µs to 2.0 ms at 8.0-MHz oscillation, and highest gear speed)
12-bit resolution PWM operation (maximum conversion cycle of 2048.4 µs to 16.4 ms at
8.0 MHz-oscillation, and highest gear speed)
12-bit resolution reload timer operation (toggled output capable)
12-bit resolution PPG operation (minimum resolution of 0.5 µs at 8.0-MHz oscillation, and
highest gear speed)
8/16-bit timer operation (operating clock, internal clock, external trigger)
8/16-bit event counter operation (Rising edge/falling edge/both edges selectability)
(Continued)
3
MB89140 Series
(Continued)
Part number
MB89145
Parameter
8-bit serial I/O
MB89146
MB89P147
MB89PV140
8 bits
LSB first/MSB first selectability
One clock selectable from four transfer clocks
(one external shift clock, three internal shift clocks: 4, 8, 16 system clock cycles)
10-bit resolution × 12 channels
A/D conversion mode (conversion time of 16.5 µs/8 MHz, and highest gear speed)
Sense mode (conversion time of 9.0 µs/8 MHz, and highest gear speed)
External activation capable
10-bit A/D
converter
External interrupt
2 independent channels (edge selection, interrupt vector, source flag)
Rising edge/falling edge/both edges selectability
Built-in analog noise canceller
Used also for wake-up from stop/sleep mode. (Edge detection is also permitted in stop mode.)
Standby mode
Sleep mode, stop mode, watch mode, and subclock mode
Process
CMOS
Operating
voltage*
2.7 V to 6.0 V
EPROM for use
MBM27C256A-20TV
MBM27C256A-20CZ
* : Varies with conditions such as the operating frequency. (See section “■ ELECTRICAL CHARACTERISTICS.”)
■ PACKAGE AND CORRESPONDING PRODUCTS
MB89145
MB89146
MB89P147
Package
MB89PV140
DIP-64P-M01
×
FPT-64P-M06
×
MDP-64C-P02
×
MQP-64C-P01
×
: Available
× : Not available
Note: For more information about each package, see section “■ PACKAGE DIMENSIONS.”
4
MB89140 Series
■ DIFFERENCES AMONG PRODUCTS
1. Memory Size
Before evaluating using the piggyback product, verify its differences from the product that will actually be used.
Take particular care on the following points:
• On the MB89P147, the program area starts from address 8007H but on the MB89PV140 starts from 8000H.
(On the MB89P147, addresses 8000H to 8006H comprise the option setting area, option settings can be read
by reading these addresses. On the MB89PV140, addresses 8000H to 8006H could also be used as a program
ROM. However, do not use these addresses in order to maintain compatibility of the MB89P147.)
• The stack area, etc., is set at the upper limit of the RAM.
2. Current Consumption
• In the case of the MB89PV140, add the current consumed by the EPROM which is connected to the top socket.
• When operated at low speed, the product with an OTPROM (one-time PROM) or an EPROM will consume
more current than the product with a mask ROM.
However, the current consumption in sleep/stop modes is the same. (For more information, see section
“■ ELECTRICAL CHARACTERISTICS.”)
3. Mask Options
Functions that can be selected as options and how to designate these options vary by the product. Before using
options check section “■ MASK OPTIONS.”
Take particular care on the following points:
• Options are fixed on the MB89PV140.
• On the MB89P147, MB89145, and MB89146, the pull-down resistor option can either be selected for all affected
pins, or for no pin; it is not possible to specify the pull-down resistor option for individual pins.
4. Subclock Oscillation Feedback Resistor
A built-in oscillation feedback resistor is provided for the subclock oscillator pin on the MB89PV140, but it is not
provided for the MB89145, MB89146, MB89P147. Therefor these products should be connected to an external
oscillation feedback resistor.
5
MB89140 Series
■ PIN ASSIGNMENT
(Top view)
BZ
P67
P66
P65
P64
P63
P62
P61
P60
VFDP
P57
P56
P55
P54
P53
P52
P51
P50
P47
P46
P45
P44
P43
P42
P41
P40
P23/WDG
RST
MODA
X0
X1
VSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
A15/VPP
A12
A7
A6
A5
A4
A3
A2
A1
A0
O1
O2
O3
VSS
65
66
67
68
69
70
71
72
73
74
75
76
77
78
92
91
90
89
88
87
86
85
84
83
82
81
80
79
VCC
A14
A13
A8
A9
A11
OE
A10
CE
O8
O7
O6
O5
O4
Each pin inside the dashed line
is for the MB89PV140 only.
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
VCC
AVCC
AVSS
P00/AN0
P01/AN1
P02/AN2
P03/AN3
P04/AN4
P05/AN5
P06/AN6
P07/AN7
P10/AN8
P11/AN9
P12/ANA
P13/ANB
P14
P15
P16
P17/ADST
P30/INT0/TRG
P31/INT1
P32/SCK
P33/SO
P34/SI
P35/EC
P36/PWO1
P37/DTTI
P20
P21/PWO0
P22
P70/X0A*
P71/X1A*
(DIP-64P-M01)
(MDP-64C-P02)
*: When dual-clock system is selected.
6
MB89140 Series
64
63
62
61
60
59
58
57
56
55
54
53
52
P62
P63
P64
P65
P66
P67
BZ
VCC
AVCC
AVSS
P00/AN0
P01/AN1
P02/AN2
(Top view)
84
83
82
81
80
79
78
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
85
86
87
88
89
90
91
92
93
77
76
75
74
73
72
71
70
69
94
95
96
65
66
67
68
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Each pin inside the dashed line
is for the MB89PV140 only.
P03/AN3
P04/AN4
P05/AN5
P06/AN6
P07/AN7
P10/AN8
P11/AN9
P12/ANA
P13/ANB
P14
P15
P16
P17/ADST
P30/INT0/TRG
P31/INT1
P32/SCK
P33/SO
P34/SI
P35/EC
P23/WDG
RST
MODA
X0
X1
VSS
P71/X1A*
P70/X0A*
P22
P21/PWO0
P20
P37/DTTI
P36/PWO1
20
21
22
23
24
25
26
27
28
29
30
31
32
P61
P60
VFDP
P57
P56
P55
P54
P53
P52
P51
P50
P47
P46
P45
P44
P43
P42
P41
P40
(FPT-64P-M06)
(MQP-64C-P01)
*: When dual-clock system is selected.
• Pin assignment on package top (MB89PV140 only)
Pin no.
Pin name
Pin no.
Pin name
Pin no.
Pin name
Pin no.
Pin name
65
N.C.
73
A2
81
N.C.
89
OE
66
A15/VPP
74
A1
82
O4
90
N.C.
67
A12
75
A0
83
O5
91
A11
68
A7
76
N.C.
84
O6
92
A9
69
A6
77
O1
85
O7
93
A8
70
A5
78
O2
86
O8
94
A13
71
A4
79
O3
87
CE
95
A14
72
A3
80
VSS
88
A10
96
VCC
N.C.: Internally connected. Do not use.
7
MB89140 Series
■ PIN DESCRIPTION
Pin no.
QFP*3
MQFP*4
30
23
X0
31
24
X1
29
22
28
21
54 to 61
Circuit
type
Function
A
Main clock crystal oscillator pins
MODA
C
Operating mode selection pin
Connect directly to VSS in normal operation. This pin
functions as the VPP pin in EPROM products.
RST
D
Reset I/O pin
This pin is an N-ch open-drain output type with a pull-up
resistor, and a hysteresis input type.
“L” is output from this pin by an internal reset source
when the option is set. The internal circuit is initialized
by the input of “L”.
This pin is with a noise canceller.
47 to 54
P07/AN7 to
P00/AN0
G
General-purpose I/O ports
The input is a hysteresis input type and with a built-in
noise canceller. Although these ports also serve as an
analog input, analog input does not pass through the
hysteresis input noise canceller.
46
39
P17/ADST
J
General-purpose I/O port
The input is a hysteresis input type and with a built-in
noise canceller. Also serves as an A/D converter
external activation.
47 to 49
40 to 42
P16 to P14
J
General-purpose I/O ports
The input is a hysteresis input type and with a built-in
noise canceller.
50 to 53
43 to 46
P13/ANB to
P10/AN8
G
General-purpose I/O ports
The input is a hysteresis input type and with a built-in
noise canceller. Although these ports also serves as an
analog input, analog input does not pass through the
hysteresis input noise canceller.
34,
33
27,
26
P70/X0A,
P71/X1A
B/K
General-purpose I/O ports with a built-in noise
canceller
(single-clock operation)
Function as subclock crystal oscillator pins. (dual-clock
operation)
35
28
P22
E
General-purpose output port
27
20
P23/WDG
E
General-purpose output port
Also serves as a watchdog output.
36
29
P21/PWO0
E
General-purpose output port
Also serves as the PWM output for the 8-bit PWM timer.
37
30
P20
E
General-purpose output port
*1:
*2:
*3:
*4:
8
Pin name
SDIP*1
MDIP*2
DIP-64P-M01
MDP-64C-P02
FPT-64P-M06
MQP-64C-P01
(Continued)
MB89140 Series
Pin no.
Circuit
type
Function
P37/DTTI
J
General-purpose I/O port
The input is a hysteresis input type and with a built-in
noise canceller. When overcurrent is detected, the 12bit MPG output can be inactivated by the external edge
input.
32
P36/PWO1
J
General-purpose I/O port
The input is a hysteresis input type and with a built-in
noise canceller. Also serves as a 12-bit MPG output.
40
33
P35/EC
J
General-purpose I/O port
The input is a hysteresis input type and with a built-in
noise canceller. Also serves as the external clock input
for the 8/16-bit timer/counter.
41
34
P34/SI
J
General-purpose I/O port
The input is a hysteresis input type and with a built-in
noise canceller. Also serves as the serial data input for
the 8-bit serial interface.
42
35
P33/SO
J
General-purpose I/O port
The input is a hysteresis input type and with a built-in
noise canceller. Also serves as the serial data output
for the 8-bit serial interface.
43
36
P32/SCK
J
General-purpose I/O port
The input is a hysteresis input type and with a built-in
noise canceller. Also serves as the serial transfer clock
for the 8-bit serial interface.
44
37
P31/INT1
F
General-purpose I/O port
The output is an N-ch open-drain type. The input is a
hysteresis input type and with a built-in noise canceller.
Also serves as an external interrupt. The interrupt
input is also a hysteresis input type and with a built-in
noise canceller.
45
38
P30/INT0/TRG
J
General-purpose I/O port
The input is a hysteresis input type and with a built-in
noise canceller. Also serve as an external interrupt or
as an MPG trigger input. The interrupt input is also a
hysteresis input type and with a built-in noise canceller.
1
58
BZ
I
Buzzer output-only pin
P-ch high-voltage open-drain output port
19 to 26,
11 to 18
12 to 19,
4 to 11
P47 to P40,
P57 to P50
H
Low-current P-ch high-voltage open-drain output ports
Products with and without a built-in pull-down resistor
between these pins and the VFDP pin are provided.
*1
*1:
*2:
*3:
*4:
SDIP
MDIP*2
QFP*3
MQFP*4
38
31
39
DIP-64P-M01
MDP-64C-P02
FPT-64P-M06
MQP-64C-P01
Pin name
(Continued)
9
MB89140 Series
(Continued)
Pin no.
SDIP*1
MDIP*2
2 to 9
*1:
*2:
*3:
*4:
10
QFP*3
MQFP*4
59 to 64
1, 2
Pin name
Circuit
type
Function
P67 to P60
H
Heavy-current P-ch high-voltage open-drain output
port
Products with and without a built-in pull-down resistor
between these pins and the VFDP pin are provided.
10
3
VFDP
—
Voltage supply pin for connection to a pull-down
resistor for ports 4, 5, and 6. In products without a
built-in pull-down resistor and in the MB89PV140, this
pin should be left open.
64
57
VCC
—
Power supply pin
32
25
VSS
—
Power supply (GND) pin
63
56
AVCC
—
A/D converter power supply pin
Use this pin at the same voltage as VCC.
62
55
AVSS
—
A/D converter power supply (GND) pin
Use this pin at the same voltage as VSS.
DIP-64P-M01
MDP-64C-P02
FPT-64P-M06
MQP-64C-P01
MB89140 Series
• External EPROM pins (MB89PV140 only)
Pin no.
*3
*1:
*2:
*3:
*4:
Pin name
I/O
Function
SDIP
MDIP*4
QFP*1
MQFP*2
65
66
A15/VPP
O
“H” level output pin
66
67
68
69
70
71
72
73
74
67
68
69
70
71
72
73
74
75
A12
A7
A6
A5
A4
A3
A2
A1
A0
O
Address output pins
75
76
77
77
78
79
O1
O2
O3
I
Data input pins
78
80
VSS
O
Power supply (GND) pin
79
80
81
82
83
82
83
84
85
86
O4
O5
O6
O7
O8
I
Data input pins
84
87
CE
O
ROM chip enable pin
Outputs “H” during standby.
85
88
A10
O
Address output pin
86
89
OE
O
ROM output enable pin
Outputs “L” at all times.
87
88
89
91
92
93
A11
A9
A8
O
Address output pins
90
94
A13
91
95
A14
92
96
VCC
O
EPROM power supply pin
—
65
76
81
90
N.C.
—
Internally connected pins
Be sure to leave them open.
DIP-64P-M01
MDP-64C-P02
FPT-64P-M06
MQP-64C-P01
11
MB89140 Series
■ I/O CIRCUIT TYPE
Type
A
Circuit
Remarks
• Crystal or ceramic oscillation type (main clock)
• At an oscillation feedback resistor of approximately
1 MΩ/5.0 V
X1
X0
Standby control signal
B
• Crystal or ceramic oscillation type (subclock)
• At an oscillation feedback resistor of approximately
4.5 MΩ/5.0 V
(The built-in feedback resistor is not provided except
on the MB89PV140-102.)
X1A
X0A
Standby control signal
C
D
R
P-ch
• At an output pull-up resistor (P-ch) of approximately
50 kΩ/5.0 V
• CMOS hysteresis input
(with noise canceller)
N-ch
Hysteresis input (with noise canceller)
E
• CMOS output
P-ch
N-ch
F
N-ch
• N-ch open-drain output
• CMOS hysteresis input
(with noise canceller)
Hysteresis input (with noise canceller)
(Continued)
12
MB89140 Series
(Continued)
Type
Circuit
Remarks
G
• CMOS output
• CMOS hysteresis input
(with noise canceller, except analog input)
P-ch
N-ch
Port
Hysteresis input (with noise canceller)
Analog input
H
• P-ch high-voltage open-drain output
• Products with and without a built-in pull-down resistor
are provided (except the MB89PV140).
P-ch
VFDP
I
• P-ch high-voltage open-drain output
P-ch
J
• CMOS output
• CMOS hysteresis input
(with noise canceller)
• Pull-up resistor optional
P-ch
N-ch
Port
Hysteresis input (with noise canceller)
K
Port
• CMOS hysteresis input
(with noise canceller)
Hysteresis input (with noise canceller)
13
MB89140 Series
■ HANDLING DEVICES
1. Preventing Latchup
Latchup may occur on CMOS ICs if voltage higher than VCC or lower than VSS is applied to input and output pins
other than medium- to high-voltage pins or if higher than the voltage which shows on “1. Absolute Maximum
Ratings” in section “■ ELECTRICAL CHARACTERISTICS” is applied between VCC and VSS. (However, up to
7.0 V can be applied to P31/INT pin, regardless of VCC)
When latchup occurs, power supply current increases rapidly and might thermally damage elements. When
using, take great care not to exceed the absolute maximum ratings.
2. Treatment of Unused Input Pins
Leaving unused input pins open could cause malfunctions. They should be connected to a pull-up or pull-down
resistor.
3. Treatment of N.C. Pins
Be sure to leave (internally connected) N.C. pins open.
4. Power Supply Voltage Fluctuations
Although VCC power supply voltage is assured to operate within the rated range, a rapid fluctuation of the voltage
could cause malfunctions, even if it occurs within the rated range. Stabilizing voltage supplied to the IC is therefore
important. As stabilization guidelines, it is recommended to control power so that VCC ripple fluctuations (P-P
value) will be less than 10% of the standard VCC value at the commercial frequency (50 Hz to 60 Hz) and the
transient fluctuation rate will be less than 0.1 V/ms at the time of a momentary fluctuation such as when power
is switched.
5. Precautions when Using an External Clock
Even when an external clock is used, oscillation stabilization time is required for power-on reset (optional) and
wake-up from stop mode.
14
MB89140 Series
■ PROGRAMMING TO THE EPROM ON THE MB89P147
The MB89P147 is an OTPROM version of the MB89140 series.
1. Features
• 32-Kbyte PROM on chip
• Options can be set using the EPROM programmer.
• Equivalency to the MBM27C256A in EPROM mode (when programmed with the EPROM programmer)
2. Memory Space
Memory space in each mode such as 32-Kbyte PROM, option area is diagrammed below.
Address
Single chip
EPROM mode
(Corresponding addresses on the EPROM programmer)
0000H
I/O
0080H
RAM
0480H
Not available
8000H
0000H
Not available
Option area
8007H
0007H
PROM
32 KB
FFFFH
EPROM
32 KB
7FFFH
3. Programming to the EPROM
In EPROM mode, the MB89P147 functions equivalent to the MBM27C256A. This allows the PROM to be
programmed with a general-purpose EPROM programmer (the electronic signature mode cannot be used) by
using the dedicated socket adapter.
When the operating ROM area for a single chip is 32 Kbytes (8007H to FFFFH) the PROM can be programmed
as follows:
• Programming procedure
(1) Set the EPROM programmer to the MBM27C256A.
(2) Load program data into the EPROM programmer at 0007H to 7FFFH (note that addresses 8007H to FFFFH
while operating as a single chip assign to 0007H to 7FFFH in EPROM mode).
Load option data into addresses 0000H to 0006H of the EPROM programmer. (For information about each
corresponding option, see “5. Setting OTPROM Options.” in section “■ PROGRAMMING TO THE EPROM
WITH PIGGYBACK/EVALUATION DEVICE” )
(3) Program to 0000H to 7FFFH with the EPROM programmer.
15
MB89140 Series
4. Recommended Screening Conditions
High-temperature aging is recommended as the pre-assembly screening procedure for a product with a blanked
OTPROM microcomputer program.
Program, verify
Aging
+150 ˚C, 48 h
Data verification
Assembly
5. Programming Yield
All bits cannot be programmed at Fujitsu shipping test to a blanked OTPROM microcomputer, due to its nature.
For this reason, a programming yield of 100% cannot be assured at all times.
6. EPROM Programmer Socket Adapter
Package
Compatible socket adapter
DIP-64P-M01
ROM-64SD-28DP-8L4
FPT-64P-M06
ROM-64QF-28DP-8L4
Inquiry: Sun Hayato Co., Ltd.: TEL 81-3-3802-5760
16
MB89140 Series
■ PROGRAMMING TO THE EPROM WITH PIGGYBACK/EVALUATION DEVICE
1. EPROM for Use
MBM27C256A-20TV, MBM27C256A-20CZ
2. Programming Socket Adapter
To program to the PROM using an EPROM programmer, use the socket adapter (manufacturer: Sun Hayato
Co., Ltd.) listed below.
Package
Adapter socket part number
LCC-32 (Rectangle)
ROM-32LC-28DP-YG
LCC-32 (Square)
ROM-32LC-28DP-S
Inquiry: Sun Hayato Co., Ltd.: TEL 81-3-3802-5760
3. Memory Space
Memory space in each mode, such as 32-Kbyte PROM, option area is diagrammed below.
Address
Single chip
Corresponding addresses on the EPROM programmer
0000H
I/O
0080H
RAM
0480H
Not available
8000H
0000H
Not available
Option area
8007H
0007H
PROM
32 KB
FFFFH
EPROM
32 KB
7FFFH
4. Programming to the EPROM
(1) Set the EPROM programmer to the MBM27C256A.
(2) Load program data into the EPROM programmer at 0007H to 7FFFH.
(3) Program to 0000H to 7FFFH with the EPROM programmer.
17
MB89140 Series
5. Setting OTPROM Options
The programming procedure is the same as that for the PROM. Options can be set by programming values at
the addresses shown on the memory map. The relationship between bits and options is shown on the following
bit map:
• OTPROM option bit map
Bit 7
Bit 6
Bit 5
8002H
(0002H)
Bit 2
Bit 1
Bit 0
Readable and
writable
Reset pin
output
1: Yes
0: No
Power-on
reset
1: Yes
0: No
Reserved
Reserved
(Write 1 bit (Write 1 bit
to this bit.) to this bit.)
P16
Pull-up
1: No
0: Yes
P15
Pull-up
1: No
0: Yes
P14
Pull-up
1: No
0: Yes
Vacancy
Vacancy
Vacancy
Vacancy
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
P37
Pull-up
1: No
0: Yes
P36
Pull-up
1: No
0: Yes
P35
Pull-up
1: No
0: Yes
P34
Pull-up
1: No
0: Yes
P33
Pull-up
1: No
0: Yes
P32
Pull-up
1: No
0: Yes
Vacancy
Vacancy
Readable and
writable
Readable and
writable
Vacancy
Vacancy
Vacancy
Vacancy
Vacancy
Vacancy
Vacancy
Vacancy
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Vacancy
Vacancy
Vacancy
Vacancy
Vacancy
Vacancy
Vacancy
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Vacancy
Vacancy
Vacancy
Vacancy
Vacancy
Vacancy
Vacancy
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Vacancy
Vacancy
Vacancy
Vacancy
Vacancy
Vacancy
Vacancy
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Readable and
writable
Vacancy
Vacancy
Readable and
writable
P17
Pull-up
1: No
0: Yes
(0000H) Readable and
writable
(0001H)
Bit 3
Single/dualclock system
1: Dual clock
0: Single clock
Vacancy
8000H
8001H
Bit 4
8003H
(0003H) Readable and
writable
Vacancy
8004H
(0004H) Readable and
writable
Vacancy
8005H
(0005H) Readable and
writable
Vacancy
8006H
(0006H) Readable and
writable
Notes: • Set each bit to 1 to erase.
• Do not write 0 to the vacant bit.
The read value of the vacant bit is 1, unless 0 is written to it.
• The parenthesized addresses are the corresponding addresses on the EPROM programmer.
18
MB89140 Series
■ BLOCK DIAGRAM
X0
X1
Main clock oscillator
Clock controller
Buzzer
Subclock oscillator
(32.768 kHz)
High-voltage port 6
CMOS input port
CMOS output port
Port 2
P23/WDG
P22
P21/PWO0
P20
Internal bus
Port 7
P70, P71
X0A
X1A
Time-base timer
BZ
High-voltage port 5
High-voltage port 4
8
P60 to P67
8
P50 to P57
8
P40 to P47
8-bit PWM timer
VFDP
Mode control
MODA
P32/SCK
P33/SO
P34/SI
8-bit serial interface
AVCC
P17/ADST
4
P14 to P16
4
P13/ANB to
P10/AN8
8
P07/AN7 to
P00/AN0
Port 0 and port 1
12-bit MPG
CMOS I/O port
RAM
F2MC-8L
CPU
8/16-bit
timer/counter
External
interrupt
Port 3
10-bit A/D converter
AVSS
P30/TRG/INT0
P37/DTTI
P36/PWO1
P35/EC
P31/INT1
(N-ch open-drain)
CMOS I/O port
Reset circuit
RST
ROM
Other pins
VCC, VSS
19
MB89140 Series
■ CPU CORE
1. Memory Space
The microcontrollers of the MB89140 series offer a memory space of 64 Kbytes for storing all of I/O, data, and
program areas. The I/O area is located at the lowest address. The data area is provided immediately above the
I/O area. The data area can be divided into register, stack, and direct areas according to the application. The
program area is located at exactly the opposite end, that is, near the highest address. Provide the tables of
interrupt reset vectors and vector call instructions toward the highest address within the program area. The
memory space of the MB89140 series is structured as illustrated below.
Memory Space
MB89PV140
0000H
MB89145
0000H
I/O
0080H
I/O
0080H
RAM
0100H
I/O
RAM
Register
I/O
0080H
RAM
0100H
Register
0200H
MB89P147
0000H
0080H
0100H
0200H
MB89146
0000H
RAM
0100H
Register
0200H
Register
0200H
0280H
0380H
0480H
0480H
Not available
Not available
Not available
Not available
8000H
8000H
*
*
8006H
8006H
A000H
C000H
External ROM
32 KB
FFFFH
ROM
16 KB
FFFFH
PROM
32 KB
ROM
24 KB
FFFFH
FFFFH
*: Since addresses 8000H to 8005H for the MB89P147 comprise an option area, do not use this area for the MB89PV140.
20
MB89140 Series
2. Registers
The F2MC-8L family has two types of registers; dedicated registers in the CPU and general-purpose registers
in the memory. The following dedicated registers are provided:
Program counter (PC):
A 16-bit register for indicating instruction storage positions
Accumulator (A):
A 16-bit temporary register for storing arithmetic operations, etc. When the
instruction is an 8-bit data processing instruction, the lower byte is used.
Temporary accumulator (T):
A 16-bit register which performs arithmetic operations with the accumulator
When the instruction is an 8-bit data processing instruction, the lower byte is used.
Index register (IX):
A 16-bit register for index modification
Extra pointer (EP):
A 16-bit pointer for indicating a memory address
Stack pointer (SP):
A 16-bit register for indicating a stack area
Program status (PS):
A 16-bit register for storing a register pointer, a condition code
16 bits
Initial value
: Program counter
PC
FFFDH
A
: Accumulator
Undefined
T
: Temporary accumulator
Undefined
IX
: Index register
Undefined
EP
: Extra pointer
Undefined
SP
: Stack pointer
Undefined
PS
: Program status
I-flag = 0, IL1, 0 = 11
Other bits are undefined.
The PS can further be divided into higher 8 bits for use as a register bank pointer (RP) and the lower 8 bits for
use as a condition code register (CCR). (See the diagram below.)
Structure of the Program Status Register
15
PS
14
13
12
RP
11
10
9
8
Vacancy Vacancy Vacancy
RP
7
6
H
I
5
4
IL1, 0
3
2
1
0
N
Z
V
C
CCR
21
MB89140 Series
The RP indicates the address of the register bank currently in use. The relationship between the pointer contents
and the actual address is based on the conversion rule illustrated below.
Rule for Conversion of Actual Addresses of the General-purpose Register Area
Lower OP codes
RP
“0” “0” “0” “0” “0” “0” “0” “1” R4 R3 R2 R1 R0 b2
↓
↓
↓
↓
↓
↓
↓
↓
↓
↓
↓
↓
↓
↓
b1
b0
↓
↓
Generated addresses A15 A14 A13 A12 A11 A10 A9 A8 A7 A6 A5 A4 A3 A2 A1 A0
The CCR consists of bits indicating the results of arithmetic operations and the contents of transfer data and
bits for control of CPU operations at the time of an interrupt.
H-flag: Set when a carry or a borrow from bit 3 to bit 4 occurs as a result of an arithmetic operation. Cleared
otherwise. This flag is for decimal adjustment instructions.
I-flag:
Interrupt is allowed when this flag is set to 1. Interrupt is prohibited when the flag is set to 0. Set to 0
when reset.
IL1, 0:
Indicates the level of the interrupt currently allowed. Processes an interrupt only if its request level is
higher than the value indicated by this bit.
IL1
IL0
Interrupt level
0
0
0
1
1
0
2
1
1
3
1
High-low
High
Low = no interrupt
N-flag: Set if the MSB is set to 1 as the result of an arithmetic operation. Cleared when the bit is set to 0.
Z-flag:
Set when an arithmetic operation results in 0. Cleared otherwise.
V-flag:
Set if the complement on 2 overflows as a result of an arithmetic operation. Reset if the overflow does
not occur.
C-flag: Set when a carry or a borrow from bit 7 occurs as a result of an arithmetic operation. Cleared otherwise.
Set to the shift-out value in the case of a shift instruction.
22
MB89140 Series
The following general-purpose registers are provided:
General-purpose registers: An 8-bit register for storing data
The general-purpose registers are 8 bits and located in the register banks of the memory. One bank contains
eight registers and up to a total of 32 banks can be used in the MB89140 series. The bank currently in use is
indicated by the register bank pointer (RP).
Register Bank Configuration
This address = 0100H + 8 × (RP)
R0
R1
R2
R3
R4
R5
R6
R7
32 banks
Memory area
23
MB89140 Series
■ I/O MAP
Address
Read/write
Register name
Register description
00H
(R/W)
PDR0
Port 0 data register
01H
(W)
DDR0
Port 0 data direction register
02H
(R/W)
PDR1
Port 1 data register
03H
(W)
DDR1
Port 1 data direction register
04H
(R/W)
PDR2
Port 2 data register
05H
Vacancy
06H
Vacancy
07H
(R/W)
SYCC
System clock control register
08H
(R/W)
STBC
Standby control register
09H
(R/W)
WDTC
Watchdog timer control register
0AH
(R/W)
TBCR
Time-base timer control register
0BH
(R/W)
WPCR
Watch prescaler control register
0CH
(R/W)
PDR3
Port 3 data register
0DH
(W)
DDR3
Port 3 data direction register
0EH
(R/W)
BUZR
Buzzer register
0FH
(R/W)
EIC
10H
(R/W)
PDR4
Port 4 data register
11H
(R/W)
PDR5
Port 5 data register
12H
(R/W)
PDR6
Port 6 data register
13H
(R)
PDR7
Port 7 data register
External interrupt control register
14H
Vacancy
15H
Vacancy
16H
(W)
COMR
8-bit PWM timer compare register
17H
(R/W)
CNTR
8-bit PWM timer control register
18H
(R/W)
T3CR
Timer 3 control register
19H
(R/W)
T2CR
Timer 2 control register
1AH
(R/W)
T3DR
Timer 3 data register
1BH
(R/W)
T2DR
Timer 2 data register
1CH
(R/W)
SMR
Serial mode register
1DH
(R/W)
SDR
Serial data register
1EH
(R/W)
ADC1
A/D converter control register 1
1FH
(R/W)
ADC2
A/D converter control register 2
(Continued)
24
MB89140 Series
(Continued)
Address
Read/write
Register name
Register description
20H
(R/W)
ADDH
A/D converter data register (H)
21H
(R/W)
ADDL
A/D converter data register (L)
22H
(W)
PCR0
Port input control register 0
23H
(W)
PCR1
Port input control register 1
24H
(R/W)
MCNT
MPG control register
25H
(R/W)
INTSTR
26H
(W)
CMCLBR (H)
MPG compare clear buffer register H
27H
(W)
CMCLBR (L)
MPG compare clear buffer register L
28H
(W)
OUTCBR (H)
MPG output buffer register H
29H
(W)
OUTCBR (L)
MPG output buffer register L
MPG interrupt status register
2AH
Vacancy
2BH
Vacancy
2CH
Vacancy
2DH
Vacancy
2EH
Vacancy
2FH
Vacancy
30H to 77H
Vacancy
78H
Vacancy
79H
Vacancy
7AH
Vacancy
7BH
Vacancy
7CH
(W)
ILR1
Interrupt level setting register 1
7DH
(W)
ILR2
Interrupt level setting register 2
7EH
(W)
ILR3
Interrupt level setting register 3
7FH
Vacancy
Note: Do not use vacancies.
25
MB89140 Series
■ ELECTRICAL CHARACTERISTICS
1. Absolute Maximum Ratings
(AVSS = VSS = 0.0 V)
Parameter
Symbol
Rating
Min.
Max.
VCC
AVCC
VIO1
VIO2
VSS – 0.3
VSS + 7.0
VSS – 0.3
VSS + 7.0
VSS – 0.3
VCC + 0.3
VSS – 0.3
7
V
V
V
V
“H” level total average output current
ΣIOH
—
–120
mA
—
–12
mA
“H” level maximum output current
IOH
—
—
–20
–36
mA
mA
—
–6
mA
—
–10
mA
—
–18
mA
Power supply voltage
I/O voltage
“H” level average output current
IOHAV
Remarks
Unit
“L” level total average output current
ΣIOLAV
—
150
mA
“L” level maximum output current
IOL
—
12
mA
“L” level average output current
IOLAV
—
6
mA
Power consumption
Operating temperature
Storage temperature
PD
TA
Tstg
—
–40
–55
500
+85
+150
mW
°C
°C
*2
Except P31
P31
Average value (operating current ×
operating rate)
P00 to P07, P10 to P17,
P20 to P23, P30, P32 to P37
P40 to P47, P50 to P57
P60 to P67, BZ
P00 to P07, P10 to P17,
P20 to P23, P30, P32 to P37
Average value (operating current ×
operating rate)*1
P40 to P47, P50 to P57
Average value (operating current ×
operating rate)*1
P60 to P67, BZ
Average value (operating current ×
operating rate)*1
Average value (operating current ×
operating rate)*1
P00 to P07, P10 to P17,
P20 to P23, P30 to P37
P00 to P07, P10 to P17,
P20 to P23, P30 to P37
Average value (operating current ×
operating rate)*1
*1: The total average output current is defined as the average current that flows through all of the relevant pins in
a 100 ms period. The output peak current is defined as the peak value of any one of the relevant pins. The
average output current is defined as the average current that flows through any one of the relevant pins in a
100 ms period.
*2: Use AVCC and VCC set at the same voltage.
Take care so that AVCC does not exceed VCC, such as when power is turned on.
WARNING: Semiconductor devices can be permanently damaged by application of stress (voltage, current,
temperature, etc.) in excess of absolute maximum ratings. Do not exceed these ratings.
26
MB89140 Series
2. Recommended Operating Conditions
(AVSS = VSS = 0.0 V)
Value
Symbol
Parameter
Power supply voltage
VCC
AVCC
VFDP
Operating temperature
Unit
Max.
2.7*
6.0*
V
Normal operation assurance range*
2.2
6.0
V
In watch mode or subclock operation (Only for
the MB89P147, the minimum value is 2.7 V.)
1.5
6.0
V
Retains the RAM state in stop mode
VCC – 40 VCC + 0.3
–40
TA
Remarks
Min.
V
°C
+85
* : These values vary with the operating frequency and analog assurance range. See Figure 1 and “5. A/D Converter
Electrical Characteristics.”
Operating voltage (V)
6
5
Operation assurance range
4
3
2
1
2
3
4
5
6
7
8
Main clock operating frequency (at an instruction cycle of 4/FCH) (MHz)
2.0
0.8
0.5
Minimum execution time (instruction cycle) (µs)
Figure 1
Operating Voltage vs. Main Clock Operating Frequency
Figure 1 indicates the operating frequency of the external oscillator at an instruction cycle of 4/FCH.
Since the operating voltage range is dependent on the instruction cycle, see minimum execution time if the
operating speed is switched using a gear.
WARNING: The recommended operating conditions are required in order to ensure the normal operation of the
semiconductor device. All of the device’s electrical characteristics are warranted when the device is
operated within these ranges.
Always use semiconductor devices within their recommended operating condition ranges. Operation
outside these ranges may adversely affect reliability and could result in device failure.
No warranty is made with respect to uses, operating conditions, or combinations not represented on
the data sheet. Users considering application outside the listed conditions are advised to contact their
FUJITSU representatives beforehand.
27
MB89140 Series
3. DC Characteristics
(AVCC = VCC = 5.0 V, AVSS = VSS = 0.0 V, TA = –40°C to +85°C)
Parameter
Pin
Symbol
Condition
Value
Unit
Remarks
VCC + 0.3
V
Hysteresis input
—
0.2 VCC
V
Hysteresis input
Min.
Typ.
Max.
0.7 VCC
—
VSS – 0.3
P00 to P07,
“H” level input
voltage
P10 to P17,
VIHS
P30 to P37,
P70, P71,
X0, X1, RST, MODA
P00 to P07,
“L” level input
voltage
—
P10 to P17,
VILS
P30 to P37,
P70, P71,
X0, X1, RST, MODA
VOH1
P00 to P07,
P10 to P17,
P20 to P23,
P30, P32 to P37
IOH = –2.0 mA
2.4
—
—
V
VOH2
P40 to P47,
P50 to P57
IOH = –10 mA
3.0
—
—
V
VOH3
P60 to P67, BZ
IOH = –18 mA
3.0
—
—
V
VOL1
P00 to P07,
P10 to P17,
P20 to P23,
P30, P32 to P37
IOL = 1.8 mA
—
—
0.4
V
VOL2
RST
IOL = 4.0 mA
—
—
0.6
V
ILI1
P00 to P07,
P10 to P17,
P30 to P37,
P70, P71,
MODA
0.45 V < VI < VCC
ILI2
P14 to P17,
P32 to P37
VI = 0.0 V
ILO1
P40 to P47,
P50 to P57
ILO2
Pull-up
resistance
Pull-down
resistance
“H” level output
voltage
“L” level output
voltage
Input leakage
current
Output leakage
current
Without pull-up
—
—
±5
µA
resistor for P14
to P17 and P32
to P37
–200
–100
–50
µA
VI = VFDP
= VCC – 40 V
—
—
–10
µA
P60 to P67, BZ
VI = VFDP
= VCC – 40 V
—
—
–20
µA
RPULU
RST
P14 to P17,
P32 to P37
VI = 0.0 V
25
50
100
kΩ
RPULD
P40 to P47,
P50 to P57,
P60 to P67
VOH = 5.0 V
50
100
150
kΩ
With pull-up
resistor
With pull-up
resistor
With pull-down
resistor optional
(Continued)
28
MB89140 Series
(Continued)
(AVCC = VCC = 5.0 V, AVSS = VSS = 0.0 V, TA = –40°C to +85°C)
Pin
Symbol
—
9
15
mA
—
1.5
2
mA
—
2.5
5.0
FCH = 8 MHz
VCC = 5.0 V
tinst*2 = 0.5 µs
—
3
7
mA
FCH = 8 MHz
VCC = 3.2 V
tinst*2 = 8.0 µs
—
1
1.5
mA
—
50
150
µA
—
1
3
mA MB89P147
—
25
50
µA
ICC2
Subclock mode
FCL = 32.768 kHz
VCC = 3.0 V
ICCL
Remarks
Max.
FCH = 8 MHz
VCC = 3.2 V
tinst*2 = 8.0 µs
Output open
VCC
Unit
Typ.
ICC1
ICCS2
Value
Min.
FCH = 8 MHz
VCC = 5.0 V
tinst*2 = 0.5 µs
Output open
ICCS1
Power supply
current*1
Condition
Sleep mode
Parameter
mA MB89P147
Subclock sleep mode
ICCLS
FCL = 32.768 kHz
VCC = 3.0 V
ICCT
Watch mode
FCL = 32.768 kHz
VCC = 3.0 V
—
3
15
µA
ICCH
Stop mode
TA = +25°C
—
—
10
µA
—
1.5
4
mA
when A/D conversion
is stopped
—
1
5
µA
f = 1 MHz
—
10
—
pF
FCH = 8 MHz,
IA
AVCC
IAH
when A/D conversion
is activated
TA = +25°C,
Other than AVCC,
Input capacitance CIN
AVSS, VCC, and
VSS
*1: The power supply current is measured at the external clock.
*2: For information on tinst, see “(4) Instruction Cycle” in “4. AC Characteristics.”
Note: FCH indicates the main clock oscillation frequency. When FCH = 8 MHz, the 4/FCH execution time is 0.5 µs, and
the 64/FCH execution time is 8 µs.
29
MB89140 Series
4. AC Characteristics
(1) Reset Timing
(AVCC = VCC = 5.0 V, AVSS = VSS = 0.0 V, TA = –40°C to +85°C)
Parameter
Symbol
RST “L” pulse width
tZLZH
RST noise limit width
tZLNC
Condition
—
Value
Unit
Min.
Typ.
Max.
48 tXCYL
—
—
ns
30
50
80
ns
Remarks
Note: TXCYL is the oscillation cycle (1/FCH) to input to the X0 pin.
tZLZH
tZLNC
RST
0.2 VCC
0.2 VCC
(2) Power-on Reset
(AVSS = VSS = 0.0 V, TA = –40°C to +85°C)
Parameter
Symbol
Power supply rising time
tR
Power supply cut-off time
tOFF
Condition
—
Value
Unit
Remarks
Min.
Max.
—
50
ms
Power-on reset function only
1
—
ms
Due to repeated operations
Note: Make sure that power supply rises within the selected oscillation stabilization time.
If power supply voltage needs to be varied in the course of operation, a smooth voltage rise is recommended.
tOFF
tR
2.0 V
VCC
30
0.2 V
0.2 V
0.2 V
MB89140 Series
(3) Clock Timing
(AVSS = VSS = 0.0 V, TA = –40°C to +85°C)
Symbol
Parameter
Clock frequency
Clock cycle time
Input clock pulse width
Input clock rising/falling
time
Pin
Condition
Value
Min.
Typ.
Max.
Unit
FCH
X0, X1
2
—
8
MHz
FCL
X0A, X1A
—
32.768
—
kHz
tXCYL
X0, X1
125
—
500
ns
tLXCYL
X0A, X1A
—
30.5
—
µs
PWH
PWL
X0
30
—
—
ns
PWHL
PWLL
X0A
—
15.2
—
µs
tCR
tCF
X0, X0A
—
—
10
ns
—
Remarks
External clock
External clock
X0 and X1 Timing and Conditions
tXCYL
PWH
PWL
tCF
tCR
0.8 VCC
0.8 VCC
X0
0.2 VCC
0.2 VCC
0.2 VCC
Main Clock Conditions
When a crystal or ceramic resonator is used
X0
X1
When an external clock is used
X0
X1
Open
C0
C1
31
MB89140 Series
X0A and X1A Timing and Conditions
tLXCYL
PWHL
PWLL
tCF
tCR
0.8 VCC
0.8 VCC
X0A
0.2 VCC
0.2 VCC
0.2 VCC
Subclock Conditions
MB89PV140
When a crystal or ceramic resonator is used
When an external clock is used
RF = approx. 2 MΩ
X0A
X0A
X1A
C0
C1
X1A
Open
RD
Mask ROM products and MB89P147
When a crystal or ceramic resonator is used
X0A
When an external clock is used
X0A
X1A
X1A
Open
RF
C0
RD
C1
Note: The subclock oscillator feedback resistor is connected externally in dual-clock mask ROM products and in the
MB89P147. (The subclock oscillator feedback resistor is connected internally in the MB89PV140-102.)
(4) Instruction Cycle
Parameter
Instruction cycle
(minimum execution time)
32
Symbol
Value (typical)
Unit
Remarks
4/FCH, 8/FCH, 16/FCH, 64/FCH
µs
(4/FCH) tinst = 0.5 µs when operating at
FCH = 8 MHz
2/FCL
µs
tinst = 61.036 µs when operating at
FCL = 32.768 kHz
tinst
MB89140 Series
(5) Serial I/O Timing
(AVCC = VCC = 5.0 V±10%, AVSS = VSS = 0.0 V, TA = –40°C to +85°C)
Parameter
Symbol
Pin
Condition
Serial clock cycle time
tSCYC
SCK
SCK ↓ → SO time
tSLOV
SCK, SO
Valid SI → SCK ↑
tIVSH
SI, SCK
SCK ↑ → valid SI hold time
tSHIX
SCK, SI
Serial clock “H” pulse width
tSHSL
SCK
Serial clock “L” pulse width
tSLSH
SCK
Internal shift
clock mode
External shift
clock mode
Value
Unit
Min.
Max.
2 tinst*
—
µs
–200
200
ns
1/2 tinst*
—
µs
1/2 tinst*
—
µs
1 tinst*
—
µs
1 tinst*
—
µs
0
200
ns
SCK ↓ → SO time
tSLOV
SCK, SO
Valid SI → SCK ↑
tIVSH
SI, SCK
1/2 tinst*
—
µs
SCK ↑ → valid SI hold time
tSHIX
SCK, SI
1/2 tinst*
—
µs
Remarks
* : For information on tinst, see “(4) Instruction Cycle.”
Internal Shift Clock Mode
tSCYC
SCK
2.4 V
0.8 V
0.8 V
tSLOV
2.4 V
SO
0.8 V
tIVSH
SI
tSHIX
0.8 VCC
0.8 VCC
0.3 VCC
0.3 VCC
External Shift Clock Mode
tSLSH
SCK
SO
tSHSL
0.8 VCC
0.2 VCC
tSLOV
2.4 V
0.8 V
tIVSH
SI
0.8 VCC
0.2 VCC
tSHIX
0.8 VCC
0.8 VCC
0.3 VCC
0.3 VCC
33
MB89140 Series
(6) Peripheral Input Timing
(AVCC = VCC = 5.0 V±10%, AVSS = VSS = 0.0 V, TA = –40°C to +85°C)
Symbol
Parameter
Pin
Value
Condition
Min.
Max.
Unit
Peripheral input “H” pulse width 1
tILIH1
TRG, DTTI
ADST, EC
INT0 , INT1
—
2 tinst*
—
µs
Peripheral input “L” pulse width 1
tIHIL1
TRG, DTTI
ADST, EC
INT0 , INT1
—
2 tinst*
—
µs
Remarks
* : For information on tinst, see “(4) Instruction Cycle.”
(7) Peripheral Input Noise Limit Width
(AVCC = VCC = 5.0 V±10%, AVSS = VSS = 0.0 V, TA = –40°C to +85°C)
Parameter
Symbol
Peripheral input “H”
level noise limit width 1
tIHNC1
Peripheral input “L”
level noise limit width 1
tILNC1
Interrupt “H” level noise
limit width 2
tIHNC2
Interrupt “L” level noise
limit width 2
tILNC2
Value
Condition
All inputs except
INT1 and INT0
All inputs except
INT1 and INT0
INT1, INT0
INT1, INT0
Max.
7
15
30
ns
MB89P147/PV140
15
30
60
ns
Except MB89P147/PV140
7
15
30
ns
MB89P147/PV140
15
30
60
ns
Except MB89P147/PV140
30
50
100
ns
MB89P147/PV140
50
100
250
ns
Except MB89P147/PV140
30
50
100
ns
MB89P147/PV140
50
100
250
ns
Except MB89P147/PV140
tILIH1
0.8 VCC
0.2 VCC
34
tIHNC1
tIHNC2
0.8 VCC
0.2 VCC
0.8 VCC
0.2 VCC
tILNC1
tILNC2
P00 to P07, P01 to P17
P30 to P37, P70, P71
TRG, SCK, SI,
EC, DTTI, ADST
INT1, INT0
Remarks
Typ.
tIHIL1
TRG
DTTI
ADST
INT0, INT1
EC
Unit
Min.
0.2 VCC
0.8 VCC
MB89140 Series
5. A/D Converter Electrical Characteristics
(AVCC = VCC = 5.0 V+10%, FCH = 8 MHz, AVSS = VSS = 0.0 V, TA = –40°C to +85°C)
Parameter
Symbol
Pin
Resolution
Total error
Linearity error
Value
Min.
Typ.
Max.
—
—
10
bit
—
—
±3.0
LSB
—
—
±2.0
LSB
—
—
±1.5
LSB
—
AVSS – 1.5 LSB
AVSS + 0.5 LSB
AVSS + 2.5 LSB
mV
—
AVCC – 3.5 LSB AVCC – 1.5 LSB AVCC + 0.5 LSB
mV
—
—
—
AVCC = VCC
= 5.0 V
Differential linearity error
Zero transition voltage
VOT
Full-scale transition
voltage
VFST
AN0 to
ANB
AN0 to
ANB
Interchannel disparity
A/D mode conversion
time
—
—
At 8-MHz
oscillation
Analog port input current IAIN
Analog input voltage
—
—
AN0 to
AVCC = VCC
ANB
= 5.0 V
AN0 to
ANB
Unit
Condition
—
—
—
4
LSB
33
—
—
tinst*
—
—
10
µA
0.0
—
AVCC
V
Remarks
* : For information on tinst, see “(4) Instruction Cycle” in “4. AC Characteristics.”
Notes: • The smaller AVCC, the greater the error would become relatively.
• The output impedance of the external circuit connected to an analog input block should be no more than
several kΩ. If the output impedance is too high, the analog voltage sampling time might be insufficient.
Sample hold circuit
R ≤ 10 kΩ is
recommended.
AN
C 60 pF
Comparator
R 3 kΩ
Analog channel
selector
When R > 10 kΩ, it is
recommended to connect
an external capacitor of
approx. 0.1 µF.
Close for approx. 15 to 72 instruction cycles after
activating A/D conversion. (The close time
depends on the register settings.)
35
MB89140 Series
(1) A/D Glossary
• Resolution
Analog changes that are identifiable with the A/D converter
• Linearity error
The deviation of the straight line connecting the zero transition point (“00 0000 0000” ↔ “00 0000 0001”) with
the full-scale transition point (“11 1111 1110” ↔ “11 1111 1111”) from actual conversion characteristics
• Differential linearity error
The deviation of input voltage needed to change the output code by 1 LSB from the theoretical value
• Total error
The difference between theoretical and actual values
This error is caused by the zero transition error, full-scale transition error, linearity error, quantization error and
noise.
Theoretical I/O characteristics
Total error
VFST
3FF
3FF
3FE
3FE
3FD
1.5 LSB
Digital output
Digital output
3FD
004
003
{1 LSB × N + 0.5 LSB}
004
VNT
003
VOT
002
Actual conversion
value
Actual conversion
value
002
1 LSB
Theoretical value
001
001
0.5 LSB
AVSS
AVR
Analog input
1 LSB =
VFST – VOT
1022
AVSS
AVR
Analog input
(V)
Total error for digital output N =
VNT – {1 LSB × N + 0.5 LSB}
1 LSB
(Continued)
36
MB89140 Series
(Continued)
Zero transition error
Full-scale transition error
004
Theoretical value
Actual conversion
value
3FF
Actual conversion
value
Digital output
Digital output
003
002
3FE
VFST
(measured value)
3FD
Actual conversion
value
Actual conversion
value
001
3FC
VOT (measured value)
AVSS
3FF
AVR
Analog input
Analog input
Linearity error
Differential linearity error
Theoretical value
Actual conversion
value
N+1
3FE
{1 LSB × N + VOT}
Actual conversion
value
VNT
VFST
(measured
value)
004
003
Actual conversion
value
Digital output
Digital output
3FD
V(N + 1) T
N
N–1
VNT
Actual conversion
value
002
Theoretical value
N–2
001
VOT (measured value)
AVSS
AVR
Analog input
Linearity error for digital output N =
AVSS
AVR
Analog input
VNT – {1 LSB × N + VOT}
1 LSB
V(N + 1) T – VNT
Differential linearity error for digital output N =
–1
1 LSB
37
MB89140 Series
■ EXAMPLE CHARACTERISTICS
(1) “L” Level Output Voltage
(2) “H” Level Output Voltage
VOL vs. IOL
VCC – VOH vs. IOH
VOL (V)
VCC = 2.5 V
TA = +25°C
VCC – VOH (V)
1.0
0.9
0.5
0.7
0.4
VCC = 4.0 V
VCC = 5.0 V
VCC = 6.0 V
0.6
VCC = 3.0 V
0.5
VCC = 4.0 V
VCC = 5.0 V
VCC = 6.0 V
0.4
0.2
0.3
0.2
0.1
0.0
VCC = 2.5 V
0.8
VCC = 3.0 V
0.3
TA = +25°C
0.1
0
1
2
3
4
5
6
7
8
9
0.0
0.0
10
IOL (mA)
–0.5
–1.0
–1.5
–2.0
–2.5
(3) “H” Level Input Voltage/“L” Level Input Voltage (Hysteresis Input)
CMOS hysteresis input
VIN (V)
5.0
4.5
TA = +25°C
4.0
3.5
VIHS
3.0
2.5
VILS
2.0
1.5
1.0
0.5
0.0
0
1
2
3
4
5
6
7
VCC (V)
VIHS: Threshold when input voltage in hysteresis characteristics is set to “H” level
VILS: Threshold when input voltage in hysteresis characteristics is set to “L” level
38
–3.0
IOH (mA)
MB89140 Series
(4) Power Supply Current (External Clock)
ICC1 vs. VCC, ICC2 vs. VCC
ICCS1 vs. VCC, ICCS2 vs. VCC
ICC (mA)
ICCS (mA)
FCH = 8 MHz
TA = +25°C
16
FCH = 8 MHz
TA = +25°C
4.0
Divide by 4 (ICCS1)
Divide by 4 (ICC1)
14
12
3.0
10
8
2.0
Divide by 64 (ICCS2)
6
4
1.0
Divide by 64 (ICC2)
2
0
0
2.0
3.0
4.0
5.0
6.0
7.0
2.0
3.0
4.0
5.0
6.0
VCC (V)
ICCL vs. VCC
ICCL (µA)
200
VCC (V)
ICCLS vs. VCC
ICCLS (µA)
TA = +25°C
7.0
50
TA = +25°C
180
40
160
140
30
120
100
80
20
60
40
10
20
0
0
2.0
3.0
4.0
5.0
6.0
7.0
VCC (V)
2.0
3.0
4.0
5.0
6.0
7.0
VCC (V)
(Continued)
39
MB89140 Series
(Continued)
ICCT vs. VCC
ICCT (µA)
ICCH vs. VCC
ICCH (µA)
18
1.8
TA = +25°C
16
TA = +25°C
1.6
14
1.4
12
1.2
10
1.0
8
0.8
6
0.6
4
0.4
2
0.2
0
0
2.0
3.0
4.0
5.0
6.0
7.0
2.0
3.0
4.0
VCC (V)
RPULL vs. VCC
RPULL (kΩ)
1,000
500
100
50
TA = +85°C
TA = +25°C
TA = –40°C
10
40
2
3
6.0
7.0
VCC (V)
(5) Pull-up Resistance
1
5.0
4
5
6
7
VCC (V)
MB89140 Series
■ MASK OPTIONS
MB89PV140 MB89PV140
-101
-102
No.
MB89145V1
MB89146V1
MB89145V2
MB89146V2
MB89P147V1
MB89P147V2
Power-on reset
1
With power-on reset
Fixed to with power-on reset
Specify when ordering masking
Set with EPROM programmer
Fixed to with power-on reset
Specify when ordering masking
Set with EPROM programmer
Single clock
Specify when ordering masking
Set with EPROM programmer
Specify when ordering masking
Set with EPROM programmer
(specify by pin)
(specify by pin)
Without power-on reset
Reset pin output
2
With reset output
Without reset output
Clock mode selection
3
Single-clock mode
Dual clock
Dual-clock mode
Pull-up resistors
4
P14 to P17
Fixed to without pull-up resistor
P32 to P37
Pull-down resistors
5
P47 to P40
P57 to P50
Fixed to without pull-up resistor
Without pulldown resistor
All pins with
pull-down
resistor
Without pulldown resistor
All pins with
pull-down
resistor
P67 to P60
■ ORDERING INFORMATION
Part number
MB89145V1P-SH
MB89145V2P-SH
MB89146V1P-SH
MB89146V2P-SH
MB89P147V1P-SH
MB89P147V2P-SH
MB89145V1PF
MB89145V2PF
MB89146V1PF
MB89146V2PF
MB89P147V1PF
MB89P147V2PF
Package
Remarks
64-pin Plastic SH-DIP
(DIP-64P-M01)
64-pin Plastic QFP
(FPT-64P-M06)
MB89PV140C-101-ES-SH
MB89PV140C-102-ES-SH
64-pin Ceramic MDIP
(MDP-64C-P02)
MB89PV140CF-101-ES
MB89PV140CF-102-ES
64-pin Ceramic MQFP
(MQP-64C-P01)
41
MB89140 Series
■ PACKAGE DIMENSIONS
64-pin Plastic SH-DIP
(DIP-64P-M01)
+0.22
+.009
58.00 –0.55 2.283 –.022
INDEX-1
17.00±0.25
(.669±.010)
INDEX-2
+0.70
4.95 –0.20
+.028
.195 –.008
+0.50
0.70 –0.19
+.020
.028 –.007
0.27±0.10
(.011±.004)
+0.20
3.30 –0.30
.130
+.008
–.012
1.378
.0543
C
+0.40
–0.20
+.016
–.008
1.778(.0700)
0.47±0.10
(.019±.004)
M
1.00 –0
0~15°
+.020
.039 –.0
2001 FUJITSU LIMITED D64001S-c-4-5
64-pin Plastic QFP
(FPT-64P-M06)
19.05(.750)
+0.50
0.25(.010)
Dimensions in mm (inches)
24.70±0.40(.972±.016)
20.00±0.20(.787±.008)
51
0.17±0.06
(.007±.002)
33
52
32
18.70±0.40
(.736±.016)
14.00±0.20
(.551±.008)
INDEX
Details of "A" part
+0.35
3.00 –0.20
+.014
.118 –.008
64
(Mounting height)
20
0~8°
1
19
1.00(.039)
0.42±0.08
(.017±.003)
0.20(.008)
+0.15
M
0.25 –0.20
1.20±0.20
(.047±.008)
+.006
.010 –.008
(Stand off)
"A"
0.10(.004)
C
42
2001 FUJITSU LIMITED F64013S-c-4-4
Dimensions in mm (inches)
MB89140 Series
64-pin Ceramic MDIP
(MDP-64C-P02)
0°~9°
56.90±0.64
(2.240±.025)
15.24(.600)
TYP
18.75±0.30
(.738±.012)
2.54±0.25
(.100±.010)
33.02(1.300)REF
INDEX AREA
0.25±0.05
(.010±.002)
1.27±0.25
(.050±.010)
10.16(.400)MAX
+0.13
1.778±0.25
(.070±.010)
C
19.05±0.30
(.750±.012)
0.46 –0.08
+.005
.018 –.003
55.12(2.170)REF
3.43±0.38
(.135±.015)
0.90±0.13
(.035±.005)
1994 FUJITSU LIMITED M64002SC-1-4
64-pin Ceramic MQFP
(MQP-64C-P01)
INDEX AREA
Dimensions in mm (inches)
18.70(.736)TYP
16.30±0.33
(.642±.013)
15.58±0.20
(.613±.008)
12.00(.472)TYP
+0.40
1.20 –0.20
.047
1.00±0.25
(.039±.010)
+.016
–.008
1.00±0.25
(.039±.010)
1.27±0.13
(.050±.005)
22.30±0.33
(.878±.013)
24.70(.972)
TYP
0.30(.012)
TYP
1.27±0.13
(.050±.005)
18.12±0.20
12.02(.473)
(.713±.008)
TYP
10.16(.400)
14.22(.560)
TYP
TYP
0.30(.012)TYP
7.62(.300)TYP
0.40±0.10
(.016±.004)
18.00(.709)
TYP
0.40±0.10
(.016±.004)
+0.40
1.20 –0.20
+.016
.047 –.008
9.48(.373)TYP
11.68(.460)TYP
0.50(.020)TYP
10.82(.426)
0.15±0.05 MAX
(.006±.002)
Dimensions in mm (inches)
C
1994 FUJITSU LIMITED M64004SC-1-3
43
MB89140 Series
FUJITSU LIMITED
All Rights Reserved.
The contents of this document are subject to change without notice.
Customers are advised to consult with FUJITSU sales
representatives before ordering.
The information and circuit diagrams in this document are
presented as examples of semiconductor device applications, and
are not intended to be incorporated in devices for actual use. Also,
FUJITSU is unable to assume responsibility for infringement of
any patent rights or other rights of third parties arising from the use
of this information or circuit diagrams.
The products described in this document are designed, developed
and manufactured as contemplated for general use, including
without limitation, ordinary industrial use, general office use,
personal use, and household use, but are not designed, developed
and manufactured as contemplated (1) for use accompanying fatal
risks or dangers that, unless extremely high safety is secured, could
have a serious effect to the public, and could lead directly to death,
personal injury, severe physical damage or other loss (i.e., nuclear
reaction control in nuclear facility, aircraft flight control, air traffic
control, mass transport control, medical life support system, missile
launch control in weapon system), or (2) for use requiring
extremely high reliability (i.e., submersible repeater and artificial
satellite).
Please note that Fujitsu will not be liable against you and/or any
third party for any claims or damages arising in connection with
above-mentioned uses of the products.
Any semiconductor devices have an inherent chance of failure. You
must protect against injury, damage or loss from such failures by
incorporating safety design measures into your facility and
equipment such as redundancy, fire protection, and prevention of
over-current levels and other abnormal operating conditions.
If any products described in this document represent goods or
technologies subject to certain restrictions on export under the
Foreign Exchange and Foreign Trade Law of Japan, the prior
authorization by Japanese government will be required for export
of those products from Japan.
F0105
 FUJITSU LIMITED Printed in Japan