MB90F455 (S) /F456 (S) /F457 (S)
MB90455 (S) /456 (S) /457 (S) /V495G
DESCRIPTION
■
MB90455 series devices are general-purpose high-performance 16-bit micro controllers designed for process
control of consumer products, which require high-speed real-time processing.
The system, inheriting the architecture of F
guages, expanded addressing mode , enhanced multiply-divide instructions, and enriched bit-processing instructions. Furthermore, employment of 32-bit accumulator achieves processing of long-word data (32 bits).
The peripheral resources of MB90455 series include the following:
8/10-bit A/D converter, UART 1, 8/16-bit PPG timer , 16-bit input-output timer (16-bit free-run timer, input capture
0, 1, 2, 3 (ICU)).
2
MC”, an abbreviation for FUJITSU Flexible Microcontroller, is a registered trademark of FUJITSU Ltd.
*: “F
2
MC* family, employs additional instruction ready for high-level lan-
DS07-13728-3E
FEATURES
■
••••
Clock
• Built-in PLL clock frequency multiplication circuit
• Selection of machine clocks (PLL clocks) is allowed among frequency division by two on oscillation clock, and
multiplication of 1 to 4 times of oscillation clock (for 4-MHz oscillation clock, 4 MHz to 16 MHz).
• Operation by sub-clock (8.192 kHz) is allowed.
• Minimum execution time of instruction: 62.5 ns (when operating with 4-MHz oscillation cloc k, and 4-time m ultiplied PLL clock).
(Continued)
PACKAGE
■
48-pin plastic-LQFP
(FPT-48P-M26)
MB90455 Series
••••
16 Mbyte CPU memory space
• 24-bit internal addressing
••••
Instruction system best suited to controller
• Wide choice of data types (bit, byte, word, and long word)
• Wide choice of addressing modes (23 types)
• Enhanced multiply-divide instructions and RETI instructions
• Enhanced high-precision computing with 32-bit accumulator
••••
Instruction system compatible with high-level language (C language) and multitask
• Employing system stack pointer
• Enhanced various pointer indirect instructions
• Barrel shift instructions
••••
Increased processing speed
• 4-byte instruction queue
••••
Powerful interrupt function with 8 levels and 34 factors
••••
Automatic data transfer function independent of CPU
• Expanded intelligent I/O service function (EI
••••
Low power consumption (standby) mode
• Sleep mode (a mode that halts CPU operating clock)
• Time-base timer mode (a mode that operates oscillation clock, sub clock, time-base timer and cloc k timer only)
• Clock mode (a mode that operates sub clock and clock timer only)
• Stop mode (a mode that stops oscillation clock and sub clock)
• CPU blocking operation mode
2
OS): Maximum of 16 channels
••••
Process
•CMOS technology
••••
I/O port
• General-purpose input/output port (CMOS output): 34 por ts(MB90F455/F456/F457, MB90455/456/457) (including 4 high-current output ports) (When sub clock is not used, 36 ports(MB90F455S/F456S/F457S,
MB90455S/456S/457S))
• 8/16-bit PPG timer: 8-bit x 4 channels, or 16-bit x 2 channels
• 16-bit reload timer: 2 channels
• 16-bit input/output timer
- 16-bit free run timer: 1 channel
- 16-bit input capture: (ICU): 4 channels
Interrupt request is issued upon latching a count value of 16-bit free run timer by detection of an edge on pin
input.
••••
UART 1: 1 channel
• Equipped with full-duplex double buffer
• Clock-asynchronous or clock-synchronous serial transmission is available
(Continued)
2
(Continued)
••••
DTP/External interrupt: 4 channels
• Module for activation of expanded intelligent I/O service (EI
••••
Delay interrupt generator module
• Generates interrupt request for task switching.
••••
8/10-bit A/D converter: 8 channels
• Resolution is selectable between 8-bit and 10-bit.
• Activation by external trigger input is allowed.
Number of channels: 2 (four 8-bit channels are available also)
PPG operation is allowed with four 8-bit channels or one 16-bit channel.
Outputting pulse wave of arbitrary cycle or arbitrary duty is allowed.
Count clock: 62.5 ns to 1 µs
(with 16 MHz machine clock)
MB90455 (S) /
456 (S) /457 (S)
MB90V495G
Delay interrupt generator
module
DTP/External interrupt
8/10-bit A/D converter
UART 1
*1 : Settings of DIP switch S2 f or using emulation pod MB2145-507. For details, See MB2145-507 Hardw are Manual
(2.7 Power Pin solely for Emulator).
*2 : MB90F455S/F456S/F457S, MB90455S/456S/457S
Interrupt generator module for task switching. Used for Real-time OS.
Number of inputs: 4
Activated by rising edge, falling edge, “H” level or “L” level input.
External interrupt or expanded intelligent I/O service (EI
Number of channels: 8
Resolution: Selectable 10-bit or 8-bit.
Conversion time: 6.125 µs (at 16-MHz machine clock, including sampling time)
Sequential conversion of two or more successive channels is allowed. (Setting
a maximum of 8 channels is allowed.)
Single conversion mode: Selected channel is converted only once.
Sequential conversion mode: Selected channel is converted repetitively.
Halt conversion mode: Conversion of selected channel is stopped and
activated alternately.
Number of channels: 1
Clock-synchronous transfer: 62.5 Kbps to 2 Mbps
Clock-asynchronous transfer: 9,615 bps to 500 Kbps
Communication is allowed by bi-directional serial communication function and
master/slave type connection.
2
OS) is available.
5
MB90455 Series
PACKAGES AND PRODUCT MODELS
■■■■
Packa geMB90F455 (S) /F456 (S) /F457 (S) MB90455 (S) /456 (S) /457 (S)
FPT-48P-M26
: Yes × : No
Note : Refer to “ PACKAGE DIMENSION” for details of the package.
PRODUCT COMPARISON
■■■■
Memory space
When testing with test product for evaluation, check the differences between the product and a product to be
used actually. Pay attention to the following points:
• The MB90V495G has no built-in ROM. However, a special-purpose development tool allows the operations
as those of one with built-in ROM. ROM capacity depends on settings on a development tool.
• On MB90V495G, an image from FF4000
FF3FFFH is viewed only on FE bank and FF bank. (Modified on settings of a development tool.)
• On MB90F455 (S) /F456 (S) /F457 (S) , MB90455 (S) /456 (S) /457 (S) , an image from FF4000
is viewed on 00 bank and an image of FE0000H to FF3FFFH is viewed only on FF bank.
H to FFFFFFH is viewed on 00 bank and an image of FE0000H to
• FLASH product is not provided with
pull-down resistor.
• CMOS hysteresis input
• CMOS level output (high-current
output)
• Standby control provided
G
R
High-current output
Nch
Vss
Hysteresis input
Standby control
11
MB90455 Series
HANDLING DEVICES
■■■■
••••
Do not exceed maximum rating (preventing “latch up”)
• On a CMOS IC, latch-up may occur when applying a voltage higher than Vcc or a voltage lower than Vss to
input or output pin, which has no middle or high withstand voltage. Latch-up may also occur when a voltage
exceeding maximum rating is applied across Vcc and Vss.
• Latch-up causes drastic increase of power current, which ma y lead to destruction of elements by heat. Extreme
caution must be taken not to exceed maximum rating.
• When turning on and off analog power source, take extra care not to apply an analog power voltages (AVcc
and AVR) and analog input voltage that are higher than digital power voltage (Vcc).
••••
Handling unused pins
• Leaving unused input pins open may cause permanent destruction by malfunction or latch-up. Apply pull-up
or pull-down process to the unused pins using resistors of 2 kΩ or higher . Leav e unused input pins open under
output status, or process as input pins if they are under input status.
••••
Using external clock
• When using an external clock, drive only X0 pin and leav e X1 pin open. An e xample of using an e xternal clock
is shown below.
Using external clock
X0
Open
••••
Notes when using no sub clock
• If an oscillator is not connected to X0A and X1A pin, apply pull-down resistor to X0A pin and leav e X1A pin open.
••••
About power supply pins
• If two ore more Vcc and Vss exist, the pins that should be at the same potential are connected to each other
inside the device. For reducing unwanted emissions and preventing malfunction of strobe signals caused by
increase of ground lev el, howev er , be sure to connect the Vcc and Vss pins to the power source and the ground
externally .
• Pay attention to connect a power supply to Vcc and Vss of MB90455 series device in a lowest-possible
impedance.
• Near pins of MB90455 series device, connecting a bypass capacitor is recommended at 0.1 µF across Vcc
and Vss.
••••
Crystal oscillator circuit
• Noises around X0 and X1 pins cause malfunctions on a MB90455 series device. Design a print circuit so that
X0 and X1 pins, an crystal oscillator (or a ceramic oscillator), and bypass capacitor to the ground become as
close as possible to each other. Furthermore, avoid wires to X0 and X1 pins crossing each other as much as
possible.
• Print circuit designing that surrounds X0 and X1 pins with grounding wires, which ensures stable operation,
is strongly recommended.
X1
MB90455 series
12
MB90455 Series
••••
Caution on Operations during 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. P erf ormance of this operation, howe v er ,
cannot be guaranteed.
••••
Sequence of turning on power of A/D converter and applying analog input
• Be sure to turn on digital power (Vcc) before applying signals to the A/D converter and applying analog input
signals (AN0 to AN7 pins).
• Be sure to turn off the power of A/D converter and analog input before turning off the digital power source.
• Be sure not to apply AVR exceeding AVcc when turning on and off. (No problems occur if analog and digital
power is turned on and off simultaneously.)
••••
Handling pins when A/D converter is not used
• If the A/D converter is not used, connect the pins under the following conditions: “AVcc=AVR=Vcc,” and
“Avss=Vss”
••••
Note on turning on power
• For preventing malfunctions on built-in step-down circuit, maintain a minimum of 50 µs of voltage rising time
(between 0.2 V and 2.7 V) when turning on the power.
••••
Stabilization of supply voltage
• A sudden change in the supply voltage may cause the device to malfunction even within the specified Vcc
supply voltage operating range. Therefore, the Vcc supply voltage should be stabilized.
For reference, the supply voltage should be controlled so that Vcc ripple variations (peak-to-peak values) at
commercial frequencies (50 Hz to 60 Hz) fall below 10% of the standard V
of fluctuation does not exceed 0.1 V/ms at instantaneous power switching.
CC supply voltage and the coefficient
13
MB90455 Series
BLOCK DIAGRAM
■
X0,X1
RST
X0A,X1A
SOT1
SCK1
SIN1
AVcc
AVss
AN0 ~ AN7
AVR
ADTG
Clock
control circuit
Clock timer
Time-base timer
RAM
ROM/FLASH
Prescaler
UART1
8/10-bit A/D
converter (8ch)
CPU
2
F
MC-16LX core
Internal data bus
16-bit
free-run timer
Input
capture
(4ch)
16-bit
PPG timer
(2ch)
DTP/External
interrupt
16-bit
reload timer
(2ch)
IN0 ~ IN3
PPG0 ~ PPG3
INT4 ~ INT7
TIN0,TIN1
TOT0,TOT1
14
MB90455 Series
MEMORY MAP
■■■■
MB90455 series allows specifying a memory access mode “single chip mode.”
1.Memory allocation of MB90455
MB90455 series model has 24-bit wide internal address bus and up to 24-bit bus of external address bus.
A maximum of 16 Mbyte memory space of external access memory is accessible.
2.Memory map
000000H
0000C0H
000100H
Address #1*
003800H
004000H
010000H
FE0000H
FF0000H
Address #2*
FFFFFFH
(with ROM mirroring
function available)
Peripheral
RAM area
1
Register
Extension IO
area
(with ROM mirroring
function not available)
Peripheral
RAM area
Register
Extension IO
area
ROM area
(FF bank image)
ROM area*
1
ROM area
2
Product
ROM area*
ROM area
Address #1*
2
1
Address #2*
MB90F455 (S) /455 (S) 000900HFFA000H
MB90F456 (S) /456 (S) 000900HFF8000H
1
MB90F457 (S) /457 (S) 000900HFF0000H
MB90V495G001900H
: Internal access memory
: Access disallowed
*1 : Addresses #1 and #3 are product-specific.
*2 : On MB90F455 (S) /F456 (S) /F457 (S) , 455 (S) /456 (S) /457 (S) , to read “FE0000
“FEFFFF
H” is to read out “FF0000H” to “FFFFFFH”.
H” to
Note : When internal ROM is operating, F2MC-16LX allows viewing ROM data image on FF bank at upper-level of
00 bank. This function is called “mirroring ROM,” which allows effective use of C compiler small model.
2
F
MC-16LX assigns the same low order 16-bit address to FF bank and 00 bank, which allows referencing
table in ROM without specifying “far” using pointer.
For e xample, when accessing to “00C000
H”, ROM data at “FFC000H” is accessed actually . Howe ver , because
ROM area of FF bank exceeds 48 Kb ytes, viewing all areas is not possible on 00 bank image . Because ROM
data of “FF4000
“FF4000
H” to “FFFFFFH.”
H” to “FFFFFFH” is viewed on “004000H” to “00FFFFH” image, store a R OM data table in area
15
MB90455 Series
I/O MAP
■■■■
Address
000000
Register
abbreviation
H (Reserved area) *
Register nameReset value
Peripheral
function name
Read/
Write
000001HPDR1Port 1 data registerXXXXXXXXBPort 1R/W
000002
HPDR2Port 2 data registerXXXXXXXXBPort 2R/W
000003HPDR3Port 3 data registerXXXXXXXXBPort 3R/W
000004HPDR4Port 4 data registerXXXXXXXXBPort 4R/W
000005
HPDR5Port 5 data registerXXXXXXXXBPort 5R/W
000006H
to
000010
000011
000012
H
HDDR1Port 1 direction data register00000000BPort 1R/W
HDDR2Port 2 direction data register00000000BPort 2R/W
(Reserved area) *
000013HDDR3Port 3 direction data register000X0000BPort 3R/W
000014HDDR4Port 4 direction data registerXXX00000BPort 4R/W
000015
HDDR5Port 5 direction data register00000000BPort 5R/W
000016H
to
00001A
00001B
00001C
to
000025
000026
H
HADERAnalog input permission register11111111B
H
H
HSMR1Serial mode register 100000000B
(Reserved area) *
(Reserved area) *
8/10-bit
A/D converter
R/W
R/W
000027HSCR1Serial control register 100000100BR/W, W
000028
000029
00002A
00002B
00002C
to
00002F
000030
000031
000032
000033
SIDR1/
H
SODR1
HSSR1Serial status data register 100001000BR, R/W
H (Reserved area) *
HCDCR1
H
Serial input data register 1/ Serial
output data register 1
Communication prescaler control
register 1
XXXXXXXXBR, W
0XXX0000BUART1R/W
(Reserved area) *
H
HENIR
HEIRR
H (Reserved area) *
HELVRDetection level setting register00000000B
DTP/External interrupt permission
register
DTP/External interrupt permission
register
00000000B
XXXXXXXXBR/W
UART1
DTP/External
interrupt
DTP/External
interrupt
R/W
R/W
16
(Continued)
MB90455 Series
Address
000034
Register
abbreviation
H
Register nameReset value
00000000
Peripheral
function name
B
Read/
Write
R/W
ADCSA/D control status register
000035
000036
H00000000BR/W, W
H
XXXXXXXX
8/10-bit
A/D converter
BW, R
ADCRA/D data register
000037H00101XXXBR
000038
00003F
000040
000041HPPGC1
000042
000043
000044HPPGC2
000045HPPGC3
H
to
H
HPPGC0
PPG0 operation mode control
register
(Reserved area) *
PPG1 operation mode control
register
HPPG01
H (Reserved area) *
PPG0/1 count clock selection
register
PPG2 operation mode control
register
PPG3 operation mode control
register
0X000XX1B
0X000001BR/W, W
8/16-bit
PPG timer 0/1
R/W, W
000000XXBR/W
0X000XX1B
0X000001BR/W, W
8/16-bit
PPG timer 2/3
R/W, W
000046
000047
HPPG23
H
to
00004F
H
000050H
IPCP0Input capture data register 0
000051
HXXXXXXXXB
000052H
IPCP1Input capture data register 1
000053
HXXXXXXXXB
000054HICS01
000055
HICS2300000000B
000056H
TCDTTimer counter data register
000057
H00000000B
PPG2/3 count clock selection
register
(Reserved area) *
Input capture control status register
000000XXBR/W
XXXXXXXX
XXXXXXXX
00000000B
00000000
B
B
16-bit input/output
timer
B
R/W
R/W
R
R
000058HTCCSTimer counter control status register00000000BR/W
0000A8HWDTCWatchdog timer control registerXXXXX111BWatchdog timerR,W
0000A9
0000AA
HTBTCTime-base timer control register1XX00100BTime-base timerR/W,W
HWTCClock timer control register1X001000BClock timerR,R/W
0000ABH
to
0000AD
H
(Reserved area) *
(Continued)
18
MB90455 Series
Address
0000AE
0000AF
Register
abbreviation
HFMCS
H (Reserved area) *
Flash memory control status
register
Register nameReset value
000X0000B
0000B0HICR00Interrupt control register 0000000111B
0000B1
HICR01Interrupt control register 0100000111B
0000B2HICR02Interrupt control register 0200000111B
0000B3HICR03Interrupt control register 0300000111B
0000B4HICR04Interrupt control register 0400000111B
0000B5HICR05Interrupt control register 0500000111B
0000B6HICR06Interrupt control register 0600000111B
0000B7HICR07Interrupt control register 0700000111B
0000B8HICR08Interrupt control register 0800000111B
0000B9HICR09Interrupt control register 0900000111B
0000BAHICR10Interrupt control register 1000000111B
0000BBHICR11Interrupt control register 1100000111B
0000BCHICR12Interrupt control register 1200000111B
Peripheral
function name
512 k-bit flash
memory
Read/
Write
R,W,R/W
Interrupt controllerR/W
0000BDHICR13Interrupt control register 1300000111B
0000BEHICR14Interrupt control register 1400000111B
0000BFHICR15Interrupt control register 1500000111B
0000C0H
∆ : Available when a cause of interrupt sharing a same ICR is not used.
*1: • Peripheral functions sharing an ICR register have the same interrupt level.
• If peripheral functions share an ICR register, only one function is available when using expanded intelligent
I/O service (EI
2
OS) .
• If peripheral functions share an ICR register, a function using expanded intelligent I/O service (EI
not allow interrupt by another function.
*2: Input capture 1 is ready only for EI
2
EI
OS with Input capture 1.
2
OS, and PPG is not ready for EI2OS. Disable PPG interrupt when using
*3: Priority when two or more interrupts of a same level occur simultaneously.
Interrupt vectorInterrupt control register
NumberAddressICRAddress
HFFFF68H
ICR130000BDH*
HFFFF64H↑
HFFFF60H
ICR140000BEH
ICR150000BFH
#422AHFFFF54H
1
2
Priority*
High
↓
Low
OS) does
3
22
MB90455 Series
PERIPHERAL RESOURCES
■■■■
1.I/O Ports
The I/O ports are used as general-pur pose input/output ports (parallel I/O ports). The MB90455 series model
is provided with 5 ports (34 inputs). The ports function as input/output pins for peripheral functions also.
••••
I/O port functions
An I/O port, using port data resister (PDR), outputs the output data to I/O pin and input a signal input to I/O port.
The port direction register (DDR) specifies direction of input/output of I/O pins on a bit-by-bit basis.
The following summarizes functions of the ports and sharing peripheral functions :
• Port 1 : General-purpose input/output port, used also for PPG timer output and input capture inputs.
• Port 2 : General-purpose input/output port, used also for reload timer input/output and external interrupt input.
• Port 3 : General-purpose input/output port, used also for A/D converter activation trigger pin.
• Port 4 : General-purpose input/output port, used also for UART input/output.
• Port 5 : General-purpose input/output port, used also analog input pin.
••••
Port 1 pins block diagram (single-chip mode)
Peripheral
function input
Port data register (PDR)
Internal data bus
Standby control : Control among Stop mode (SPL=1), Time-base timer mode (SPL=1), and clock mode
••••
Port 1 registers (single-chip mode)
• Port 1 registers include port 1 data register (PDR1) and port 1 direction register (DDR1).
• The bits configuring the register correspond to port 1 pins on a one-to-one basis.
PDR read
Output latch
PDR write
Port direction register (DDR)
Direction
latch
DDR write
DDR read
(SPL=1).
Peripheral
function output
Peripheral function
output permission
Pch
Pin
Nch
Standby control (SPL=1)
Relation between port 1 registers and pins
Port nameBits of register and corresponding pins
PDR1, DDR1bit7bit6bit5bit4bit3bit2bit1bit0
Port 1
Corresponding pinsP17P 16P15P14P13P12P11P10
23
MB90455 Series
••••
Port 2 pins block diagram (general-purpose input/output port)
Peripheral
function input
Port data register (PDR)
Internal data bus
Standby control : Control among Stop mode (SPL=1), Time-base timer mode (SPL=1), and clock mode
••••
Port 2 registers
• Port 2 registers include port 2 data register (PDR2) and port 2 direction register (DDR2).
• The bits configuring the register correspond to port 2 pins on a one-to-one basis.
The time-base time is a 18-bit free-run counter (time-base timer counter) that counts up in synchronization with
the main clock (dividing main oscillation clock by 2).
• Four choices of interval time are selectable , and generation of interrupt request is allowed for each interval time.
• Provides operation clock signal to oscillation stabilizing wait timer and peripheral functions.
••••
Interval timer function
• When the counter of time-base timer reaches an interval time specified by interval time selection bit
(TBTC:TBC1, TBC0), an overflow (carrying-ov er) occurs (TBTC: TBOF=1) and interrupt request is generated.
• If an interrupt by overflo w is permitted (TBTC: TBIE=1), an interrupt is generated when overflow occurs (TBTC:
TBOF=1).
• The following four interval time settings are selectable :
Interval time of time-base timer
Count clockInterval time
12
2
/HCLK (Approx. 1.0 ms)
14
2
2/HCLK (0.5 µs)
/HCLK (Approx. 4.1 ms)
16
/HCLK (Approx. 16.4 ms)
2
19
2
/HCLK (Approx. 131.1 ms)
HCLK: Oscillation clock
Values in parentheses “( )” are those under operation of 4-MHz oscillation clock.
28
••••
Time-base timer block diagram
Time-base timer counter
To PPG timer
MB90455 Series
To watchdog
timer
21/HCLK
212
2
3
2
· · ·
· · ·
9
8
2
2
Power-on reset
Stop mode
CKSCR : MCS = 1 0
CKSCR : SCS = 0 1
1
2
Counter-
clear circuit
TBOF clear
Time-base timer control register
(TBTC)
Re-
served
Time-base timer interrupt signal
OF : Overflow
HCLK : Oscillation clock
*1 : Switch machine clock from main clock to PLL clock.
10
2112122132142152162172
2
OF
OF
OF
Interval timer
selector
TBOF set
TBIE TBOFTBC1 TBC0TBR
18
OF
To clock controller
oscillation stabilizing
wait time selector
*2 : Switch machine clock from sub clock to main clock.
Actual interrupt request number of time-base timer is as follows:
Interrupt request number: #16 (10
H)
29
MB90455 Series
3.Watchdog Timer
The watchdog timer is a 2-bit counter that uses time-base timer or clock timer as count clock. If the counter is
not cleared within an interval time, CPU is reset.
••••
Watchdog timer functions
• The watchdog timer is a timer counter that prev ents runaway of a prog ram. Once a watchdog timer is activated,
the counter of watchdog timer must always be cleared within a specified time of interval. If specified interval
time elapses without clearing the counter of a watchdog timer, CPU resetting occurs . This is the function of a
watchdog timer.
• The interval time of a watchdog timer is determined by a clock cycle, which is input as a count cloc k. Watchdog
resetting occurs between a minimum time and a maximum time specified.
• The output target of a clock source is specified by the w atchdog clock selection bit (WTC: WDCS) in the cloc k
timer control register.
• Interval time of a watchdog timer is specified by the time-base timer output selection bit/clock timer output
selection bit (WDTC: WT1, WT0) in the watchdog timer control register.
Notes: • If the time-base timer is cleared when watchdog timer count clock is used as time base timer output
(carry-over signal), watchdog reset time may become longer.
• When using the sub clock as machine clock, be sure to specify watchdog timer clock source selection bit
(WDCS) in clock timer control register (WTC) at “0,” selecting output of clock timer.
30
••••
Watchdog timer block diagram
MB90455 Series
Reset occurs
Shift to sleep mode
Shift to time-base
timer mode
Shift to clock mode
Shift to stop mode
Main clock
(dividing HCLK by 2)
Sub clock
SCLK
Watchdog timer control register(WDTC)
PONR
Watchdog timer
WRST
2
SRST
WTE
WT1
ERST
Counter
clear control
circuit
Count clock
selector
Clear
4
Time-base timer counter
212
2
2
8
2
10
9
2112122132142152162172
2
Clock counter
212
2
2
5
2
7
6
28 292102112122132142
2
WT0
Activate
2-bit
counter
Clock timer control register (WTC)
WDCS
Watchdog
reset
generation
circuit
Internal reset
generation
circuit
4
18
15
HCLK: Oscillation clock
SCLK: Sub clock
31
MB90455 Series
4.16-bit Input/Output Timer
The 16-bit input/output timer is a compound module composed of 16-bit free-run timer, (1 unit) and input capture
(2 units, 4 input pins). The timer , using the 16-bit free-run timer as a basis, enables measurement of cloc k cycle
of an input signal and its pulse width.
••••
Configuration of 16-bit input/output timer
The 16-bit input/output timer is composed of the following modules:
• 16-bit free-run timer (1 unit)
• Input capture (2 units, 2 input pins per unit)
••••
Functions of 16-bit input/output timer
(1) Functions of 16-bit free-run timer
The 16-bit free-run timer is composed of 16-bit up counter, timer counter control status register, and prescaler.
The 16-bit up counter increments in synchronization with dividing ratio of machine clock.
• Count clock is set among four types of machine clock dividing rates.
• Generation of interrupt is allowed by counter value overflow.
• Activation of expanded intelligent I/O service (EI
• Counter value of 16-bit free-run timer is cleared to “0000
count clear bit (TCCS: CLR).
• Counter value of 16-bit free-run timer is output to input capture, which is available as base time for capture
operation.
2
OS) is allowed by interrupt generation.
H” by either resetting or software-clearing with timer
(2) Functions of input capture
The input capture, upon detecting an edge of a signal input to the input pin from external device , stores a counter
value of 16-bit free-run timer at the time of detection into the input capture data register. The function includes
the input capture data registers corresponding to four input pins, input capture control status register, and edge
detection circuit.
• Rising edge, falling edge, and both edge are selectable for detection.
• Generating interrupt on CPU is allowed by detecting an edge of input signal.
• Expanded intelligent I/O service (EI
• The four input capture input pins and input capture data registers allows monitoring of a maximum of f our events.
2
OS) is activated by interrupt generation.
32
••••
16-bit input/output timer block diagram
MB90455 Series
Internal data bus
••••
16-bit free-run timer
Input capture
Special-
purpose bus
16-bit free-run
timer
Counter value of 16-bit free-run timer is used as reference time (base time) of input capture.
••••
Input capture
Input capture detects rising edge, falling edge or both edges and retains a counter value of 16-bit free-run timer .
Detection of edge on input signal is allowed to generate interrupt.
••••
16-bit free-run timer block diagram
Timer counter data register
(TCDT)
Output counter value
to input capture
16-bit free-run timer
Prescaler
2
Timer counter
control status register
(TCCS)
IVF IVFECLK2 CLK1 CLK0STOPCLR
φ : Machine clock
OF : Overflow
OF
CLK
STOP
Re-
served
CLR
Internal data bus
Free-run timer
interrupt request
33
MB90455 Series
••••
Detailed pin assignment on block diagram
The 16-bit input/output timer includes a 16-bit free-run timer. Interrupt request number of the 16-bit free-run
timer is as follows:
Interrupt request number: 19 (13
••••
Prescaler
The prescaler divides a machine clock and provides a counter clock to the 16-bit up counter. Dividing ratio of
the machine clock is specified by timer counter control status register (TCCS) among four values.
••••
Timer counter data register (TCDT)
The timer counter data register is a 16-bit up counter. A current counter v alue of the 16-bit free-run timer is read.
Writing a value during halt of the counter allows setting an arbitrary counter value.
H)
34
••••
Input capture block diagram
MB90455 Series
Edge detection
circuit
IN3
Pin
IN2
Pin
Input capture control
status register
(ICS23)
Input capture control
status register
(ICS01)
16-bit free-run timer
Input capture data register 3 (IPCP3)
Input capture data register 2 (IPCP2)
2
2
EG00EG01EG10EG11ICE0ICE1ICP0ICP1
EG00EG01EG10EG11ICE0ICE1ICP0ICP1
Input capture
interrupt request
EG00EG01EG10EG11ICE0ICE1ICP0ICP1
2
Internal data bus
IN1
Pin
IN0
Pin
Edge detection
2
Input capture data register 1 (IPCP1)
Input capture data register 0 (IPCP0)
circuit
35
MB90455 Series
5.16-bit Reload Timer
The 16-bit reload timer has the following functions:
• Count clock is selectable among 3 internal clocks and external event clock.
• Activation trigger is selectable between software trigger and external trigger.
• Generation of CPU interrupt is allowed upon occurrence of underflow on 16-bit timer register. Available as an
interval timer using the interrupt function.
• When underflow of 16-bit timer register (TMR) occurs, one of two reload modes is selectable between oneshot mode that halts counting operation of TMR, and reload mode that reloads 16-bit reload register value to
TMR, continuing TMR counting operation.
• The 16-bit reload timer is ready for expanded intelligent I/O service (EI
• MB90455 series device has 2 channels of built-in 16-bit reload timer.
••••
Operation mode of 16-bit reload timer
Count clockActivation triggerOperation upon underflow
• The 16-bit reload timer is set to internal clock mode, by setting count cloc k selection bit (TMCSR: CSL1, CSL0)
to “00
B”, “01B”, “10B”.
• In the internal clock mode, the counter decrements in synchronization with the internal clock.
• Three types of count clock cycles are selectable by count clock selection bit (TMCSR: CSL1, CSL0) in timer
control status register.
• Edge detection of software trigger or external trigger is specified as an activation trigger.
36
••••
16-bit reload timer block diagram
TMRLR
TMR
16-bit timer register UF
Internal data bus
16-bit reload register
Reload signal
MB90455 Series
Reload
control
circu
it
Count clock generation
CLK
circuit
Machine
clock
φ
Pin
TIN
Prescaler
Clear
Input
control
circuit
3
Gate
input
3
Internal
clock
External clock
2
Select function
CSL1 CSL0
MOD2 MOD1OUTLOUTE
Timer control status register (TMCSR)
Valid
clock
decision
circuit
CLK
Clock
selector
Select
signal
MOD0
Wait signal
Output control
circuit
Output signal
generation
circuit
RELD INTEUFCNTE TRG
Output to internal
peripheral
functions
Pin
EN
Operation control
circuit generation
circuit
TOT
Interrupt request
output
37
MB90455 Series
6.Clock Timer Outline
The clock timer is a 15-bit free-run counter that increments in synchronization with sub clock.
• Interval time is selectable among 7 choices, and generation of interrupt request is allowed for each interval.
• Provides operation clock to the subclock oscillation stabilizing wait timer and watchdog timer.
• Always uses subclock as a count clock regardless of settings of clock selection register (CKSCR).
••••
Interval timer function
• In the clock timer, a bit corresponding to the interval time o verflows (carry-over) when an interval time, which
is specified by interval time selection bit, is reached. Then overflow flag bit is set (WTC: WTOF=1).
• If an interrupt by overflow is per mitted (WTC: WTIE=1), an interrupt request is generated upon setting an
overflow flag bit.
• Interval time of clock timer is selectable among the following seven choices :
••••
Interval time of clock timer
Sub clock cycleInterval time
8
2
/SCLK (31.25 ms)
9
2
/SCLK (62.5 ms)
10
/SCLK (125 ms)
2
SCLK (122 µs)
11
2
/SCLK (250 ms)
12
2
/SCLK (500 ms)
13
/SCLK (1.0 s)
2
14
2
/SCLK (2.0 s)
SCLK: Sub clock frequency
Values in parentheses “( )” are calculation when operating with 8.192 kHz clock.
38
••••
Clock timer block diagram
Clock timer counter
MB90455 Series
To watchdog
timer
SCLK
1
2
3
2
2
2
Power-on reset
Shift to hardware standby
Shift to stop mode
2
4
5
2
Counter
clear
circuit
6
2
2
292102112122132142
2
OFOF
8
7
Interval timer
selector
Clock time interrupt
OF : Overflow
SCLK : Sub clock
Clock timer control register (WTC)
WDCS
SCE
WTIE
Actual interrupt request number of clock timer is as follows :
Interrupt request number : #28 (1C
H)
OF
WTOF
OF
OF
WTR
15
OF
OF
OF
To sub clock oscillation
stabilizing wait time
WTC1 WTC0WTC2
••••
Clock timer counter
A 15-bit up counter that uses sub clock (SCLK) as a count clock.
••••
Counter clear circuit
A circuit that clears the clock timer counter.
39
MB90455 Series
7.8/16-bit PPG Timer Outline
The 8/16-bit PPG timer is a 2-channel reload timer module (PPG0 and PPG1) that allows outputting pulses of
arbitrary cycle and duty cycle. Combination of the two channels allows selection among the follo wing operations:
MB90455 series device has two 8/16-bit built-in PPG timers. This section describes functions of PPG0/1.
PPG2/3 have the same functions as those of PPG0/1.
••••
Functions of 8/-16-bit PPG timer
The 8/-16-bit PPG timer is composed of four 8-bit reload register (PRLH0/PRLL0, PRLH1/PRLL1) and two PPG
down counters (PCNT0, PCNT1).
• Widths of “H” and “L” in output pulse are specifiable independently. Cycle and duty factor of output pulse is
specifiable arbitrarily.
• Count clock is selectable among 6 internal clocks.
• The timer is usable as an interval timer, by generating interrupt requests for each interval.
• The time is usable as a D/A converter, with an external circuit.
− : Undefined
Reserved : Reserved bit
HCLK : Oscillation clock frequency
φ : Machine clock frequency
* : Interrupt output of 8/16-bit PPG timer 0 is incorporated into one by the OR circuit against
− : Undefined
Reserved : Reserved bit
HCLK : Oscillation clock frequency
φ : Machine clock frequency
* : Interrupt output of 8/16-bit PPG timer 1 is incorporated into one by the OR circuit against
interrupt output of 8/16-bit PPG timer 0.
MB90455 Series
8.Delay Interrupt Generation Module Outline
The delay interrupt generation module is a module that generates interrupts for switching tasks. Generation of
a hardware interrupt request is performed by software.
••••
Delay interrupt generation module outline
Using the delay interrupt generation module, hardwa re interrupt request is generated and released by software .
Delay interrupt generation module outline
Function and control
Set “1” in R0 bit of delay interrupt request generation/release register (DIRR: R0=1),
Cause of interrupt
generating an interrupt request.
Set “0” in R0 bit of delay interrupt request generation/release register (DIRR: R0=0),
releasing an interrupt request.
Interrupt number#42 (2A
H)
Interrupt controlNo setting of permission register is provided.
Interrupt flagRetained in DIRR: R0 bit
2
EI
OSNot ready for expanded intelligent I/O service.
••••
Delay interrupt generation module block diagram
Internal data bus
R0
Delay interrupt request generation/release
S Interrupt request
R Latch
Interrupt
request signal
register (DIRR)
− : Not defined
••••
Interrupt request latch
A latch that retains settings on delay interrupt request generation/release register (generation or release of dela y
interrupt request).
An interrupt number used in delay interrupt generation module is as follows:
Interrupt number: #42 (2A
H)
43
MB90455 Series
9.DTP/External Interrupt Outline
DTP/external interrupt transfers an interrupt request generated by an e xternal peripheral device or a data transmission request to CPU, generating external interrupt request and activating expanded intelligent I/O service.
••••
DTP/external interrupt function
An interrupt request input from external peripheral device to external input pins (INT7 to INT4), just as interrupt
request of peripheral device, generates an interrupt request. The interrupt request generates an e xternal interrupt
and activates expanded intelligent I/O service (EI
2
OS).
If the expanded intelligent I/O service (EI
2
OS) has been disabled by interrupt control register (ICR: ISE=0),
external interrupt function is enabled and branches to interrupt processing.
If the EI
performed by EI
2
OS has been enabled, (ICR: ISE=1), DTP function is enabled and automatic data transmission is
2
OS. After performing specified number of data transmission processes , the process branches
to interrupt processing.
DTP/external interrupt
External interruptDTP function
Input pin4 pins (INT4 to INT7)
Specify for each pin with detection level setting register (ELVR).
Interrupt cause
Interrupt number#24 (18
Interrupt control
Input of “H” level/“L” level/rising edge/falling
edge.
H) , #27 (1BH)
Input of “H” level/ “L” level
Enabling or disabling output of interrupt request, using DTP/external interrupt permission
register (ENIR).
Interrupt flagRetaining interrupt cause with DTP/external interrupt cause register (EIRR).
Process selectionDisable EI
2
OS (ICR: ISE=0)Enable EI2OS (ICR: ISE=1)
After automatic data transmission by EI
ProcessBranch to external interrupt process
specified number of times, branch to interrupt
process.
2
OS for
44
••••
DTP/External interrupt block diagram
Detection level setting register (ELVR)
MB90455 Series
LA4LB4LA5LB5LA6LB6LA7LB7
Pin
INT7
Pin
INT6
Internal data bus
Pin
INT5
Pin
INT4
DTP/external interrupt input
detection circuit
Level/edge
selector
Level/edge
selector
Level/edge
selector
Level/edge
selector
ER4ER5ER6ER7
DTP/external interrupt
cause register (EIRR)
Interrupt
request signal
Re-
EN4EN5EN6EN7
served
Re-
served
Re-
served
DTP/external interrupt
Re-
served
permission register (ENIR)
45
MB90455 Series
10. 8/10-bit A/D Converter
The 8/10-bit A/D converter converts an analog input voltage into 8-bit or 10/bit digital value, using the RC-type
successive approximation conversion method.
• Input signal is selected among 8 channels of analog input pins.
• Activation trigger is selected among software trigger, internal timer output, and external trigger.
••••
Functions of 8/10-bit A/D converter
The 8/10-bit A/D converter converts an analog voltage (input voltage) input to analog input pin into an 8-bit or
10-bit digital value (A/D conversion).
The 8/10-bit A/D converter has the following functions:
• A/D conversion takes a minimum of 6.12 µs*1 for one channel, including sampling time. (A/D conversion)
• Sampling of one channel takes a minimum of 2.0 µs*.
• RC-type successive approximation conversion method, with sample & hold circuit is used for conversion.
• Resolution of either 8 bits or 10 bits is specifiable.
• A maximum of 8 channels of analog input pins are allowed for use.
• Generation of interrupt request is allowed, by storing A/D conversion result in A/D data register.
• Activation of EI
even if A/D conversion is performed successively.
• An activation trigger is selectable among software trigger , internal timer output, and external trigger (fall edge).
2
OS is allowed upon occurrence of an interrupt request. With use of EI2OS, data loss is av oided
*: When operating with 16-MHz machine clock
••••
8/10-bit A/D converter conversion mode
Conversion modeDescription
Singular conversion
mode
Sequential conversion
mode
Pausing conversion
mode
The A/D conversion is performed form a start channel to an end channel sequentially.
Upon completion of A/D conversion on an end channel, A/D conversion function stops.
The A/D conversion is performed form a start channel to an end channel sequentially.
Upon completion of A/D conversion on an end channel, A/D conversion function
resumes from the start channel.
The A/D conversion is performed by pausing at each channel. Upon completion of A/D
conversion on an end channel, A/D conversion and pause functions resume from the
start channel.
46
••••
8/10-bit A/D converter block diagram
MB90455 Series
A/D control
status register
(ADCS)
INT
ADTG
TO
AN7
AN6
AN5
AN4
AN3
AN2
AN1
AN0
Interrupt request output
INTE
PAUS STS1 STS0 STRTBUSYANS2
2
Re-
served
MD1
Activation
selector
Sample&
hold circuit
Analog
channel
selector
AVR
AVcc
AVss
MD0
2
Comparator
ANS1 ANS0 ANE2 ANE1 ANE0
D/A converter
6
Decoder
Internal data bus
Control circuit
A/D data
register
(ADCR)
ST0ST1CT1 CT0D9 D8S10D5D6D4 D3 D2 D1 D0D7
TO : Internal timer output
− : Not defined
Reserved : Be sure to set to “0”
φ : Machine clock
2
2
47
MB90455 Series
11. UART Outline
UART is a general-purpose serial data communication interface for synchronous and asynchronous communication using external devices.
• Provided with bi-directional communication function for both clock-synchronous and clock-asynchronous
modes.
• Provided with master/slave communication function (multi-processor mode). (Only master side is available.)
• Interrupt request is generated upon completion of reception, completion of transmission and detection of
reception error.
• Ready for expanded intelligent service, EI
UART functions
Data bufferFull-duplex double buffer
2
OS.
Description
Transmission mode
Clock synchronous (No start/stop bit, no parity bit)
Clock asynchronous (start-stop synchronous)
Built-in special-purpose baud-rate generator. Setting is selectable
Baud rate
among 8 values.
Input of external values is allowed.
Use of clock from external timer (16-bit reload timer 0) is allowed.
Communication between 1 (master) and n (slaves) are available
(usable as master only).
Note : Start/stop bit is not added upon clock-synchronous transmission. Data only is transmitted.
UART operation modes
Data length
Operation mode
SynchronizationStop bit length
With parityWithout parity
Asynchronous mode
0
(normal mode)
1Multi processor mode8+1
7-bit or 8-bitAsynchronous
*1
Asynchronous
2Synchronous mode8SynchronousNo : Disallowed
*1 : “+1” is an address/data selection bit used for communication control (bit 11 of SCR1 register: A/D)
*2 : Only 1 bit is detected as a stop bit on data reception.
48
1- bit or 2-bit *
2
••••
UART block diagram
Special-purpose
baud-rate
generator
16-bit reload
timer
Pin
SCK1
Clock
selector
Reception
clock
Start bit
detection circuit
Control bus
Reception
control
circuit
Transmission
clock
Transmission
start circuit
MB90455 Series
Reception interrupt
request output
Transmission interrupt
request output
Transmission
control
circuit
Pin
SIN1
Reception status
decision circuit
Communication
prescaler
control
register
MD
DIV2
DIV1
DIV0
Reception bit
counter
Reception
parity counter
Shift register for
reception
Serial input data
register 1
Internal data bus
MD1
Serial
mode
register
1
MD0
CS2
CS1
CS0
RST
SCKE
SOE
Recep-
tion
com-
pleted
Transmission
bit counter
Transmission
parity counter
Shift register for
transmission
Serial output data
register 1
PEN
Serial
control
register
1
P
SBL
CL
A/D
REC
RXE
TXE
Pin
SOT1
Start
transmission
Reception error
occurrence
signal for EI
(to CPU)
Serial
status
register
1
2
OS
PE
ORE
FRE
RDRF
TDRE
BDS
RIE
TIE
49
MB90455 Series
12. Address Matching Detection Function Outline
The address matching detection function checks if an address of an instruction to be processed next to a currentlyprocessed instruction is identical with an address specified in the detection address register. If the addresses
match with each other, an instruction to be processed ne xt in progr am is f orcib ly replaced with INT9 instruction,
and process branches to the interrupt process program. Using INT9 interrupt, this function is available for
correcting program by batch processing.
••••
Address matching detection function outline
• An address of an instruction to be processed next to a currently-processed instruction of the program is alwa ys
retained in an address latch via internal data bus. By the address matching detection function, the address
value retained in the address latch is alwa ys compared with an address specified in detection address setting
register. If the compared address values match with each other, an instruction to be processed next by CPU
is forcibly replaced with INT9 instruction, and an interrupt process program is executed.
• Two detection address setting registers are provided (PADR0 and PADR1), and each register is provided with
interrupt permission bit. Generation of interrupt, which is caused by address matching between the address
retained in address latch and the address specified in address setting register, is permitted and prohibited on
a register-by-register basis.
••••
Address matching detection function block diagram
Address latch
Internal data bus
Detection address setting register 0
Detection address setting register 1
PACSR
ReservedReservedReservedReservedReservedReserved
Address detection control register (PACSR)
Reserved: Be sure to set to “0.”
• Address latch
Retains address value output to internal data bus.
• Address detection control register (PACSR)
Specifies if interrupt is permitted or prohibited when addresses match with each other.
• Detection address setting (PADR0, PADR1)
Specifies addresses to be compared with values in address latch.
PADR0 24bit
PADR1 24bit
AD1EAD0E
Comparator
INT9 instruction
(generate INT9 interrupt)
50
MB90455 Series
13. ROM Mirror Function Selection Module Outline
The ROM mirror function selection module sets the data in ROM assigned to FF bank so that the data is read
by access to 00 bank.
••••
ROM mirror function selection module block diagram
ROM mirror function selection register
(ROMM)
Address
Internal data bus
Reserved
Address area
FF bank
Data
••••
FF bank access by ROM mirror function
004000H
00FFFFH
Reserved Reserved
ROM
00 bank
00 bank
ROM mirror area
ReservedReservedReserved
Reserved
MI
FBFFFF
FC0000H
FEFFFFH
FF0000H
FF4000H
FFFFFFH
FF bank (ROM
mirror applicable
area)
51
MB90455 Series
14. 192 K/256 K/512 Kbit Flash Memory Outline
The following three methods are provided for data writing and deleting on flash memory:
1. Parallel writer
2. Serial special-purpose writer
3. Writing/deleting by program execution
••••
192 K/256 K/512 Kbit flash memory outline
The 192 K/256 K/512K-bit flash memory is allocated on FF
H bank of CPU memory map. Using the function of
flash memory interface circuit, the memory allows read access and program access from CPU.
Writing/deleting on flash memory is performed by instruction from CPU via flash memor y interface. Because
rewriting is allowed on mounted memory, modifying program and data is performed efficiently.
••••
Features of 192 K/256 K/512 Kbit flash memory
• Dividing into many sectors
• Automatic program algorithm (Embedded Algorithm
TM
: Similar to MBM29LV200.)
• Built-in deletion pause/deletion resume function
• Detection of completed writing/deleting by data polling and toggle bits.
• Detection of completed writing/deleting by CPU interrupt.
• Deletion is allowed on a sector-by-sector basis (sectors are combined freely).
• Number of writing/deleting operations (minimum): 10,000 times
• Sector protection
• Extended sector protection
• Temporary sector unprotection
Embedded Algorithm
TM
is a registered trademark of Advanced Micro Device.
Note : A function of reading manufacture code and device code is not provided. These codes are not accessible
by command either.
••••
Flash memory writing/deleting
• Writing and reading data is not allowed simultaneously on the flash memory.
• Data writing and deleting on the flash memory is performed by the processes as follows: Make a copy of
program on flash memory onto RAM. Then, execute the program copied on the RAM.
••••
List of registers and reset values in flash memory
Flash memory control status register (FMCS)
76bit543210
00000X00
× : Undefined
52
••••
Sector configuration of 192 K/256 K/512 Kbit flash memory
• Sector configuration of 192 Kbit to flash memory (MB90F455 (S) )
MB90455 Series
Flash memoryCPU address
FFA000H
Writer address*
SA0 (8 Kbytes)
FFBFFFH
FFC000H
SA1 (16 Kbytes)
FFFFFFH
• Sector configuration of 256 Kbit to flash memory (MB90F456 (S) )
Flash memoryCPU address
FF8000H
SA0 (8 Kbytes)
FF9FFFH
FFA000H
SA1 (8 Kbytes)
FFBFFFH
FFC000H
SA2 (16 Kbytes)
FFFFFFH
Writer address*
• Sector configuration of 512 Kbit to flash memory (MB90F457 (S) )
Flash memoryCPU address
FF0000H
SA0 (32 Kbytes)
Writer address*
7A000H
7BFFFH
7C000H
7FFFFH
78000H
79FFFH
7A000H
7BFFFH
7C000H
7FFFFH
70000H
FF7FFFH
FF8000H
77FFFH
78000H
SA1 (8 Kbytes)
FF9FFFH
FFA000H
79FFFH
7A000H
SA2 (8 Kbytes)
FFBFFFH
FFC000H
7BFFFH
7C000H
SA3 (16 Kbytes)
FFFFFFH
7FFFFH
* : “Writer address” is an address equivalent to CPU address, which is used
when data is written on flash memory, using par allel writer. When writing/
deleting data with general-purpose writer, the writer address is used for
writing and deleting.
53
MB90455 Series
ELECTRIC CHARACTERISTICS
■■■■
1.Absolute Maximum Rating
ParameterSymbol
V
CCVSS− 0.3VSS+ 6.0V
Power supply voltage
AV
CCVSS− 0.3VSS+ 6.0VVCC= AVCC*
AVRVSS− 0.3VSS+ 6.0VAVCC≥ AVR*
Input voltageVIVSS− 0.3VSS+ 6.0V*2
Rating
UnitRemarks
MinMax
(VSS= AVSS= 0.0 V)
1
1
Output voltageV
OVSS− 0.3VSS+ 6.0V*2
Maximum clamp currentICLAMP− 2.0+ 2.0mA*6
Total maximum clamp current∑ | I
CLAMP |20mA*6
OL115mANormal output*
I
“L” level maximum output current
IOL240mAHigh-current output*
OLAV14mANormal output*
I
“L” level average output current
IOLAV230mAHigh-current output*
OL1125mANormal output
∑I
“L” level maximum total output current
∑I
OL2160mAHigh-current output
OLAV140mANormal output*
∑I
“L” level average total output current
∑IOLAV240mAHigh-current output*
I
OH1−15mANormal output*
“H” level maximum output current
IOH2−40mAHigh-current output*
OHAV1−4mANormal output*
I
“H” level average output current
IOHAV2−30mAHigh-current output*
OH1−125mANormal output
∑I
“H” level maximum total output current
∑I
OH2−160mAHigh-current output
OHAV1−40mANormal output*
∑I
“H” level average total output current
∑IOHAV2−40mAHigh-current output*
3
3
4
4
5
5
3
3
4
4
5
5
Power consumptionPD245mW
Operating temperatureTA−40+105 °C
Storage temperatureTstg−55+150 °C
*1 : AVcc and AVR should not exceed Vcc. Also AVR should not exceed AVcc.
*2 : V
I, VO, should not exceed Vcc + 0.3V.
*3 : A peak value of an applicable one pin is specified as a maximum output current.
*4 : An average current value of an applicable one pin within 100 ms is specified as an average output current.
(Average value is found by multiplying operating current by operating rate.)
*5 : An average current value of all pins within 100 ms is specified as an average total output current. (Average
value is found by multiplying operating current by operating rate.)
(Continued)
54
MB90455 Series
(Continued)
*6 : •Applicable to pins: P10 to P17, P20 to P27, P30 to P33, P35*, P36*, P37, P40 to P44, P50 to P57
Note : P35 and P36 are applicable only for products of MB90F455S/F456S/F457S , MB90455S/456S/457S.
• Use within recommended operating conditions.
• Use at DC voltage (current) .
• The +B signal should always be applied a limiting resistance placed between the +B signal and the
microcontroller.
• The v alue 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 power supply 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 other than the A/D input 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
Limiting
resistance
+B input (0 V to 16 V)
Protective diode
VCC
P-ch
N-ch
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.
55
MB90455 Series
2.Recommended Operating Conditions
ParameterSymbol
Power supply voltage
CC
V
AV
CC4.05.5V*2
MinTypMax
3.55.05.5VUnder normal operation
3.05.5V
(VSS= AVSS= 0.0V)
Value
UnitRemarks
Retain status of stop
operation
Smoothing capacitorC
S0.11.0µF*1
Operating temperatureTA−40+105°C
*1 : Use a ceramic capacitor, or a capacitor of similar frequency characteristics. On the Vcc pin, use a bypass
capacitor that has a larger capacity than that of Cs.
Refer to the following figure for connection of smoothing capacitor Cs.
*2 : AVcc is a voltage at which accuracy is guaranteed. AVcc should not exceed Vcc.
• C pin connection diagram
C
C
S
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.
56
3.DC Characteristics
Parame-
ter
Sym-
bol
Pin nameConditions
MB90455 Series
(VCC= 5.0 V±10%, VSS= AVSS= 0.0 V, TA=−40 °C to +105 °C)
Value
Unit
MinTyp Max
Remarks
“H” level
input
voltage
“L” level
input
voltage
“H” level
output
voltage
“L” level
output
voltage
Input
leak
current
CMOS
V
hysteresis input
IHS
—0.8 V
CC—VCC+ 0.3V
pin
VIHMMD input pin—VCC− 0.3—VCC+ 0.3V
CMOS
V
hysteresis input
ILS
—V
SS− 0.3—0.2 VCCV
pin
V
ILMMD input pin—VSS− 0.3—VSS+ 0.3V
Pins other than
VOH1
P14 to P17
V
OH2P14 to P17
Pins other than
V
OL1
P14 to P17
VOL2P14 to P17
I
ILAll input pins
VCC= 4.5 V,
I
OH=−4.0 mA
VCC= 4.5 V,
I
OH=−14.0 mA
VCC= 4.5 V,
I
OL= 4.0 mA
VCC= 4.5 V,
I
OL= 20.0 mA
VCC= 5.5 V,
V
SS< VI< VCC
VCC – 0.5——V
VCC – 0.5——V
——0.4V
——0.4V
–5—+5µA
VCC= 5.0 V,
Internally operating at
—2530mA
16 MHz, normal operation.
Power
supply
current*
I
I
I
CC
CCS
CTS
VCC
V
CC= 5.0 V,
Internally operating at
16 MHz, writing on flash
memory.
V
CC= 5.0 V,
Internally operating at
16 MHz, deleting on flash
memory.
VCC= 5.0 V,
Internally operating at
16 MHz, sleeping.
VCC= 5.0 V,
Internally operating at
2 MHz, transition from
main clock mode,
in time-base timer mode.
—4550mA
—4550mA
Flash ROM
product
Flash ROM
product
—812mA
0.751.0mA
Flash ROM
product
—
0.20.35mA
Mask ROM
product
(Continued)
57
MB90455 Series
(Continued)
Parame-
ter
Sym-
bol
Pin nameConditions
(VCC= 5.0 V±10%, VSS= AVSS= 0.0 V, TA=−40 °C to +105 °C)
Rating
UnitRemarks
MinTyp Max
Power
supply
current*
Input
capacity
Pull-up
resistor
I
CCL
VCC= 5.0 V,
Internally operating at
8 kHz, subclock
operation,
T
A =+ 25°C
—0.31.2mA
—40100µA
VCC= 5.0 V,
Internally operating at
CCLS
I
VCC
8 kHz, subclock,
sleep mode,
T
A =+ 25°C
—1030µA
VCC= 5.0 V,
I
CCT
ICCH
Internally operating at
8 kHz, clock mode,
T
A =+ 25°C
Stopping,
T
A =+ 25°C
—825µA
—520µA
Other than
AV
C
IN
R
UPRST2550100kΩ
CC, AVSS,
AVR, C, V
V
SS
CC,
—515pF
Flash ROM
product
Mask ROM
product
Pull-down
resistor
R
DOWN MD22550100kΩ
* : Test conditions of power supply current are based on a device using external clock.
Flash ROM
product is not
provided with
pull-down resistor.
58
4.AC Characteristics
(1) Clock timing
ParameterSymbolPin name
Clock frequency
Clock cycle time
MB90455 Series
(V
CC= 5.0 V±10%, VSS= AVSS= 0.0 V, TA=−40 °C to +105 °C)
Value
MinTyp Max
3—8MHz
f
CX0, X1
3—16MHz External clock *
fCLX0A, X1A—32.768—kHz
tHCYLX0, X1125—333ns
t
LCYLX0A, X1A—30.5—µs
UnitRemarks
When crystal or ceramic
resonator is used*
2
1, *2
Set duty factor at 30% to
70% as a guideline.
Input clock pulse width
WH, PWLX010——ns
P
PWLH,PWLLX0A—15.2—µs
Input clock rise time and fall
time
Internal operation clock
frequency
Internal operation clock cycle
time
t
CR, tCFX0——5ns
f
CP—1.5—16MHz When main clock is used
fLCP——8.192—kHzWhen sub clock is used
t
CP—62.5—666nsWhen main clock is used
t
LCP——122.1—µsWhen sub clock is used
When external clock is
used
*1 : Internal operation clock frequency should not exceed 16 MHz.
*2 : When selecting the PLL clock, the range of clock frequency is limitted. Use this product within range as mentioned
in “Relation among external clock frequency and internal clock frequency”.
• Clock timing
HCYL
t
X0
PWH
PWL
tCFtCR
0.8 VCC
0.2 VCC
X0A
PWLH
LCYL
t
tCF
0.8 VCC
0.2 VCC
PWLL
tCR
59
MB90455 Series
• PLL operation guarantee range
5.5
4.0
3.5
3.0
Power voltage VCC (V)
Relation between internal operation clock
frequency and power supply voltage
Operation guarantee range of MB90F455 (S) /F456 (S) /F457 (S)
and MB90455 (S) /456 (S) /457 (S)
A/D converter
accuracy
guarantee range
PLL operation guarantee range
34816
121.5
Internal clock fCP (MHz)
Relation among external clock frequency and internal clock frequency
Multiply
by 4
16
12
9
8
4
Multiply
by 3
Multiply
by 2
Internal clock fCP (MHz)
348
External clock fC (MHz)*
* : fc is 8 MHz at maximum when crystal or ceramic resonator is used.
Multiply by 1
x1/2
(no multiplication)
16
Rating values of alternating current is defined by the measurement reference voltage values shown below:
• Input signal waveform
Hysteresis input pin
0.8 VCC
0.2 VCC
• Output signal waveform
Output pin
2.4 V
0.8 V
60
(2) Reset input timing
Parameter
Reset input timet
Sym-
bol
RSTLRST
Pin
name
Condi-
tions
Value
MinMax
3
CP*
16 t
Oscillation time of oscillator*
+ 100 µs + 16 tCP*
3
MB90455 Series
UnitRemarks
nsNormal operation
1
In sub clock*
2
sleep*
, watch*2
and stop mode
2
, sub
100µs
In time base timer
mode
*1 : Oscillation time of oscillator is time until oscillation reaches 90% of amplitude. It takes se veral milliseconds to
sever al dozens of milliseconds on a crystal oscillator, se veral hundreds of microseconds to sev eral milliseconds
on a FAR/ceramic oscillator, and 0 milliseconds on an external clock.
*2 : Except for MB90F455S/F456S/F457S, MB90455S/456S/457S.
*3 : Refer to "(1) Clock timing" ratings for t
CP (internal operation clock cycle time).
• In sub clock, sub sleep, watch and stop mode
tRSTL
RST
0.2 VCC0.2 VCC
90% of
amplitude
X0
Internal operation
clock
100 s
+ 16 t
CP
Oscillation
time of
oscillator
Wait time for stabilizing
oscillationExecute instruction
Internal reset
61
MB90455 Series
(3) Power-on reset
ParameterSymbol Pin nameConditions
(V
CC= 5.0 V ± 10%, VSS= AVSS= 0.0 V, TA=−40 °C to +105 °C)
Value
UnitRemarks
MinMax
Power supply rise timet
Power supply shutdown
time
VCC
Sudden change of power supply voltage may activate the power-on reset function. When
changing power supply voltages during operation, raise the power smoothly by suppressing
variation of voltages as shown below. When raising the power, do not use PLL clock. However, if voltage drop is 1V/s or less, use of PLL clock is allowed during operation.
VCC
3.0 V
VSS
RVCC
0.0530ms
t
OFFVCC1msRepeated operation
tR
2.7 V
0.2 V0.2 V0.2 V
tOFF
Limiting the slope of rising within
50 mV/ms is recommended.
RAM data hold period
62
(4) UART timing
ParameterSymbol Pin nameConditions
MB90455 Series
(V
CC= 4.5 V to 5.5 V, VSS= 0.0 V, TA=−40 °C to +105 °C)
Value
MinMax
Unit Remarks
Serial clock cycle timet
SCK ↓ → SOT delay timet
Valid SIN → SCK ↑t
SCK ↑ → valid SIN hold timet
Serial clock “H” pulse widtht
Serial clock “L” pulse widtht
SCYCSCK1
SLOV
IVSH
SHIX
SHSLSCK1
SLSHSCK14 tCP *ns
SCK ↓ → SOT delay timetSLOV
Valid SIN → SCK ↑t
SCK ↑ →valid SIN hold timet
* : Refer to "(1) Clock timing" ra tings for t
IVSH
SHIX
CP (internal operation clock cycle time).
Notes: • AC rating in CLK synchronous mode.
• C
L is a load capacitance value on pins for testing.
CC= 4.5 V to 5.5 V, VSS= 0.0 V, TA=−40 °C to +105 °C)
4 t
Value
MinMax
CP *ns
Unit Remarks
* : Refer to "(1) Clock timing" ratings for t
• Timer input timing
TIN0, TIN1,
IN0 ~ IN3
0.8 VCC
(6) Trigger input timing
ParameterSymbolPin nameConditions
TRGH
Input pulse width
t
tTRGL
* : Refer to "(1) Clock timing" ratings for t
• Trigger input timing
CP (internal operation clock cycle time).
0.8 VCC
0.2 VCC
tTIWHtTIWL
CC= 4.5 V to 5.5 V, VSS= 0.0 V, TA=−40 °C to +105 °C)
(V
0.2 VCC
MinMax
INT4 to INT7,
ADTG
CP (internal operation clock cycle time).
5 tCP *ns
Value
UnitRemarks
INT4 ~ INT7,
ADTG
0.8 VCC0.8 VCC
0.2 VCC0.2 VCC
tTRGHtTRGL
65
MB90455 Series
5.A/D converter
(VCC= AVCC= 5.0 V ± 10%, VSS= AVSS= 0.0 V, 3.0 V ≤ AVR − AVSS, TA=−40 °C to +105 °C)
ParameterSymbol
Pin
name
Conditions
Resolution10bit
Total error ± 3.0LSB
Nonlinear error ± 2.5LSB
Differential linear error ± 1.9LSB
Zero transition voltageV
Full-scale transition
voltage
V
OT
FST
AN0 to
AN7
AN0 to
AN7
AVSS− 1.5
LSB
AVR − 3.5
LSB
AVSS+ 0.5
AVR − 1.5
Value
MinMax
AVSS+ 2.5
LSB
LSB
AVR + 0.5
LSB
LSB
UnitRemarks
V
1 LSB = AVR/1024
V
Compare time
Sampling time
128 t
Analog port input
current
Analog input voltageV
I
AIN
AIN
AN0 to
AN7
AN0 to
AN7
Reference voltageAVRAV
AAVCC3.57.5mA
I
Power supply current
IAHAVCC5µA*2
I
Reference voltage
supplying current
Variation among
channels
RAVR165250µA
I
RHAVR5µA*2
AN0 to
AN7
CP *
CP *
CP *
1
1
1
1
ns
ns
ns
ns
66 t
88 tCP *
32 t
10µA
AVSSAVRV
SS+ 2.7AVCCV
4LSB
With 16 MHz
machine clock
5.5 V ≥ AV
CC≥ 4.5 V
With 16 MHz
machine clock
4.5 V > AV
CC≥ 4.0 V
With 16 MHz
machine clock
5.5 V ≥ AV
CC≥ 4.5 V
With 16 MHz
machine clock
4.5 V > AV
CC≥ 4.0 V
*1 : Refer to "(1) Clock timing" ratings for t
CP (internal operation clock cycle time).
*2 : If A/D converter is not operating, a current when CPU is stopped is applicable (Vcc=AVcc=AVR=5.0 V).
66
MB90455 Series
6.Definition of A/D Converter Terms
Resolution : Analog variation that is recognized by an A/D converter.
Linear error : Deviation between a line across zero-transition line (“00 0000 00 0 0” ←→“00 0000 0001”)
and full-scale transition line (“11 1111 11 1 0” ←→ “11 1111 1111”) and actual conversion
characteristics.
Differential linear
error
Total error : Difference between an actual value and an ideal value. A total error includes zero transition
: Deviation of input voltage, that is required for changing output code by 1 LSB, from an ideal
value.
error, full-scale transition error, and linear error.
Total error
3FF
Actual conversion
3FE
characteristics
3FD
{1 LSB × (N − 1) + 0.5 LSB}
1.5 LSB
004
Digital output
003
002
Actual conversion
characteristics
Ideal characteristics
001
0.5 LSB
AVssAVR
Analog input
Total error of digital output “N” =
1 LSB = (Ideal value)
VNT− {1 LSB × (N − 1) + 0.5 LSB}
1 LSB
AVR − AVSS
1024
[V]
VOT (Ideal value) = AVSS+ 0.5 LSB [V]
V
FST (Ideal value) = AVR − 1.5 LSB [V]
V
NT : A voltage at which digital output transits from (N-1) to N.
V
NT
(Actually-measured value)
[LSB]
(Continued)
67
MB90455 Series
(Continued)
Linear error
3FF
Actual conversion
3FE
3FD
004
Digital output
003
002
001
Differential linear error of digital output N =
characteristics
{1 LSB × (N − 1)
OT }
+ V
measurement value)
Actual conversion
characteristics
Ideal characteristics
V
OT (actual measurement value)
AVssAVRAVssAVR
Analog input
FST (actual
V
measurement
value)
VNT (actual
N + 1
N
Digital output
N − 1
N − 2
VNT− {1 LSB × (N − 1) + VOT}
Linear error of digital output N =
V (N+1) T− VNT
1 LSB
1 LSB
−1LSB [LSB]
Differential linear error
Ideal characteristics
Actual conversion
characteristics
VNT
(actual measurement value)
Actual conversion
characteristics
Analog input
[LSB]
V
(N + 1) T
(actual measurement
value)
1 LSB =
OT : Voltage at which digital output transits from “000H” to “001H.”
V
V
FST : Voltage at which digital output transits from “3FEH” to “3FFH.”
1022
VFST− VOT
[V]
68
MB90455 Series
7.Notes on A/D Converter Section
Use the device with external circuits of the following output impedance for analog inputs:
Recommended output impedance of external circuits are: Approx. 3.9 kΩ or lower (4.5 V ≤ AVc c ≤ 5.5 V)
(sampling period=2.00 µs at 16-MHz machine clock), Approx. 11 kΩ or low er (4.0 V ≤ AVcc < 4.5 V) (sampling
period=8.0 µs at 16-MHz machine clock).
If an external capacitor is used, in consideration of the effect by tap capacitance caused by external capacitors
and on-chip capacitors, capacitance of the external one is recommended to be several thousand times as high
as internal capacitor.
If output impedance of an external circuit is too high, a sampling period for an analog voltage ma y be insufficient.
• Analog input circuit model
Analog input
Note : Use the values in the figure only as a guideline.
••••
About errors
As [AVR-AVss] become smaller, values of relative errors grow larger.
R
Comparator
C
MB90F455 (S) /F456 (S) /F457 (S) and MB90455 (S) /456 (S) /457 (S)
Note : Pins width and pins thickness include plating tackiness.
0.145±0.055
(.006±.002)
24
Details of "A" part
1.50
.059 –.004
0˚~8˚
0.50±0.20
(.020±.008)
0.60±0.15
(.024±.006)
+0.20
–0.10
+.008
(Mounting height)
0.25(.010)
13
0.08(.003)
0.08(.003)
"A"
M
0.10±0.10
(.004±.004)
(Stand off)
C
2001 FUJITSU LIMITED F48040S-c-1-1
Dimensions in mm (inches)
77
MB90455 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 and circuit diagrams in this document are
presented as examples of semiconductor device applications, and
are not intended to be incorporated in devices for actual use. Also,
FUJITSU is unable to assume responsibility for infringement of
any patent rights or other rights of third parties arising from the use
of this information or circuit diagrams.
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.
F0208
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.