The MB90210 series is a line of 16-bit microcontrollers particularly suitable for system control of video cameras,
2
VTRs, and copiers. The F
enhanced instructions for high-level languages and supporting extended addressing modes.
MC-16F CPU integrated in this s eries is based on the F2MC*-16, while providing
The MB90210 series incorporates a variety of peripheral resources such as a PWC timer with 4 channels, a 10bit A/D converter with 8 channels, UART serial ports with 3 channels (1 channel for CTS and 1 channel for dual
input/output pin switching), 16-bit reload timers with 8 channels, and an 8-bit PPG timer with 1 channel.
MB90P214B/W214B is under development.
2
MC stands for FUJITSU Flexible Microcontroller.
*: F
■ PACKAGE
80-pin Plastic QFP
80-pin Ceramic QFP
(FPT-80P-M06)
(FPT-80C-C02)
Page 2
MB90210 Series
■ FEATURES
F2MC-16F CPU
• Minimum execution time: 62.5 ns/16-MHz oscillation (using a duty control system)
• Instruction sets optimized for controllers
Upward object-compatible with the F
Various data types (bit, byte, word, and long-word)
Instruction cycle improved to speed up operation
Extended addressing modes: 25 types
High coding efficiency
Access method (bank access with linear pointer)
Enhanced multiplication and division instructions (with signed instructions added)
Higher-precision operation using a 32-bit accumulator
• Extended intelligent I/O service (Automatic transfer function independent of instructions) access area
expanded to 64 Kbytes
• Enhanced instruction set applicable to high-level language (C) and multitasking
System stack pointer
Enhanced pointer-indirect instructions
Barrel shift instruction
Stack check function
• Operating temperature of MB90P214A/W214A is –40°C to +85°C. (Howev er, the A C characteristics is assured
in –40°C to +70°C)
• MB90V210 is a evaluation device for the program development. ES only.
3
Page 4
MB90210 Series
■ PRODUCT LINEUP
Part numb er
Item
ClassificationMask ROM productOTPROM productEPROM productFor evaluation
ROM size64 Kbytes64 Kbytes64 Kbytes—
RAM size3 Kbytes4 Kbytes4 Kbytes4 Kbytes
CPU functionsThe number of instructions:412
Ports I/O ports (N-ch open-drain):8
PWC timer Number of channels: 4
10-bit
A/D converter
MB90214
Instruction bit length:8 or 16 bits
Instruction length:1 to 7 bytes
Data bit length:1, 4, 8, 16, or 32 bits
Minimum execution time:62.5 ns/16 MHz
Interrupt processing time:1.0 µs/16 MHz (min.)
Standby modeStop mode (activated by software or hardware) and sleep mode
Gear functionMachine clock operating frequency switching: 16, 8, 4, or 1 MHz (at 16 MHz oscillation)
PackageFPT-80P-M06FPT-80C-C02PGA-256C-A02
External interrupt mode (allowing interrupts to activate at four different request levels)
Simple DMA start mode (allowing extended I
RAM write-protectable with WI
Number of inputs: 4
2
OS to activate at two different request levels)
pin
4
Page 5
MB90210 Series
■ DIFFERENCES BETWEEN MB90214 (MASK ROM PRODUCT) AND MB90P214A/P214B/
W214A/W214B
Part numb er
Item
ROMMask ROM
Pin function
43 pins
Note: MB90V210, device used for evaluation, is not warranted for electrical specifications.
MB90214
64 Kbytes
MD2 pin MD2/V
MB90P214A
MB90P214B
OTPROM
64 Kbytes
PP pin
MB90W214A
MB90W214B
EPROM
64 Kbytes
5
Page 6
MB90210 Series
■ PIN ASSIGNMENT
X0
VSSRST
6463626160595857565554535251504948474645444342
P57/WI
P56/RD
P55/WRL
P54/WRH/CTS0/INT3
P53/HRQ
P52/HAK
P51/RDY
P50/CLK
(Top view)
P82/INT2/ATG
P81/INT1
P80/INT0
P75/SOD0
P74/SID0
P73/SCK0
P72/SOD1
P71/SID1
P70/SCK1
HST
MD2
MD1
MD0
41
X1
CC
V
P00/D00
P01/D01
P02/D02
P03/D03
P04/D04
P05/D05
P06/D06
P07/D07
P10/D08
P11/D09
P12/D10
P13/D11
P14/D12
P15/D13
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
123456789
P17D15
P16D14
P20A00/TIN0
P23/A03/TIN3
P24/A04/TIN4
P21/A01/TIN1
P25/A05/TIN5
P22/A02/TIN2
101112131415161718192021222324
SS
PPG
I D3
K2
I D2
P30/A08
P26/A06/TIN6
P27/A07/TIN7
P32/A10/TOUT0
P36/A14/SCK3
P37/A15/S
P33/A11/TOUT1
P34/A12/TOUT2
P40/A16/SOD3
P35/A13/TOUT3
P41/A17/SC
P42/A18/S
31/A09/
P
V
(FPT-80P-M06)
(FPT-80C-C02)
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
OD2
PWC0/POUT0
P43/A19/S
P44/A20/
P67/AN7
P66/AN6
P65/AN5
P64/AN4
P63/AN3
P62/AN2
SS
V
P61/AN1
P60/AN0
SS
AV
AVRL
AVRH
CC
AV
PWC3/P47/A23/POUT3
PWC2/P46/A22/POUT2
PWC1/P45/A21/POUT1
6
Page 7
■ PIN DESCRIPTION
MB90210 Series
Pin no.
QFP*
64,
65
62RST
66V
11,
34,
63
67 to 74P00 to P07BGeneral-purpose I/O ports
75 to 80,
1,
2
3 to 6P20 to P23EGeneral-purpose I/O ports
7 to 10P24 to P27EGeneral-purpose I/O ports
12P30EGeneral-purpose I/O port
Pin name
X0,
X1
CC
SS
V
D00 to D07I/O pins for the lower eight bits of external data bus
P10 to P15,
P16,
P17
D08 to D13,
D14,
D15
A00 to A03Output pins for external address buses A00 to A03
TIN0 to TIN316-bit reload timer 1 (ch.0 to ch.3) input pins
A04 to A07Output pins for external address buses A04 to A07
TIN4 to TIN716-bit reload timer 2 (ch.4 to ch.7) input pins
A08Output pin for external address bus A08
Circuit
type
A Crystal oscillator pins (16 MHz)
HExternal reset request input pin
Power supply
Power supply
BGeneral-purpose I/O ports
Digital circuit power supply pin
Digital circuit grounding level
These ports are available only in the single-chip mode.
These pins are available in an external-bus mode.
These ports are available in the single-chip mode and in an
external-bus mode with the 8-bit data bus specified.
I/O pins for the upper eight bits of external data bus
These pins are available in an external-bus mode with the 16-bit
data bus specified.
These ports are available only in the single-chip mode.
These pins are available in an external-bus mode.
These pins are available when the 16-bit reload timer 1 (ch.0 to
ch.3) input specification is “enabled”. The data on the pin is read
as the 16-bit reload timer 1 (ch.0 to ch.3) input (TIN0 to TIN3).
These ports are available only in the single-chip mode.
These pins are available in an external-bus mode.
These pins are available when the 16-bit reload timer 2 (ch.4 to
ch.7) input specification is “enabled”. The data on the pin is read
as the 16-bit reload timer 2 (ch.4 to ch.7) input (TIN4 to TIN7).
This port is available in the single-chip mode or when the middle
address control register setting is “port.”
This pin is available in an external-bus mode and when the middle
address control register set to “address.”
Function
* :FPT-80P-M06, FPT-80C-C02
(Continued)
7
Page 8
MB90210 Series
Pin no.
Pin name
QFP*
13P31EGeneral-purpose I/O port
A09Output pin for external address bus A09
PPGPPG timer output pin
14 to 17P32 to P35EGeneral-purpose I/O ports
A10 to A13Output pins for external address buses A10 to A13
Circuit
type
This port is available in the single-chip mode or when the middle
address control register setting is “port”, with the 8-bit PPG
output is disabled.
This pin is available in an external-bus mode and when the middle
address control register setting is “address.”
This pin is available when the PPG operation mode control
register specification is the PPG output pin.
These ports are available in the single-chip mode or when the
middle address control register setting is “port”, with the 16-bit
reload timer 1 (ch.0 to ch.3) output is disabled.
These pins are available in an external-bus mode and when the
middle address control register setting is “address.”
Function
TOUT0 to TOUT316-bit reload timer 1 (ch.0 to ch.3) output pin
These pins are available when the 16-bit reload timer 1 (ch.0 to
ch.3) is output operation.
18P36EGeneral-purpose I/O port
This port is available when the UART (ch.2) clock output is
disabled either in the single-chip mode or when the middle
address control register setting is “port.”
A14Output pin for external address bus A14
This pin is available when the UART (ch.2) clock output is
disabled in an external-bus mode and when the middle address
control register setting is “address.”
SCK3UART (ch.2) clock output pin (SCK3)
This pin is available when the UART (ch.2) clock output is
enabled.
UART (ch.2) external clock input pin (SCK3)
This pin is available when the port is in input mode and the UART
(ch.2) specification is external clock mode.
19P37EGeneral-purpose I/O port
This port is available in the single-chip mode or when the middle
address control register setting is “port.”
A15Output pin for external address bus A15
This pin is available in an external-bus mode and when middle
address control register setting is “address.”
SID3UART (ch.2) serial data input pin (SID3)
* :FPT-80P-M06, FPT-80C-C02
8
Since this input is used whenever the SID3 is in input operation,
the output by any other function must be suspended unless the
output is intentionally performed.
(Continued)
Page 9
Pin no.
Pin name
QFP*
20P40EGeneral-purpose I/O port
A16Output pin for external address bus A16
SOD3UART (ch.2) serial data output pin (SOD3)
21P41EGeneral-purpose I/O port
A17Output pin for external address bus A17
SCK2UART (ch.2) clock output pin (SCK2)
Circuit
type
This port is available when the UART (ch.2) serial data output
from SOD3 is disabled either in the single-chip mode or when the
upper address control register setting is “port.”
This pin is available when the UART (ch.2) serial data output
from SOD3 is disabled in an external-bus mode and when the
upper address control register setting is “address.”
This pin is available when the UART (ch.2) serial data output is
enabled.
This port is available when the UART (ch.2) clock output is
disabled either in the single-chip mode or when the upper
address control register setting is “port.”
This pin is available when the UART (ch.2) clock output is
disabled in an external-bus mode and when the upper address
control register setting is “address.”
This pin is available when the UART (ch.2) clock output is
enabled.
UART (ch.2) external clock input pin (SCK2)
This pin is available when the port is in input mode and the UART
(ch.2) specification is external clock mode.
MB90210 Series
Function
22P42EGeneral-purpose I/O port
This port is available in the single-chip mode or when the upper
address control register setting is “port.”
A18Output pin for external address bus A18
This pin is available in an external-bus mode and when the upper
address control register setting is “address.”
SID2UART (ch.2) serial data input pin (SID2)
Since this input is used whenever the SID2 is in input operation,
the output by any other function must be suspended unless the
output is intentionally performed.
23P43EGeneral-purpose I/O port
This port is available when the UART (ch.2) serial data output
from SOD2 is disabled either in the single-chip mode or when the
upper address control register setting is “port.”
A19Output pin for external address bus A19
This pin is available when the UART (ch.2) serial data output
from SOD2 is disabled in an external-bus mode and when the
upper address control register setting is “address.”
SOD2UART (ch.2) serial data output pin (SOD2)
This pin is available when the UART (ch.2) serial data output
from SOD2 is enabled.
* :FPT-80P-M06, FPT-80C-C02
(Continued)
9
Page 10
MB90210 Series
Pin no.
Pin name
QFP*
24PWC0EPWC timer input pin
POUT0PWC timer output pin
25P45EGeneral-purpose I/O port
A21Output pin for external address bus A21
PWC1PWC timer data sample input pin
POUT1PWC timer output pin
26P46EGeneral-purpose I/O port
A22Output pin for external address bus A22
PWC2PWC timer input pin
POUT2PWC timer output pin
27P47EGeneral-purpose I/O port
A23Output pin for external address bus A23
PWC3PWC timer input pin
POUT3PWC timer output pin
Circuit
type
Since this input is used whenever the PWC0 timer is in input
operation, the output by any other function must be suspended
unless the output is intentionally performed.
This pin is available when the PWC0 is output operation.
This port is available in the single-chip mode or when the upper
address control register setting is “port.”
This pin is available in an external-bus mode and when the upper
address control register setting is “address.”
Since this input is used whenever the PWC1 timer is in input
operation, the output by any other function must be suspended
unless the output is intentionally performed.
This pin is available when the PWC1 is output operation.
This port is available in the single-chip mode or when the upper
address control register setting is “port.”
This pin is available in an external-bus mode and when the upper
address control register setting is “address.”
Since this input is used whenever the PWC2 timer is in input
operation, the output by any other function must be suspended
unless the output is intentionally performed.
This pin is available when the PWC2 is output operation.
This port is available in the single-chip mode or when the upper
address control register setting is “port.”
This pin is available in an external-bus mode and when the upper
address control register setting is “address.”
Since this input is used whenever the PWC3 timer is in input
operation, the output by any other function must be suspended
unless the output is intentionally performed.
This pin is available when the PWC3 is output operation.
Function
* :FPT-80P-M06, FPT-80C-C02
10
(Continued)
Page 11
Pin no.
Pin name
QFP*
54P50EGeneral-purpose I/O port
CLKCLK output pin
55P51EGeneral-purpose I/O port
RDYReady signal input pin
56P52EGeneral-purpose I/O port
Circuit
type
This port is available in the single-chip mode and when the CLK
output is disabled.
This pin is available in an external-bus mode with the CLK output
enabled.
This port is available in the single-chip mode or when the ready
function is disable.
This pin is available in an external-bus mode and when the ready
function is enabled.
This port is available in the single-chip mode or when the hold
function is disabled.
MB90210 Series
Function
HAK
57P53EGeneral-purpose I/O port
HRQHold request input pin
58P54DGeneral-purpose I/O port
CTS0UART (ch.0) clear-to-send input pin
Hold acknowledge output pin
This pin is available in an external-bus mode and when the hold
function is enabled.
This port is available in the single-chip mode or when the hold
function is disabled in an external-bus mode.
This pin is available in an external-bus mode and when the hold
function is enabled.
Since this input is used during this operation at any time, the
output by any other function must be suspended unless the
output is intentionally performed.
This port is available in the single-chip mode, in the external bus
8-bit mode, or when the WRH
When these pins are open in input mode, through current may
leak in stop mode/reset mode, be sure to fix these pins to V
level to use these pins in input mode.
Since this input is used whenever the UART (ch.0) CTS function
is enabled, the output by any other function must be suspended
unless the output is intentionally performed.
When these pins are open in input mode, through current may
leak in stop mode/reset mode, be sure to fix these pins to V
level to use these pins in input mode.
pin output is disabled.
CC/VSS
CC/VSS
WRH
* :FPT-80P-M06, FPT-80C-C02
Write strobe output pin for the upper eight bits of data bus
This pin is available in the external bus 16-bit mode with the
WRH
pin output enabled in an external-bus mode.
(Continued)
11
Page 12
MB90210 Series
Pin no.
Pin name
QFP*
58INT3DExternal interrupt request input pin
59P55EGeneral-purpose I/O port
Circuit
type
Since this input is used whenever external interrupts are enabled,
the output by any other function must be suspended unless the
output is intentionally performed.
When these pins are open in input mode, through current may
leak in stop mode/reset mode, be sure to fix these pins to V
level to use these pins in input mode.
This port is available in the single-chip mode or when the WRL
pin output is disabled.
Function
CC/VSS
WRL
Write strobe output pin for the lower eight bits of data bus
This pin is available in an external-bus mode and when the WRL
pin output is enabled.
60P56EGeneral-purpose I/O port
This port is available in the single-chip mode.
RD
Data bus read strobe output pin
This pin is available in an external-bus mode.
61P57DGeneral-purpose I/O port
This port is always available.
When these pins are open in input mode, through current may
leak in stop mode/reset mode, be sure to fix these pins to V
level to use these pins in input mode.
WI
RAM write disable request input
Since this input is used during this operation at any time, the
output by any other function must be suspended unless the
output is intentionally performed.
When these pins are open in input mode, through current may
leak in stop mode/reset mode, be sure to fix these pins to V
level to use these pins in input mode.
32,
33,
35 to 40
P60,
P61,
P62 to P67
AN0,
AN1,
AN2 to AN7
COpen-drain I/O ports
These ports are available when the analog input enable register
setting is “port.”
10-bit A/D converter analog input pins
These pins are available when the analog input enable register
setting is “analog input.”
CC/VSS
CC/VSS
41 to 43MD0 to MD2FOperation mode select signal input pins
Connect these pins directly to V
44HST
GHardware standby input pin
45P70EGeneral-purpose I/O port
This port is available when the UART (ch.1) clock output is
disabled.
* :FPT-80P-M06, FPT-80C-C02
12
CC or VSS.
(Continued)
Page 13
Pin no.
Pin name
QFP*
45SCK1EUART (ch.1) clock output pin
46P71EGeneral-purpose I/O port
SID1UART (ch.1) serial data input pin
47P72EGeneral-purpose I/O port
Circuit
type
This pin is available when the UART (ch.1) clock output is
enabled.
UART (ch.1) external clock input pin
This pin is available when the port is in input mode and the UART
(ch.1) specification is external clock mode.
This port is always available.
Since this input is used whenever the UART (ch.1) is in input
operation, the output by any other function must be suspended
unless the output is intentionally performed.
This port is available when the UART (ch.1) serial data output is
disabled.
MB90210 Series
Function
SOD1UART (ch.1) serial data output pin
This pin is available when the UART (ch.1) serial data output is
enabled.
48P73EGeneral-purpose I/O port
This port is available when the UART (ch.0) clock output is
disabled.
SCK0UART (ch.0) clock output pin
This pin is available when the UART (ch.0) clock output is
enabled.
UART (ch.0) external clock input pin
This pin is available when the port is in input mode and the UART
(ch.0) specification is external clock mode.
49P74EGeneral-purpose I/O port
This port is always available.
SID0UART (ch.0) serial data input pin
Since this input is used whenever the UART (ch.0) is in input
operation, the output by any other function must be suspended
unless the output is intentionally performed.
50P75EGeneral-purpose I/O port
This port is available when the UART (ch.0) serial data output is
disabled.
SOD0UART (ch.0) serial data output pin
This pin is available when the UART (ch.0) serial data output is
enabled.
51,
52
P80,
P81
DGeneral-purpose I/O port
This port is always available.
When these pins are open in input mode, through current may
leak in stop mode/reset mode, be sure to fix these pins to V
level to use these pins in input mode.
CC/VSS
* :FPT-80P-M06, FPT-80C-C02
(Continued)
13
Page 14
MB90210 Series
(Continued)
Pin no.
QFP*
51,
52
Pin name
INT0,
INT1
Circuit
type
DExternal interrupt request input pin
Since this input is used whenever external interrupts are enabled,
the output by any other function must be suspended unless the
output is intentionally performed.
When these pins are open in input mode, through current may
leak in stop mode/reset mode, be sure to fix these pins to V
level to use these pins in input mode.
53P82DGeneral-purpose I/O port
This port is always available.
When these pins are open in input mode, through current may
leak in stop mode/reset mode, be sure to fix these pins to V
level to use these pins in input mode.
INT2External interrupt request input pin
Since this input is used whenever external interrupts are enabled,
the output by any other function must be suspended unless the
output is intentionally performed.
When these pins are open in input mode, through current may
leak in stop mode/reset mode, be sure to fix these pins to V
level to use these pins in input mode.
ATG
10-bit A/D converter trigger input pin
When these pins are open in input mode, through current may
leak in stop mode/reset mode, be sure to fix these pins to V
level to use these pins in input mode.
28AV
CC
Power supply
Analog circuit power supply pin
This power supply must be turned on or off with a potential equal
to or higher than AV
29AVRH
Power supply
Be sure that AV
Analog circuit reference voltage input pin
CC= VCC before use and during operation.
This pins must be turned on or off with a potential equal to or
Standby control provided
MB90214: With or without pull-up/pull-down
reisistor optional
R
R
Digital output
Digital input
MB90P214A/P214B: Without pull-up/pull-down
resistor
MB90W214A/W214B: Without pull-up/pull-down
resistor
Standby control
C• N-ch open-drain output
• CMOS-level hysteresis input
A/D control provided
R
Digital output
A/D input
Digital input
D• CMOS-level output
R
Digital output
• CMOS-level hysteresis input
Standby control not provided
MB90214: With or without pull-up/pull-down
reisistor optional
R
R
Digital output
Digital input
MB90P214A/P214B: Without pull-up/pull-down
resistor
MB90W214A/W214B: Without pull-up/pull-down
resistor
(Continued)
15
Page 16
MB90210 Series
(Continued)
TypeCircuitRemarks
E• CMOS-level output
R
Digital output
R
R
Digital output
Digital input
F• CMOS-level input with no standby control
R
Digital input
• CMOS-level hysteresis input
Standby control provided
MB90214: With or without pull-up/pull-down
reisistor optional
MB90P214A/P214B: Without pull-up/pull-down
resistor
MB90W214A/W214B: Without pull-up/pull-down
resistor
Mask ROM products only:
MD2: With pull-down resistor
MD1: With pull-up resistor
MD0: With pull-down resistor
• COMS-level input with no standby control
MD2 of OTPROM products/EPROM products
R
Digital input
VPP power supply
only
G• CMOS-level hysteresis input
Standby control not provided
• With input analog filter (40 ns Typ.)
R
Analog filter
H• CMOS-level hysteresis input
Pull-up
resistor
Digital input
Standby control not provided
• With input analog filter (40 ns Typ.)
R
• With pull-up resistor
MB90214: With or without pull-up/pull-down
resistor optional
R
Analog filter
Digital input
MB90P214A/W214A/P 214B /W214 B:
With pull-up resistor
: P-type transistor
: N-type transistor
Note: The pull-up and pull-down resistors are always connected, regardless of the state.
16
Page 17
MB90210 Series
■ HANDLING DEVICES
1. Preventing Latchup
CMOS ICs may c ause latch up when a voltag e higher t han VCC or lower th an VSS is appl ied to i nput or ou tput
pins, or when a voltage exceeding the rating is applied between V
If latch-up occurs, the power supply current increases rapidly, sometimes resulting in thermal breakdown of the
device. Use meticulous care not to let any voltage exceed the maximum rating.
CC and VSS.
Also, take care to prevent the analog power supply (AV
power supply (V
CC) 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. They should be connected to a pull-up or pull-down
resistor .
3. Treatment of Pins when A/D is not Used
Connect to be AVCC = AVRH = VCC and AVSS = AVRL = VSS even if the A/D converter is not in use.
4. Precautions when Using an External Clock
To reset the internal c ircuit properly by the Lo w-level input to the RST pin , the “L” level input to th e RST pin
must be maintained for at least five machine cycles. Pay attention to it if the chip uses external clock input.
5. VCC and VSS Pins
Apply equal potential to the VCC and VSS pins.
6. Supply Voltage Variation
The operation assurance range for the VCC supply voltage is as given in the ratings. Howev er, sudden changes
in the supply voltage can cause miso peration, even if the voltage remains within the rated range. Therefore, it
is impor tant to su pply a stable voltage to t he IC. The recommende d power supply co ntrol guideli nes are that
the commercial frequency (50 to 6 0 Hz) ripple var iation (P-P value) on V
standard V
CC value and that the transient rate of change during sudden changes, such as during power supply
switching, should be less than 0.1 V/ms.
CC should be less than 10% of the
7. Notes on Using an External Clock
When using an external clock, drive the X0 pin as illustrated below. When an external clock is used, oscillation
stabilization time is required even for power-on reset and wake-up from stop mode.
• Use of External Clock
MB90210
X0
X1
Note: When using an external clock, be sure to input external clock more than 6 machine cycles after
setting the HST pin to “L” to transfer to the hardware standby mode.
17
Page 18
MB90210 Series
8. Power-on Sequence for A/D Converter Power Supplies and Analog Inputs
Be sure to turn on the digital power supply (VCC) before applying voltage to the A/D conver ter power supplies
(AV
CC, AVRH, and AVRL) and analog inputs (AN0 to AN7).
When turning power supplies off, turn off the A/D converter power supplies (A V
inputs (AN0 to AN7) first, then the digital power supply (V
When turning AVRH on or off, be careful not to let it exceed AV
CC).
CC.
CC, A VRH, and A VRL) and analog
18
Page 19
MB90210 Series
■ PROGRAMMING FOR MB90P214A/P214B/W214A/W214B
In EPROM mode, the MB9 0P214A/P214B/W214A/W214B func tions equivalent to the MBM27C1000. This
allows the EPROM to be programmed with a general-pur pose EPROM programmer by using the dedicated
socket adapter (do not use the electronic signature mode).
1. Program Mode
When shipped from Fujitsu, an d after eac h erasure, all bits (64 K × 8 bits) in the MB9 0P214A /P214 B/W214 A/
W214B are in the “1” sta te. Data is written to the ROM by selectively programming “0’s” into the desired bit
locations. Bits cannot be set to “1” electrically.
2. Programming Procedure
(1) Set the EPROM programmer to MBM27C1000.
(2) Load program data into the EPROM programmer at 10000
H to 1FFFFH.
Note that ROM addresses FF0000
W214B series assign to 10000
FFFFFFH
FF0000
H
Operation modeEPROM mode
* : Be sure to set the programming, the start address and the stop address on the EPROM programmer to 10000H/1FFFFH.
H to FFFFFFH in the operation mode in the MB90P214A/P214B/W214A/
H to 1FFFFH in the EPROM mode (on the EPROM programmer).
H*
1FFFF
10000H*
(Corresponding addresses on the EPROM mode)
(3) Mount the MB90P214A/P214B/W214A/W214B on the adapter socket, then fit the adapter socket onto the
EPROM programmer. When mounting the device and the adapter socket, pay attention to their mounting
orientations.
(4) Start programming the program data to the device.
(5) If programming has not successfully resulted, connect a capacitor of approx. 0.1 µF between V
between V
PP and GND.
CC and GND,
(6) Since the MB90P214A and MB90W214A have CMOS-level input, programming to them may be impossible
depending on the output level of the general-purpose programmer. In that case, connect a pull-up resistor
to the adapter socket side.
Note: The mask ROM products (MB90214) d oes not sup por t EPROM mo de. Data cannot , therefore, be read by
the EPROM programmer.
19
Page 20
MB90210 Series
3. EPROM Programmer Socket Adapter and Recommended Programmer Manufacturer
Part No.MB90P214B
PackageQFP-80
Compatible socket adapter
Sun Hayato Co., Ltd.
Recommended
programmer
manufacturer
and programmer
name
Inquiry: Sun Hayato Co., Ltd.: TEL: (81)-3-3986-0403
Advantest Corp.: TEL: Except JAPAN (81)-3-3930-4111
Advantest corp.
FAX: (81)-3-5 3 96-9106
R4945A
(main unit)
R49451A
(adapter)
+
ROM-80QF-32DP-16F
Recommended
4. Erase Procedure
Data written in the MB90W214A/W214B are erased (from “0” to “1”) by exposing the chip to ultraviolet rays with
a wavelength of 2,537 Å through the translucent cover.
2
Recommended irradiati on dosage for exposure is 10 Wsec/cm
with a commercial ultraviolet lamp positioned 2 to 3 cm above the package (when the package surface
illuminance is 1200 µW/cm
If the ultraviolet lamp has a filter, remove the filter before exposure. Attaching a mirrored plate to the la mp
increases the illuminance by a factor of 1.4 to 1.8, thus shortening the required erasure time. If the translucent
par t of the package is stained with oil o r adhesive, transmiss ion of ultraviolet rays is de graded, resulting in a
longer erasure time. In that case, clean the t ranslucent part usi ng alcohol (or other solvent not affecting the
package).
2
).
. This amount is reached in 15 to 20 mi nutes
The above recommended dosage is a value which takes the guard band into consideration and is a multiple of
the time in which all bits can be evaluated to have been erased. Observe the recommended dosage for erasure;
the purpo se of the guard band is to ensure erasur e in all temperature and supply voltage ranges. In addition,
check the life span of the lamp and control the illuminance appropriately.
Data in the MB90W214A/W214B are erased by exposure to light with a wavelength of 4000 Å or less.
Data in the device is also erased even by exposure to fluorescent lamp light or sunlight although the exposure
results in a much lower erasure rate than exposure to 2537 Å ultraviolet rays. Note that ex posure to such lights
for an extended period will therefore affect system reliability. If the chip is used where it is exposed to any light
with a wavelength of 4000 Å or less, cover the translucent part, for example, with a protective seal to prevent
the chip from being exposed to the light.
Exposure to light with a wavelength of 4,000 to 5,000 Å or more will not erase data in the device. If the light
applied to the chip has a ver y high illuminance, however, the device may cause malfunction in the circuit for
reasons of general semiconductor characteristics. Although the circuit will recover normal operation when
exposure is stopped, the device require s proper co unter meas ures for use in a place exposed continuously to
such light even though the wavelength is 4,000 Å or more.
20
Page 21
MB90210 Series
5. Recommended Screening Conditions
High temperature aging is recommended as the pre-assembly screening procedure.
Program, verify
Aging
+150°C, 48 Hrs.
Data verification
Assembly
6. Programming Yeild
MB90P214A/P214B cannot be write-tested for all bits due to their nature. Therefore the write yield cannot always
be guaranteed to be 100%.
7. Pin Assignment in EPROM Mode
(1) Pins compatible with MBM27C1000
MBM27C1000
MB90P214A, MB90P214B,
MB90W214A, MB90W214B
MBM27C1000
Pin no. Pin name Pin no. Pin name Pin no. Pin name Pin no. Pin name
P00 to P07
P10 to P17
P20 to P27
P30 to P37
P40 to P47
P50 to P57
P60 to P67
P70 to P75
P80 to P82
PPG
13
4
16-bit
timer 2
× 4
10-bit
A/D converter
8 ch.
65
8-bit
I/O port
PPG timer
8-bit
8-bit
PPG timer
PPG timer
RAM
ROM
23
Page 24
MB90210 Series
■ PROGRAMMING MODEL
Dedicated Registers
AH
AL
USP
SSP
PS
PC
USPCU
SSPCU
USPCL
SSPCL
DPR
PCB
DTB
USB
SSB
ADB
Accumulator
User stack pointer
System stack pointer
Processor status
Program counter
User stack upper register
System stack upper register
User stack lower register
System stack lower register
Direct page register
Program bank register
Data bank register
User stack bank register
System stack bank register
Additional data bank register
Timer control status register 4TMCSR4R/W16-bit reload
H
H
(Reserved area) *
1
timer 2 (ch.7)
timer 2 (ch.4)
Timer control status register 5TMCSR5R/W16-bit reload
timer 2 (ch.5)
H
(Reserved area) *
1
Timer control status register 6TMCSR6R/W16-bit reload
timer 2 (ch.6)
H
(Reserved area) *
1
XXXXXXXX
00000000
00000000
00000000
(Continued)
28
Page 29
AddressRegister
Register
name
MB90210 Series
Access
Resource
name
Initial value
000066
000067
000068H
000069
00006AH
00006B
00006CH
00006D
00006EH
00006F
Timer control status register 7TMCSR7R/W16-bit reload
H
H
(Reserved area) *
1
PWC0 divide ratio registerDIVR0R/WPWC timer
H
(Reserved area) *
1
PWC1 divide ratio register DIVR1R/WPWC timer
H
(Reserved area) *
1
PWC2 divide ratio register DIVR2R/WPWC timer
H
(Reserved area) *
1
PWC3 divide ratio register DIVR3R/WPWC timer
H
(Reserved area) *
1
timer 2 (ch.7)
(ch.0)
(ch.1)
(ch.2)
(ch.3)
000070HPWC0 control status registerPWCSR0R/WPWC timer
000071
000072
000073
H00000000
HPWC0 data buffer register PWCR0R/W00000000
H00000000
(ch.0)
00000000
––––––00
––––––00
––––––00
––––––00
00000000
000074
000075
000076
000077
000078
000079
00007A
00007B
00007C
00007D
00007E
00007F
000080
HPWC1 control status register PWCSR1R/WPWC timer
H00000000
HPWC1 data buffer register PWCR1R/W00000000
H00000000
HPWC2 control status registerPWCSR2R/WPWC timer
H00000000
HPWC2 data buffer register PWCR2R/W00000000
H00000000
HPWC3 control status registerPWCSR3R/WPWC timer
H00000000
HPWC3 data buffer register PWCR3R/W00000000
H00000000
to 87H
H
(Reserved area) *
1
(ch.1)
(ch.2)
(ch.3)
00000000
00000000
00000000
000088HPPG operation mode control register PPGCR/W8-bit PPG timer00000––1
HInterrupt control register 01ICR01R/W00000111
HInterrupt control register 02ICR02R/W00000111
HInterrupt control register 03ICR03R/W00000111
HInterrupt control register 04ICR04R/W00000111
HInterrupt control register 05ICR05R/W00000111
HInterrupt control register 06ICR06R/W00000111
HInterrupt control register 07ICR07R/W00000111
HInterrupt control register 08ICR08R/W00000111
HInterrupt control register 09ICR09R/W00000111
controller
00000111
(Continued)
30
Page 31
(Continued)
MB90210 Series
AddressRegister
0000BA
0000BB
0000BC
0000BD
0000BE
0000BF
0000C0
HInterrupt control register 10ICR10R/WInterrupt
HInterrupt control register 11ICR11R/W00000111
HInterrupt control register 12ICR12R/W00000111
HInterrupt control register 13ICR13R/W00000111
HInterrupt control register 14ICR14R/W00000111
HInterrupt control register 15ICR15R/W00000111
H
to FFH
Register
name
(External area) *
Access
2
Resource
name
controller
Initial value
00000111
Initial value
0: The initial value of this bit is 0.
1: The initial value of this bit is 1.
X: The initial value of this bit is undefined.
–: This bit is not used. The initial value is undefined.
∗: The initial value of this bit varies with the reset source.
#: The initial value of this bit varies with the operation mode.
*1: Access inhibited
*2: The only area available for the external access below address 0000FF
H is this area. Ac cesses to these addresses
are handled as accesses to an external I/O area.
*3: When the external bus is enabled, do not access any register not serving as a general-purpose port in the areas
from address 000000
H to 000005H and from 000010H to 000015H.
*4: Writing to bit 15 is possible. Writing to other bits is used as a test function.
31
Page 32
MB90210 Series
■ INTERRUPT SOURCES AND INTERRUPT VECTORS/INTERRUPT
OS is supported; however, since two interrupt sources are allocated to a single ICR, in case EI2OS is used
for one of the two, EI
2
OS is supported; however, since two interrupt sources are allocated to a single ICR, in case EI2OS is used
:EI
for one of the two, EI
2
×
:EI
OS is not supported.
2
OS and ordinary interrupt are not both available for the other (with stop request).
2
OS and ordinary interrupt are not both available for the other (with no stop request).
33
Page 34
MB90210 Series
■ PERIPHERAL RESOURCES
1. Parall el Ports
The MB90210 series has 57 I/O pins and 8 open-drain I/O pins.
Ports 0 to 5, 7, and 8 are I/O ports. Each of these ports serves as an input port when the data direction register
value is 0 and as an output port when the value is 1.
Port 6 is an open-drain port, which may be used as a port when the analog input enable register value is 0.
(1) Register Configuration
• Port data registers 0 to 8 (PDR0 to PDR8)
Port data register
000001 H
PDR1
Address:
000003H
PDR3
000005H
PDR5
PDR7
000007H
Read/write
Initial value
Port data register
000000 H
PDR0
Address:
000002H
PDR2
000004H
PDR4
PDR6
000006H
PDR8
000008H
Read/write
Initial value
Note: No register bit is included in bits 7 and 6 of port 7 or bits 7 to 3 of port 8.
Bit
→
→
Bit
→
→
15141312111098
PDx7
(R/W)
(R/W)
(R/W)
(R/W)
(R/W)
(X)
(X)
(X)
(X)
(X)
76543210
PDx7
(R/W)
(R/W)
(R/W)
(R/W)
(R/W)
(X)
(X)
(X)
(X)
(X)
(1)
(1)
(1)
(1)
(1)
(R/W)
(X)
(R/W)
(R/W)
(X)
(1)
(X)
(R/W)
(X)
(1)
PDx0PDx1PDx2PDx3PDx4PDx5PDx6
(R/W)
(X)
PDx0PDx1PDx2PDx3PDx4PDx5PDx6
(R/W)
(X)
(1)
• Port direction registers 0 to 5, 7, and 8 (DDR0 to DDR5, DDR7, and DDR8)
Port direction register
000011 H
DDR1
Address:
000013H
DDR3
DDR5
000015H
DDR7
000017H
Read/write
Initial value
Port direction register
000010 H
DDR0
Address:
000012H
DDR2
DDR4
000014H
DDR8
000018H
Bit
→
→
Bit
15141312111098
DDx7
(R/W)
(R/W)
(R/W)
(R/W)
(R/W)
(0)
(0)
(0)
(0)
(0)
76543210
DDx7
(R/W)
(0)
(R/W)
(0)
DDx0DDx1DDx2DDx3DDx4DDx5DDx6
(R/W)
( 0)
DDx0DDx1DDx2DDx3DDx4DDx5DDx6
PDRx
← Only for the PDR6
DDRx
34
Read/write
Initial value
No register bit is included in bits 7 and 6 of port 7 or bits 7 to 3 of port 8.
The 16-bit reload timer 1 consists of a 16-bit down counter, a 16-bit reload register, an input pin (TIN), an output
pin (TOUT), and a control register. The input clock can be selected from among three in ter na l clocks and one
external clock. At the outpu t pin (TOUT), the pulses in the toggled output waveform are output in the reload
mode; the rectangular pulses indicating that the timer is counting are in the single-shot mode. The input pin
(TIN) can be used for event input in the event count mode, and for trigger input or gate input in the internal clock
mode.
MB90210 series contains four channels for this timer.
The 16-bit relo ad tim er 2 co nsi sts of a 16-bit down counte r, a 16-bit reload regi s ter, an input pin (TIN) , and an
8-bit control register. The input clock can be selected from among four internal clocks.
The MB90210 series contains four channels for this timer.
(1) Register Configuration
• Timer control status register (TMCSR)
Timer control status register
000060 H
ch.4
Address:
ch.5
000062H
ch.6
000064H
ch.7
000066H
Read/write
Initial value→→
Bit
CSL1
(R/W)
(0)
• Timer register (TMR)
Timer register (Upper byte)
000051H
ch.4
Address:
ch.5
000055H
ch.6
000059H
ch.7
00005DH
Read/write
Initial value
Timer register (Lower byte)
000050H
ch.4
Address:
000054H
ch.5
ch.6
000058H
ch.7
00005CH
Read/write
Initial value
Bit
→
(R)
→
(X)
Bit
→
→
76543210
STRTUFINTERELDGATLGATECSL0
(R/W)
(R/W)
(R/W)
(R/W)
(0)
(0)
(0)
(0)
15141312111098
(R)
(R)
(R)
(R)
(X)
(X)
(X)
(X)
76543210
(
R
)
(R)
(R)
(R)
(R)
(X)
(X)
(X)
(X)
(X)
(R/W)
(0)
(R)
(X)
(R)
(X)
(R/W)
(0)
(R)
(X)
(R)
(X)
(R/W)
(0)
(R)
(X)
TMCSRx
TMRx
(R)
(X)
38
• Reload register (TMRLR)
Reload register (Upper byte)
000053H
ch.4
Address:
000057H
ch.5
ch.6
00005BH
ch.7
00005FH
Read/write
Initial value
Reload register (Lower byte)
000052H
ch.4
Address:
ch.5
000056H
ch.6
00005AH
ch.7
00005EH
Read/write
Initial value
Bit
→
→
Bit
→
→
15141312111098
(W)
(W)
(W)
(W)
(W)
(X)
(X)
(X)
(X)
(X)
76543210
(
W
)
(W)
(W)
(W)
(W)
(X)
(X)
(X)
(X)
(X)
(W)
(X)
(W)
(X)
(W)
(X)
(W)
(X)
(W)
(X)
TMRLRx
(W)
(X)
Page 39
(2) Block Diagram
16
4
MB90210 Series
16-bit reload register
Reload
16
Internal data bus
2
2
16-bit down counter
2
Clock selector
φφφφ
25628
222
GATE
UF
CSL 1
CSL 0
IN CTL
2
GATE
GATL
RELD
INTE
UF
STRT
Clear (RELD = 0)
Clear
EI OSCLR
Port (TIN)
IRQ
2
39
Page 40
MB90210 Series
4. UART
The UART is a serial I/O port for synchronous or asynchronous communication with external resources. It has
the following features:
• Full duplex double buffer
• Data transfer synchronous or asynchronous with clock pulses
• RC-type successive approximation with built-in sample-and-hold circuit
• 10-bit or 8-bit resolution
• Eight analog input channels programmable for selection
Single conversion mode: Selects and converts one channel.
Scan conversion mode: Converts multiple consecutive channels (up to eight channels programmable).
Consecutive conversion mode: Converts a specified channel repeatedly.
Stop conversion mode: Converts one channel and suspends its own operation until the next activation (allowing
synchronized conversion start).
• On completion of A/D conversion, the converter can gen erate an inter r u pt re quest to the CPU. This interrupt
2
generation can acti vate the EI
suitable for continuous operation.
• Conversion can be activated by software, external trigger (falling edge), and/or timer (rising edge) as selected.
Use the 16-bit reroad timer 1 channel 3 for the timer.
(1) Register Configuration
OS to transfer the A/D conversion result to memory, making the co nverter
The PWC (pulse width count) timer is a 16-bit multifunction up-count timer with an input-signal pulse-width count
function and a reload timer function. The hardware co nfiguration of this module is a 16-bi t up-count timer, an
input pulse divi der with divide ratio control regist er, four count input pi ns, and a 16-bit contro l register. Using
these components, the PWC timer provides the following features:
• Timer functions: An interrupt request can be generated at set time intervals.
Pulse signals synchronized with the timer cycle can be output.
The reference internal clock can be selected from among three internal clocks.
• Pulse-width count functions:The time between arbitrary pulse input events can be counted.
The reference internal clock can be selected from among three internal clocks.
Various count modes:
“H” pulse width (↑ to ↓) /“L” pulse width (↑ to ↓)
Rising-edge cycl e (↑ to ↑) /Falling-edge cycle (↓ to ↓)
Count between edges (↑ or ↓ to ↓ or ↑)
Cycle count can be performed by 22n division (n = 1, 2, 3, 4) of the input
pulse, with an 8 bit input divider.
An interrupt request can be generated once counting has been performed.
The number of times counting is to be performed (once or subsequently) can
be selected.
The MB90210 series contains four channels for the PWC timer.
(1) Register Configuration
• PWC control status register (PWCSR)
PWC control status register (Upper byte)
000071 H
ch.0
Address:
000075H
ch.1
ch.2
000079H
ch.3
00007DH
Read/write
Initial value
PWC control status register (Lower byte)
000070 H
ch.0
Address:
ch.1
000074H
ch.2
000078H
ch.3
00007CH
Read/write
Initial value
→
→
→
→
Bit
STRT
(R/W)
(0)
Bit
CKS1
(R/W)
(0)
15141312111098
POUTERROVIEOVIREDIEEDIRSTOP
(R/W)
(R)
(R/W)
(R/W)
(R/W)
(0)
(0)
(0)
(0)
76543210
(R/W)
(R/W)
(R/W)
(R/W)
(0)
(0)
(0)
(0)
(0)
(R/W)
(0)
(R)
(0)
(R/W)
(0)
(R/W)
(0)
MOD0MOD1MOD2S/CPIS0PIS1CKS0
(R/W)
(0)
PWCSRx
45
Page 46
MB90210 Series
• PWC data buffer register (PWCR)
PWC data buffer register (Upper byte)
000073 H
ch.0
Address:
000077H
ch.1
ch.2
00007BH
ch.3
00007FH
Read/write
Initial value
PWC data buffer register (Lower byte)
000072 H
ch.0
Address:
000076H
ch.1
ch.2
00007AH
ch.3
00007EH
Read/write
Initial value
Bit
→
→
Bit
→
→
15141312111098
(R/W)
(R/W)
(0)
(0)
76543210
(R/W)
(R/W)
(0)
(0)
• PWC divide ratio control register (DIVR)
Divide ratio control register
000068 H
ch.0
Address:
00006AH
ch.1
ch.2
00006CH
ch.3
00006EH
Read/write
Initial value→→
Bit
76543210
—
(—)
(—)
(—)
(—)
(R/W)
(0)
(R/W)
(—)
(—)
(0)
(R/W)
(0)
(R/W)
(—)
(—)
(0)
(R/W)
(0)
(R/W)
(0)
(—)
(—)
(R/W)
(0)
(R/W)
(—)
(—)
(0)
(R/W)
(0)
(R/W)
(R/W)
(0)
(0)
(R/W)
(0)
(R/W)
DIV0DIV1—————
(R/W)
PWCR
(0)
DIVR
(0)
46
Page 47
(2) Block Diagram
MB90210 Series
PWCR read
Write enable
Internal data bus
Flag setting, etc.
15
Error detection
16
16
Reload
Data transfer
Overflow
Control circuit
Start edge
select
Count start edge
Count edge end
Control bit output
Count end interrupt edge
Overflow interrupt request
detection
PWCSR
ERR
PWCR
16
16-bit up-count timer
End edge
select
Edge
ERR
PIS 1
PIS 0
Dividing
ON/OFF
CKS 1
CKS 0
16
Timer clear
Divide ratio
select
2
Clock
Count enable
DIVR
8-bit
divider
Overflow
CKS 1
CKS 0
Internal clock
(machine clock/4)
2
2
divider
3
2
Divider clear
PIS 1
PIS 0
F.F.
Clock
PWC0
PWC1
PWC2
PWC3
POUT
*
* : The POUT pins of the MB90210 series are assigned as follows:
This block is an 8-bit reloa d timer module for PPG outp ut by controlling pulse outp ut according to th e timer
operation.
The hardware config uration of this block is an 8-bit down c ounter, two 8-bit reload registers, an 8- bit control
register, and an external pulse output pin. Using these components, the module provides the following features:
PPG output operation:The module outputs pulse waves of any period and duty factor. It can also be used as
a D/A converter using an external circuit.
(1) Register Configuration
• PPG operation mode control register (PPGC)
76543210
PPG operation mode control register
Bit
Address:
000088 H
Read/write
Initial value→→
PEN
(R/W)
(0)
(R/W)
(0)
• PPG reload registers (PRLL and RRLH)
PPG reload register
Address:
PPG reload register
Address:
00008B H
Read/write
Initial value
00008A H
Read/write
Initial value
15141312111098
Bit
→
(R/W)
→
Bit
→
→
(R/W)
(X)
(X)
76543210
(R/W)
(R/W)
(X)
(X)
(R/W)
(R/W)
(X)
(R/W)
(0)
(X)
(R/W)
(R/W)
(X)
(R/W)
(0)
(X)
(R/W)
(R/W)
(X)
(R/W)
(0)
(X)
(—)
(—)
(R/W)
(X)
(R/W)
(X)
(—)
(—)
(R/W)
(X)
(R/W)
(X)
Reserved——PUFReservedPOEPCKS
(R/W)
(R/W)
(X)
(R/W)
(X)
PPGC
(1)
PRLH
PRLL
48
Page 49
(2) Block Diagram
Output A of timebase counter
Output B of timebase counter
MB90210 Series
PPG
output pin
(Port section)
Output enable
PPG
output latch
Count clock
selection
Invert
PCNT (Down counter)
Reload
L/H selector
PRLL
PRLH
Clear
PEN
PRLBH
Low-byte data bus
High-byte data bus
PPGC
Operation
mode control
49
Page 50
MB90210 Series
8. DTP/External Interrupt
The data transfer peripheral (DTP) is located between external peripherals and the F2MC-16F CPU. It rece iv es
a DMA request or an interrupt reque st generated by the external p eripherals and repor ts it to the F
CPU to activate the extended intelligent I/O service or interrupt handler. The user can select two request levels
of “H” and “L” for extended intelligent I/O ser vice or, and four request levels of “H,” “L,” rising edge and falling
edge for external interrupt requests.
(1) Register Configuration
• Interrupt/DTP enable register (ENIR)
76543210
Interrupt/DTP enable register
Bit
2
MC-16F
Address:
000030H
Read/write
Initial value→→
—
(—)
(—)
• Interrupt/DTP source register (EIRR)
15141312111098
Interrupt/DTP source register
Address:
000031 H
Read/write
Initial value→→
Bit
—
(—)
(—)
• Request level setting register (ELVR)
76543210
Request level setting register
Address:
000032 H
Bit
LB3
(—)
(—)
(—)
(—)
(—)
(—)
(—)
(—)
(—)
(—)
(—)
(—)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
EN0EN1EN2EN3———
(R/W)
(0)
ER0ER1ER2ER3———
(R/W)
(0)
LA0LB0LA1LB1LA2LB2LA3
ENIR
EIRR
ELVR
50
Read/write
Initial value→→
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
(R/W)
(0)
Page 51
(2) Block Diagram
MB90210 Series
4
4
4
Internal data bus
8
Interrupt/DTP enable register
Gate
Interrupt/DTP source register
Request level setting register
Source F/F
Edge detection circuit
4
INT
51
Page 52
MB90210 Series
9. Watchdog Timer and Timebase Timer
The watchdog timer consi s ts o f a 2 - bit watchdog co unt er us ing car ry signals f ro m an 18-b it ti me bas e ti me r as
the clock source, a control register, and a watchdog reset control section. The timebase timer consists of an 18bit timer and an interval interrupt control circuit.
(1) Register Configuration
• Watchdog timer control register (WTC)
Watchdog timer control register
Address:
0000A8H
Read/write
Initial value
76543210
Bit
PONR
→
(R)
(X)
(R)
(X)
→
• Timebase timer control register (TBTC)
Timebase timer control register
Address:
0000A9H
Read/write
Initial value
15141312111098
Bit
Reserved
→
(W)
(1)
(—)
(—)
→
(—)
(—)
(R)
(X)
(R/W)
(0)
(R)
(X)
(R/W)
(0)
(R)
(X)
(R)
(0)
(W)
(X)
(W)
(R/W)
(0)
(X)
WT0WT1WTESRSTERSTWRSTSTBR
(W)
TBC0TBC1TBRTBOFTBIE——
(R/W)
(0)
WTC
(X)
TBTC
52
Page 53
(2) Block Diagram
MB90210 Series
Oscillation clock
TBTC
TBC1
TBC0
TBR
TBIE
TBOF
Timebase
interrupt
WTC
WT1
Internal data bus
WT0
WTE
PONR
STBR
WRST
ERST
AND
Selector
S
QR
Selector
12
2
14
2
16
2
18
2
TBTRES
2-bit counter
CLR
Clock input
Timebase timer
2142162172
Watchdog
OF
generator
CLR
reset
18
WDGRST
To internal reset generator
From power-on occurence
From hardware standby
control circuit
RST pin
SRST
From RST bit in STBYC
register
53
Page 54
MB90210 Series
10.Delayed Interrupt Generation Module
The delayed interrupt generation module is used to generate an interrupt for task switching. Using this module
allows an interrupt request to the F
The write-inh ibit RAM is write-protecta ble with the WI pin input. Maintaining the “L” level input to the WI pin
prevents a certain area of RAM from being written. The WI
(1) Register Configuration
• WI control register (WICR)
pin has a 4-machine-cycle filter.
WI control register
Address:
00008EH
Read/write
Initial value→→
(2) Write-inhibit RAM Area
Write-inhibit RAM area
001100
001100
H to 0011FFH (MB90214/P214A/P214B/W214A/W214B)
H to 0012FFH (MB90V210)
(3) Block Diagram
W I
76543210
Bit
—
(—)
(—)
4-machine-cycle
skew removal
4-machine-cycle
skew removal
(—)
(—)
L
H
(—)
(R/W)
(—)
(1)
Access to other area
S Q
R
(—)
(—)
(—)
(—)
SQ
Preceded
R
————WI——
(—)
(—)
(—)
(—)
Write-inhibit
circuit
Select
RAM
decoder
WR
WICR
Writeinhibit
RAM
Internal data bus
55
Page 56
MB90210 Series
12. Low-power Consumption Modes, Oscillation Stabilization Delay Time, and Gear Function
The MB90210 series has three low-power consumption modes: the sleep mode, the stop mode, the hardware
standby mode, and gear function.
Sleep mode is used to suspend only the CPU operation clock; the other components remain in operation. Stop
mode and hardware standby mode stop oscillation, minimizing the power consumption while holding data.
The clock gear function div ides the exter nal clock frequ ency, which is used usual ly as it is, to pr ovide a lower
machine clock frequency. This function can therefore lower the overall operation speed without changing the
oscillation frequency . The function can select the machine clock as a division of the frequency of crystal oscillation
or external clock input by 1, 2, 4, or 16.
The OSC1 and OSC0 bits can be used to set the oscillation stabilization delay time for wake-up from stop mode
or hardware standby mode.
(1) Register Configuration
• Standby control register (STBYC)
Standby control register
Address:
Note: The initial value(*) of bit0 to bit3 is changed by reset source.
0000A0H
Read/write
Initial value→→
76543210
Bit
STP
(W)
(W)
(R/W)
(R/W)
(0)
(0)
(0)
(1)
(R/W)
(*)
(R/W)
(*)
(R/W)
(*)
CLK0CLK1OSC0OSC1RSTSPLSLP
(R/W)
(*)
STBYC
56
Page 57
(2) Block Diagram
MB90210 Series
Oscillation clock
Gear divider circuit
STBYC
CLK1
CLK0
SLP
STP
Internal data bus
OSC1
OSC0
SPL
1/1 1/2 1/4 1/16
Selector
Standby control circuit
RST Clear HST start
0
2
16
2
Selector
17
2
18
2
Pin high-impedance control circuit
CPU clock
generator
Peripheral clock
generator
Clock input
Timebase timer
14
16
2 2 2 2
CPU clock
Peripheral clock
HST pin
Interrupt request
or RST
17
18
Pin HI–Z
RST
Internal reset generator
RST pin
Internal RST
To watchdog timer
WDGRST
57
Page 58
MB90210 Series
■ ELECTRICAL CHARACTERISTICS (MB90V210, de vice used for ev aluation, is excluded)
1. Absolute Maximum Ratings
(VSS = AVSS = 0.0 V)
Parameter
Symbol
Pin
name
Value
UnitRemarks
Min.Max.
Power supply voltageV
Program voltage V
CCVCCVSS – 0.3VSS + 7.0V
PPVPPVSS – 0.313.0V
CCAVCCVSS – 0.3VCC + 0.3V
AV
MB90P214A/W214A
MB90P214B/W214B
Power supply voltage
for A/D converter
Analog power supply voltage
AVRH
AVRL
Input voltage
V
Output voltageV
“L” level output currentI
“L” level total output current ΣI
“H” level output current I
“H” level total output current ΣI
*1
I
O*2VSS – 0.3VCC + 0.3V
OL*3—20mARush current
OL*3—50mATotal output current
OH*2—–10mARush current
OH*2—–48mATotal output current
AVRH
AVRL
V
SS – 0.3AVCCV
—VSS – 0.3VCC + 0.3V
Refer ence vo ltage for A/D
converter
Power consumption Pd——650mW
–40+105°CMB90214/P214B/W214B
Operating temperatureT
A—
–40+85°CMB90P214A/W214A
Storage temperatureTstg—–55+150°C
I and VO must not exceed VCC + 0.3 V.
*1: V
*2: Output pins
P00 to P07, P10 to P17, P20 to P27, P30 to P37, P40 to P47, P50 to P57, P70 to P75, P80 to P82
*3: Output pins
P00 to P07, P10 to P17, P20 to P27, P30 to P37, P40 to P47, P50 to P57, P60 to P67, P70 to P75, P80 to P82
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.
58
Page 59
2. Recommended Operating Conditions
Parameter
Power supply voltageV
Symbol
CCVCC
Pin
name
MB90210 Series
(VSS = AVSS = 0.0 V)
Value
Min.Max.
4.55.5VWhen operating
3.05.5V
UnitRemarks
Retains the RAM state in stop
mode
Power supply voltage for A/D
converter
Reference voltage for A/D
converter
Single-chip mode
MB90214/P214B/W214B
Single-chip mode
MB90P214A/W214A
Analog power supply
voltage
Clock frequencyF
Operating temperatureT
AV
CCAVCC4.5VCC + 0.3V
AVRHAVRHAVRLAV
AVRLAVRLAV
C—10 16MHz
SSAVRHV
CCV
–40+105°C
A*—
–40+85°C
–40+70°CExternal bus mode
* :Excluding the temperature rise due to the heat produced.
WARNING: Recommended operating conditions are normal operating ranges for the semiconductor device. All the
device’s electrical characteristics are warranted when operated within these ranges.
Always use semicondu ctor devi ces within the recomm ended ope ratin g condit ions. Oper ation outside
these ranges may adversely affect reliability and could result in device failure.
No warranty is made with respec t to uses, operat ing condit ions, or comb inations not represent ed on
the data sheet. Users considering application outside the listed conditions are advised to contact their
FUJITSU representative beforehand.
59
Page 60
MB90210 Series
3. DC Characteristics
Single-chip mode MB90214/P214B/W214B : (VCC = +4.5 V to +5 .5 V, VSS = 0.0 V, T A = –40°C to +105°C)
MB90P214A/W214A: (V
External bus mode: (V
ParameterSymbolPin nameCondition
IH*1—0.7 VCC—
V
“H” level input
voltage
“L” level input
voltage
“H” level ou tput
voltage
IHS*2—0.8 VCC—
V
V
IHM
IL*1—
V
ILS*2—
V
V
ILM
OH*3
V
V
OH1X1
MD0 to MD2
MD0 to MD2
CC = 4.5 V
V
I
OH = –4.0 mA
CC = 4.5 V
V
I
OH = –2.0 mA
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = –40°C to +85°C)
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = –40°C to +70°C)
Except pins with
pull-up/pull-down
resistor and RST
pin
In stop mode,
µA
T
A = +25°C
7
*
MB90214
MB90P214A/
W214A/P214B/
W214B
7
*
MB90214
7
*
MB90214
7
*
MB90214
7
*
MB90214
(Continued)
60
Page 61
(Continued)
MB90210 Series
ParameterSymbolPin nameCondition
UnitRemarks
Min.Typ.Max.
Value
—
ICCVCCFC = 16 MHz
—
50*
70*
8
80mA MB90214
8
100mA
MB90P214A/
W214A
MB90P214B/
W214B
Power supply
voltage*
9
I
CCSVCCFC = 16 MHz——40mA In sleep mode
A = +25°C
T
In stop mode
CCHVCC——510µA
I
In hardware
standby input
time
*1: CMOS level input (P00 to P07, P10 to P17, X0)
*2: Hystere sis input pi ns (RST
, HST, P20 to P27, P30 to P37, P40 to P47, P50 to P57, P60 to P67 P70 to P75, P80
to P82)
*3: Output pins (P00 to P07, P10 to P17, P20 to P27, P30 to P37, P40 to P47, P50 to P57, P70 to P75, P80 to P82)
*4: Output pins (P00 to P07, P10 to P17 , P20 to P27, P30 to P 37, P40 to P47, P50 to P57, P60 to P67, P 70 to
P75, P80 to P82)
*5: The current value applies to the CPU stop mode with A/D converter inactive (V
*6: Other than V
CC, VSS, AVCC and AVSS
CC = AVCC = AVRH = +5.5 V) .
*7: A list of availabilities of pull-up/pull-down resistors
Pin nameMB90214MB90P214A/W214AMB90P214B/W214B
RST
Availability of pull-up resistors is
optionally defined.
Pull-up resistors
available
Pull-up resistors
available
MD1Pull-up resistors availableUnavailableUnavailable
MD0, MD2Pull-down resistors availableUnavailableUnavailable
Generic pin
CC = +5.0 V, VSS = 0.0 V, TA = +25°C, FC = 16 MHz
*8: V
Availability of pull-up/pull-down
resistors is optionally defined.
UnavailableUnavailable
*9: Measurement condition of power supply current; external clock pin and output pin are open.
Measurement condition of V
CC; see the table above mentioned.
61
Page 62
MB90210 Series
2. AC Characteristics
(1) Clock Timing Standards
Single-chip mode MB90214/P214B/W214B : (V
MB90P214A/W214A: (V
External bus mode: (V
Parameter
Clock frequencyF
Clock cycle timet
Input clock pulse width
Input clock rising/falling time
• Clock Input Timings
X0
CC = +4.5 V to +5.5 V , VSS = 0.0 V, TA = –40°C to +105°C)
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = –40°C to +85°C)
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = –40°C to +70°C)
Symbol
CX0, X1—10—16MHz
CX 0, X1—62.5—100ns1/FC
WH
P
PWL
cr
t
tcf
Pin
name
Condition
Min.Typ.Max.
X0—0.4 tC—0.6 tCnsDuty ratio: 60%
X0———8nstcr + tcf
tC
PWH
PWL
tcf
Value
UnitRemarks
0.7 VCC0.7 VCC
0.3 VCC
tcr
• Clock Conditions
When a crystal
ceramic resonator is used
C1
C1 = C2 = 10 pF
Select the optimum capacity value for the resonator.
or
2
C
When an external clock is used
X0X1X0X1
Open
62
Page 63
• Relationship between Clock Frequency and Power Supply Voltage
MB90210 Series
V CC
[V]
5.5
4.5
016
Single-chip mode
(MB90214/P214B/W214B)
(MB90P214A/W214A)
External bus mode
(2) Clock Output Timing Standards
Parameter
Machine cycle timet
CLK ↑ → CLK↓t
Symbol
CYC
CHCL
CLK
Operation assurance range
10
External mode: (V
Pin
name
Load condition:
80 pF
: (TA = –40°C to +105°C, FC = 10 to 16 MHz)
: (TA = –40°C to +85°C, FC = 10 to 16 MHz)
: (T
A = –40°C to +70°C, FC = 10 to 16 MHz)
[MHz]
CC = +4.5 to +5.5 V, VSS = 0.0 V, TA = –40°C to +70°C)
Value
Condition
Min.Typ.Max.
62.5—1600ns*
tCYC/
2 – 20
F
C
—t
CYC/2ns
UnitRemarks
* :t
CYC = n/FC, n gear ratio (1, 2, 4, 16)
CLK
tCHCL
tCYC
1/2 V
CC1/2 VCC
63
Page 64
MB90210 Series
(3) Recommended Resonator Manufacturers
• Sample Application of Piezoelectric Resonator (FAR Series)
X0X1
FAR
*1
C1C2
FAR part number
(built-in capacitor type)
FAR-C4C F-1 6000- 02
Frequency
Initial deviation of
FAR frequency
(T
= +25°C)
A
±0.5%±0.5%
16.00
FAR-C4C F-1 6000- 12
±0.5%±0.5%
Inquiry: FUJIT S U LIMITE D
(4) Reset and Hardware Standby Input Standards
Single-chip mode MB90214/P214B/W214B : (V
MB90P214A/W214A: (V
External bus mode: (V
Parameter
Reset input time t
Hardware standby input time t
Symbol
RSTLRST
HSTLHST5 tCYC——ns*
Pin
name
*2*2
*1: Fujitsu Acoustic Resonator
Temperature
characteristics of
FAR frequency
(T
= –20°C to +60°C)
A
Load
capacitance*
Built-in
CC = +4.5 V to +5.5 V , VSS = 0.0 V, TA = –40°C to +105°C)
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = –40°C to +85°C)
CC = +4.5 V to +5 .5 V, VSS = 0.0 V, T A = –40°C to +70°C)
Value
Condition
UnitRemarks
Min.Typ.Max.
CYC——ns
5 t
—
2
* :The machine cycle (t
RST
HST
64
CYC) at hardware standby input is set to 1/16 divided oscillation.
tRSTL, tHSTL
0.2 VCC
0.2 VCC
Page 65
(5) Power on Supply Specifications (Power-on Reset)
MB90210 Series
Single-chip mode MB90214/P214B/W214B : (V
MB90P214A/W214A: (V
External bus mode: (V
Parameter
Power supply rising timet
Power supply cut-off timet
* :Before the power rising, V
CC must be less than +0.2 V.
Symbol
RVCC———30ms*
OFFVCC—1——ms
Pin
name
CC = +4.5 V to +5.5 V , VSS = 0.0 V, TA = –40°C to +105°C)
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = –40°C to +85°C)
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = –40°C to +70°C)
Value
Condition
UnitRemarks
Min.Typ.Max.
Notes: • The above specifications are for the power-on reset.
• Always apply power-on reset using these specifications, regardless of whether or not
the power-on reset is needed.
• There are some internal registers (such as STBYC) which are only initialized by the power-on reset.
• Power-on Reset
tR
VCC
4.5 V
0.2 V
0.2 V
tOFF
0.2 V
Note: Caution on switching power supply
Abrupt change of supply voltage may initiate power-on reset, even if the above requirements are not met.
It is, therefore, recommended to power up gradually during the instantaneous c hange of power supply as
shown in the figure be low.
• Changing Power Supply
Main power
supply voltage
Subpower
supply voltage
VSS
The rising edge should be 50 mV/ms or less.
65
Page 66
MB90210 Series
(6) Bus Read Timing
Parameter
Symbol
Pin
name
(V
CC = +4.5 to +5.5 , VSS = 0.0 V, TA = –40°C to +70°C)
↑ → address valid timetRHAXA23 to A00tCYC/2 – 20—ns
Valid address → CLK ↑ time t
RD
↓→ CLK ↓ timetRLCLRD, CLKtCYC/2 – 25—ns
RD
↓ timetAVRLA23 to A00
t
AVDV—3 tCYC/2 – 40ns
AVCH
CLK
D15 to D00
A23 to A00
CLK
tAVRL
tRLCLtAVCH
0.7 VCC
0.3 VCC
Load
condition:
80 pF
0.3 VCC
tRLRH
tCYC/2 – 20—ns
—t
t
CYC/2 – 25—ns
0.7 VCC
CYC – 30ns
66
A23 to A00
D15 to D00
0.7 VCC
0.3 VCC
tAVDV
tRLDV
0.7 VCC
0.3 VCC
Read data
tRHAX
0.7 VCC
0.3 VCC
tRHDX
0.7 VCC
0.3 VCC
Page 67
(7) Bus Write Timing
Parameter
(V
CC = +4.5 to +5.5 V, VSS = 0.0 V, TA = –40°C to +70°C)
SymbolPin nameCondition
MB90210 Series
Value
Unit Remarks
Min.Max.
Valid address → WR
WR
↓ pulse width tWLWHWRL, WRHtCYC – 25—ns
Valid data output → WR
time
↑ → data hold time tWHDXtCYC/2 – 20—ns
WR
↑ → address valid time tWHAXA23 to A00tCYC/2 – 20—ns
WR
WR
↓→ CLK ↓ timetWLCHWRL, WRH, CLKtCYC/2 – 25—ns
↓ time tAVWLA23 to A00
↑
t
DVWH
CLK
WR
(WRL, WRH)
A23 to A00
D15 to D00
tAVWL
Load
condition:
80 pF
tWLCL
0.3 VCC
tWLWH
0.3 VCC
t
CYC/2 – 20—ns
CYC – 40—ns
t
0.7 VCC
tWHAX
0.7 VCC
0.3 VCC
D15 to D00
Undefined
t
DVWH
Write data
t
WHDX
0.7 VCC
0.3 VCC
67
Page 68
MB90210 Series
(8) Ready Signal Input Timing
Parameter
SymbolPin nameCondition
(V
CC = +4.5 to +5.5 V, VSS = 0.0 V, TA = –40°C to +70°C)
Value
UnitRemarks
Min.Max.
RDY setup timet
RDY hold timet
RYHS
RDY
RYHH0—ns
Load condition:
80 pF
Note: Use the auto-ready function if the RDY setup time is insufficient.
CLK
A23 to A00
RD/WR
(WRL, WRH)
RDY
No wait
Wait
tRYHStRYHH
0.8 VCC0.8 VCC
0.2 VCC
40—ns
0.7 VCC
tRYHStRYHH
0.7 VCC
0.8 VCC0.8 VCC
(9) Hold Timing
Parameter
Pin floating → HAK
HAK
↑ → pin valid time tHAHVtCYC2tCYCns
↓ time tXHAL
Symbol
Note: It takes at least one cycle for HAK
HRQ
HAK
Each pin
0.8 VCC
68
CC = +4.5 to +5.5 V, VSS = 0.0 V, TA = –40°C to +70°C)
(V
Pin
name
HAK
Condition
Load condition:
80 pF
to vary after HRQ is fetched.
0.2 VCC
0.3 VCC
tXHALtHAHV
High impedance
Value
Min.Max.
30t
0.7 VCC
CYCns
UnitRemarks
Page 69
(10) UART Timing
MB90210 Series
Single-chip modeMB90214/P214B/W214B : (V
External bus mode: (V
Parameter
Serial clock cycle time t
SCLK ↓ → SOUT
delay time
Valid SIN → SCLK ↑t
SCLK ↑ → Valid SIN
hold time
Serial clock “H” puls e
width
Serial clock “L” pulse
width
SCLK ↓ → SOUT
delay time
Valid SIN → SCLK ↑t
SCLK ↑ → Valid SIN
hold time
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = –40°C to +10 5°C)
MB90P214A/W214A: (V
Symbol
SCYC
SLOV–8080ns
t
Pin
name
Condition
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = –40°C to +85°C)
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = –40°C to +70°C)
Value
UnitRemarks
Min.Max.
8 t
CYC—ns
Internal shift
clock mode
IVSH100—ns
t
SHIX60—ns
t
SHSL4 tCYC—ns
t
SLSH4 tCYC—ns
Load condition:
—
80 pF
output pin
External shift
SLOV—150ns
t
IVSH60—ns
t
SHIX60—ns
clock mode
output pin
Notes:
• These AC characteristics assume the CLK synchronous mode.
• tCYC is the machine cycle (unit: ns).
69
Page 70
MB90210 Series
• Internal Shift Clock Mode
SCK
SOD
0.3 V
tSLOV
tSCYC
0.7 VCC
CC
0.7 VCC
0.3 VCC
0.3 VCC
SID
• External Shift Clock Mode
SCK
SOD
SID
0.2 VCC
tSLOV
0.8 VCC
0.2 VCC
tSLSH
0.2 VCC
0.7 VCC
0.3 VCC
0.8 VCC
0.2 VCC
tIVSH
tIVSH
tSHIX
0.8 VCC
0.2 VCC
tSHSL
0.8 VCC
0.2 VCC
tSHIX
0.8 VCC
0.2 VCC
70
Page 71
(11) Resource Input Timing
MB90210 Series
Single-chip modeMB90214/P214B/W214B : (V
MB90P214A/W214A: (V
External bus mode: (V
Parameter
SymbolPin nameCondition
TIN0 to TIN3
TIWH
Input pulse width
t
tTIWL
TIN4 to TIN72 t
PWC0 to PWC3
INT0 to INT33 t
ATG
t
WIWLWI4 tCYC——ns
TIN0 to TIN7
PWC0 to PWC3
INT0 to INT3
WI
Load
condition:
80 pF
tTIWH
CC = +4.5 V to +5.5 V , VSS = 0.0 V, TA = –40°C to +105°C)
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = –40°C to +85°C)
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = – 40°C to +70°C)
Value
UnitRemarks
Min.Typ.Max.
4 t
CYC——
External event
count input mode
ns
2 t
CYC——
CYC——nsGate input mode
Trigger input/
Gate input mode
2 tCYC——ns
CYC——ns
2 tCYC——ns
0.8 VCC0.8 VCC
0.2 VCC0.2 VCC
tTIWL, tWIWL
(12) Resource Output Timing
Single-chip modeMB90214/P214B/W214B : (V
MB90P214A/W214A: (V
External bus mode: (V
Parameter
CLK ↑ →
T
OUT transition time
SymbolPin nameCondition
TOUT0 to TOUT3
PPG
TO
t
POUT0 to POUT3
CLK
TOUT0 to TOUT3
PPG
POUT0 to POUT3
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = –40°C to +10 5°C)
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = –40°C to +85°C)
CC = +4.5 V to +5.5 V, VSS = 0.0 V, TA = –40°C to +70°C)
Value
UnitRemarks
Min.Max.
Load condition:
80 pF
0.7 VCC
0.7 VCC
0.3VCC
tTO
—30ns
71
Page 72
MB90210 Series
≤≤≤
5. A/D Converter Electrical Characteristics
Single-chip mode MB90214/P214B/W214B:
CC = VCC = +5.0±10%, AVSS = VSS = 0.0 V, TA = –40°C to +105°C, +4.5 V AVRH – AVRL)
(AV
Single-chip mode MBP90214A/W214A:
CC = VCC = +5.0±10%, AVSS = VSS = 0.0 V, TA = –40°C to +85°C, +4.5 V AVRH – AVRL)
(AV
External bus mode:
CC = VCC = +5.0±10%, AVSS = VSS = 0.0 V, TA = –40°C to +70°C, +4.5 V AVRH – AVRL)
(AV
Parameter
SymbolPin nameCondition
Min.Typ.Max.
Resolution n————10bit
Total error ———–3.0—+3.0LSB
Linearity error ———–2.0—+2.0LSB
Differential
linearity error
——— ——±1.5LSB
Value
Unit
Remarks
Zero transition
voltage
V
OT
—
AVRL – 1.5 AVRL + 0.5 AVRL + 2.5
AN0 to AN7
Full-scale
transition voltage
Conversion time
Sampling period
Analog port input
current
V
FST—
T
CONV—
CYC = 62.5 ns
t
SAMP—3.75—µs
T
I
AIN
———±0.1µA
AVRH – 3.5 AVRH – 1.5 AVRH+ 0.5
6.125—µs
—
—
AN0 to AN7
Analog input
voltage
Analog reference
voltage
Reference voltage
supply current
Interchannel
disparity
* :The current value applies to the CPU stop mode with the A/D converter inactive (V
AIN—AVRL—AVRHV
V
AVRH—AVRL—AV
CCV
—
AVRL—AV
I
R
——200500µA
SS—AVRHV
AVRH
I
RH———5*µA
—AN0 to AN7———4LSB
CC = AVCC = AVRH = +5.5 V).
Notes: (1) The smaller the | AVRH – AVRL |, the greater the error would become relatively.
(2) Use the output impedance of the external circuit for analog input under the following conditions:
Note: These are not assured value of characteristics but example characteristics.
(2) Output Voltage
T
A (°C)
V CC = 5.5 V
OL vs. I OL example characteristics
V OH vs. I OH example characteristics
OH (V)
V
5.5
V
2.0
V
OL (V)
T A = +25°C
5.0
V CC = 5.0 V
4.5
4.0
3.5
3.0
–15–10–505
I
OH (mA)
1.5
1.0
0.5
0.0
–0.5
–5051015
Note: These are not assured value of characteristics but example characteristics.
I
OL (mA)
T A = +25°C
V CC = 5.0 V
2025
74
Page 75
(3) Pull-up/Pull-down Resistor
MB90210 Series
Pull-down resistor example characteristics
pul D (kΩ)
R
100
90
80
70
V CC = 4.5 V
V CC = 5.0 V
V CC = 5.5 V
60
50
40
30
20
–50050100150
T
A (°C)
Pull-down resistor example characteristics
pul D (kΩ)
R
500
V CC = 5.5 V
400
300
200
100
–50050100150
T
A (°C)
Pull-up resistor example characteristics
pul U (kΩ)
R
100
90
80
70
60
V CC = 4.5 V
V CC = 5.0 V
V CC = 5.5 V
50
40
30
20
–50050100150
T
A (°C)
Pull-up resistor example characteristics
pul U (kΩ)
R
500
400
V CC = 5.5 V
300
200
100
–50050100150
T
A (°C)
Note: These are not assured value of characteristics but example characteristics.
(4) Analog Filter
Analog filter example characteristics
Input pulse width (ns)
80
T A = +25°C
70
60
50
40
30
Filtering enable
20
10
4.04.55.05.56.0
V
CC (V)
Note: These are not assured value of characteristics but example characteristics.
75
Page 76
MB90210 Series
■ INSTRUCTIONS (421 INSTRUCTIONS)
Table 1 Description of Items in Instruction List
ItemDescription
MnemonicEnglish upper case and symbol: Described directly in assembler code.
English lower case: Converted in assembler code.
Number of letters after English lower case: Describes bit width in code.
#Describes number of bytes.
~Describes number of cycles.
For other letters in other items, refer to table 4.
BDescribes correction value for calculating number of actual states.
Number of actual states is calculated by adding value in the ~section.
OperationDescribes operation of instructions.
LHDescribes a special operation to 15 bits to 08 bits of the accumulator.
Z : Transfer 0.
X: Sign-extend and transfer.
– : No transmission
AHDescribes a special operation to the upper 16-bit of the accumulator.
* : Transmit from AL to AH.
– : No transfer.
Z : Transfer 00
X: Sign-extend AL and transfer 00
H to AH.
H or FFH to AH.
IDescribes status of I (interrupt enable), S (stack), T (sticky bit), N (negative), Z (zero),
S
T
N
Z
V
C
RMWDescribes whether or not the instruction is a read-modify-write type (a data is read out from
V (overflow), and C (carry) flags.
* : Changes after execution of instruction.
– : No changes.
S: Set after execution of instruction.
R: Reset after execution of instruction.
memory etc. in single cycle, and the result is written into memory etc.).
* : Read-modify-write instruction
– : Not read-modify-write instruction
Note: Not used to addresses having different functions for reading and writing operations.
76
Page 77
Table 2 Description of Symbols in Instruction Table
ItemDescription
A32-bit accumlator
The bit length is dependent on the instructions to be used.
Byte : Lower 8-bit of AL
Word:16-bit of AL
Long : AL: 32-bit of AH
PCBProgram bank register
DTBData bank register
ADBAdditional data bank register
SSBSystem stack bank register
USBUser stack bank register
SPBCurrent stack bank register (SSB or USB)
DPRDirect page register
brg1DTB, ADB, SSB, USB, DPR, PCB
brg2DTB, ADB, SSB, USB, DPR
MOVA, dir
MOVA, addr16
MOVA, Ri
MOVA, ear
MOVA, eam
MOVA, io
MOVA, #imm8
MOVA, @A
MOVA, @RLi + disp8
MOVA, @SP + disp8
MOVP A, addr24
MOVP A, @A
MOVN A, #imm4
MOVX A, dir
MOVX A, addr16
MOVX A, Ri
MOVX A, ear
MOVX A, eam
MOVX A, io
MOVX A, #imm8
MOVX A, @A
MOVX A, @ RWi + disp 8
MOVX A, @RLi + disp8
MOVX A, @SP + disp8
MOVPX A, addr24
MOVPX A, @A
2
3
1
2
2 +
2
2
2
3
3
5
2
1
2
3
2
2
2 +
2
2
2
2
3
3
5
2
2 + (a)
2 + (a)
LH AH
byte (A) ← (dir)
(b)
2
2
1
1
2
2
2
6
3
3
2
1
2
2
1
1
2
2
2
3
6
3
3
2
byte (A) ← (addr16)
(b)
byte (A) ← (Ri)
0
byte (A) ← (ear)
0
byte (A) ← (eam)
(b)
byte (A) ← (io)
(b)
byte (A) ← imm8
0
byte (A) ← ((A))
(b)
byte (A) ← ((RLi) + disp8)
(b)
byte (A) ← ((SP) + disp8)
(b)
(b)
byte (A) ← (addr24)
(b)
byte (A) ← ((A))
0
byte (A) ← imm4
(b)
byte (A) ← (dir)
(b)
byte (A) ← (addr16)
0
byte (A) ← (Ri)
0
byte (A) ← (ear)
(b)
byte (A) ← (eam)
(b)
byte (A) ← (io)
0
byte (A) ← imm8
(b)
byte (A) ← ((A))
byte (A) ← ((RWi) + disp8)
(b)
(b)
byte (A) ← ((RLi) + disp8)
byte (A) ← ((SP) + disp8)
(b)
(b)
byte (A) ← (addr24)
(b)
byte (A) ← ((A))
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
Z
X
X
X
X
X
X
X
X
X
X
X
X
X
ISTNZVCRMW
–
–
*
*
–
–
–
*
–
*
–
*
–
*
–
*
–
*
–
*
–
–
–
*
–
*
–
*
–
–
–
*
–
*
–
*
–
*
–
*
–
*
–
*
–
*
–
–
–
*
–
*
–
*
–
*
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
R
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
(b)
2
MOVdir, A
MOVaddr16, A
MOVRi, A
MOVear, A
MOVeam, A
MOVio, A
MOV@RLi + disp8, A
MOV@SP + disp8, A
MOVP addr24, A
MOVRi, ear
MOVRi, eam
MOVP @A, Ri
MOVear, Ri
MOVeam, Ri
MOVRi, #imm8
MOVio, #imm8
MOVdir, #imm8
MOVear, #imm8
MOVeam, #imm8
MOV@AL, AH
XCHA, ear
XCHA, eam
XCHRi, ear
XCHRi, eam
Note: For (a) and (b), refer to “Table 4 Number of Execution Cycles in Addressing Modes” and “Table 5 Correction
Values for Number of Cycles for Calculating Actual Number of Cycles.”
MOVW A, dir
MOVW A, addr16
MOVW A, SP
MOVW A, RWi
MOVW A, ear
MOVW A, eam
MOVW A, io
MOVW A, @A
MOVW A, #imm16
MOVW A, @RWi + disp8
MOVW A, @RLi + disp8
MOVW A, @SP + disp8
MOVPW A, addr24
MOVPW A, @A
MOVW dir, A
MOVW addr16, A
MOVW SP, #imm16
MOVW SP, A
MOVW RWi, A
MOVW ear, A
MOVW eam, A
MOVW io, A
MOVW @RWi + disp8, A
MOVW @RLi + disp8, A
MOVW @SP + disp8, A
Note: For (a) and (c), refer to “Table 4 Number of Execution Cycles in Addressing Modes” and “Table 5 Correction
Values for Number of Cycles for Calculating Actual Number of Cycles.”
3 + (a)
3 + (a)
(d)long (A) ← (eam)–––––**–– –
long (A) ← ((SP) + disp8)
long ((SP) + disp8) ← (A)
(d)long (eam) ← (A)–––––**–– –
LH AH
–––––* *–– –
–––––* *–– –
ISTNZVCRMW
82
Page 83
MB90210 Series
Table 9 Add/Subtract (Byte, Word, Long) [42 Instructions]
Mnemonic#~BOperation
byte (A) ← (A) +imm8
ADDA,#imm8
ADDA, dir
ADDA, ear
ADDA, eam
ADDear, A
ADDeam, A
ADDCA
ADDCA, ear
ADDCA, eam
ADDDC A
SUBA, #imm8
SUBA, dir
SUBA, ear
SUBA, eam
SUBear, A
SUBeam, A
SUBCA
SUBCA, ear
SUBCA, eam
SUBDC A
ADDW A
ADDW A, ear
ADDW A, eam
ADDW
ADDW ear, A
ADDW eam, A
ADDCW A, ear
ADDCW A, eam
SUBWA
SUBWA, ear
SUBWA, eam
SUBW
SUBWear, A
SUBWeam, A
SUBCW A, ear
SUBCW A, eam
MULUA
MULUA, ear
MULUA, eam
MULUW A
MULUW A, ear
MULUW A, eam
Note: For (b) and (c), refer to “Table 5 Correction Values for Number of Cycles for Calculating Actual Number of
Cycles.”
1
2
2 +
2
2+
1
2
2 +
1
2
2 +
*1
*2
*3
*4
*5
*8
*9
*10
*11
*12
*13
0
word (AH) /byte (AL)
Quotient → byte (AL)
Remainder → byte (AH)
0
word (A)/byte (ear)
Quotient → byte (A)
Remainder → byte (ear)
word (A)/byte (eam)
*6
Quotient → byte (A)
Remainder → byte (eam)
long (A)/word (ear)
0
Quotient → word (A)
Remainder → word (ear)
long (A)/word (eam)
*7
Quotient → word (A)
Remainder → word (eam)
byte (AH) byte (AL) → wo rd (A)
0
byte (A) byte (ear) → word (A)
0
byte (A) byte (eam) → word (A)
(b)
word (AH) word (AL) → long (A)
0
word (A) word (ear) → long (A)
0
word (A) word (eam) → long (A)
(c)
LH AH
–
–
–
–
–
–
–
–
–
–
–
ISTNZVCRMW
–
–
–
–
–
–
*
*
–
–
–
–
–
–
*
*
–
–
–
–
–
–
*
*
–
–
–
–
–
–
*
*
–
–
–
–
–
–
*
*
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*1: Set to 3 when the division-by-0, 6 for an overflow, and 14 for normal operation.
*2: Set to 3 when the division-by-0, 6 for an overflow, and 13 for normal operation.
*3: Set to 5 + (a) when the division-by-0, 7 + (a) for an overflow, and 17 + (a) for normal operation.
*4: Set to 3 when the division-by-0, 5 for an overflow, and 21 for normal operation.
*5: Set to 4 + (a) when the division-by-0, 7 + (a) for an overflow, and 25 + (a) for normal operation.
*6: When the division-by-0, (b) for an overflow, and 2 × (b) for normal operation.
*7: When the division-by-0, (c) for an overflow, and 2 × (c) for normal operation.
*8: Set to 3 when byte (AH) is zero, 7 when byte (AH) is not zero.
*9: Set to 3 when byte (ear) is zero, 7 when byte (ear) is not zero.
*10:Set to 4 + (a) when byte (eam) is zero, 8 + (a) when byte (eam) is not zero.
*11:Set to 3 when word (AH) is zero, 11 when word (AH) is not zero.
*12:Set to 4 when word (ear) is zero, 11 when word (ear) is not zero.
*13:Set to 4 + (a) when word (eam) is zero, 12 + (a) when word (eam) is not zero.
85
Page 86
MB90210 Series
Table 13 Signed multiplication/division (Word, Long) [11 Instructions]
Mnemonic#~BOperation
DIVA2 *10word (AH)/byte (AL)Z––––––** –
Quotient → byte (AL)
Remainder → byte (AH)
DIVA, ear2 *20word (A)/byte (ear)Z––––––* * –
Quotient → byte (A)
Remainder → byte (ear)
DIVA, eam2 +*3*6word (A)/byte (eam)Z––––––** –
Quotient → byte (A)
Remainder → byte (eam)
DIVWA, ear2*40long (A)/word (ear)–––––––* * –
Quotient → word (A)
Remainder → word (ear)
DIVWA, eam2 + *5*7 long (A)/word (eam)–––––––* * –
Quotient → word (A)
Remainder → word (eam)
MULA2*80byte (AH) × byte (AL) → word (A)––––––––– –
MULA, ear2*90byte (A) × byte (ear) → word (A) ––––––––– –
MULA, eam2 + *10 (b)
MULWA2*110
MULWA, ear2*120
MULWA, eam2 + *13 (b) word
For (b) and (c), refer to “Table 5 Correction Values f or Number of Cycles for Calculating Actual Number of Cycles.”
byte (A) × byte (eam) → word (A)
word (AH) × word (AL) → long (A)
word (A) × word (ear) → long (A)
(A) × word (eam)
→
long (A)––––––––– –
LH AH
––––––––– –
––––––––– –
––––––––– –
ISTNZVCRMW
*1: Set to 3 for divide-by-0, 8 or 18 for an overflow, and 18 for normal operation.
*2: Set to 3 for divide-by-0, 10 or 21 for an overflow, and 22 for normal operation.
*3: Set to 4 + (a) for divide-by-0, 11 + (a) or 22 + (a) for an overflow, and 23 + (a) for normal operation.
*4: Positive divided: Set to 4 for divide-by-0, 10 or 29 for an overflow, and 30 for normal operation.
Negative divided: Set to 4 for divide-by-0, 11 or 30 for an overflow, and 31 for normal operation.
*5: Positive divided: Set to 4 + (a) for divide-by-0, 11 + (a) or 30 + (a) for an overflow , and 31 + (a) for normal operation.
Negative divided: Set to 4 + (a) for divide-by-0, 12 + (a) or 31 + (a) for an overflow, and 32 + (a) for normal
operation.
*6: Set to (b) when the division-by-0 or an overflow, and 2
*7: Set to (c) when the division-by-0 or an overflow, and 2
*8: Set to 3 when byte (AH) is zero, 12 when the result is positive, and 13 when the result is negative.
*9: Set to 3 when byte (ear) is zero, 12 when the result is positive, and 13 when the result is negative.
*10:Set to 4 + (a) when byte (eam) is zero, 13 + (a) when the result is positive, and 14 + (a) when the result is negative.
*11:Set to 3 when word (AH) is zero, 12 when the result is positive, and 13 when the result is negative.
*12:Set to 3 when word (ear) is zero, 16 when the result is positive, and 19 when the result is negative.
*13:Set to 4 + (a) when word (eam) is zero, 17 + (a) when the result is positive, and 20 + (a) when the result is negative.
Note: When overflow occurs during DIV or DIVW instruction execution, the number of execution cycles takes two
values because of detection before and after an operation.
When overflow occurs during DIV or DIVW instruction execution, the contents of AL are destroyed.
× (b) for normal operation.
× (c) for normal operation.
86
Page 87
MB90210 Series
Table 14 Logic 1 (Byte, Word) [39 Instruc tions]
Mnemonic#~BOperation
byte (A) ← (A) and imm8
ANDA, #imm8
ANDA, ear
ANDA, eam
ANDear, A
ANDeam, A
ORA, #imm8
ORA, ear
ORA, eam
ORear, A
OReam, A
XORA, #imm8
XORA, ear
XORA, eam
XORear, A
XOReam, A
NOTA
NOTear
NOTeam
ANDW A
ANDW A, #imm16
ANDW A, ear
ANDW A, eam
ANDW ear, A
ANDW eam, A
2
2
2 +
2
2 +
2
2
2 +
2
2 +
2
2
2 +
2
2 +
1
2
2 +
1
3
2
2 +
2
2 +
2
2
3 + (a)
3
3 + (a)
2
2
3 + (a)
3
3 + (a)
2
2
3 + (a)
3
3 + (a)
2
2
3 + (a)
2
2
2
3 + (a)
3
3 + (a)
0
0
(b)
0
2 × (b)
0
0
(b)
0
2 × (b)
0
0
(b)
0
2 × (b)
0
0
2 × (b)
0
0
0
(c)
0
2 × (c)
byte (A) ← (A) and (ear)
byte (A) ← (A) and (eam)
byte (ear) ← (ear) and (A)
byte (eam) ← (eam) and (A)
byte (A) ← (A) or imm8
byte (A) ← (A) or (ear)
byte (A) ← (A) or (eam)
byte (ear) ← (ear) or (A)
byte (eam) ← (eam) or (A)
word (A) ← (AH) and (A)
word (A) ← (A) and imm16
word (A) ← (A) and (ear)
word (A) ← (A) and (eam)
word (ear) ← (ear) and (A)
word (eam) ← (eam) and (A)
LH AH
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
ISTNZVCRMW
–
–
R
*
*
–
–
–
–
–
R
*
*
–
–
–
–
–
R
*
*
–
–
–
*
–
R
*
*
–
–
–
*
–
R
*
*
–
–
–
–
–
R
*
*
–
–
–
–
–
R
*
*
–
–
–
–
–
R
*
*
–
–
–
*
–
R
*
*
–
–
–
*
–
R
*
*
–
–
–
–
–
R
*
*
–
–
–
–
–
R
*
*
–
–
–
–
–
R
*
*
–
–
–
*
–
R
*
*
–
–
–
*
–
R
*
*
–
–
–
–
–
R
*
*
–
–
–
*
–
R
*
*
–
–
–
*
–
R
*
*
–
–
–
–
–
R
*
*
–
–
–
–
–
R
*
*
–
–
–
–
–
R
*
*
–
–
–
–
–
R
*
*
–
–
–
*
–
R
*
*
–
–
–
*
–
R
*
*
–
–
–
word (A) ← (AH) or (A)
2
ORWA
ORWA, #imm16
ORWA, ear
ORWA, eam
ORWear, A
ORWeam, A
XORW A
XORW A, #imm16
XORW A, ear
XORW A, eam
XORW ear, A
XORW eam, A
NOTW A
NOTW ear
NOTW eam
Note: For (a) to (c), refer to “Table 4 Number of Execution Cycles in Addressing Modes” and “Table 5 Correction
Values for Number of Cycles for Calculating Actual Number of Cycles.”
1
3
2
2 +
2
2 +
1
3
2
2 +
2
2 +
1
2
2 +
2
2
3 + (a)
3
3 + (a)
2
2
2
3 + (a)
3
3 + (a)
2
3
3 + (a)
0
0
0
(c)
0
2 × (c)
0
0
0
(c)
0
2 × (c)
0
0
2 × (c)
word (A) ← (A) or imm16
word (A) ← (A) or (ear)
word (A) ← (A) or (eam)
word (ear) ← (ear) or (A)
word (eam) ← (eam) or (A)
word (A) ← (AH) xor (A)
word (A) ← (A) xor imm16
word (A) ← (A) xor (ear)
word (A) ← (A) xor (eam)
word (ear) ← (ear) xor (A)
word (eam) ← (eam) xor (A)
word (A) ← not (A)
word (ear) ← not (ear)
word (eam) ← not (eam)
–
–
–
R
*
*
–
–
–
–
–
–
–
R
*
*
–
–
–
–
–
–
–
R
*
*
–
–
–
–
–
*
–
R
*
*
–
–
–
–
–
*
–
R
*
*
–
–
–
–
–
–
–
R
*
*
–
–
–
–
–
–
–
R
*
*
–
–
–
–
–
–
–
R
*
*
–
–
–
–
–
–
–
R
*
*
–
–
–
–
–
*
–
R
*
*
–
–
–
–
–
*
–
R
*
*
–
–
–
–
–
–
–
R
*
*
–
–
–
–
–
*
–
R
*
*
–
–
–
–
–
*
–
R
*
*
–
–
–
–
–
–
–
R
*
*
–
–
–
–
87
Page 88
MB90210 Series
Table 15 Logic 2 (Long) [6 Instructions]
Mnemonic#~BOperation
ANDLA, ear
ANDLA, eam
ORLA, ear
ORLA, eam
XORLA, ear
XORLA, eam
2
2 +
2
2 +
2
2 +
5
6 + (a)
5
6 + (a)
5
6 + (a)
0
long (A) ← (A) and (ear)
(d)
long (A) ← (A) and (eam)
0
long (A) ← (A) or (ear)
(d)
long (A) ← (A) or (eam)
0
long (A) ← (A) xor (ear)
(d)
long (A) ← (A) xor (eam)
LH AH
–
–
–
–
–
–
–
–
–
–
–
–
ISTNZVCRMW
–
–
–
*
*
R
–
–
–
–
–
*
*
R
–
–
–
–
–
*
*
R
–
–
–
–
–
*
*
R
–
–
–
–
–
*
*
R
–
–
–
–
–
*
*
R
–
–
Note: For (a) and (d), refer to “Table 4 Number of Execution Cycles in Addressing Modes” and “Table 5 Correction
Values for Number of Cycles for Calculating Actual Number of Cycles.”
is originally located
byte (R0) ← Number of shifts
in the operation
* :Set to 5 when the accumulator is all “0”, otherwise set to 5 + (R0).
88
Page 89
MB90210 Series
Table 19 Shift Type Instruction (Byte, Word, Long) [27 Instructions]
Mnemonic#~BOperation
RORC A
ROLC A
RORC ear
RORC eam
ROLC ear
ROLC eam
ASRA, R0
LSRA, R0
LSLA, R0
ASR
A, #imm8
LSRA, #imm8
LSLA, #imm8
ASRW A
LSRW
A/SHRW A
LSL W A/SHLW A
ASRW A, R0
LSRW A, R0
LSLW A, R0
ASRW
A, #imm8
LSRW A, #imm8
LSLW A, #imm8
ASRL A, R0
LSRL A, R0
LSLLA, R0
2
2
2
2 +
2
2 +
2
2
2
3
3
3
1
1
1
2
2
2
3
3
3
2
2
2
2
2
2
3 + (a)
2
3 + (a)
*1
*1
*1
*3
*3
*3
2
2
2
*1
*1
*1
*3
*3
*3
*2
*2
*2
0
byte (A) ← With right-rotate carry
0
byte (A) ← With left-rotate carry
0
byte (ear) ← With right-rotate carry
2 × (b)
byte (e am) ← With right-rotate carry
0
byte (ear) ← With left-ro tate ca rry
2 × (b)
byte (e am) ← With left-rotate carry
byte (A) ← Arithmetic right barrel shift (A, R0)
0
byte (A) ← Logical right barrel shift (A, R0)
0
byte (A) ← Logical left barrel shift (A, R0)
0
byte (A) ← Arithmetic right barrel shift (A, imm8)
0
byte (A) ← Logical right barrel shift (A, imm8)
0
byte (A) ← Logical left barrel shift (A, imm8)
0
word (A) ← Arithmetic right shift (A, 1 bit)
0
word (A) ← Logical right shift (A, 1 bit)
0
word (A) ← Logical left shift (A, 1 bit)
0
word (A) ← Arithmetic right barrel shift (A, R0)
0
word (A) ← Logical right barrel shift (A, R0)
0
word (A) ← Logical left barrel shift (A, R0)
0
word (A) ← Arithmetic right barrel shift (A, imm8)
0
word (A) ← Logical right barrel shift (A, imm8)
0
word (A) ← Logical left barrel shift (A, imm8)
0
long (A) ← Arithmetic right barrel shift (A, R0)
0
long (A) ← Logical right barrel shift (A, R0)
0
long (A) ← Logical left barrel shift (A, R0)
0
LH AH
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
ISTNZVC
–
–
–
*
*
–
*
–
–
–
*
*
–
*
–
–
–
*
*
–
*
–
–
–
*
*
–
*
–
–
–
*
*
–
*
–
–
–
*
*
–
*
–
–
*
*
*
–
*
–
–
*
*
*
–
*
–
–
–
*
*
–
*
–
–
*
*
*
–
*
–
–
*
*
*
–
*
–
–
–
*
*
–
*
*
–
*
*
*
–
–
*
–
*
R
*
–
–
*
–
*
*
–
–
–
*
–
*
*
*
–
–
*
–
*
*
*
–
–
*
–
*
*
–
–
–
*
–
*
*
*
–
–
*
–
*
*
*
–
–
*
–
*
*
–
–
–
*
–
*
*
*
–
–
*
–
*
*
*
–
–
*
–
*
*
–
–
–
RMW
–
–
*
*
*
*
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
ASRL
A, #imm8
LSRL A, #imm8
LSLLA, #imm8
*4
3
*4
3
*4
3
long (A) ← Arithmetic right barrel shift (A, imm8)
0
long (A) ← Logical right barrel shift (A, imm8)
0
long (A) ← Logical left barrel shift (A, imm8)
0
–
*
–
*
*
*
–
–
–
–
–
*
–
*
*
*
–
–
–
–
–
*
–
*
*
–
–
–
–
–
Note: For (a) and (b), refer to “Table 4 Number of Execution Cycles in Addressing Modes” and “Table 5 Correction
Values for Number of Cycles for Calculating Actual Number of Cycles.”
*1: Set to 3 when R0 is 0, otherwise 3 + (R0).
*2: Set to 3 when R0 is 0, otherwise 4 + (R0).
*3: Set to 3 when imm8 is 0, otherwise 3 + imm8.
*4: Set to 3 when imm8 is 0, otherwise 4 + imm8.
Note: For (a), (c) and (d), refer to “T ab le 4 Number of Execution Cycles in Addressing Modes” and “T able 5 Correction
Values for Number of Cycles for Calculating Actual Number of Cycles.”
*1: Set to 3 when branch is executed, and 2 when branch is not executed.
*2: 3 × (c) + (b)
*3: Reads (word) of the branch destination address.
*4: W pushes to stack (word), and R reads (word) of the branch destination address.
*5: Pushes to stack (word).
*6: W pushes to stack (long), and R reads (long) of the branch destination address.
*7: Pushes to stack (long).
word (ear) = (ear) – 1,
Branch if (ear) ≠ 0
word (eam) = (eam) – 1,
Branch if (eam) ≠ 0
Software interrupt
Software interrupt
Software interrupt
Software interrupt
Return from interrupt
Return from interrupt
LH AH
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
ISTNZVCRMW
–
–
–
*
*
*
*
–
–
–
–
*
*
*
*
–
–
–
–
*
*
*
*
–
–
–
–
*
*
*
*
–
–
–
–
*
*
*
*
–
–
–
–
*
*
*
*
–
–
–
–
*
*
*
–
–
–
–
–
*
*
*
–
*
–
–
–
*
*
*
–
–
–
–
–
*
*
*
–
*
R
S
–
–
–
–
–
–
R
S
–
–
–
–
–
–
R
S
–
–
–
–
–
–
R
S
–
–
–
–
–
–
*
*
*
*
*
*
*
–
*
*
*
*
*
*
*
–
LINK#imm8
2
6
Stores old frame pointer in
(c)
–
–
–
–
–
–
–
–
–
–
the beginning of the
function, set new frame
pointer, and reserves local
pointer area
UNLINK
1
5
Restore old frame pointer
(c)
–
–
–
–
–
–
–
–
–
–
from stack in the end of
the function
RET *
RETP *
7
8
1
4
1
5
Return from subroutine
(c)
Return from subroutine
(d)
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Note: For (a) to (d), refer to “Table 4 Number of Execution Cycles in Addressing Modes” and “Table 5 Correction
Values for Number of Cycles for Calculating Actual Number of Cycles.”
*1: Set to 4 when branch is executed, and 3 when branch is not executed.
*2: Set to 5 when branch is executed, and 4 when branch is not executed.
*3: Set to 5 + (a) when branch is executed, and 4 + (a) when branch is not executed.
*4: Set to 6 + (a) when branch is executed, and 5 + (a) when branch is not executed.
*5: Set to 3 × (b) + 2 × (c) when an interrupt request is issued, and 6 × (c) for return.
*6: This is a high-speed interrupt return instruction. In the instruction, an interrupt request is detected. When an
interrupt occurs, stack operation is not performed, with this instruction branching to the interrupt vector.
*7: Return from stack (word).
*8: Return from stack (long).
91
Page 92
MB90210 Series
Table 22 Miscellaneous Control Types (Byte, Word, Long) [36 Instructions]
Mnemonic#~BOperation
word (SP) ← (SP) – 2, ((SP)) ← (A)
(c)
PUSHW A
PUSHW AH
PUSHW PS
PUSHW rlst
POPWA
POPWAH
POPWPS
POPWrlst
JCTX@A
AND
CCR, #imm8
ORCCR, #imm8
MOVRP, #imm8
MOVILM, #imm8
MOVEA RWi, ear
MOVEA RWi, eam
MOVEA A, ear
MOVEA A, eam
ADDSP #imm8
ADDSP #imm16
MOVA, brgl
MOVbrg2, A
MOVbrg2, #imm8
1
1
1
2
1
1
1
2
1
2
2
2
2
2
2 +
2
2 +
2
3
2
2
3
3
3
3
*3
3
3
3
*2
9
3
3
2
2
3
2 + (a)
2
1 + (a)
3
3
*1
1
2
word (SP) ← (SP) – 2, ((SP)) ← (AH)
(c)
word (SP) ← (SP) – 2, ((SP)) ← (PS)
(c)
(PS) ← (PS) – 2n, ((SP)) ← (rlst)
*4
word (A) ← ((SP)), (SP) ← (SP) + 2
(c)
word (AH) ← ((SP)), (SP) ← (SP) + 2
(c)
word (PS) ← ((SP)), (SP) ← (SP) + 2
(c)
(rlst) ← ((SP)), (SP) ← (SP) + 2n
*4
6 × (c)
Context switch instruction
0
byte (CCR) ← (CCR) and imm8
0
byte (CCR) ← (CCR) or imm8
0
byte (RP) ← imm8
0
byte (ILM ) ← imm8
0
word (RWi) ← ear
0
word (RWi) ← eam
0
word(A) ← ear
0
word (A) ← eam
0
word (SP) ← (SP) + ext (imm8)
0
word (SP) ← (SP) + imm16
0
byte (A) ← (brgl)
0
byte (brg2) ← (A)
0
byte (brg2) ← imm8
LH AH
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Z
–
–
–
–
ISTNZVCRMW
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
–
–
–
*
–
*
*
*
–
–
–
–
–
*
–
*
–
–
–
*
–
–
*
*
–
–
*
*
*
*
*
*
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
–
–
*
*
*
*
*
*
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
*
*
*
*
*
–
–
–
–
–
–
–
–
–
–
*
*
–
–
*
*
*
*
*
*
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
NOP
ADB
DTB
PCB
SPB
NCC
CMR
MOVW SPCU, #imm16
MOVW SPCL, #imm16
SETSPC
CLRSPC
BTSCN A
BTSCNS A
BTSCND A
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
4
2
4
2
2
2
2
*5
2
*6
2
*7
2
0
No operation
Prefix code for accessing AD space
0
Prefix code for accessing DT space
0
Prefix code for accessing PC space
0
Prefix code for accessing SP space
0
Prefix code for no change in flag
0
Prefix for common register bank
0
0
word (SPCU) ← (imm16)
0
word (SPCL) ← (imm16)
0
Enables stack check operation.
0
Disables stack check operation.
Bit position of 1 in byte (A) from word (A)
0
Bit posi ti on ( × 2) of 1 in byte (A) from word (A)
0
Bit posi ti on ( × 4) of 1 in byte (A) from word (A)
0
–
–
–
–
–
–
–
–
–
–
–
Z
Z
Z
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
–
*
–
*
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Note: For (a) and (c), refer to “Table 4 Number of Execution Cycles in Addressing Modes” and “Table 5 Correction
Values for Number of Cycles for Calculating Actual Number of Cycles.”
*1: PCB, ADB, SSB, USB, and SPB : 1 state
DTB: 2 states
DPR: 3 states
*2: 3 + 4 × (number of POPs)
*3: 3 + 4 × (number of PUSHes)
*4: (Number of POPs) × (c), or (number of PUSHes) × (c )
*5: Set to 3 when AL is 0, 5 when AL is not 0.
*6: Set to 4 when AL is 0, 6 when AL is not 0.
*7: Set to 5 when AL is 0, 7 when AL is not 0.
92
Page 93
MB90210 Series
Table 23 Bit Manipulation Instruction [21 Instructions]
Mnemonic#~BOperation
byte (A) ← (dir:bp) b
(b)
3
MOVB A, dir:bp
MOVB A, addr16:bp
MOVB A, io:bp
MOVB dir:bp, A
MOVB addr16:bp, A
MOVB io:bp, A
SETB dir:bp
SETB addr16:bp
SETB io:bp
CLRB dir:bp
CLRB addr16:bp
CLRB io:bp
BBCdir:bp, rel
BBCaddr16:bp, rel
BBCio:bp, rel
BBSdir:bp, rel
BBSaddr16:bp, rel
BBSio:bp, rel
SBBSaddr16:bp, rel
3
byte (A) ← (addr16:bp) b
(b)
3
4
byte (A) ← (io:bp) b
(b)
3
3
2 × (b)
4
3
2 × (b)
4
4
2 × (b)
4
3
2 × (b)
4
3
2 × (b)
4
4
2 × (b)
4
3
2 × (b)
4
3
2 × (b)
4
4
2 × (b)
4
3
*1
4
*1
5
*1
4
*1
4
*1
5
*1
4
2 × (b)
*2
5
bit (dir:bp) b ← (A)
bit (addr16:bp) b ← (A)
bit (io:bp) b ← (A)
bit (dir:bp) b ← 1
bit (addr16:bp) b ← 1
bit (io:bp) b ← 1
bit (dir:bp) b ← 0
bit (addr16:bp) b ← 0
bit (io:bp) b ← 0
Branch if (dir:bp) b = 0
(b)
Branch if (addr16:bp) b = 0
(b)
Branch if (io:bp) b = 0
(b)
Branch if (dir:bp) b = 1
(b)
Branch if (addr16:bp) b = 1
(b)
Branch if (io:bp) b = 1
(b)
Branch if (addr16:bp) b = 1, bit = 1
LH AH
Z
Z
Z
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
ISTNZVCRMW
–
–
*
*
–
–
–
*
–
–
*
*
–
–
–
*
–
–
*
*
–
–
–
*
–
–
*
*
–
–
–
–
–
*
*
–
–
–
–
–
*
*
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
*
–
–
–
–
–
–
*
–
–
–
–
–
–
*
–
–
–
–
–
–
*
–
–
–
–
–
–
*
–
–
–
–
–
–
*
–
–
–
–
–
–
*
–
–
–
–
–
–
–
*
*
*
*
*
*
*
*
*
–
–
–
–
–
–
*
*3
WBTS io:bp
WBTC io:bp
Note: For (b), refer to “Table 5 Correction Values for Number of Cycles for Calculating Actual Number of Cycles.”
*1: Set to 5 when branch is executed, and 4 when branch is not executed.
*2: 7 if conditions are met, 6 when conditions are not met.
*3: Indeterminate times
*4: Until conditions are met
*1: 256 when 5 + imm8 × 5, imm8 is 0.
*2: 256 when 5 + imm8 × 5 + (a), imm8 is 0.
*3: (Number of transfer cycles) × (b) × 2
*4: (Number of transfer cycles) × (c) × 2
*5: The bank register specified by bnk is the same as that for the MOVS instruction.
95
Page 96
MB90210 Series
■ ORDERING INFORMATION
Part numberTypePackageRemarks
MB90214
MB90P214A
MB90P214B
MB90W214A
MB90W214B
MB90214PF
MB90P214PF
MB90P214BPF
MB90W214ZF
MB90W214BZF
80-pin Plastic QFP
(FPT-80P-M06)
80-pin Ceramic QFP
(FPT-80C-C02)
Only ES level
MB90V210MB90V210CR256-pin Ceramic PGA
(PGA-256C-A02)
For evaluation
96
Page 97
■ PACKAGE DIMENSIONS
80-pin Plastic QFP
(FPT-80P-M06)
23.90±0.40(.941±.016)
6441
65
20.00±0.20(.787±.008)
MB90210 Series
3.35(.132)MAX
0.05(.002)MIN
(STAND OFF)
40
(Mounting height)
80
LEAD No.
C
1994 FUJITSU LIMITED F80010S-3C-2
80-pin Ceramic QFP
(FPT-80C -C02)
INDEX
0.80(.0315)TYP
18.40(.724)REF
22.30±0.40(.878±.016)
Ø8.89(.350)TYP
0.10(.004)
"A"
0.35±0.10
(.014±.004)
0.16(.006)
14.00±0.20
25
241
M
"B"
12.00(.472)
REF
17.90±0.40
(.705±.016)(.551±.008)
Details of "A" part
0.18(.007)MAX
0.58(.023)MAX
17.90±0.30
(.705±.012)
+0.45
–0.15
14.00
+.018
–.006
.551
0.25(.010)
0.30(.012)
12.00(.472)
0.15±0.05(.006±.002)
Details of "B" part
REF
16.30±0.40
(.642±.016)
0 10°
0.80±0.20
(.031±.008)
Dimension s in mm (inches)
0.05(.002)MIN
(STAND OFF)
16.30±0.25
(.642±.010)
INDEX AREA
0.80(.0315)TYP
18.40(.724) REF
20.00
23.90±0.30
(.941±.012)
C
1994 FUJITSU LIMITED F80018SC-1-2
.787
+0.50
–0.20
+.020
–.008
0.35±0.10
(.014±.004)
0.15±0.05
(.006±.002)
1.45±0.20
3.30(.130)MAX
(.057±.008)
(Mounting height)
0.80±0.2022.30±0.25
(.0315±.008)(.878±.010)
Dimension s in mm (inches)
97
Page 98
MB90210 Series
MEMO
98
Page 99
MEMO
MB90210 Series
99
Page 100
MB90210 Series
FUJITSU LIMITED
For further information please contact:
Japan
FUJITSU LIMITED
Corporate Global Business Support Division
Electronic Devices
KAWASAKI PLANT, 4-1-1, Kamikodanaka
Nakahara-ku, Kawa saki-shi
Kanagawa 211-88, Japan
Tel: (044) 754-3763
Fax: (044) 754-3329
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.
http://www.fujitsu.co.jp/
North and South America
FUJITSU MICROELECTRONICS, INC.
Semiconductor Division
3545 North First Street
San Jose, CA 95134-1804, U.S.A.
Tel: (408) 922-9000
Fax: (408) 922-9179
Customer Response Center
Mon. - Fri.: 7 am - 5 pm (PST)
Tel: (800) 866-8608
Fax: (408) 922-9179
http://www.fujitsumicro.com/
Europe
FUJITSU MIKROELEKTRONIK GmbH
Am Siebenstein 6-10
D-63303 Dreieich-Buchschl ag
Germany
Tel: (06103) 690-0
Fax: (06103) 690-122
http://www.fujitsu-ede.com/
Asia Pacific
FUJITSU MICROELECTRONICS ASIA P TE LTD
#05-08, 151 Lorong Chuan
New Tech Park
Singapore 556741
Tel: (65) 281-0770
Fax: (65) 281-0220
http://www.fmap.com.sg/
The information and circ uit diagrams in this document presented
as examples of semicondu ctor device applications, and are not
intended to be incorporated in devices for actual use. Also,
FUJITSU is unable to assume responsibility for infringem ent of
any patent rights or other rights of third parties arising from the
use of this information or circuit diagrams.
FUJITSU semiconductor devices are inten ded for use in
standard applications (computers, office automation and other
office equipment, industrial, communications, and measurement
equipment, personal or household devices, etc.).
CAUTION:
Customers considering the use of ou r pr oducts in special
applications where failure or abno rmal operation may directly
affect human lives or cause physical injury or property damage,
or where extremely high levels of reliability are dema nded (such
as aerospace systems, atomic energy controls, sea floor
repeaters, vehicle operating controls, medical devices for li f e
support, etc.) are requested to consult with FUJITSU sales
representatives before such use. The company will not be
responsible for damages arising from such use without prior
approval.
Any semiconductor devices hav e inhe rently a certain rat e of
failure. You must prot ect against injur y, 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 docume nt represent goods or
technologies subject to certain restrictions on export under the
Foreign Exchange and Foreign Trade Control Law of Japan, the
prior authorization by Japanese government should be required
for export of those products from Japan.
F9710
FUJITSU LIMITED Printed in Japan
10
Loading...
+ 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.