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.