The FUJITSU MB90420G/425G Series is a 16-bit general purpose high-capacity microcontroller designed for
vehicle meter control applications etc.
The instruction set retains the same A T architecture as the FUJITSU original F
further refinements including high-level language instructions, expanded addressing mode, enhanced (signed)
multipler-divider computation and bit processing.
2
MC-8L and F2MC-16L series, with
In addition, a 32-bit accumulator is built in to enable long word processing.
FEATURES
■
• 16-bit input capture (4 channels)
Detects rising, falling, or both edges.
16-bit capture register × 4
Pin input edge detection latches the 16-bit free-run timer counter value, and generates an interrupt request.
• Delay interrupt
Generates interrupt for task switching.
Interruptions to CPU can be generated/deleted by software setting.
• External interrupts (8 channels)
8-channel independent operation
Interrupt source setting available : “L” to “H” edge/ “H” to “L” edge/ “L” level/ “H” level.
• A/D converter
10-bit or 8-bit resolution × 8 channels (input multiplexed)
Conversion time : 6.13 µs or less (at f
CP= 16 MHz)
External trigger startup available (P50/INT0/ADTG)
Internal timer startup available (16-bit reload timer 1)
• UART (2 channels)
Full duplex double buffer type
Supports asynchronous/synchronous transfer (with start/stop bits)
Internal timer can be selected as clock (16-bit reload timer 0)
Asynchronous : 4808 bps, 5208 bps, 9615 bps, 10417 bps, 19230 bps, 38460 bps, 62500 bps, 500000 bps
Synchronous : 500 Kbps, 1Mbps, 2Mbps (at f
• CAN interface *
1
Conforms to CAN specifications version 2.0 Part A and B.
Automatic resend in case of error.
Automatic transfer in response to remote frame.
16 prioritized message buffers for data and messages for data and ID
Multiple message support
Receiving filter has flexible configuration : All bit compare/all bit mask/two partial bit masks
Supports up to 1 Mbps
CAN WAKEUP function (connects RX internally to INT0)
• LCD controller/driver (1 channel)
Segment driver and command driver with direct LCD panel (display) drive capability
• Low voltage/Program Looping detect reset *
Automatic reset when low voltage is detected
Program Looping detection function
• Stepping motor controller (4 channels)
High current output for all channels × 4
Synchronized 8/10-bit PWM for all channels × 2
• Sound generator
8-bit PWM signal mixed with tone frequency from 8-bit reload counter.
PWM frequencies : 62.5 kHz, 31.2 kHz, 15.6 kHz, 7.8 kHz (at f
Tone frequencies : 1/2 PWM frequency, divided by (reload frequency +1)
6
CP= 16 MHz)
2
CP= 16MHz)
(Continued)
2
MB90420G/425G Series
(Continued)
• Input/output ports
Push-pull output and Schmitt trigger input
Programmable in bit units for input/output or peripheral signals.
•Flash memory
Supports automatic programming, Embeded Algorithm
Flag indicates algorithm completion
Minato Electronics flash writer
Boot block configuration
Erasable by blocks
Block protection by external programming voltage
*1 : MB90420G series has 2 channels built-in, MB90425G series has 1 channel built-in
*2 : Built-in to MB90420GA/425GA series only. Not built-in to MB90420GC/425GC series.
Embeded Algorithm is a registered trademark of Advanced Micro Devices Inc.
• Strictly observe maximum rated voltages (prevent latchup)
MB90420G/425G Series
When CMOS integrated circuit devices are subjected to applied voltages higher than V
pins other than medium- and high-withstand voltage pins, or to voltages lower than V
excess of rated le vels are applied between V
CC and VSS, a phenomenon known as latchup can occur . In a latchup
CC at input and output
SS, or when voltages in
condition, supply current can increase dramatically and may destroy semiconductor elements. In using semiconductor devices, always take sufficient care to avoid exceeding maximum ratings.
Also care must be taken when power to analog systems is switched on or off, to ensure that the analog power
supply (AV
do not exceed the digital power supply (V
CC, AVRH) , analog input and dedicated power supply for the high current output buffer pins (DVCC)
CC) .
Once the digital power supply (VCC) is switched on, the analog po wer (AVCC,AVRH) and dedicated power supply
for the high current output buffer pins (DV
CC) may be turned on in any sequence.
• Stable supply voltage
Even within the warranted operating range of V
CC supply voltage, sudden fluctuations in supply voltage can
cause abnormal operation. The recommended stability for ripple fluctuations (P-P values) at commercial frequencies (50 Hz to 60 Hz) should be within 10% of the standard V
CC value, and voltage fluctuations that occur
during switching of power supplies etc. should be limited to transient fluctuation rates of 0.1 V/ms or less.
• Power-on procedures
In order to prevent abnormal operation of the internal built-in step-down circuits, v oltage rise time during poweron should be attained within 50 µs (0.2 V to 2.7 V) .
• Treatment of unused pins
If unused input pins are left open, they ma y cause abnormal operation or latchup which may lead to permanent
damage to the semiconductor. An y such pins should be pulled up or pulled do wn through resistance of at least
2 kΩ.
Any unused input/output pins should be left open in output status, or if found set to input status , they should be
treated in the same way as input pins.
Any unused output pins should be left open.
• Treatment of A/D converter power supply pins
Even if the A/D converter is not used, pins should be connected so that AV
CC= VCC, and AVSS= AVRH = VSS.
• Use of external clock signals
Even when an external clock is used, a stabilization period is required following a power-on reset or release
from sub clock mode or stop mode. Also, when an e xternal clock is used it should drive only the X0 pin and the
X1 pin should be left open, as shown in Figure 3.
X0
OPEN
X1
MB90420G/425G Series
Sample external clock connection
13
MB90420G/425G Series
• Power supply pins
Devices are designed to pre vent problems such as latchup when multiple V
CC and VSS supply pins are used, by
providing internal connections between pins having the same potential. However, in order to reduce unwanted
radiation, and to prevent abnormal operation of strobe signals due to rise in ground level, and to maintain total
output current ratings, all such pins should always be connected externally to power supplies and ground.
As shown in figure below, all V
should be handled in the same way. If there are multiple V
CC power supply pins must have the same potential. All VSS power supply pins
CC or VSS systems, the device will not operate properly
even within the warranted operating range.
VCC
VSS
VCC
VSS
VCC
VSS
VSS
VCC
VSS
VCC
Power supply input pins (VCC/VSS)
In addition, care must be given to connecting the V
impedance as possible. It is recommended that a bypass capacitor of 1.0 µF be connected between V
V
SS as close to the pins as possible.
CC and VSS pins of this device to a current source with as little
CC and
• Proper sequence of A/D converter power supply analog input
A/D converter power (AV
(V
CC) is switched on. When power is shut off, the A/D converter power supply and analog input must be cut off
before the digital power supply is switched on (V
AVRH does not exceed AV
sure that the input voltage does not exceed AV
CC, AVRH) and analog input (AN0-AN7) must be applied after the digital power supply
CC) . In both power-on and shut-off, care should be taken that
CC. Even when pins which double as analog input pins are used as input por ts, be
CC. (There is no problem if analog power supplies and digital
power supplies are turned off and on at the same time.)
CC
• Handling the power supply for high-current output buffer pins (DV
Always apply pow er to high-current output b uffer pins (DV
CC, D VSS) after the digital po w er supply (VCC) is turned
on. Also when switching power off, alw a ys shut off the power supply to the high-current output b uffer pins (DV
DV
SS) before s witching off the digital po w er supply (VCC) . (There will be no problem if high-current output buffer
, DVSS)
CC,
pins and digital power supplies are turned off and on at the same time.)
Even when high-current output buff er pins are used as gener al purpose ports, the power for high current output
buffer pins (DV
CC, DVSS) should be applied to these pins.
• Pull-up/pull-down resistance
The MB90420G/425G series does not support internal pull-up/pull-down resistance. If necessary, use external
components.
14
MB90420G/425G Series
• Precautions for when not using a sub clock signal.
If the X0A and X1A pins are not connected to an oscillator, apply pull-down treatment to the X0A pin and leav e
the X1A pin open.
• Notes on during operation of PLL clock mode
If the PLL clock mode is selected, the microcontroller attempt to be working with the self-oscillating circuit ev en
when there is no external oscillator or external clock input is stopped. Performance of this operation, however,
cannot be guaranteed.
Evaluation device (MB90V420G)
No built-in ROM
Built-in RAM is 6 KB.
LCD controller/
driver
SEG11 to SEG0
COM3 to COM0
V3 to V0
Note: MB90420G series is equipped with 2-channel CAN interface and MB90425G series is equipped with 1-channel
CAN interface. MB90F423GA, MB90423GA, MB90F428GA, MB90427GA and MB90428GA have low voltage/CPU operation detection reset. MB90F423GC, MB90423GC , MB90F428GC, MB90427GC, MB90428GC
and MB90V420G do not have low voltage/CPU operation detection reset.
See “■ Product Lineup” for detail.
Note : To select models without the ROM mirror function, see the “ROM Mirror Function Selection Module.” The
image of the ROM data in the FF bank appears at the top of the 00 bank, in order to enable efficient use of
small C compiler models. The lower 16-bit address for the FF bank will be assigned to the same address,
so that tables in ROM can be referenced without declaring a “far” indication with the pointer. For example
when accessing the address 00C000
H, the actual access is to address FFC000H in ROM. Here the FF bank
ROM area exceeds 48 KB, so that it is not possible to see the entire area in the 00 bank image. Therefore
because the ROM data from FF4000
recommended that the ROM data table be stored in the area from FF4000
H to FFFFFFH will appear in the image from 004000H to 00FFFFH, it is
H to FFFFFFH.
17
MB90420G/425G Series
I/O MAP
■
• Other than CAN Interface
AddressRegister nameSymbolRead/write Peripheral functionInitial value