FUJITSU MB89643, MB89645, MB89646, MB89647, MB89P647, MB89PV640 DATA SHEET
查询MB89643供应商
FUJITSU SEMICONDUCTOR
DATA SHEET
8-bit Proprietary Microcontroller
CMOS
F2MC-8L MB89640 Series
MB89643/645/646/647/P647/PV640
DESCRIPTION
■
The MB89640 series has been developed as a general-purpose version of the F2MC*-8L family consisting of
proprietary 8-bit, single-chip microcontrollers.
DS07-12505-3E
In addition to a compact instruction set, the microcontrollers contain a variety of peripheral functions such as
dual-clock control system, five operating speed control stages, timers, a PWM timer, serial interface, an A/D
converter, a D/A converter, an external interrupt, and a watch prescaler.
2
MC stands for FUJITSU Flexible Microcontroller.
*: F
FEATURES
■
•F2MC-8L family CPU core
Multiplication and division instructions
Instruction set optimized for controllers
PACKAGE
■
80-pin Plastic QFP
16-bit arithmetic operations
Test and branch instructions
Bit manipulation instructions, etc.
RAM size256 × 8 bits512 × 8 bits 768 × 8 bits1 K × 8 bits
CPU functionsNumber of instructions:136
MB89643MB89645MB89646MB89647MB89P647MB89PV640
(internal mask
ROM)
Mass production products
(mask ROM products)
16 K × 8 bits
(internal mask
ROM)
24 K × 8 bits
(internal mask
ROM)
32 K × 8 bits
(internal mask
ROM)
One-time
PROM product
32 K × 8 bits
(internal PROM,
programming with
general-purpose
programmer)
Instruction bit length:8 bits
Instruction length:1 to 3 bytes
Data bit length:1, 8, 16 bits
Minimum execution time:0.4 µs/10 MHz to 6.4 µs/10 MHz,
or 61.0 µs/32.768 kHz
Interrupt processing time:3.6 µs/10 MHz to 57.6 µs/10 MHz,
or 562.5 µs/32.768 kHz
Piggyback/
evaluation product
for evaluation and
development
32 K × 8 bits
(external ROM)
PortsInput ports (CMOS):9 (All also serve as a external interrupt.)
Output ports (CMOS):8 (All also serve as a bus control.)
I/O ports (CMOS):24 (8 ports also serve as peripherals,
16 ports also serve as a bus control.)
I/O ports (N-ch open-drain):8 (All also serve as peripherals.)
Output ports (N-ch open-drain): 16 (8 ports also serve as peripherals.)
Total:65
Clock timer21 bits × 1 (in main clock mode), 15 bits × 1 (at 32.768 kHz)
8-bit PWM
*1: Varies with conditions such as the operating frequency. (See section “■ Electrical Characteristics.”)
■
1
PACKAGE AND CORRESPONDING PRODUCTS
MB89643
Package
FPT-80P-M11×
FPT-80P-M06×
MQP-80C-P01×
MB89645
MB89646
MB89647
MB89P647
8-bit resolution × 2 channels, R-2R type
9 channels
2.2 V to 6.0 V2.7 V to 6.0 V
MB89PV640
MBM27C256A
-20TV
: Available
Note: For more information about each package, see section “■ External Dimensions.”
× : Not available
4
MB89640 Series
DIFFERENCES AMONG PRODUCTS
■
1. Memory Size
Before e v aluating using the piggyback product, v erify its diff erences from the product that will actually be used.
Take particular care on the following points:
• On the MB89643 register banks 16 to 32 cannot be used.
• On the MB89P647, the program area starts from address 8007
from 8000H.
(On the MB89P647, addresses 8000
by reading these addresses. On the MB89PV640 and MB89647, addresses 8000
used as a program ROM. However, do not use these addresses in order to maintain compatibility of the
MB89P647.)
• The stack area, etc., is set at the upper limit of the RAM.
• The external areas are used.
H to 8006H comprise the option setting area, option settings can be read
H but on the MB89PV640 and MB89647 starts
H to 8006H could also be
2. Current Consumption
• In the case of the MB89PV640, add the current consumed by the EPROM which is connected to the top soc ket.
• 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 sections
“■ Electrical Characteristics” and “■ Example 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:
• A pull-up resistor cannot be set for P40 to P47 and P50 to P57 on the MB89P647.
• For all products, P60 to P67 are available for no pull-up resistor when an A/D converter is used.
• For all products, P50 to P57 are available for no pull-up resistor when a D/A converter is used.
This pin is an N-ch open-drain output type with pull-up
resistor, and a h ysteresis input type . “L” is output from this
pin by an internal reset source. The internal circuit is
initialized by the input of “L”.
38 to 3140 to 33P00/AD0 to
P07/AD7
EGeneral-purpose I/O ports
Also serve as multiplex pins of lower address output and
data I/O.
30 to 2332 to 25P10/A08 to
P17/A15
22,
21,
18,
15
20,
19
17,
16
24,
23,
20,
17
22,
21
19,
18
P20/BUFC,
P21/HAK
,
P24/CLK,
P27/ALE
P22/HRQ,
P23/RDY
P25/WR
,
P26/RD
EGeneral-purpose I/O ports
Also serve as an upper address output.
GGeneral-purpose output-only ports
Also serve as a bus control signal output.
EGeneral-purpose output-only ports
Also serve as a bus control signal input.
EGeneral-purpose output-only ports
Also serve as a bus control signal output.
4648P30/ADSTFGeneral-purpose I/O port
4547P31/SCK1FGeneral-purpose I/O port
44,
43
4244P34/ECFGeneral-purpose I/O port
*1: FPT-80P-M11
*2: FPT-80P-M06
*3: MQP-80C-P01
8
46,
45
P32/SO1,
P33/SI1
Also serves as an A/D converter external activation. This
port is a hysteresis input type.
Also serves as the clock I/O for the serial I/O 1. This port
is a hysteresis input type.
FGeneral-purpose I/O ports
Also serve as the data output for the serial I/O 1. These
ports are a hysteresis input type.
Also serves as the external clock input for the 16-bit timer/
counter. This port is a hysteresis input type.
(Continued)
MB89640 Series
(Continued)
QFP
4143P35/PWCFGeneral-purpose I/O port
4042P36/WTOFGeneral-purpose I/O port
3941P37/PTO1FGeneral-purpose I/O port
55, 54,
52 to 47
6466P50/DA1KN-ch open-drain I/O port
6365P51/DA2KN-ch open-drain I/O port
6264P52/PWMHN-ch open-drain I/O port
Pin no.
*1
MQFP
54 to 49
*2
QFP
57, 56,
Pin name
*3
P40 to P47LN-ch medium-voltage open-drain output-only ports
Circuit
type
Also serves as the measured pulse input for the 8-bit pulse
width counter. This port is a hysteresis input type.
Also serves as the toggle output for the 8-bit pulse width
counter. This port is a hysteresis input type.
Also serves as the toggle output for the 1-channel PWM
timer.
Also serves as a D/A channel 1 output. This port is a
hysteresis input type.
Also serves as a D/A channel 2 output. This port is a
hysteresis input type.
Also serves as the PWM output by the two PWM timers.
This port is a hysteresis input type.
Function
6163P53/PTO2HN-ch open-drain I/O port
Also serves as the toggle output for the 2-channel PWM
timer. This port is a hysteresis input type.
6062P54/BZHN-ch open-drain I/O port
Also serves as a buzzer output. This port is a hysteresis
input type.
5961P55/SCK2HN-ch open-drain I/O port
Also serves as the clock I/O for the serial I/O 2. This port
is a hysteresis input type.
5860P56/SO2HN-ch open-drain I/O port
Also serves as the data output for the serial I/O 2. This
port is a hysteresis input type.
5759P57/SI2HN-ch open-drain I/O port
Also serves as the data input for the serial I/O 2. This port
is a hysteresis input type.
77 to 7079 to 72P60/AN0 to
P67/AN7
2, 1,
80 to 78
*1: FPT-80P-M11
*2: FPT-80P-M06
*3: MQP-80C-P01
4 to 1, 80P70/LI0 to
P74/LI4
IN-ch open-drain output-only ports
Also serve as the analog input for the A/D converter.
These ports are a hysteresis input type.
JInput-only ports
Also serve as external interrupt 1 input. These ports are a
hysteresis input type.
Outputs “H” during standby.
104A10OAddress output pin
105OE
OROM output enable pin
Outputs “L” at all times.
107
108
109
A11
A9
A8
110A13O
111A14O
112V
81
CCOEPROM power supply pin
N.C.—Internally connected pins
92
97
106
OAddress output pins
Be sure to leave them open.
11
MB89640 Series
I/O CIRCUIT TYPE
■
TypeCircuitRemarks
AMain clock
X1
• At an oscillation feedback resistor of approximately
X0
Standby control signal
BSubclock
X1A
1 MΩ/5.0 V
• At an oscillation feedback resistor of approximately
X0A
Standby control signal
4.5 MΩ/5.0 V
C
D• At an output pull-up resistor (P-ch) of approximately
R
P-ch
50 kΩ/5.0 V
• Hysteresis input
N-ch
E• CMOS output
R
P-ch
P-ch
N-ch
• CMOS input
• Pull-up resistor optional
(Continued)
12
MB89640 Series
(Continued)
TypeCircuitRemarks
F• CMOS output
R
• Hysteresis input
P-ch
P-ch
N-ch
• Pull-up resistor optional
G• CMOS output
R
P-ch
P-ch
N-ch
• Pull-up resistor optional
H• N-ch open-drain output
R
P-ch
N-ch
• Hysteresis input
• Pull-up resistor optional
I• N-ch open-drain output
R
P-ch
P-ch
N-ch
Analog input
• Analog input
• Pull-up resistor optional
J• Hysteresis input
R
• Pull-up resistor optional
(Continued)
13
MB89640 Series
(Continued)
TypeCircuitRemarks
K• N-ch open-drain output
R
P-ch
P-ch
N-ch
Analog output
• Hysteresis input
• Analog output
Enable
• Pull-up resistor optional
L• N-ch open-drain output
R
P-ch
N-ch
• Medium voltage
• Pull-up resistor optional
14
MB89640 Series
HANDLING DEVICES
■
1. Preventing Latchup
Latchup may occur on CMOS ICs if voltage higher than VCC or lo wer 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 V
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.
CC and VSS.
Also, tak e care to prevent the analog po wer supply (A V
power supply (VCC) when the analog system power supply is turned on and off.
CC and A VRH) and analog input from exceeding the digital
2. Treatment of Unused Input Pins
Leaving unused input pins open could cause malfunctions. The y should be connected to a pull-up or pull-do wn
resistor.
3. Treatment of Power Supply Pins on Microcontrollers with A/D and D/A Converters
Connect to be AVCC = DAVC = VCC and AVSS = AVRH = VSS even if the A/D and D/A converters are not in use.
4. Treatment of N.C. Pins
Be sure to leave (internally connected) N.C. pins open.
5. Power Supply Voltage Fluctuations
Although VCC power supply voltage is assured to oper ate within the rated range, a r apid fluctuation of the voltage
could cause malfunctions, ev en if it occurs within the rated range. Stabilizing voltage supplied to the IC is theref ore
important. As stabilization guidelines, it is recommended to control power so that V
value) will be less than 10% of the standard VCC value at the commercial frequency (50 to 60 Hz) and the tr ansient
fluctuation rate will be less than 0.1 V/ms at the time of a momentary fluctuation such as when power is switched.
CC ripple fluctuations (P-P
6. 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.
15
MB89640 Series
PROGRAMMING TO THE EPROM ON THE MB89P647
■
The MB89P647 is an OTPROM version of the MB89640 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.
Single chipAddressEPROM mode
(Corresponding addresses on the EPROM programmer)
0000H
0080H
0180H
I/O
RAM
Not available
8000H
8007H0007H
FFFFH
Not available
PROM
32 KB
0000H
Option area
EPROM
32 KB
7FFFH
• Precautions
(1) The program area of the MB89P647 is 7 bytes smaller than that of the MB89PV640 and MB89647 to provide
an option area. Note this point during program development.
(2) During normal operation, the option data is read when the option area is read from the CPU.
3. Programming to the EPROM
In EPROM mode, the MB89P647 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.
• Programming procedure
(1) Set the EPROM programmer to the MBM27C256A.
(2) Load program data into the EPROM programmer at 0007
while operating as internal ROM mode 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 “7. Setting OTPROM Options.”)
(3) Program with the EPROM programmer.
16
H to 7FFFH (note that addresses 8007H to FFFFH
MB89640 Series
4. Recommended Screening Conditions
High-temperature aging is recommended as the pre-assembly screening procedure f or a product with a blanked
OTPROM microcomputer program.
Program, verify
Aging
+150°C, 48 Hrs.
Data verification
Assembly
5. Programming Yield
All bits cannot be programmed at Fujitsu shipping test to a blank ed O TPR OM microcomputer, due to its nature.
For this reason, a programming yield of 100% cannot be assured at all times.
Note: Depending on the EPR OM programmer , inserting a capacitor of about 0.1 µF between V
and VSS can stabilize programming operations.
PP and VSS or VCC
17
MB89640 Series
7. 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 f ollowing
bit map:
• OTPROM option bit map
Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
0000
Vacancy
Readable and
H
writable
Vacancy
Readable and
writable
Vacancy
Readable and
writable
Single/dualclock system
1: Dual clock
2: Single clock
Reset pin
output
1: Yes
2: No
Power-on
reset
1: Yes
2: No
Oscillation stabilization time
00: 24/FCH
01: 217/FCH
10: 214/FCH
11: 218/FCH
0001
0002
0003
0004
0005
0006
P07
Pull-up
H
1: No
0: Yes
P17
Pull-up
H
1: No
0: Yes
P37
Pull-up
H
1: No
0: Yes
P67
Pull-up
H
1: No
0: Yes
Vacancy
Readable and
H
writable
Vacancy
Readable and
H
writable
P06
Pull-up
1: No
0: Yes
P16
Pull-up
1: No
0: Yes
P36
Pull-up
1: No
0: Yes
P66
Pull-up
1: No
0: Yes
Vacancy
Readable and
writable
Vacancy
Readable and
writable
P05
Pull-up
1: No
0: Yes
P15
Pull-up
1: No
0: Yes
P35
Pull-up
1: No
0: Yes
P65
Pull-up
1: No
0: Yes
Vacancy
Readable and
writable
Vacancy
Readable and
writable
P04
Pull-up
1: No
0: Yes
P14
Pull-up
1: No
0: Yes
P34
Pull-up
1: No
0: Yes
P64
Pull-up
1: No
0: Yes
P74
Pull-up
1: No
0: Yes
Vacancy
Readable and
writable
P03
Pull-up
1: No
0: Yes
P13
Pull-up
1: No
0: Yes
P33
Pull-up
1: No
0: Yes
P63
Pull-up
1: No
0: Yes
P73
Pull-up
1: No
0: Yes
P83
Pull-up
1: No
0: Yes
P02
Pull-up
1: No
0: Yes
P12
Pull-up
1: No
0: Yes
P32
Pull-up
1: No
0: Yes
P62
Pull-up
1: No
0: Yes
P72
Pull-up
1: No
0: Yes
P82
Pull-up
1: No
0: Yes
P01
Pull-up
1: No
0: Yes
P11
Pull-up
1: No
0: Yes
P31
Pull-up
1: No
0: Yes
P61
Pull-up
1: No
0: Yes
P71
Pull-up
1: No
0: Yes
P81
Pull-up
1: No
0: Yes
P00
Pull-up
1: No
0: Yes
P10
Pull-up
1: No
0: Yes
P30
Pull-up
1: No
0: Yes
P60
Pull-up
1: No
0: Yes
P70
Pull-up
1: No
0: Yes
P80
Pull-up
1: No
0: Yes
18
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.
Loading...
+ 41 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.