The MB89160 series is a line of the general-purpose, single-chip microcontrollers. In addition to a compact
instruction set, the microcontrollers contain a variety of peripheral functions such as an LCD controller/driver,
an A/D converter, timers, a serial interface, PWM timers, and external interrupts.
DS07-12405-2E
FEATURES
2
•F
MC-8L family CPU core
• Dual-clock control system
• Maximum memory size: 16-Kbyte ROM, 512-byte RAM (max.)
• Minimum execution time: 0.95 µ s/4.2 MHz
• I/O ports: max. 54 channels
• 21-bit time-base counter
• 8/16-bit timer/counter: 2 or 1 channels
• 8-bit serial I/O: 1 channel
• External interrupts (wake-up function): Four channels with edge selection plus eight level-interrupt channels
• LCD driving reference voltage generator and booster (option)
• Remote control transmission output
• Buzzer output
• Power-on reset function (option)
• Low-power consumption modes (stop, sleep, and watch mode)
• CMOS technology
■
To Top / Lineup / Index
MB89160/160A Series
PACKAGE
80-pin Plastic SQFP
(FTP-80P-M05)
80-pin Ceramic QFP
80-pin Plastic QFP
(FTP-80P-M06)
80-pin Plastic QFP
(FTP-80P-M11)
80-pin Ceramic MQFP
(FTP-80C-A02)
(MQP-80C-P01)
2
■
To Top / Lineup / Index
MB89160/160A Series
PRODUCT LINEUP
Part number
Parameter
ClassificationMass production products
MB89161/
MB89161A
MB89163/
*1
MB89163A
*1
(mask ROM products)
MB89165/
MB89165A
MB89P165MB89W165MB89PV160
*1
One-time
PROM
product
EPROM
product
Piggyback/
evaluation
product (for
development)
ROM size4 K × 8 bits
(internal mask
ROM)
8 K × 8 bits
(internal mask
ROM)
16 K × 8 bits
(internal mask
ROM)
16 K × 8 bits
(internal PROM, programming with
general-purpose EPROM
32 K × 8 bits
(external ROM)
programmer)
RAM size128 × 8 bits256 × 8 bits512 × 8 bits
CPU functionsNumber of instructions:136
Instruction bit length:8 bits
Instruction length:1 to 3 bytes
Data bit length:1, 8,16 bits
Minimum execution time:0.95 µ s/4.2 MHz
Interrupt processing time:9 µ s/4.2 MHz
PortsI/O port (N-ch open-drain): 8 (6 ports also serve as peripherals, 3 ports
are a heavy-current drive type.)
Output ports (N-ch open-drain):28 (16 ports also serve as segment pins, 2 ports
serve as booster capacitor connection pins,
2 ports serve as common pins.)
*3
(8 ports also serve as an A/D input)
I/O ports (CMOS):16 (12 ports also serve as an external interrupt)
Output ports (CMOS):2 (Also serve as peripherals)
Total:54 (max.)
Timer/counter8-bit timer operation (toggled output capable, operating clock cycle 1.9 µ s to 486 µ s)
16-bit timer operation (toggled output capable, operating clock cycle 1.9 µ s to 486 µ s)
Continuous activation by an internal timer capable
Reference voltage input
(Continued)
3
■
To Top / Lineup / Index
MB89160/160A Series
(Continued)
Part number
Parameter
PWM timer 1,
PWM timer 2
External interrupt 1
(wake-up function)
External interrupt 2“L” level interrupts × 8 channels
Buzzer output1 (7 frequencies are selectable by the software.)
Remote control
transmission
output
Standby modesSubclock mode, sleep mode, stop mode, and watch mode
Process CMOS
Operating voltage
EPROM for use
MB89161/
MB89161A
MB89163/
*1
MB89163A
*1
MB89165A
MB89165/
MB89P165MB89W165MB89PV160
*1
8 bits × 2 channels
8-bit reload timer operation (toggled output capable, operating clock cycle: 0.95 µ s to
124 ms)
8-bit resolution PWM operation (conversion cycle: 243 µ s to 32 s)
4 independent channels (edge selectability)
Rising edge/falling edge selectability
Used also for wake-up from stop/sleep mode.
(Edge detection is also permitted in stop mode.)
1 (Pulse width and cycle are software selectable.)
*2
2.2 V to 6.0 V (single clock)/
2.2 V to 4.0 V (dual clock)
2.7 V to 6.0 V
MBM27C256A20TV
*1: Products with an internal booster.
*2: Varies with conditions such as the operating frequency. (The operating v oltage of the A/D con v erter is assured
separately. See section “ ■ Electrical Characteristics.”)
Note: For more information about each package, see section “ ■ Package Dimensions.”
MB89163
MB89163A
MB89165
MB89165A
MB89PW165MB89W165MB89PV160
××
××
××
4
■
To Top / Lineup / Index
MB89160/160A 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 MB89161/A and MB89163/A, the upper half of each register bank cannot be used.
• The stack area, etc., is set at the upper limit of the RAM.
2. Current Consumption
• In the case of the MB89PV160, add the current consumed by the EPROM which is connected to the top sock et.
• 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 the 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:
• A pull-up resistor cannot be set for P20 to P27 on the MB89P165.
• A pull-up resistor is not selectable for P40 to P47 and P60 to P67 if they are used as LCD pins.
• Options are fixed on the MB89PV160.
5
MB89160/160A Series
■
PIN ASSIGNMENT
7
7
6
6
6
P45/SEG21*
P44/SEG20*
P43/SEG19*
P42/SEG18*
P41/SEG17*
(Top view)
6
5
5
5
P40/SEG16*
P67/SEG15*
P66/SEG14*
P65/SEG13*
5
4
4
4
P64/SEG12*
P63/SEG11*
P62/SEG10*
P61/SEG9*
4
P60/SEG8*
SEG7
SEG6
SEG5
SEG4
SEG3
SEG2
To Top / Lineup / Index
P46/SEG22*
P47/SEG23*
AVSS
AVR
AV
P50/AN0
P51/AN1
P52/AN2
P53/AN3
P54/AN4
P55/AN5
P56/AN6
*1: For products with a booster circuit
*2: For products without a booster circuit
*3: N-ch open-drain heavy-current drive type
*4 to *7: Selected using the mask option (in units of 4 pins)
*8: Selected using the mask option (in units of 2 pins)
Note: For more information on mask option combinations of *4 to *8, see section “■ Mask Options.”
6
To Top / Lineup / Index
MB89160/160A Series
(Top view)
6
6
6
6
5
5
5
5
4
4
4
4
P43/SEG19*
P42/SEG18*
P41/SEG17*
P40/SEG16*
P67/SEG15*
P66/SEG14*
P65/SEG13*
P64/SEG12*
P63/SEG11*
P62/SEG10*
P61/SEG9*
P60/SEG8*
SEG7
SEG6
SEG5
SEG4
P44/SEG20*
P45/SEG21*
P46/SEG22*
P47/SEG23*
AVSS
AVR
AV
P50/AN0
P51/AN1
P52/AN2
P53/AN3
P54/AN4
P55/AN5
P56/AN6
*1: For products with a booster circuit
*2: For products without a booster circuit
*3: N-ch open-drain heavy-current drive type
*4 to *7: Selected using the mask option (in units of 4 pins)
*8: Selected using the mask option (in units of 2 pins)
Note: For more information on mask option combinations of *4 to *8, see section “■ Mask Options.”
7
MB89160/160A Series
7
7
6
6
6
P45/SEG21*
P44/SEG20*
P43/SEG19*
P42/SEG18*
P41/SEG17*
(Top view)
6
5
5
5
P40/SEG16*
P67/SEG15*
P66/SEG14*
P65/SEG13*
5
4
4
4
P64/SEG12*
P63/SEG11*
P62/SEG10*
P61/SEG9*
4
P60/SEG8*
SEG7
SEG6
SEG5
SEG4
SEG3
To Top / Lineup / Index
SEG2
P46/SEG22*
P47/SEG23*
AVSS
AVR
AV
P50/AN0
P51/AN1
P52/AN2
P53/AN3
P54/AN4
P55/AN5
P56/AN6
*1: For products with a booster circuit
*2: For products without a booster circuit
*3: N-ch open-drain heavy-current drive type
*4 to *7: Selected using the mask option (in units of 4 pins)
*8: Selected using the mask option (in units of 2 pins)
Note: For more information on mask option combinations of *4 to *8, see section “■ Mask Options.”
8
•
To Top / Lineup / Index
MB89160/160A Series
(Top view)
6
6
6
6
5
5
5
5
4
4
4
4
P43/SEG19*
P42/SEG18*
P41/SEG17*
P40/SEG16*
P67/SEG15*
P66/SEG14*
P65/SEG13*
P64/SEG12*
P63/SEG11*
P62/SEG10*
P61/SEG9*
P60/SEG8*
SEG7
SEG6
SEG5
SEG4
P44/SEG20*
P45/SEG21*
P46/SEG22*
P47/SEG23*
AV
AVR
AV
P50/AN0
P51/AN1
P52/AN2
P53/AN3
P54/AN4
P55/AN5
P56/AN6
*1: For products with a booster circuit
*2: For products without a booster circuit
*3: N-ch open-drain heavy-current drive type
*4 to *7: Selected using the mask option (in units of 4 pins)
*8: Selected using the mask option (in units of 2 pins)
Note: For more information on mask option combinations of *4 to *8, see section “■ Mask Options.”
Pin assignment on package top (MB89PV160 only)
Pin no. Pin name Pin no. Pin name Pin no. Pin name Pin no. Pin name
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. The
internal circuit is initialized by the input of “L”.
20 to 2722 to 29P00/INT20 to
P07/INT27
EGeneral-purpose I/O ports
Also serve as an external interrupt 2 input (wake-up
function).
External interrupt 2 input is hysteresis input.
28 to 3130 to 33P10/INT10 to
P13/INT13
EGeneral-purpose I/O ports
Also serve as an external interrupt 1 input. External
interrupt 1 input is hysteresis input.
32 to 3534 to 37P14 to P17FGeneral-purpose I/O ports
3638P20/ECHN-ch open-drain general-purpose I/O port
Also serves as the external clock input for the timer.
The peripheral is a hysteresis input type.
3739P21IN-ch open-drain general-purpose I/O port
3840P22/TOIN-ch open-drain general-purpose I/O port
Also serves as a timer output.
3941P23/SIHN-ch open-drain general-purpose I/O port
Also serves as the data input for the serial I/O. The
peripheral is a hysteresis input type.
4042P24/SOIN-ch open-drain general-purpose I/O port
Also serves as the data output for the serial I/O.
4143P25/SCKHN-ch open-drain general-purpose I/O port
Also serves as the clock I/O for the serial I/O. The
peripheral is a hysteresis input type.
4244P26IN-ch open-drain general-purpose I/O port
4345P27/PWM2IN-ch open-drain general-purpose I/O port
Also serves as the square wave or PWM wave
output for the 8-bit PWM timer 2.
4951P33JFunctions as an N-ch open-drain general-purpose
output port only in the products without a booster.
• At an oscillation feedback resistor of approximately
1 M Ω /5.0 V
• CR oscillation is selectable (MB8916X/A only).
• At an oscillation feedback resistor of approximately
4.5 M Ω /5.0 V
Standby control signal
C
D• At an output pull-up resistor of approximately
R
P-ch
N-ch
50 k Ω /5.0 V
• Hysteresis input
E• CMOS I/O
P-ch
R
P-ch
N-ch
Port
Peripheral
• The peripheral is a hysteresis input type.
• Pull-up resistor optional
(Not available on the MB89PV160.)
(Continued)
13
MB89160/160A Series
To Top / Lineup / Index
(Continued)
TypeCircuitRemarks
F• CMOS I/O
R
P-ch
P-ch
N-ch
• Pull-up resistor optional
(Not available on the MB89PV160)
G• CMOS output
P-ch
N-ch
Port
• P-ch output is a heavy-current drive type.
H• N-ch open-drain I/O
R
P-ch
• CMOS input
• The peripheral is a hysteresis input type.
• P21, P26, and P27 are a heavy-current drive type.
• Pull-up resistor optional
(Not available on the MB89P165/A, MB89W165/A
N-ch
and MB89PV160)
Port
Peripheral
I• N-ch open-drain output
P-ch
R
N-ch
• CMOS input
• Pull-up resistor optional
Port
(Not available on the MB89P165/A, MB89W165/A
and MB89PV160)
J• N-ch open-drain output
R
P-ch
• Pull-up resistor optional
(Not available on the MB89P165/A, MB89W165/A
and MB89PV160)
• P32 and P33 are not provided with a pull-up resistor.
N-ch
(Continued)
14
To Top / Lineup / Index
MB89160/160A Series
(Continued)
TypeCircuitRemarks
K• LCD controller/driver segment output
P-ch
N-ch
P-ch
N-ch
L• N-ch open-drain output
P-ch
R
P-ch
• Analog input
N-ch
Analog input
• Pull-up resistor optional
(Not available on the MB89PV160)
15
■
MB89160/160A Series
HANDLING DEVICES
1. Preventing Latchup
To Top / Lineup / Index
Latchup may occur on CMOS ICs if voltage higher than V
or lower than V
CC
is applied to input and output pins
SS
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
CC
to V
SS
.
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.
Also, take care to pre v ent the analog po wer supply (AV
power supply (V
) when the analog system power supply is turned on and off.
CC
and A VR) and analog input from e xceeding the digital
CC
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 Power Supply Pins on Microcontrollers with A/D and D/A Converters
Connect to be AV
CC
= DAVC = V
CC
and AV
SS
= AVR = V
SS
even if the A/D and D/A converters are not in use.
4. Treatment of N.C. Pin
Be sure to leave (internally connected) N.C. pins open.
5. Power Supply Voltage Fluctuations
Although V
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 V
(P-P value) will be less than 10% of the standard V
transient fluctuation rate will be less than 0.1 V/ms at the time of a momentary fluctuation such as when power
is switched.
CC
power supply voltage is assured to operate within the rated range, a rapid fluctuation of the voltage
ripple fluctuations
CC
CC
value at the commercial frequency (50 to 60 Hz) and the
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.
16
■
To Top / Lineup / Index
MB89160/160A Series
PROGRAMMING T O THE EPROM ON THE MB89P165
The MB89P165 is an OTPROM version of the MB89160 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
0000H
H
0080
0280H
8000H
C000H4000H
FFFFH
Single-chipEPROM mode
I/O
RAM
Not available
Not available
Not available
PROM
16 KB
(Corresponding addresses on the EPROM programmer)
0000
3FF0
3FF6H
7FFFH
H
H
Not available
Option areaNot available
Not available
EPROM
16 KB
3. Programming to the EPROM
In EPROM mode, the MB89P165 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 area for a single chip is 16 Kbyte (C000
H
to FFFF
• Programming procedure
(1) Set the EPROM programmer to the MBM27C256A.
(2) Load program into the EPROM programmer at 4000
(Note that addresses C000
H
to FFFF
H
while operating as a single chip assign to 4000
H
to 7FFF
mode.)
Load option data into address 3FF0
H
to 3FF5
H
of the EPROM programmer.
(For information about each corresponding option, see “8. Setting OTPROM Options.”)
(3) Program with the EPROM programmer.
H
) the PROM can be programmed as f ollows:
H
.
H
to 7FFF
H
in EPROM
17
To Top / Lineup / Index
MB89160/160A 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 Hrs.
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.
In order to clear all locations of their programmed contents, it is necessary to expose the internal EPROM to an
ultraviolet light source. A dosage of 10 W -seconds/cm
dosage can be obtained by exposure to an ultraviolet lamp (wavelength of 2537 Angstroms (Å)) with intensity
of 12000 µ W/cm
filters should be removed from the UV light source prior to erasure.
It is important to note that the internal EPROM and similar devices, will erase with light sources having
wavelengths shorter than 4000Å. Although erasure time will be much longer than with UV source at 2537Å,
nevertheless the exposure to fluorescent light and sunlight will eventually erase the internal EPROM, and
exposure to them should be prevented to realize maximum system reliability. If used in such an environment,
the package windows should be covered by an opaque label or substance.
18
for 15 to 21 minutes. The internal EPROM should be about one inch from the source and all
2
2
is required to completely erase an internal EPROM. This
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.