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
: Compatible, with EI
: Compatible
: Compatible when interrupt sources sharing ICR are not in use
× : Not compatible
*1 : • Peripheral functions sharing the ICR register have the same interrupt level.
• If peripheral functions sharing the ICR register are using expanded intelligent I/O services, one or the other
cannot be used.
• When peripheral functions are sharing the ICR register and one specifies expanded intelligent I/O services,
the interrupt from the other function cannot be used.
*2 : Priority applies when interrupts of the same level are generated.
OS stop function
32
MB90420G/425G Series
PERIPHERAL FUNCTIONS
■
1.I/O Ports
The I/O ports function is to send data from the CPU to be output from I/O pins and load input signals at the I/O
pins into the CPU, according to the port data register (PDR) . Port input/output at I/O pins can be controlled in
bit units by the port direction register (DDR) as required. The following list shows each of the functions as well
as the shared peripheral function for each port.
• Port 0 : General purpose I/O port, shared with peripheral functions (external interrupt/UART/PPG)
• Port 1 : General purpose I/O port, shared with peripheral functions (PPG/reload timer/clock timer/ICU)
• Port 3 : General purpose I/O port, shared with peripheral functions (LCD)
• Port 4 : General purpose I/O port, shared with peripheral functions (LCD)
• Port 5 : General purpose I/O port, shared with peripheral functions (External interrupt/CAN/SG)
• Port 6 : General purpose I/O port, shared with peripheral functions (A/D converter)
• Port 7 : General purpose I/O port, shared with peripheral functions (Stepping motor controller)
• Port 8 : General purpose I/O port, shared with peripheral functions (Stepping motor controller)
• Port 9 : General purpose I/O port, shared with peripheral functions (LCD)
(1) List of Functions
PortPin name
Port 0
Port 1
Port 3
Port 4
Port 5
Port 6
Port 7
Port 8
Port 9
P00/SIN0/INT4 to
P07/PPG1
P10/PPG2 to
P15/IN0
P36/SEG12 to
P37/SEG13
P40/SEG14 to
P47/SEG21
P50/INT0 to
P57/SGA
P60/AN0 to
P67/AN7
P70/PWM1P0 to
P77/PWM2M1
P80/PWM1P2 to
P87/PWM2M3
P90/SEG22 to
P91/SEG23
Input
format
CMOS
(hysteresis)
(Automotive level*)
Analog
CMOS
(hysteresis)
(Automotive level*)
CMOS
(hysteresis)
(Automotive level*)
Output for-
mat
CMOS
Function
General purpose I/O port
Peripheral function
General purpose I/O port
Peripheral function
General purpose I/O port
Peripheral function
General purpose I/O port
Peripheral function
General purpose I/O port
Peripheral function
General purpose I/O port
Peripheral function
General purpose I/O port
Peripheral function
General purpose I/O port
Peripheral function
General purpose I/O port
Peripheral function
(Continued)
33
MB90420G/425G Series
(Continued)
Portbit7bit6bit5bit4bit3bit2bit1bit0
P07P06P05P04P03P02P01P00
Port 0
PPG1PPG0SCK1SOT1SIN1SCK0SOT0SIN0
TIN1TOT1INT7INT6INT5INT4
P15P14P13P12P11P10
Port 1
Port 3
Port 4
Port 5
Port 6
Port 7
Port 8
Port 9
IN0IN1IN2IN3WOTPPG2
TIN0TOT0
P37P36
SEG13SEG12
P47P46P45P44P43P42P41P40
SEG21SEG20SEG19SEG18SEG17SEG16SEG15SEG14
P57P56P55P54P53P52P51P50
SGASGORX0TX0INT3INT2INT1INT0
FRCKTX1RX1
P67P66P65P64P63P62P61P60
AN7AN6AN5AN4AN3AN2AN1AN0
P77P76P75P74P73P72P71P70
PWM2M1PWM2P1PWM1M1PWM1P1PWM2M0PWM2P0PWM1M0PWM1P0
P87P86P85P84P83P82P81P80
PWM2M3PWM2P3PWM1M3PWM1P3PWM2M2PWM2P2PWM1M2PWM1P2
P91P90
SEG23SEG22
*: Range of input voltage.
For ratings see “3. DC Characteristics” in “■ ELECTRICAL CHARACTERISTICS”
Note : Port 6 also functions as an analog input pin. When using this port as a general purpose port, always write
“0” to the corresponding analog input enable register (ADER) bit. The ADER bit is initialized to “1” at reset.
34
.
(2) Block Diagrams
Ports 0, 1, 3, 4, 5, 7, 8, 9
PDR (Port data register)
MB90420G/425G Series
Peripheral function output
Peripheral function input
Peripheral function output enabled
PDR read
Output latch
Internal data bus
Port 6
PDR write
DDR (Port direction register)
DDR write
DDR read
ADER
PDR (Port data register)
RDR read
Pin
Direction
latch
Standby control (SPL = 1)
or LCD output enabled
Analog input
Output latch
Internal data bus
PDR write
DDR (Port direction register)
DDR write
DDR read
Pin
Direction
latch
Standby control (SPL = 1)
35
MB90420G/425G Series
2.Watchdog Timer/Time Base Timer/Watch Timer
The watchdog timer, timer base timer, and watch timer have the following circuit configuration.
• Time base timer : 18-bit timer, interval interrupt control circuit
• Watch timer : 15-bit timer, interval interrupt control circuit
(1) Watchdog timer function
The watchdog timer is composed of a 2-bit watchdog counter that uses the carry signal from the 18-bit time
base timer or 15-bit watch timer as a clock source, plus a control register and watchdog reset control circuit.
After startup, this function will reset the CPU if not cleared within a given time.
(2) Time base timer function
The time base timer is an 18-bit free-run counter (time base counter) synchronized with the internal count clock
(base oscillator divided by 2) , with an interval timer function providing a selection of four interval times. Other
functions include a timer output for an oscillator stabilization wait time and clock feed to the watchdog timer or
other operating clocks. Note that the time base timer uses the main clock regardless of the setting of the MCS
bit or SCS bit in the CKSCR register.
(3) Watch timer function
The watch timer provides functions including a clock source for the watchdog timer, a sub clock base oscillator
stabilization wait timer, and an interval timer to generate an interrupt at fixed intervals. Note that the w atch timer
uses the sub clock regardless of the setting of the MCS bit or SCS bit in the CKSCR register.
36
•Block Diagram
TBTC
TBC1
TBC0
TBR
TBIE
TBOF
Time base
interrupt
WDTC
WT1
WT0
WTE
AND
Selector
S
QR
Selector
11
2
13
2
16
2
18
2
TBTRES
2-bit
counter
CLR
MB90420G/425G Series
Main base oscillator
divided by 2
Clock input
Time base timer
11213216218
2
OF
Watchdog reset
generator circuit
CLR
T o WDGRST
internal reset
generator circuit
WDCS
MC-16LX bus
2
F
WTOF
Clock interrupt
WDTC
PONR
WRST
WTC
SCE
WTC2
to
WTC0
WTR
WTIE
ERST
SRST
AND
Q
S
R
AND
Selector
Q
SGW
Power-on reset,
sub-clock stop
8
2
9
2
10
2
11
2
12
2
13
S
R
2
14
2
16
2
WTRES
2102132142
Watch timer
16
Clock input
Sub base oscillator divided by 4
From power-on generator
RST pin
From RST bit in STBYC
register
37
MB90420G/425G Series
3.Input Capture
This circuit is composed of a 16-bit free-run timer and four 16-bit input capture circuits.
(1) Input capture (
××××
4)
The input capture circuits consist of four independent exter nal input pins and corresponding capture registers
and control registers. When the specified edge of the external signal input (at the input pin) is detected, the value
of the 16-bit free-run timer is saved in the capture register, and at the same time an interrupt can also be
generated.
• The valid edge (rising edge, falling edge, both edges) of the external signal can be selected.
• The four input capture circuits can operate independently.
• The interrupt can be generated from the valid edge of the external input signal.
(2) 16-bit free-run timer (
××××
1)
The 16-bit free-run timer is composed of a 16-bit up-counter, control register, 16-bit compare register, and
prescaler. The output values from this counter are used as the base time for the input capture circuits.
• The counter clock operation can be selected from 8 options. The eight internal clock settings are φ, φ/2, φ/4,φ/8, φ/16, φ/32, φ/64, φ/128 where φ represents the machine clock cycle.
• Interrupts can be generated from overflow events, or from compare match events with the compare register.
(Compare match operation requires a mode setting.)
• The counter value can be initialized to “0000
H” by a reset, soft clear, or a compare match with the compare
register.
(3) Block diagram
interrupt
#31 (1F
H)
φ
IVFIVFE STOP MODE SCLR CLK2 CLK1 CLK0
16-bit free-run timer
16-bit compare clear registerCompare circuit
MC-16LX bus
2
F
Capture data register 0/2
EG11EG10EG01EG00
Capture data register 1/3
ICP0ICP1ICE0ICE1
Divider
MSI3 to 0
Clock
ICLR
Edge detection
Edge detection
Interrupt
#33 (21H)
ICRE
A/D startup
IN0/2
IN1/3
Interrupt
#19, #23
Interrupt
#15, #21
38
MB90420G/425G Series
4.16-bit Reload Timer
The 16-bit reload timer can either count down in synchronization with three types of internal clock signals in
internal clock mode, or count down at the detection of the designated edge of an external signal. The user may
select either function. This timer defines a transition from 0000
underflow occurs when counting from the value [Reload register setting + 1].
A selection of two counter operating modes are av ailable. In reload mode, the counter is reset to the count v alue
and continues counting after an underflow, and in one-shot mode the count stops after an underflow . The counter
can generate an interrupt when an underflow occurs, and is compatible with the e xpanded intelligent I/O services
One of three input clocks is selected as the count clock, and can be used in one of the following operations.
• Soft trigger operation
When “1” is written to the TRG bit in the timer control status register (TMCSR0/1) , the count operation
starts.Trigger input at the TRG bit is nor mally valid with an external trigger input, as well as an external gate
input.
• External trigger operation
Count operation starts when a selected edge (rising, falling, both edges) is input at the TIN0/1 pin.
• External gate input operation
Counting continues as long as the selected signal level (“L” or “H”) is input at the TIN0/1 pin.
(3) Event count mode (External clock mode)
In this mode a down count event occurs when a selected valid edge (rising, falling, both edges) is input at the
TIN0/1 pin. This function can also be used as an interval timer when an external clock with a fixed period is used.
(4) Counter operation
• Reload mode
In down count operation, when an underflow event (transition from “0000
H” to “FFFFH”) occurs, the set count
value is reloaded and count operation continues. The function can be used as an inter val timer by generating
an interrupt request at each underflow event. Also, a toggle waveform that inverts at each underflow can be
output from the TOT0/1 pin.
Counter clockCounter clock periodInterval time
1
2
/φ (0.125 µs) 0.125 µs to 8.192 ms
Internal clock
External clock2
3
/φ (0.5 µs) 0.5 µs to 32.768 ms
2
5
2
/φ (2.0 µs) 2.0 µs to 131.1 ms
3
/φ or greater (0.5 µs) 0.5 µs or greater
φ : Machine clock cycle. Figures in ( ) are values at machine clock frequency 16 MHz.
39
MB90420G/425G Series
(5) One-shot mode
In down count operation, the count stops when an underflow event (transition from “0000
H” to “FFFFH”) occurs.
This function can generate an interrupt at each underflow. While the counter is operating, a rectangular wave
form indicating that the count is in progress can be output form the TOT0 and TOT1 pins.
(6) Block diagram
Internal data bus
1
16-bit reload register
CLK
Gate input
3
Reload signal
UF
Valid clock
decision circuit
CLK
Reload
control circuit
Wait signal
To UART 0,1*
<To A/D converter>
Machine
clock
TMRLR0 *
<TMRLR1>
1
TMR0 *
<TMR1>
16-bit timer register (down counter)
Prescaler
1
Pins
P12/TIN0 *
<P07/TIN1>
CSL1 CSL0OUTEOUTL RELD INTE UF CNTE TRG
1: Channel 0 and channel 1. Figures in
*
2: Interrupt number
*
Input
control
circuit
1
32
Function selection
Timer control status register (TNGSR0)*
External clock
WOD2WOD1 WOD0
<TNGSR1>
are for channel 1.
< >
Clock
selector
Select
signal
Output signal
Inverted
1
generator
circuit
EN
Operation
control
circuit
Pins
P11/TOT0 *
<P06/TOT1>
Interrupt
request signal
#17 (11h)*
<#28 (1CH)>
2
1
40
MB90420G/425G Series
5.Real Time Watch Timer
The real time watch timer is composed of a real time watch timer control register, sub second data register,
second/minute/hour data registers, 1/2 clock divider, 21-bit prescaler and second/minute/hour counters. Because
the MCU oscillation frequency operates on a given real time watch timer operation, a 4 MHz frequency is
assumed. The real time watch timer operates as a real world timer and provides real world time information.
•Block diagram
OE
Main oscillator clock
1/2 clock
divider
prescaler
EN
Sub second
register
21-bit
CO
OE
WOT
STUPDT
INTE0 INT0
Second
CI
counter
EN
LOADCOCO
6-bit6-bit5-bit
Second/minute/hour register
INTE1
INT1INTE2 INT2INT3 INT3
Minute
counter
Hour
counter
CO
IRQ#30
41
MB90420G/425G Series
6.PPG Timer
The PPG timer consists of a prescaler, one 16-bit down-counter, 16-bit data register with buff er for period setting,
and 16-bit compare register with buffer for duty setting, plus pin control circuits.
The timer can output pulses synchronized with an externally input soft trigger. The period and duty of the output
pulse can be adjusted by rewriting the values in the two 16-bit registers.
(1) PWM function
Programmable to output a pulse, synchronized with a trigger.
Can also be used as a D/A converter with an external circuit.
(2) One-shot function
Detects the edge of a trigger input, and outputs a single pulse.
(3) Pin control
• Set to “1” at a duty match (priority) .
• Reset to “0” at a counter borrow event
• Has a fixed output mode to output a simple all “L” ( or “H”) signal.
• Polarity can be specified
(4) 16-bit down counter
• Select from four types of counter operation cloc ks. F our internal clocks (φ, φ/4, φ/16, φ/64) φ : Machine clock
cycles.
• The counter value can be initialized to “FFFF
(5) Interrupt requests
• Timer startup
• Counter borrow event (period match)
• Duty match event
• Counter borrow event (period match) or duty match event
(6) Multiple channels can be set to start up at an external trigger, or to restart during operation.
H” at a reset or counter borrow event.
42
(7) Block diagram
Prescaler
1/1
1/4
1/16
1/64
PCSRPDUT
CK
PSCT
16-bit down counter
MB90420G/425G Series
Load
CMP
Machine clock
Trigger input
P05/SCK1/TRG
Enable
Edge detection
Soft trigger
Start
Borrow
PPG mask
SQ
R
Inversion bit
Interrupt
selection
PPG
output
Interrupt IRQ#25, 27, 29
43
MB90420G/425G Series
7.Delayed Interrupt Generator Module
The delayed interrupt generator module is a module that generates interrupts for task switching. This module
makes it possible to use software to generate/cancel interrupt requests to the F
•Block diagram
F2MC-16LX bus
Delayed interrupt source generate/delete decoder
Source latch
2
MC-16LX CPU.
44
8.DTP/External Interrupt Circuit
MB90420G/425G Series
The DTP (Data transfer peripheral) /e xternal interrupt circuit is located between an externally connected peripheral device and the F
2
MC-16LX CPU and sends interrupt requests or data transfer requests generated from the
peripheral device to the CPU, thereby generating e xternal interrupt requests or starting the expanded intelligent
I/O services (EI
2
OS) .
(1) DTP/external interrupt function
The DTP/external interrupt function uses a signal input from the DTP/external interrupt pin as a startup source.
And it is accepted by the CPU by the same procedure as a normal hardware interrupt, and can generate an
external interrupt or start the expanded intelligent I/O service (EI
2
OS) .
When the interrupt is accepted by the CPU, if the corresponding expanded intelligent I/O service (EI
prohibited the interrupt operates as an external interrupt function and branches to an interrupt routine. If the
2
EI
OS is permitted the interrupt functions as a DTP function, using EI2OS for automatic data transfer, then
branching to an interrupt routine after the completion of the specified number of data transfers.
External interruptDTP function
Input pins8 pins (P50/INT0/ADTG to P53/INT3, P00/SIN0/INT4 to P03/INT7)
Request level setting register (ELVR) sets the detection level, or selected edge for
each pin
The 8/10-bit A/D converter has functions for using RC sequential comparator con version format to convert analog
input voltage into 10-bit or 8-bit digital values . The input signal is selected from 8-channel analog input pins, and
the conversion start can be selected from three types : by software, 16-bit reload timer 1 or a trigger input from
an external signal pin.
(1) 8/10-bit A/D converter functions
The A/D converter takes analog voltage signals (input v oltage) input at analog input pins, and con v erts these to
digital values, providing the following features.
• Minimum conversion time is 6.13 µs (at machine clock frequency of 16 MHz, including sampling time) .
• Minimum sampling time is 3.75 µs (at machine clock 16 MHz)
• The conversion method is an RC sequential conversion in comparison with a sample hold circuit.
• Either 10-bit or 8-bit resolution can be selected.
• The analog input pin can select from 8 channels by a program setting.
• At completion of A/D conversion, an interrupt request can be generated, or EI
• Because the conversion data protection function operates in an interrupt enabled state, no data is lost even
in continuous conversion.
• The conversion start source may be selected from : software, 16-bit reload timer 1 (rising edge) , or external
trigger input (falling edge) .
Converts multiple consecutive channels (up
to 8 channels may be specified) one time,
then stops.
Converts multiple consecutive channels (up
to 8 channels may be specified) repeatedly.
Converts multiple consecutive channels (up
to 8 channels may be specified) , however
pauses after conversion of each channel,
waits until the next start is applied.
Single conversion mode
Continuous conversion
mode
Stop conversion mode
Converts the specified channel (1 channel
only) one time, then stops.
Converts the specified channel (1 channel
only) repeatedly.
Converts the specified channel (1 channel
only) one time, then pauses, waits until
the next start is applied.
47
MB90420G/425G Series
(2) Block diagram
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
MPX
Input circuit
Sample & hold circuit
Comparator
Decoder
AVCC
AVRH
AVSS
D/A converter
Sequential comparator
register
A/D data register
ADCRH, L
MC-16LX bus
2
F
16-bit reload timer 1
P50/ADTG
Timer start
Trigger start
φ
A/D control status register, high
A/D control status register, low
ADCSH, L
Operating clock
Prescaler
48
MB90420G/425G Series
10. UART
The UART is a general purpose serial data communication interface for synchronous communication, or asynchronous (start-stop synchronized) communication with external devices. Functions include normal bi-directional
functions, as well as master/slave type communication functions (multi-processor mode : master side only
supported) .
(1) UART Functions
The UAR T is a general purpose serial data communication interface f or sending and receiving of serial data with
other CPU’s or peripheral devices, and provides the following functions.
Functions
Data bufferFull duplex double buffer
Transfer modes
Baud rate
Data length
Signal typeNRZ (Non return to zero)
Receiving error detection
Interrupt request
Master/slave type
communication function
(multi-processor mode)
Note : The UART in clock synchronous transfer does not add start bits or stop bits, but transfers data only.
Operating mode
• Clock synchronous (no start/stop bits)
• Clock asynchronous (start-stop synchronized)
• Exclusive baud rate generator provides a selection of 8 rates
• External clock input enabled
• Internal clock (can use internal clock feed from 16-bit reload timer)
• 7-bit (asynchronous normal mode only)
•8-bit
• Framing errors
• Overrun errors
• Parity errors (not enabled in multiprocessor mode)
: Setting not available
*1 : “+” indicates an address/data selection bit (A/D) for communication control.
*2 : In receiving only one stop bit is detected.
1
Asynchronous
1-bit or 2-bit *
2
49
MB90420G/425G Series
(2) Block diagram
Exclusive baud
Machine clock
16-bit
reload timer
rate generator
Communication
prescaler
Control register
(CDCR)
Pins
P02/SCK0
<P05/SCK1>
Clock
selector
Receiving
clock
detection circuit
Receiving
control
circuit
Start bit
Receiving bit
counter
Control bus
Sending clock
Sending
control
circuit
Sending start
circuit
Sending bit
counter
Receiving
interrupt signals
H) *
#39 (27
<#37 (25H) *>
Sending
interrupt signals
#40 (28
H) *
<#38 (26H) *>
Pins
P00/SIN0
<P03/SIN1>
Receiving status
judging circuit
*: Interrupt number
SMR0/1
register
Receiving parity
Receiving
shift register
MD1
MD0
CS2
CS1
CS0
SCKE
SOE
counter
SIDR0/1
Rece-
iving
end
Internal data bus
SCR0/1
register
Sending parity
counter
Sending
shift register
SODR0/1
PEN
P
SBL
CL
A/D
REC
RXE
TXE
SSR0/1
register
Pin
P01/SOT0
<P04/SOT1>
Sending start
2
EI
OS receiving error
generator circuit (to CPU)
PE
ORE
FRE
RDRF
TDRE
BOS
RIE
TIE
50
MB90420G/425G Series
11. CAN Controller
The CAN controller is a self-contained module within a 16-bit microcomputer (F2MC-16LX) . The CAN (controller
area network) controller is the standard protocol for serial transmissions among automotive controllers and is
widely used in the industry.
(1) CAN controller features
The CAN controller has the following features.
• Conforms to CAN specifications version 2.0 A and B.
Supports sending and receiving in standard frame and expanded frame format.
• Supports data frame sending by means of remote frame receiving.
• 16 sending/receiving message buffers
29-bit ID and 8-byte data
Multi-level message buffer configuration
• Supports full bit compare, full bit mask as well as partial bet mask filtering.
Provides two receiving mask registers for either standard frame or expanded frame format.
• Bit speed programmable from 10 KB/s to 1 MB/s (at machine clock 16 MHz)
• CAN WAKE UP function
• The MB90420G series has a two-channel built-in CAN controller . The MB90425G series has a 1-channel builtin CAN controller.
51
MB90420G/425G Series
(2) Block diagram
F2MC-16LX bus
Machine
clock
PSC
PR
BTR
PH
RSJ
TOE
TS
RS
CSR
HALT
NIE
NT
NS1,0
RTEC
BVALR
TREQR
TCANR
TRTRR
RFWTR
TCR
TIER
RCR
RIER
RRTRR
ROVRR
AMSR
AMR0
AMR1
IDR0 ~ 15,
DLCR0 ~ 15,
DTR0 ~ 15,
RAM
LEIR
Prescaler 1-to-64
frequency divider
Node status change
interrupt generator
TBFx
clear
TBF
TBFx, set, clear
Sending completed
interrupt generator
RBFx, set
Receiving completed
interrupt generator
RBFx, TBFx, set clear
RBFx
set
0
1
RAM address
Send buffer
decision
X
IDSEL
Receiving
filter
generator
Bit timing generator
Node status
change interrupt
Error
control
TBFX
Sending
completed
interrupt
Receiving
completed
interrupt
Receiving bufferx
decision
RBF
RBF
X, TBFX, RDLC, TDLC, IDSEL
Data
counter
TDLC RDLC IDSEL
BITER, STFER,
CRCER, FRMER,
ACKER
X
TQ (operating clock)
SYNC, TSEG1, TSEG2
Send/receive
sequencer
Receiving
filter
control
Send shift
register
CRC
TDLC
Receiving
shift register
ARBLOST
BITER
ACKER
FRMER
generator
CRCER
CRC generator
error check
Acknowledge error
Bus
state
machine
Error
frame
generator
Overload
frame
generator
ARBLOST
Stuffing
ACK
generator
Destuffing/
stuffing
error check
Arbitration
check
Bit error
check
check
Form error
check
IDLE, SUSPND,
TX, RX, ERR,
OVRLD
Output
driver
STFERRDLC
PH1
Input
latch
TX
RX
52
MB90420G/425G Series
12. LCD Contr oller/Driver
The LCD controller/driver has a built-in 16 × 8-bit display data memory, and controls the LCD displa y by means
of four common outputs and 24 segment outputs. A selection of three duty outputs are a v ailable . This b lock can
drive an LCD (liquid crystal display) panel directly.
(1) LCD controller/driver functions
The LCD controller/driver provides functions for directly displa ying the contents of displa y data memory (display
RAM) on the LCD panel by means of segment output and common output.
• LCD drive voltage divider resistance is built-in. External divider resistance can also be connected.
• Up to 4 common outputs (COM0 to COM3) and 24 segment outputs (SEG0 to SEG23) can be used.
• 16-byte display data memory (display RAM) is built-in.
• The duty can be selected at 1/2, 1/3, 1/4 (limited by bias setting) .
• Drives the LCD directly.
Bias1/2 duty1/3 duty1/4 duty
1/2 bias
1/3 bias×
××
: Recommended mode
× : Use prohibited
Note : When the SEG12 to SEG23 pins have been selected as general purpose ports by the LCRH setting, they
The Low voltage detection reset circuit is a function that monitors pow er supply voltage in order to detect when
a voltage drops below a given voltage level. When a low voltage condition is detected, an inter nal reset signal
is generated.
The Program Looping detection reset circuit is a count clock with a 20-bit counter that generates an internal
reset signal if not cleared within a given time after startup.
(1) Low voltage detection reset circuit
Detection voltage
4.0 V ± 0.3 V
When a low voltage condition is detected, the low voltage detection flag (LVRC : LVRF) is set to “1” and an
internal reset signal is output.
Because the low voltage detection circuit continues to operate even in stop mode, detection of a low voltage
condition generates an internal reset and releases stop mode.
During an internal RAM write cycle, an inter nal reset is generated after the completion of writing. During the
output of this internal reset, the reset output from the low voltage detection circuit is suppressed.
(2) Program Looping detection reset circuit
The Program Looping detection reset circuit is a counter that prevents program looping. The counter starts
automatically after a power-on reset, and must be continually cleared within a giv en time. If the given time interval
elapses and the counter has not been cleared, a cause such as infinite program looping is assumed and an
internal reset signal is generated. The internal reset generated form the Program Looping detection circuit has
a width of 5 machine cycles.
Interval duration
20
2
/FC (Approx. 262 ms *)
* : This value assumes an oscillation clock waveform of 4 MHz.
During recovery from standby mode the detection period is the maximum interval plus 20 µs.
This circuit does not operate in modes where CPU operation is stopped.
The Program Looping detection reset circuit counter is cleared under any of the following conditions.
1. Writing “0” to the LVRC register CL bit
2. Internal reset
3. Main oscillation clock stop
4. Transition to sleep mode
5. Transition to time base timer mode or clock mode
55
MB90420G/425G Series
(3) Block diagram
Program Looping detection circuit
Main oscillation clock
Counter
Over flow
Clear
Voltage comparator
circuit
−
+
Noise canceller
ReservedCLLVRFCPUF
Reserved
Low voltage/CPU operation detection reset control register (LVRC)
VCC
VSS
Constant
voltage
source
Internal reset
ReservedReservedReserved
Internal data bus
56
MB90420G/425G Series
14. Stepping Motor Controller
The stepping motor controller is composed of two PWM pulse generators, four motor driv ers and selector logic
circuits.
The four motor drivers have a high output drive capacity and can be directly connected to the four ends of two
motor coils. They are designed to operate together with the PWM pulse generators and selector logic circuits
to control motor rotation. A synchronization mechanism assures synchronization of the two PWM pulse generators.
•Block diagram
Machine clock
OE1
Output enable
Prescaler
P1P0
SC
CE
CK
PWM1 pulse generator
EN
PWM1 compare register
CK
PWM2 pulse generator
EN
PWM2 compare register
PWM
PWM
Selector
PWM1 selector register
OE2
Selector
Load
BSn : 0 ~ 3
PWM2 select register
PWM1Pn
PWM1Mn
Output enable
PWM2Pn
PWM2Mn
57
MB90420G/425G Series
15. Sound Generator
The sound generator is composed of a sound control register, frequency data register, amplitude data register,
decrement grade register, tone count register, PWM pulse generator, frequency counter, decrement counter,
and tone pulse counter.
•Block diagram
Clock input
Prescaler
S1S0
8-bit PWM
pulse generator
Amplitude data
register
Decrement
counter
Decrement grade
register
Tone pulse
counter
CO
EN
PWM
DEC
CO
EN
CO
EN
Frequency
counter
CI
CO
EN
ReloadReload
Frequency data
register
DEC
CI
CI
Toggle
flip-flop
D
EN
OE1
Blend
TONE OE2
Q
1/d
SGA
OE1
SGO
OE2
58
Tone count
register
INTEINTST
IRQ#34
MB90420G/425G Series
16. Address Match Detect Function
If the address setting is the same as the address detection register, an INT9 instruction is executed. The integr ated
address match detection function can be implemented by processing the INT9 interrupt service routine.
Two address registers are used, each with its own compare enable bit. When there is a match between the
address register and program counter, and the compare enable bit is set to “1” , the INT9 instruction is f o rcibly
executed by the CPU.
•Block diagram
Address latch
2
F
MC-16LX bus
Address detection
register
Enable bit
Compare
2
F
MC-16LX
CPU core
59
MB90420G/425G Series
17. ROM Mirror Function Select Module
The ROM mirror function select module uses a select register setting to enable the contents of ROM allocated
to the FF bank to be viewed in the 00 bank.
Total maximum clamp current Σ| ICLAMP |4mA*7
“L”level maximum
output current*
4
“L”level average output
current*
5
“L”level maximum
total output current
“L”level average total
output current
“H”level maximum
output current
“H”level average
output current
“H”level maximum
total output current
“H”level average total
output current
IOL115mAOther than P70 to P77, and P80 to P87
I
OL240mAP70 to 77, P80 to87
IOLAV14mAOther than P70 to P77, and P80 to P87
IOLAV230mAP70 to 77, P80 to 87
ΣI
OL1100mAOther than P70 to P77, and P80 to P87
ΣIOL2330mAP70 to 77, P80 to 87
ΣIOLAV150mAOther than P70 to P77, and P80 to P87
ΣI
OLAV2250mAP70 to 77, P80 to 87
4
IOH1*
4
I
OH2*
5
IOHAV1*
5
IOHAV2*
ΣI
OH1−100mAOther than P70 to P77, and P80 to P87
ΣIOH2−330mAP70 to 77, and P80 to 87
OHAV2*
6
6
ΣIOHAV1*
ΣI
Power consumptionPD500mW
Operating temperatureTA−40+105 °C
Storage temperatureT
STG−55+150 °C
Rating
UnitRemarks
MinMax
−15mAOther than P70 to P77, and P80 to P87
−40mAP70 to 77, P80 to 87
−4mAOther than P70 to P77, and P80 to P87
−30mAP70 to 77, P80 to 87
−50mAOther than P70 to P77, and P80 to P87
−250mAP70 to 77, P80 to 87
2
2
2
*1 : The parameter is based on VSS= AVSS= DVSS= 0.0 V.
*2 : AV
CC, AVRH and DVCC shall never exceed VCC.
Also, AVRH shall never exceed AV
CC.
*3 : The maximum current to/from and input is limited by some means with extenal components, the ICLAMP rating
supersedes the V
I rating.
*4 : Maximum output current is defined as the peak value of the current of any one of the corresponding pins.
*5 : Average output current is defined as the value of the average current flowing over 100 ms at any one of the
corresponding pins. The “average value” can be calculated from the formula of “operating current” times
“operating factor”.
(Continued)
61
MB90420G/425G Series
(Continued)
*6 : Average total output current is defined as the value of the average current flowing over 100 ms at all of the
corresponding pins. The “average value” can be calculated from the formula of “operating current” times
“ operating factor”.
*7 : • Applicable to pins : P00 to P07, P10 to P15, P50 to P57, P70 to P77, P80 to P87
• Use within recommended operating conditions.
• Use at DC voltage (current) .
• The +B signal should always be applied with a limiting resistance placed between the +B signal and the
microcontroller.
• The value of the limiting resistance should be set so that when the +B signal is applied the input current to
the microcontroller pin does not exceed rated values, either instantaneously or for prolonged periods.
• Note that when the microcontroller drive current is low, such as in the power saving modes, the +B input
potential may pass through the protective diode and increase the potential at the V
other devices.
• Note that if a +B signal is input when the microcontroller current is off (not fixed at 0 V) , the power supply
is provided from the pins, so that incomplete operation may result.
• Note that if the +B input is applied during power-on, the power supply is provided from the pins and the
resulting supply voltage may not be sufficient to operate the power-on reset.
• Care must be taken not to leave the +B input pin open.
• Note that analog system input/output pins (LCD drive pins, comparator input pins, etc.) cannot accept +B
signal input.
• Sample recommended circuits :
CC pin, and this may affect
• Input/Output equivalent circuits
Protective diode
VCC
P-ch
N-ch
B input (0 V to 16 V)
+
Limiting
resistance
R
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.
62
2.Recommended Operating Conditions
ParameterSymbol
Power supply
voltage
Smoothing
capacitor*
Operating
temperature
V
AVCC
DVCC
C
T
CC
S0.11.0µF
A−40+105 °C
Value
MinMax
3.75.5V
3.05.5V
4.35.5V
3.05.5V
MB90420G/425G Series
(VSS= DVSS= AVSS= 0.0 V)
UnitRemarks
(MB90F428GA, MB90F423GA, MB90428GA,
MB90427GA, MB90423GA)
Low voltage detection reset starts to work when power
supply voltage is 4.0 V ± 0.3 V.
Holding stop operation status
(MB90F428GA, MB90F423GA, MB90428GA,
MB90427GA, MB90423GA)
Holding stop operation status
(MB90F428GC, MB90F423GC, MB90428GC,
MB90427GC, MB90423GC)
Use a ceramic capacitor or other capacitor of equivalent
frequency characteristics. A bypass capacitor on the VCC pin
should have a capacitance greater than Cs.
* : For smoothing capacitor Cs connections, see the illustration below.
• C pin connection
C
C
S
VSSDVSS
AVSS
WARNING: The recommended operating conditions are required in order to ensure the normal operation of the
semiconductor device. All of the device’s electrical characteristics are warranted when the device is
operated within these ranges.
Always use semiconductor devices within their recommended operating condition ranges. Operation
outside these ranges may adversely affect reliability and could result in device failure.
No warranty is made with respect to uses, operating conditions, or combinations not represented on
the data sheet. Users considering application outside the listed conditions are advised to contact their
FUJITSU representatives beforehand.
63
MB90420G/425G Series
3.DC Characteristics
(VCC= 5.0 V±10%, VSS= DVSS= AVSS= 0.0 V, TA=−40 °C to +105 °C)
AC ratings are defined for the following measurement reference voltage values:
• Input signal waveform
• Output signal waveform
Hysteresis input pin
0.8 VCC
0.5 VCC
Output pin
2.4 V
0.8 V
69
MB90420G/425G Series
(2) Reset input
(V
ParameterSymbol Pin name Conditions
CC= 5.0 V±10%, VSS= AVSS= 0.0 V, TA=−40 °C to +105 °C)
Value
UnitRemarks
MinMax
16 t
CPnsIn normal operation
Reset input timet
RSTLRST
Oscillator oscillation
time* + 16 t
CP
ms
sub clock mode,
sub sleep mode,
watch mode
*: Oscillator oscillation time is the time to reach 90% amplitude. For a crystal oscillator, this is a few to several
hundred ms; for a FAR/ceramic oscillator, this is several hundred ms to a few ms , and for an external clock this
is 100 µs.
In stop mode,
Note : t
CP : See “ (1) Clock input timing”.
• Under normal operation
tRSTL
RST
0.5 VCC
0.5 VCC
• In stop mode, sub clock mode, sub sleep mode , watch mode
tRSTL
70
RST
X0
Internal
operation
clock
Internal
reset
90 % of
amplitude
0.5 Vcc
Oscillator
oscillation time
0.5 Vcc
16 tcp
Oscillator stabilization wait time
Execution of the instruction
(3) Power-on reset, power on conditions
Parameter
Symbol
name
Pin
Conditions
MB90420G/425G Series
(V
SS= 0.0 V, TA=−40 °C to +105 °C)
Value
MinMax
UnitRemarks
Power supply rise timet
Power supply start voltageV
R
OFF0.2V
0.0530ms
VCC
Power supply attained voltageVON2.7V
Power supply cutoff timet
VCC
Extreme variations in voltage supply may activate a power-on reset.
As the illustration below shows, when varying supply voltage during operation the use of a smooth
voltage rise with suppressed fluctuation is recommended. Also in this situation, the PLL clock on the
device should not be used, however it is permissible to use the PLL clock during a voltage drop of
1V/s or less.
CC
5.0 V
V
OFF50msFor repeat operation
tR
2.7 V
0.2 V0.2 V0.2 V
tOFF
3.0 V
0 V
VSS
A rise slope of 50 mV or
less is recommended
RAM data hold
71
MB90420G/425G Series
(4) UART0, UART1 timing
(V
Parameter
Symbol
Pin name
CC= 5.0 V±10%, VSS= AVSS= 0.0 V, TA=−40 °C to +105 °C)
Value
Conditions
UnitRemarks
MinMax
Serial clock cycle timet
SCK fall to SOT delay timet
Valid SIN to SCK risetIVSH
SCK rise to valid SIN hold timet
Serial clock “H” pulse widtht
SCYCSCK0, SCK1
SLOV
SCK0, SCK1
SOT0, SOT1
SCK0, SCK1
SHIX60ns
SHSL
SIN0, SIN1
SCK0, SCK1
Serial clock “L” pulse widtht
SCK fall to SOT delay timet
Valid SIN to SCK riset
SCK rise to valid SIN hold timet
SLSH4 tCPns
SLOV
SCK0, SCK1
SOT0, SOT1
IVSH
SCK0, SCK1
SHIX60ns
SIN0, SIN1
Notes : • AC ratings are for CLK synchronous mode.
• C
L is load capacitance connected to pin during testing.
• t
CP : See “ (1) Clock timing”.
• Internal shift clock mode
SCK
0.8 V0.8 V
tSLOV
SOT
2.4 V
0.8 V
tSCYC
8 tCPns
−8080ns
100ns
CPns
4 t
150ns
60ns
2.4 V
Internal shift
clock mode
output pin C
L=
80 pF + 1•TTL
External shift
clock mode
output pin C
L=
80 pF + 1•TTL
72
SIN
• External shift clock mode
SCK
SOT
SIN
tIVSHtSHIX
0.8 V
0.5 VCC
tSLSHtSHSL
0.5 VCC0.5 VCC
tSLOV
2.4 V
0.8 V
tIVSHtSHIX
0.8 V
0.5 VCC
CC
0.8 VCC0.8 VCC
CC
0.8 VCC
0.5 VCC
0.8 VCC
0.5 VCC
(5) Timer input timing
ParameterSymbolPin nameConditions
MB90420G/425G Series
(V
CC= 5.0 V±10%, VSS= AVSS= 0.0 V, TA=−40 °C to +105 °C)
Value
MinMax
UnitRemarks
TIN0, TIN1,
IN0, IN1,
IN2, IN3,
Input pulse width
Note : t
CP : See “ (1) Clock timing”.
t
TIWH
tTIWL
• Timer input timing
tTIWHtTIWL
TIN0 ∼ TIN1
IN0 ∼ IN3
0.8 VCC0.8 VCC
(6) Trigger input timing
ParameterSymbolPin nameConditions
t
Input pulse width
TRGH,
t
TRGL
INT0 to INT7
4 t
0.5 VCC0.5 VCC
(V
CC= 5.0 V±10%, VSS= AVSS= 0.0 V, TA=−40 °C to +105 °C)
CPns
Value
UnitRemarks
MinMax
5 t
CPnsUnder normal operation
1µsIn stop mode
Note : t
CP : See “ (1) Clock timing”.
• Trigger input timing
INT0 ∼ INT7
tTRGHtTRGL
0.8 VCC0.8 VCC
0.5 VCC0.5 VCC
73
MB90420G/425G Series
(7) Low voltage detection
Parameter
Symbol
Pin name
Conditions
(V
SS= AVSS= 0.0 V, TA=−40 °C to +105 °C)
Value
MinTypMax
UnitRemarks
Detection voltageV
Hysteresis widthV
Power supply voltage
fluctuation ratio
dV/dtVCC−0.10.02V/µs
Detection delay timet
VCC
DLVCC3.74.04.3V
HYSVCC0.1V
d
dV
dt
35µs
Internal reset
VHYS
V
ni
td
td
During voltage
drop
During voltage
rise
74
MB90420G/425G Series
5.A/D Conversion Block
(1) Electrical Characteristics
(V
CC= AVCC= 5.0 V±10%, VSS= AVSS= 0.0 V, TA=−40 °C to +105 °C)
ParameterSymbolPin name
MinTypMax
Resolution 10bit
Total error ±5.0LSB
Non-linear error ±2.5LSB
Differential linear error ±1.9LSB
Value
UnitRemarks
Zero transition voltageV
Full scale transition
voltage
V
Sampling timet
Compare timet
OTAN0 to AN7
FSTAN0 to AN7
SMP2.000µs*1
CMP4.125µs*2
AVSS
− 3.5 LSB
AVRH
− 6.5 LSB
SS
AV
+ 0.5 LSB
AVRH
− 1.5 LSB
SS
AV
+ 4.5 LSB
AVRH
+ 1.5 LSB
V
1 LSB =
(AVRH − AV
V
SS)
/ 1024
A/D conversion timetCNV6.125µs*3
Analog port
input current
I
AINAN0 to AN710µAVAVSS= VAIN= VAVCC
Analog input currentVAINAN0 to AN70AVRHV
Reference voltageAVR+AVRH3.0AVCCV
*3 : Equivalent to con version time per channel at FCP= 16 MHz, and selection of tSMP= 32 × tCP and tCMP= 32 × tCP.
*4 : Defined as supply current (when V
stop mode.
CC= AVCC = AVRH = 5.0 V) with A/D converter not operating, and CPU in
75
MB90420G/425G Series
••••
Notes of the external impedance of the analog input and its sampling time
• A/D converter with sample and hold circuit. If the external impedance is too high to keep sufficient sampling
time, the analog voltage charged to the internal sample and hold capacitor is insufficient, adversely affecting
A/D conversion presicion.
• Analog input circuit model
Analog input
R
Comparator
C
During sampling : ON
MB90420GA/420GC
MB90F420GA/F420GC
MB90V420G
R
2.4 kΩ (Max)
2.6 kΩ (Max)
3.2 kΩ (Max)
C
36.4 pF (Max)
28.0 pF (Max)
30.0 pF (Max)
Note : The values are reference values.
• To satisfy the A/D conversion precision standard, consider the relationship between the external impedance
and minimum sampling time and either adjust the resistor value and operating frequency or decrease the
external impedance so that the sampling time is longer than the minimum value.
• The relationship between the external impedance and minimum sampling time
(External impedance = 0 kΩ to 100 kΩ)
100
90
MB90F420GA/
80
70
60
50
40
30
20
10
0
External impedance [kΩ]
05101520253035
F420GC
MB90V420G
MB90420GA/
420GC
Minimum sampling time [µs]
(External impedance = 0 kΩ to 20 kΩ)
20
18
MB90F420GA/
16
14
12
10
8
6
4
2
0
External impedance [kΩ]
012345687
F420GC
MB90V420G
MB90420GA/
420GC
Minimum sampling time [µs]
• If the sampling time cannot be sufficient, connect a capacitor of about 0.1 µF to the analog input pin.
• About errors
As |AVRH| becomes smaller, values of relative errors grow larger.
76
MB90420G/425G Series
(2) Definition of terms
• Resolution
Indicates the ability of the A/D converter to discriminate in analog conversion.
10-bit resolution indicates that analog voltage can be resolved into 2
• Total error
Expresses the difference between actual and logical values. It is the total value of errors that can come from
offset error, gain error, non-linearity error and noise.
• Linearity error
Expresses the deviation between actual con version char acteristics and a straight line connecting the de vice’s
zero transition point (00 0000 0000 ←→ 00 0000 0001) and full scale transition point (11 1111 1110 ←→ 11
1111 1111) .
• Differential linearity error
Expresses the deviation of the logical value of input voltage required to create a variation of 1 SLB in output
code.
Note 1) * : These dimensions do not include resin protrusion.
Note 2) Pins width and pins thickness include plating thickness.
Note 3) Pins width do not include tie bar cutting remainder.
5180
50
0.10(.004)
17.90±0.40
(.705±.016)
*
14.00±0.20
(.551±.008)
Details of "A" part
0.13(.005)
31
M
0.17±0.06
(.007±.002)
3.00
.118
(Mounting height)
0.80±0.20
(.031±.008)
0.88±0.15
(.035±.006)
+0.35
–0.20
+.014
–.008
0.25(.010)
0~8˚
0.25±0.20
(.010±.008)
(Stand off)
C
2002 FUJITSU LIMITED F100008S-c-5-5
Dimensions in mm (inches)
Note : The values in parentheses are reference values.
(Continued)
82
(Continued)
Plastic LQFP, 100-pin
(FPT-100P-M05)
75
7650
100
125
16.00±0.20(.630±.008)SQ
*
14.00±0.10(.551±.004)SQ
INDEX
0.50(.020)
0.20±0.05
(.008±.002)
MB90420G/425G Series
Note 1) * : These dimensions do not include resin protrusion.
Note 2) Pins width and pins thickness include plating thickness.
Note 3) Pins width do not include tie bar cutting remainder.
51
0.08(.003)
Details of "A" part
+.008
+0.20
.059 –.004
–0.10
1.50
0.08(.003)
(Mounting height)
26
"A"
M
0.145±0.055
(.0057±.0022)
0˚~8˚
0.50±0.20
(.020±.008)
0.60±0.15
(.024±.006)
0.10±0.10
(.004±.004)
(Stand off)
0.25(.010)
C
2003 FUJITSU LIMITED F100007S-c-4-6
Dimensions in mm (inches)
Note : The values in parentheses are reference values.
83
MB90420G/425G Series
FUJITSU LIMITED
All Rights Reserved.
The contents of this document are subject to change without notice.
Customers are advised to consult with FUJITSU sales
representatives before ordering.
The information, such as descriptions of function and application
circuit examples, in this document are presented solely for the
purpose of reference to show examples of operations and uses of
Fujitsu semiconductor device; Fujitsu does not warrant proper
operation of the device with respect to use based on such
information. When you develop equipment incorporating the
device based on such information, you must assume any
responsibility arising out of such use of the information. Fujitsu
assumes no liability for any damages whatsoever arising out of
the use of the information.
Any information in this document, including descriptions of
function and schematic diagrams, shall not be construed as license
of the use or exercise of any intellectual property right, such as
patent right or copyright, or any other right of Fujitsu or any third
party or does Fujitsu warrant non-infringement of any third-party’s
intellectual property right or other right by using such information.
Fujitsu assumes no liability for any infringement of the intellectual
property rights or other rights of third parties which would result
from the use of information contained herein.
The products described in this document are designed, developed
and manufactured as contemplated for general use, including
without limitation, ordinary industrial use, general office use,
personal use, and household use, but are not designed, developed
and manufactured as contemplated (1) for use accompanying fatal
risks or dangers that, unless extremely high safety is secured, could
have a serious effect to the public, and could lead directly to death,
personal injury, severe physical damage or other loss (i.e., nuclear
reaction control in nuclear facility, aircraft flight control, air traffic
control, mass transport control, medical life support system, missile
launch control in weapon system), or (2) for use requiring
extremely high reliability (i.e., submersible repeater and artificial
satellite).
Please note that Fujitsu will not be liable against you and/or any
third party for any claims or damages arising in connection with
above-mentioned uses of the products.
Any semiconductor devices have an inherent chance of failure. You
must protect against injury, damage or loss from such failures by
incorporating safety design measures into your facility and
equipment such as redundancy, fire protection, and prevention of
over-current levels and other abnormal operating conditions.
If any products described in this document represent goods or
technologies subject to certain restrictions on export under the
Foreign Exchange and Foreign Trade Law of Japan, the prior
authorization by Japanese government will be required for export
of those products from Japan.
F0410
2004 FUJITSU LIMITED Printed in Japan
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.