The FUJITSU MB90470 Series is a 16-bit general-purpose microcontroller designed for consumer products and
other process control applications requiring high-speed and real-time processing.
2
The F
MC-16LX CPU core instruction set retains the AT architecture of the F2MC*1 family, with additional instructions for use with high-level languages, expanded addressing mode, enhanced multiply and divide instructions,
and full bit processing. Also included is a built-in 32-bit accumulator for long-word processing.
Peripheral resources built into the MB90470 ser ies include 8/16-bit PPG, expanded I/O serial interface, UART,
10-bit A/D converter, 16-bit input-output timer, 8/16-bit up-counter, PWC timer, I
interrupt, chip select, and 16-bit reload timer.
2
*1 : F
MC is an abbreviation for FUJITSU Flexible Microcontroller, and is a registered trademark of FUJITSU, Ltd.
2
*2 : I
C license :
This product includes licensing of Philips I
standard specifications established by Philips.
PACKAGES
■
100-pin plastic QFP100-pin plastic LQFP
(FPT-100P-M06) (FPT-100P-M05)
2
C patents if used by the customer in an I2C system subject to the I2C
2C*2
interface, DTP/exter nal
MB90470 Series
FEATURES
■
•
Clocks
Minimum instruction execution time :
50.0 ns at 5 MHz base oscillation with 4 × multiplier (internal operation at 20 MHz/3.3 V ± 0.3 V)
62.5 ns at 4 MHz base oscillation with 4 × multiplier (internal operation at 16 MHz/3.0 V ± 0.3 V)
Uses PLL clock multiplier.
•
Maximum memory size
16 Mbytes
•
Instruction set optimized for control applications
Handles bit, byte, word, long-word data
23 standard addressing modes
32-bit accumulator for enhanced high-precision calculation
Signed multiply-divide and expanded RETI instructions
•
Instruction system compatible with high-level language (C) multitasking
System stack pointer
Instruction set correlation and barrel shift instructions
• Non-multi bus or multi-bus compatible
• Program patch function (for two address pointers)
•
Improved execution speed
4-byte queue
•
Powerful interrupt functions
8 external interrupt functions with 8-level programmable priority
•
Data transfer functions
16 channels maximum
µDMA maximum assured operation frequency : 16 MHz
Extended intelligent I/O service maximum assured operation frequency : 20 MHz
DTP/external interrupt circuitExternal interrupt pins : 8 channels (set to edge or level correlation)
I/O expansion serial interface2-channel, built-in
2
I
Time base timer
A/D converter
Watchdog timer
Low power (standby) modesSleep, stop, CPU intermittent, watch mode
ProcessCMOS
Notes
Emulator dedicated power supply
16
Output compare
Input capture (ICU)
C interface1-channel, built-in
(OCU)
MB90F474LMB90F474HMB90473MB90474
MASKROM
128 KB
Basic instructions
Instruction bit length
Instruction length
Data bit length
Minimum instruction execution time
General purpose input/output ports : 84 Max
General purpose input/output ports (CMOS output)
General purpose input/output ports (built-in pull-up resistance)
General purpose input/output ports (N-ch open drain)
Two 8-bit up-down counters with 6 event input pins
Two 8-bit reload/compare registers
Channel : 1
Overflow interrupt
Channels : 6
Pin input source : from compare register match signal
Channels : 2
Register rewritten from pin input (rising/falling/both edges)
18-bit counter
Interrupt cycle : 1.0 ms, 4.1 ms, 16.4 ms, 131.1 ms
(minimum times, at base oscillator frequency 4 MHz)
Conversion accuracy : 8/10-bit switchable
Single conversion mode (converts selected channel 1 time only)
Scan conversion mode
(converts multiple consecutive channels, programmable up to 8 channels)
Continuous conversion mode (converts selected channels continuously)
Stop conversion mode (converts selected channel, stops and repeats)
Reset interval : 3.58 ms, 14.33 ms, 57.23 ms, 458.75 ms
(minimum times, at base oscillator frequency 4 MHz)
DTP/external interrupt circuitExternal interrupt pins : 8 channels (set to edge or level correlation)
I/O expansion serial interface2-channel, built-in
2
I
C interface1-channel, built-in
Time base timer
A/D converter
Watchdog timer
Low power (standby) modesSleep, stop, CPU intermittent, watch mode
ProcessCMOS
NotesMask version
Emulator dedicated power supplyIncluded
Output compare (OCU)
Input capture (ICU)
Instruction length
Data bit length
Minimum instruction execution time
General purpose input/output ports : 84 Max
General purpose input/output ports (CMOS output)
General purpose input/output ports (built-in pull-up resistance)
General purpose input/output ports (N-ch open drain)
Two 8-bit up-down counters with 6 event input pins
Two 8-bit reload/compare registers
Channel : 1
Overflow interrupt
Channels : 6
Pin input source : from compare register match signal
Channels : 2
Register rewritten from pin input (rising/falling/both edges)
18-bit counter
Interrupt cycle : 1.0 ms, 4.1 ms, 16.4 ms, 131.1 ms
(minimum times, at base oscillator frequency 4 MHz)
Conversion accuracy : 8/10-bit switchable
Single conversion mode (converts selected channel 1 time only)
Scan conversion mode
(converts multiple consecutive channels, programmable up to 8 channels)
Continuous conversion mode (converts selected channels continuously)
Stop conversion mode (converts selected channel, stops and repeats)
Reset interval : 3.58 ms, 14.33 ms, 57.23 ms, 458.75 ms
(minimum times, at base oscillator frequency 4 MHz)
General purpose input/output ports. Set the pull-up resistance
setting register (RDR0) to add pull-up resistance (RD00-RD07
= “1” ) . (Not valid when set for output)
C
(CMOS)
C
(CMOS)
E
(CMOS/H)
E
(CMOS/H)
In multiplex mode, these pins function as external address/
data bus lower input/output pins.
In non-multiplex mode, these pins function as external data
bus lower output pins.
General purpose input/output ports. Set the pull-up resistance
setting register (RDR1) to add pull-up resistance (RD10-RD17
= “1” ) . (Not valid when set for output)
In multiplex mode, these pins function as external address/
data bus higher input/output pins.
In non-multiplex mode, these pins function as external data
bus higher output pins.
General purpose input/output ports. In external bus mode, pins
for which the corresponding bit in the external address output
control register (HACR) is “1” function as the general purpose
input/output ports.
In multiplex mode, pins for which the corresponding bit in the
external address output control register (HACR) is “0” function
as the upper address output pins (A16 to A19) .
In non-multiplex mode, pins for which the corresponding bit in
the external address output control register (HACR) is “0”
function as the upper address output pins (A16 to A19) .
General purpose input/output ports. In external bus mode, pins
for which the corresponding bit in the external address output
control register (HACR) is “1” function as the general purpose
input/output ports.
In multiplex mode, pins for which the corresponding bit in the
external address output control register (HACR) is “0” function
as the upper address output pins (A20 to A23) .
In non-multiplex mode, pins for which the corresponding bit in
the external address output control register (HACR) is “0”
function as the upper address output pins (A20 to A23) .
General purpose input/output port. In external bus mode, this
pin functions as the WRL
register is set to “1”.
In external bus mode, this pin functions as the lower data write
strobe output (WRL
register is set to “0”,this pin functions as a general purpose
input/output port.
General purpose input/output port. In external bus mode with
16-bit bus width, this pin functions as the WRH
WRE bit in the EPCR register is set to “1”.
In external bus mode with 16-bit bus width, this pin functions
as the higher data write strobe output (WRH
WRE bit in the EPCR register is set to “0”,this pin functions as
a general purpose input/output port.
pin when the WRE bit in the EPCR
) pin. When the WRE bit in the EPCR
pin when the
) pin. When the
(Continued)
MB90470 Series
Pin no.
LQFPQFP
7274
7375
7476
7678
36 to 39 38 to 41
41 to 44 43 to 46
2527
2628
2729
2830
2931
Pin name
P54
HRQ
P55
HAK
P56
RDY
P57
CLK
P60 to P63
AN0 to AN3Analog input pins.
P64 to P67
AN4 to AN7Analog input pins.
P70
SIN0UART data input pin.
P71
SOT0UART data output pin.
P72
SCK0UART clock input pin.
P73
TIN016-bit reload timer event input pin.
P74
TOT016-bit reload timer output pin.
Circuit
type
D
(CMOS)
D
(CMOS)
D
(CMOS)
D
(CMOS)
H
(CMOS)
H
(CMOS)
G
(CMOS/H)
F
(CMOS)
G
(CMOS/H)
G
(CMOS/H)
F
(CMOS)
Description
General purpose input/output port. In external bus mode, this
pin functions as the HRQ pin when the HDE bit in the EPCR
register is set to “1”.
In external bus mode, this pin functions as the hold request
input (HRQ) pin. When the HDE bit in the EPCR register is set
to “0”,this pin functions as a general purpose input/output port.
General purpose input/output port. In external bus mode, this
pin functions as the HAK
register is set to “1”.
In external bus mode, this pin functions as the hold acknowledge output (HAK
is set to “0”,this pin functions as a general purpose input/output
port.
General purpose input/output port. In external bus mode, this
pin functions as the DRY pin when the RYE bit in the EPCR
register is set to “1”.
In external bus mode, this pin functions as the external ready
input (RDY) pin. When the RYE bit in the EPCR register is set
to “0”,this pin functions as a general purpose input/output port.
General purpose input/output port. In external bus mode, this
pin functions as the CLK pin when the CKE bit in the EPCR
register is set to “1”.
In external bus mode, this pin functions as the machine cycle
clock output (CLK) pin. When the CKE bit in the EPCR register
is set to “0”,this pin functions as a general purpose input/output
port.
Notes : • For use as a 3.3 V single supply de vice, apply the same v oltage to the V
• For use with a dual power supply, apply the respective voltages to the V
CC3 and VCC5 power supply pins.
CC3 and VCC5 power supply pins.
• In use with a dual power supply, a total of 32 pins (P20/A16 to P27/A23/PPG3, P30/A00/AIN0 to P37/
A07/PWC1, P40/A08/SIN2 to P47/A15/OUT5 and P70/SIN0 to P77/SDA) can be used in a 5 V interf ace .
Note that all other pins must be used in 3 V interface.
• In use with a dual power supply, it is not possible to turn on only the 5 V or the 3 V power supply
independently . Alw ays turn on both power supplies simultaneously. (It is recommended that the 3 V power
to the MB90470 series be turned on first.)
13
MB90470 Series
I/O CIRCUIT TYPES
■
TypeCircuitRemarks
X1, X1A
Oscillator feedback resistance :
A
X0, X0A
Includes standby control
Standby control
signal
X1,X0 1 MΩ approx.
X1A,X0A 10 MΩ approx.
B
HYS
CTL
Hysteresis with pull-up resistance
Input resistance 50 kΩ approx.
CMOS level input/output
Includes open drain control
CMOS level output
Hysteresis input
Includes open drain control
H
CMOS
Analog input
Digital output
I
HYS
CMOS level input/output
Analog input
Hysteresis input
N-ch open drain output
(Flash model)
Flash model
CMOS level input
J
Control signal
Mode input
Spreading resistance
Includes high voltage control for FLASH
test
(Mask version)
HYS
Mask version
Hysteresis input port
15
MB90470 Series
HANDLING DEVICES
■
(1) Strictly observe maximum rated voltages (prevent latchup)
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
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
CC, AVRH) and analog input do not exceed the digital power supply (VCC) .
(2) Treatment of unused pins
If unused input pins are left open, abnormal operation or latchup may cause permanent damage to the
semiconductor. Any such pins should be pulled up or pulled down through resistance of at least 2 kΩ.
Also any unused input/output pins should be left open in output status, or if set to input status should be treated
in the same way as input pins.
(3) Precautions for use of external clock signals
CC at input and output
SS, or when voltages in
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 20 MHz should be used as a guideline
for an upper frequency limit.
The following figure shows a sample use of external clock signals.
X0
X1OPEN
(4) Power supply pins
When using multiple V
CC/VSS sources, always mak e sure to design devices with e xternal connections of all power
supply pins to supply or ground elements, in order to prevent latchup, reduce unwanted radiation, and prevent
abnormal strobe signal operation due to rise in ground level, as well as to maintain total rated output current. In
addition, care must be given to connecting the V
CC and VSS pins of this device to a current source with as little
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
(5) Crystal oscillator circuits
Abnormal operation of this device can result from noise in the proximity of the X0/X1 and X0A/X1A pins. For
stable operation, it is strongly recommended that the printed circuit artwork provide capacitors placed as close
as possible between the X0/X1, X0A/X1A and crystal oscillator (or ceramic oscillator) as well as ground, and be
wired so as to avoid crossing other wiring wherever possible.
16
MB90470 Series
(6) Precautions for use of external oscillators (crystals)
The target value for the upper limit of oscillator (crystals) frequencies should be 20 MHz. Also, when operating
at internal frequencies of 16 MHz, the PLL multiplier should be used.
(7) Proper power-on/off sequence
The A/D converter power (A V
supply (V
CC) is turned on. The A/D converter power (AVCC, AVRH) and analog input (AN0 to AN7) must be shut
off before the digital power supply (V
CC, A VRH) and analog input (AN0 to AN7) must be turned on after the digital power
CC) is shut off. Care should be taken that AVRH does not exceed AVCC. Even
when pins used as analog input pins are doubled as input ports, be sure that the input voltage does not exceed
AV
CC.
Note : VCC= VCC3 = VCC5
(8) 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= AVRH = VCC, and AVSS= VSS.
(9) Power-on procedures
In order to prevent abnormal operation of the internal built-in step-down circuits, voltage r ise during power-on
should be attained within 50 µs (0.2 V to 2.7 V) .
(10) Stable power supply
Even within the operating range of the V
CC supply voltage, rapid changes in supply v oltage may cause abnormal
operation. As a basis for stab le operation, it is recommended that v oltage variation be restricted in order to limit
V
CC ripple fluctuations (P-P values) to 10% at commercial frequencies of 50 Hz to 60 Hz, and transient fluctuations
to 0.1 V/ms at instantaneous points such as power switching.
(11) Precautions for use of two power supplies
The MB90470 series usually uses the 3-V power supply as the main power source. With V
V
CC5 = 5 V, however, it can interface with P20/A16 to P27/A23/PPG3, P30/A00/AIN0 to P37/A07/PWC1,
CC3 = 3 V and
P40/A08/SIN2 to P47/A15/OUT5, P70/SIN0 to P77/SDA f or the 5-V power supply separetely from the 3-V pow er
supply at all operation mode.
(Caution) The analog power supply for the A/D conver ter (AV
CC, AVSS etc.) can only operate with the
3 V system.
(12) Crystal oscillator circuits during power-saving operation
When the power supply is lower than 2.0 V, the external crystal oscillator may not operate even when power is
on. For this reason, the use of an external clock signal is recommended.
(13) Caution : low-voltage flash models (2.4 V to 3.6 V/10 MHz) do not have security functions
(14) Treatment of unused input pins
N.C. (internally connected) pins should always be left open.
(15) When the dual-supply MB90470 series is used as a 1-supply device, use connections so that
X0A
SS
====
V
, and X1A
====
Open.
17
MB90470 Series
CC
(16) For serial writing to flash memory, always make sure that the operating voltage V
and 3.6 V.
For normal writing to flash memory, always make sure that the operating voltage V
3.0 V and 3.6 V.
(17) 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. Performance of this operation, however,
cannot be guaranteed.
is between 3.13 V
CC
is between
18
BLOCK DIAGRAM
■
MB90470 Series
X0, X1, RST
X0A, X1A
MD2, MD1, MD0
SIN0
SOT0
SCK0
SIN1, SIN2
SOT1, SOT 2
SCK1, SCK2
AVCC
AVRH
AVSS
ADTG
AN0 to AN7
8
Communication prescaler
I/O expansion serial
interface × 2 channels
Clock
control circuit
RAM
ROM
µDMA
UART
A/D converter
(10-bit)
CPU
FMC-16LX
series core
Interrupt controller
PPG0, PPG1
8/16-bit PPG
8/16-bit
up/down counter
2
F
2
MC-16LX BUS
16-bit input capture × 2
16-bit output compare × 6
µPG
Chip select
Input/output timer
16-bit free-run timer
16-bit reload timer
PPG2, PPG3
PPG4, PPG5
AIN0, AIN1
BIN0, BIN1
ZIN0, ZIN1
EXTC
MT00
MT01
CS0, CS1,
CS2, CS3
IN0, IN1
OUT0, OUT1,
OUT2, OUT3,
OUT4, OUT5
TIN0
TOT0
PWC0
PWC1
PWC2
16-bit PWC
3 channels
External interrupt
I/O ports
888888888
P00
P10
P20
P30
P40
P50
P60
P70
∼
P07
∼
P17
∼
P27
∼
P37
∼
P47
∼
P57
∼
P67
∼
P77
P80
∼
P87
2
I
C interface
8
P90
∼
P97
4
PA0
PA3
∼
SCL
SDA
8
IRQ0 to IRQ7
P00 to P07 (8 pins) : Input pull-up resistance setting register provided.
P10 to P17 (8 pins) : Input pull-up resistance setting register provided.
P40 to P47 (8 pins) : Open drain setting register provided.
P70 to P75 (6 pins) : Open drain setting register provided.
P76, P77 (2 pins) : Open drain
Note : In the above diagram, I/O ports are shown sharing pin numbers with the built-in function blocks. However
pins may not be used as I/O ports when they are in use as pins for build-in function modules.
19
MB90470 Series
MEMORY MAP
■
FFFFFFH
Address 1#
010000H
004000H
Address 2#
000100H
0000D0H
Single chipInternal ROM external bus
ROM areaROM area
ROM area
FF bank image
ROM area
FF bank image
*
RAMRAM
External ROM external bus
RAMRegisterRegisterRegister
PeripheralPeripheralPeripheral
000000H
: Internal: External: Access not available
* : In models where address 2# coincides with 004000H, there is no external area.
ModelAddress 1#Address 2#
MB90473FE0000
MB90474FC0000H004000H
MB90477/478FC0000H002100H
MB90F474FC0000H004000H
MB90V470 (FC0000H) 004000H
The image of FF bank ROM is reflected in the top of the 00 bank, for greater efficiency in using the C compiler
for small models. The lower 16-bit address on the FF bank is the same as the lower 16-bit address on the 00
bank, so that it is possible to reference tables in ROM without using the pointer for a far specification.
For example, when accessing 00C000
H, it is actually the content of ROM at FFC000H that is accessed. Here,
because the ROM area on the FF bank exceeds 48 KB, it is not possib le to vie w the entire area in the image on
the 00 bank. Therefore, the image from FF4000
H to FFFFFFH is visible on the 00 bank, and FF0000H to FF3FFFH
is visible only on the FF bank.
H002900H
20
2
F
MC-16L CPU PROGRAMMING MODEL
■
•
Special purpose registers
MB90470 Series
AHAL
USP
SSP
PS
PC
16 bit
32 bit
DPR
PCB
DTB
USB
SSB
ADB
8 bit
Accumulator
User stack pointer
System stack pointer
Processor status
Program counter
Direct page register
Program bank register
Data bank register
User stack bank register
System stack bank register
Interrupt symbols :
R/W : Read/write enabled
R : Read only
W : Write only
Default value symbols :
0 : This bit initialized to “0”
1 : This bit initialized to “1”
* : This bit initialized to “0” or “1”
X : Default value undefined
- : This bit is not used.
Program address detection resister1
(Low order address)
Program address detection resister1
(Middle order address)
Program address detection resister1
(High order address)
PADR1R/W
Address Match
Detection Function
XXXXXXXX1FF4
28
MB90470 Series
INTERRUPT SOURCES, INTERRUPT VECTORS & INTERRUPT CONTROL REGISTERS
A/D15#40FFFF5CH
Flash write/erase, time base timer,
watch timer*
××#41FFFF58H
ICR150000BFH
Delay interrupt generator module××#42FFFF54H
: Interrupt request flag cleared by the interrupt clear signal. The stop request is available.
: Interrupt request flag cleared by the interrupt clear signal.
× : Interrupt request flag not cleared by the interrupt clear signal.
* : Note that flash write/erase cannot be used at the same time as the time base timer or watch timer.
Note : • If two or more interrupt sources have the same interrupt number, the resource will clear both interrupt
request flags at the EI
2
OS/DMAC interrupt clear signal. Thus when EI2OS/µDMA function of two sources
is used, the other interrupt function cannot be used. The interrupt request enable bit of the corresponding
resource should be set to “0” for software polling processing.
• Maximum assured operation frequency of µDMA is 16 MHz.
30
MB90470 Series
PERIPHERAL RESOURCES
■
1.I/O Ports
The I/O ports output data from the CPU to the I/O pins, and also load signals input at the I/O pins into the CPU,
according to the port register (PDR) . The ports can also control the input/output direction of the I/O pins in bit
units according to the port direction register (DDR) .
The MB90470 series has 82 input/output pins and two open drain output pins. P orts 0 through A are input/output
ports, and port 76, and 77 are the open drain ports.
(1) Port Registers
PDR0Default valueAccess
Address : 000000
HUndefinedR/W*
PDR1
Address : 000001
HUndefinedR/W*
PDR2
Address : 000002
HUndefinedR/W*
PDR3
Address : 000003
HUndefinedR/W*
PDR4
Address : 000004
HUndefinedR/W*
PDR5
Address : 000005
HUndefinedR/W*
PDR6
Address : 000006
HUndefinedR/W*
PDR7
Address : 000007
H11XXXXXXR/W*
76543210
P06P07P05P04P03P02P01P00
76543210
P16P17P15P14P13P12P11P10
76543210
P26P27P25P24P23P22P21P20
76543210
P36P37P35P34P33P32P31P30
76543210
P46P47P45P44P43P42P41P40
76543210
P56P57P55P54P53P52P51P50
76543210
P66P67P65P64P63P62P61P60
76543210
P76P77P75P74P73P72P71P70
PDR8
Address : 000008
PDR9
Address : 000009
PDRA
Address : 00000A
76543210
HUndefinedR/W*
HUndefinedR/W*
HUndefinedR/W*
P86P87P85P84P83P82P81P80
76543210
P96P97P95P94P93P92P91P90
76543210
PA3PA2PA1PA0
* : Input/output port read/write operations are somewhat different than reading and writing to memory, and operate
as follows.
•Input mode
Read : Reads the signal level of the corresponding pin.
Write : Writes to the output latch.
•Output mode
Read : Reads the value of the data register latch.
Write : Value is output to the corresponding pin.
31
MB90470 Series
(2) Port Direction Registers
DDR0
Address : 000010
DDR1
Address : 000011H00000000R/W
DDR2
Address : 000012
DDR3
Address : 000013
DDR4
Address : 000014
DDR5
Address : 000015
DDR6
Address : 000016
DDR7
Address : 000017
76543210
H00000000R/W
H00000000R/W
H00000000R/W
H00000000R/W
H00000000R/W
H00000000R/W
H00000000R/W
D06D07D05D04D03D02D01D 00
76543210
D16D17D15D14D13D12D11D10
76543210
D26D27D25D24D23D22D21D20
76543210
D36D37D35D34D33D32D31D30
76543210
D46D47D45D44D43D42D41D40
76543210
D56D57D55D54D53D52D51D50
76543210
D66D67D65D64D63D62D61D60
76543210
D75D74D73D72D71D70
Default valueAccess
DDR8
Address : 000018
DDR9
Address : 000019
DDRA
Address : 00001A
76543210
H00000000R/W
H00000000R/W
H- - - - 0000R/W
D86D87D85D84D83D82D81D80
76543210
D96D97D95D94D93D92D91D90
76543210
DA3DA2DA1DA0
• When a pin is functioning as a port, the corresponding pin control setting is as follows :
0 : Input mode
1 : Output mode The register value is “0” at reset.
• Port 76, 77
These ports do not have DDR registers. Data at these pins is always valid, so that when P76, P77 are used
2
as I
C pins the PDR value should be “1”. (The I2C functions should be stopped, when these pins are used as
P76,P77 .)
These ports have open drain configuration. If they are used as input ports, the output transistor is turned off,
so that the output data register must be set to “1” and pull-up resistance applied.
Note : If these registers are accessed using read-modify-write instructions (such as bit set instructions) ,the bit that
is the object of the instruction will be set to the specified value but f or other bits the value of the corresponding
output register will be rewritten to the input value of the pin at that time. F or this reason when a pin used f or
input is switched to output, first write the desired value to the PDR register, then set the DDR register to
switch the pin direction.
32
(3) Input Resistance Registers
MB90470 Series
RDR0Default valueAccess
Address : 00001C
RDR1
Address : 00001D
76543210
H00000000R/W
H00000000R/W
RD06RD07RD05RD04RD03RD02RD01RD00
76543210
RD16RD17RD15RD14RD13RD12RD11RD10
These registers control pull-up resistance in input mode.
0 : No pull-up resistance in input mode.
1 : Pull-up resistance applied in input mode.
In output mode, the setting has no significance (no pull-up resistance) . The direction registers (DDR) control
switching between input and output modes.
In stop mode (SPL = 1) pull-up resistance is removed (high impedance) . When an exter nal bus is used, this
function is prohibited and no values should be written to this register.
(4) Output Pin Registers
ODR7Default valueAccess
Address : 00001E
ODR4
Address : 00001B
76543210
H00000000R/W
76543210
H00000000R/W
OD75OD74OD73OD72OD71OD70
OD46OD47OD45OD44OD43OD42OD41OD40
These registers control open drain operation in output mode.
0 : Operates as standard output port in output mode.
1 : Operates as open drain port in output mode.
In input mode, the setting has no significance (High-Z output) . The direction registers (DDR) control switching
between input and output modes. When an external bus is used, this function is prohibited and no v alues should
be written to this register.
(5) Analog Input Enable Register
ADERDefault valueAccess
Address : 00001F
76543210
H11111111R/W
ADE6ADE7ADE5ADE4ADE3ADE2ADE1ADE0
This register controls the port 6 pins as follows.
0 : Port input/output mode.
1 : Analog input mode. The register value is “1” at reset.
(6) Up-down Timer Input Enable Mode
UDERDefault valueAccess
Address : 00000B
76543210
HXX000000R/W
UDE5UDE4UDE3UDE2UDE1UDE0
This register controls the port 3 pins as follows.
0 : Port input mode
1 : Up-down timer input mode. The register value is “0” at reset.
In the MB90470 series, the pin functions are as follows : UDE0 : P30/AIN0, UDE1 : P31/BIN0, UDE2 : P32/
ZIN0, UDE3 : P33/AIN1, UDE4 : P34/BIN1, UDE5 : P35/ZIN1
33
MB90470 Series
2.UART
The UART is a serial I/O port for asynchronous (start-stop synchronized) communication or CLK synchronized
communication.
• Full duplex double buffer
• Asynchronous (start-stop synchronized) and CLK synchronized (no start bit or stop bit) operation
The expended I/O serial interface is a serial I/O interface in 8-bit × 1 channel configuration allowing clock
synchronized data transmission.
The interface has two serial I/O operating modes.
• Internal shift clock mode : Data transfer is synchronized with an internal clock.
• External shift clock mode : Data transfer is synchronized with a clock input from an external pin (SCK) .
This mode allows the external clock pin (SCK) to be shared with a general
purpose port that can transfer data according to CPU instructions.
(1) Register List
Serial mode control status register (SMCS)
Initial value
0 0 0 0 0 0 1 0B
Address :
000027
00002BH
15141312111098
H
(R/W)(R/W)(R/W)
SMD1SMD2SMD0SIESIRBUSYSTOPSTRT
(R/W)
(R/W)
(R/W)
(R/W)
(R/W)
76543210
Address
000026H
:
00002AH
()
MODEBDSSOESCOE
()
()
()
Serial data register (SDR)
76543210
Address
000028H
:
00002CH
(R/W)
D6D7D5D4D3D2D1D0
(R/W)
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
Communication prescaler control register (SDCR0, SDCR1)
15141312111098
MDDIV3DIV2DIV1DIV0
(R/W)
( )( )( )(R/W)(R/W)(R/W)(R/W)
Address :
000029
00002DH
H
(R/W)
(R/W)
Initial value
- - - - 0 0 0 0B
(R/W)(R/W)
Initial value
XXXXXXXXB
Initial value
0 - - - 0000B
37
MB90470 Series
(2) Block Diagram
Internal data bus
(MSB first) D0 to D7D7 to D0 (LSB first)
SIN1, 2
SOT1, 2
SCK1, 2
Internal clock
SDR (Serial data register)
21 0
SMD2
SMD1 SMD0 SIESIR BUSY STOP STRT MODE BDS
Select transfer direction
Control circuitShift clock counter
Interrupt
request
Internal data bus
Default value
Read
Write
SOE SCOE
38
MB90470 Series
4.8/10-bit A/D Converter
The A/D converter converts analog input voltages into digital values, and provides the following features :
• Conversion time : minimum 4.9 µs per channel
(at 98 machine cycles/machine clock 20 MHz, including sampling time)
• Sampling time : minimum 3.0 µs per channel
(at 60 machine cycles/machine clock 20 MHz)
• Uses RC sequential comparison conversion with sample & hold circuit.
• Selection of 8- or 10-bit resolution
• Analog input from 8 channels, by program selection
Single conversion mode : Convert 1 selected channel
Scan conversion mode : Con vert multiple consecutive channels. Select up to 8 channels by program selection.
Continuous conversion mode : Convert specified channel continuously.
Stop conversion mode : Con vert one channel, pause and stand by until the next start. (Simultaneous conversion
start available.)
• At the end of A/D conversion, an A/D con version end interrupt request can be sent to the CPU. This interrupt
request can start the µDMA and transfer the conversion data to memory, making it ideal for continuous
processing.
• Start sources include selection of software, external trigger (falling edge) , or timer (rising edge) .
(1) Register List
ADCS2, ADCS1 (Control status registers)
ADCS1
Address : 000046
ADCS2bit
Address : 000047
76543210
MD1ANS2ANS1ANS0ANE2ANE1ANE0
H
0
R/W
15141312111098
H
BUSYINTEPAUSSTS1STS0STRT
0
R/W
ADCR2, ADCR1 (Data registers)
ADCR1bit
Address : 000048
ADCR2bit
Address : 000049
76543210
H
D7D5D4D3D2D1D0
X
R
15141312111098
H
S10ST0CT1CT0D9D8
0
R/W
MD0
0
R/W0R/W0R/W0R/W0R/W0R/W0R/W
W
X
R
X
R
0
Reserved
0
R/W
X
R
X
R
INT
0
R/W0R/W0R/W0R/W0R/W
D6
X
R
ST1
0
W
X
R
0
W
X
R
0
W
X
R
0
W
X
R
X
R
←Default value
←Bit attributes
←Default value
←Bit attributes
←Default value
←Bit attributes
←Default value
←Bit attributes
39
MB90470 Series
(2) Block Diagram
MP
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
Input circuit
Sample & hold circuit
Comparator
CC
AV
AVRH
AVSS
D/A converter
Sequential
comparison register
Data bus
ADTG
Timer
(PPG1 output)
Trigger start
Timer start
φ
Decoder
Data register
ADCR1, ADCR2
A/D control register 1
A/D control register 2
Operating clock
Prescaler
ADCS1,
ADCS2
40
MB90470 Series
5.8/16-bit PPG
The 8/16-bit PPG is an 8-bit reload timer module that produces a PPG output in the form of a pulse for timer
operation. The hardware configuration includes six 8-bit down counters, tw elve 8-bit reload timers, three 16-bit
control registers, six external pulse output pins, and six interrupt outputs. The MB90470 provides six 8-bit PPG
channels, which can also operate as three 16-bit PPG channels in the combination PPG0 + PPG1, PPG2 +
PPG3, PPG4 + PPG5. The following is an overview of the functions of the PPG.
• Six-channel independent 8-bit PPG output mode : Provides PPG output operation independently on six
channels.
• 16-bit PPG output operation mode : Provides 16-bit PPG output operation on three channels, using the
This block is an up-down counter/timer configured with six event input pins, two 8-bit up/down counters, two
8-bit reload/compare registers, and related control circuits.
(1) Principal functions
• 8-bit count registers for counting in the range 0 to 256.
(Also operates in 16-bit × 1 mode for counting in the range 0 to 65535.)
• Count clock selection provides four count modes.
• In phase differential count mode, to provide counts for encoders for motors, etc., the A phase, B phase, and
Z phase of the encoder can be input separately for highly precise counts of rotation angle, rotary speed, etc.
• The ZIN pin provides a choice of two functions.
ZIN pinCounter clear function
Gate function
• Compare and reload functions are provided, each available independently or in combination. Both can be
started together to provide any desired type of up/down count.
Compare/reload functionCompare function (outputs interrupt at compare events)
Compare function (outputs interrupt and clears count at compare events)
Reload function (outputs interrupt and reloads at underflow events)
Compare/reload function
(outputs interrupt and clears count at compare events, outputs interrupt
and reloads at underflow events)
Compare/reload disabled
• Individually controllable interrupts at compare, reload (underflow) and overflow events.
• Count direction flag enables detection of immediately preceding count direction.
• Interrupt generation at change of count direction.
45
MB90470 Series
(2) Register List
150
RCR1
CCRH0
CCRH1
87
UDCR0UDCR1
RCR0
CSR0Reserved
CCRL0
CSR1Reserved
CCRL1
8 bit
CCRH0 (Counter control register high ch.0)
15141312111098
Address : 00006D
H00000000B
R/WR/WR/WR/WR/WR/WR/WR/W
CDCFM16ECFIECLKSCMS1CMS0CES1CES0
CCRH1 (Counter control register high ch.1)
15141312111098
Address : 000071
H-0000000B
CDCF
CFIECLKSCMS1CMS0CES1CES0
R/WR/WR/WR/WR/WR/WR/W
CCRL0/1 (Counter control register low ch.0/1)
Address
Address
: 00006CH
: 000070H
76543210
CTUTUDMSUCRERLDEUDCCCGSCCGE1CGE0
R/WWR/WR/WWR/WR/WR/W
CSR0/1 (Counter status register ch. 0/1)
Address
Address
: 000072H
: 000074H
76543210
CITECSTRUDIECMPFOVFFUDFFUDF1UDF0
R/WR/WR/WR/WR/WR/WRR
UDCR0/1 (Up down count register ch. 0/1)
15141312111098
Address : 000069
H00000000B
D16D17D15D14D13D12D11D10
RRRRRRRR
8 bit
Default value
Default value
Default value
0X00X000B
Default value
00000000B
Default value
Address : 000068
H00000000B
RCR0/1 (Reload/compare register ch. 0/1)
Address : 00006B
Address : 00006A
H00000000B
H00000000B
46
76543210
D06D07D05D04D03D02D01D00
RRRRRRRR
15141312111098
D16D17D15D14D13D12D11D10
WWWWWWWW
76543210
D06D07D05D04D03D02D01D00
WWWWWWWW
Default value
Default value
Default value
(3) Block Diagram
CGE1 CGE0 CGSC
MB90470 Series
Data bus
8 bit
RCR0 (Reload/compare register 0)
ZIN0
AIN0
BIN0
Edge/level detection
UDCC
CES1 CES0
CMS1 CMS0
Up-down count
clock selection
Prescaler
CLKS
UDMS
CTUT
UCRERLDE
Counter clear
8 bit
UDF1 UDF0 CDCF CFIE
CSTR
Reload control
UCDR0 (Up/down count register 0)
Count
clock
Interrupt
output
UDFF OVFF
CITE UDIE
Carry
CMPF
47
MB90470 Series
7.DTP/External Interrupts
The DTP (Data Transfer Peripheral) is a peripheral block that interfaces exter nal peripherals to the F2MC-16L
CPU. The DTP receiv es DMA request from e xternal peripherals and passes the requests to the F
2
MC-16L CPU
to activate the extended µDMA or interrupt processing.
The 16-bit input/output timer is composed of one 16-bit free-run timer module, 6 output compare modules, and
2 input capture modules. These functions can be used to produce output of six independent wave forms based
on the 16-bit free-run timer, with input pulse width measurement and external clock period measurement.
The 16-bit free-run timer is composed of a 16-bit up-down counter and control register.
The count value from this timer is used as the base timer for the input capture and output compare modules.
• A selection of 8 clock types for counter operation is available.
• Counter overflow interrupts can be generated.
• By a mode setting, the counter can be initialized when the timer value matches the compare register v alue f or
the output compare module.
•
Register list
Compare clear register (CPCLR)
15141312111098
000067
000066
HXXXXXXXXB
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
HXXXXXXXXB
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
CL14CL15CL13CL12CL11CL10CL09CL08
76543210
CL06CL07CL05CL04CL03CL02CL01CL00
Timer counter data register (TCDT)
15141312111098
000063
000062
H00000000B
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
H00000000B
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
T14T15T13T12T11T10T09T08
76543210
T06T07T05T04T03T02T01T00
Timer counter control/status register (TCCS)
15141312111098
000065
H0--00000B
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
ECKEMSI2MSI1MSI0ICLRICRE
Default value
Default value
Default value
Default value
Default value
000064
76543210
H00000000B
R/W
IVFEIVFSTOPMODESCLRCLK2CLK1CLK0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Default value
51
MB90470 Series
•
Block Diagram
φ
Bus
Interrupt request
IVFIVFE STOP MODE SCLRCLK1 CLK0
16-bit free-run timer
16-bit compare clear register
CLK2
Count value output T15 to T00
ICLRMSI3 to 0Compare circuitICRE
Frequency
divider
Clock
Interrupt request
A/D converter startup
52
MB90470 Series
(2) Output Compare
The output compare module consists of a 16-bit compare register, compare output pin unit, and control register.
When the value in the compare register in this module matches the value of the 16-bit free-run timer, the pin
output level can be inverted and an interrupt generated.
• There are six compare registers that can operate independently. Module settings can be used to use the two
compare registers to control the output.
• The interrupt can be set by a compare match.
•
Register List
Compare register (OCCP0 to OCCP5)
00004B
00004DH
00004FH
H
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
000051H
000053H
000055H
00004AH
00004CH
00004EH
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
000050H
000052H
000054H
Control register (OCS1/3/5)
000057
H
000059H
00005BH
Control register (OCS0/2/4)
15141312111098
C14C15C13C12C11C10C09C08
6543210
C06C07C05C04C03C02C01C00
15141312111098
CMODOTE1OTE0OTD1OTD0
( )( )( )(R/W)(R/W)(R/W)(R/W)(R/W)
Default value
XXXXXXXXB
Default value
XXXXXXXXB
Default value
---00000B
000056H
000058H
00005AH
76543210
ICP0ICP1ICE1ICE0CST1CST0
(R/W)(R/W)(R/W)(R/W)( )( )(R/W)(R/W)
Default value
0000--00B
53
MB90470 Series
•
Block Diagram
16-bit timer counter value (T15 to T00)
Compare control
Compare register 0 (2)
16-bit timer counter value (T15 to T00)
Bus
Compare control
Compare register 1 (3)
Control unit
Control blocks
ICP1 ICP0 ICE0 ICE0
TQ
CMOD
TQ
OTE0
OTE1
Compare 1 (3) (5) interrupt
Compare 0 (2) (4) interrupt
OUT0 (2) (4)
OUT1 (3) (5)
54
MB90470 Series
(
)(
)(
)(
)(
)(
)(
)(
)
(3) Input Capture
The input capture module detects the rising edge, falling edge, or both edges of an input signal and saves the
value of the 1-bit free-run timer at that moment in a register. This module can also generate an interrupt when
an edge is detected.
The input capture module is composed of input capture registers and a control register. Each of the input captures
has a corresponding external input pin.
• Selection of three valid edges for external input :
Rising edge/falling edge/both edges
• An interrupt can be generated when the valid edge is detected.
•
Register List
Input capture data registers (IPCP0, IPCP1)
15141312111098
00005D
00005FH
00005C
00005EH
H
( R )( R )( R )( R )( R )( R )( R )( R )
H
( R )( R )( R )( R )( R )( R )( R )( R )
CP14CP15CP13CP12CP11CP10CP09CP08
76543210
CP06CP07CP05CP04CP03CP02CP01CP00
Control status register (ICS0, ICS1)
76543210
•
Block Diagram
000060H00000000B
R/W
ICP0ICP1ICE1ICE0EG11EG10EG01EG00
Capture data register 0
R/W
R/W
R/W
R/W
R/W
Edge detection
R/W
Default value
XXXXXXXXB
Default value
XXXXXXXXB
Default value
R/W
IN0
Bus
16-bit timer counter value (T15 to T00)
Capture data register 1
ICP1 ICP0 ICE1 ICE0
EG11 EG10 EG01 EG00
Edge detection
Interrupt
Interrupt
IN1
55
MB90470 Series
9.I2C Interface
The I2C interface is a serial I/O port suppor ting Inter IC bus operation, and operates as a master/slave device
on the I
• Start condition repeat generator and detection function
• Bus error detection function
(1) Register List
IBSR (bus status register)
Address : 000088
Read/write
Default value
76543210
H
BBALLRBTRXAASGCAFBT
( R )
( 0 )
RSC
( R )
( 0 )
( R )
( 0 )
( R )
( 0 )
( R )
( 0 )
( R )
( 0 )
( R )
( 0 )
( R )
( 0 )
Bit no.
IBCR (bus control register)
Address : 000089
Read/write
Default value
15141312111098
H
BERSCCMSSACKGCAAINTEINT
(R/W)
( 0 )
BEIE
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0)
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
Bit no.
ICCR (clock control register)
Address : 00008AH
Read/write
Default value
IADR (address register)
Address : 00008B
H
Read/write
Default value
IDAR (data register)
Address : 00008CH
Read/write
Default value
76543210
ENCS4CS3CS2CS1CS0
( )
( )
15141312111098
A5A4A3A2A1A0
( )
( )
76543210
D7D5D4D3D2D1D0
(R/W)
( X )
( )
( )
A6
(R/W)
( X )
D6
(R/W)
( X )
(R/W)
( 0 )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
(R/W)
( X )
Bit no.
Bit no.
Bit no.
56
(2) Block Diagram
ICCR
EN
ICCR
I2C enable
Clock divider 1
56 7
MB90470 Series
Peripheral clock
8
MC-16 bus
2
F
CS4
CS3
CS2
CS1
CS0
IBSR
BB
RSC
LRB
TRX
FBT
AL
IBCR
BER
BEIE
INTE
Clock select 1
Clock divider 2
2 4 8 16128
Clock select 2
Bus busy
Repeat start
Last Bit
Send/receive
Start/stop
condition detector
First Byte
Arbitration
lost detector
Interrupt request
Sync
25632 64
Shift clock
edge change timing
Error
IRQ
Shift clock generator
SCL
SDA
INT
IBCR
SCC
MSS
ACK
GCAA
IBSR
AAS
GCA
Start
Master
ACK enable
GC-ACK enable
Slave
Global call
End
Start/stop
condition generator
IDAR
Slave address
compare
IADR
57
MB90470 Series
10. 16-bit reload timer
The 16-bit reload timer provides a choice of two functions, one is an internal clock countdown synchronized with
any of 3 types of internal clock, and the other is an event count mode that counts down at detection of a given
edge of a pulse input externally. This timer defines an underflow as a transition of the count value from 0000
to FFFFH. Therefore, an underflow will occur at the count value “reload register setting count + 1”. The count
operation includes a choice of reload mode in which the count set value is reloaded at each underflow event,
and one-shot mode in which the count stops at an underflow event. An interr upt can be generated when the
counter reaches an underflow, and the timer is DTC compatible.
(1) Register List
• TMCSR (Timer control status registers)
Timer control status register (high)
15141312111098
0000CBH
CSL1CSL0MOD2MOD1
( )
( )
Timer control status register (low)
( )
( )
( )
( )
( )
( )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
Read/write
Default value
H
76543210
0000CA
H
MOD0OUTLRELDINTEUFCNTETRG
(R/W)
( 0 )
OUTE
(R/W)
( 0 )
(R/W)
( 0 )
• 16-bit timer register/16-bit reload register
/TMRLR (high)
TMR
15141312111098
0000CD
H
D15D13D12D11D10D09D08
(R/W)
( X )
D14
(R/W)
( X )
(R/W)
( X )
TMR/TMRLR (low)
76543210
0000CC
H
D07D05D04D03D02D01D00
(R/W)
( X )
D06
(R/W)
( X )
(R/W)
( X )
(R/W)
( 0 )
(R/W)
( X )
(R/W)
( X )
(R/W)
( 0 )
(R/W)
( X )
(R/W)
( X )
(R/W)
( 0 )
(R/W)
( X )
(R/W)
( X )
(R/W)
( 0 )
(R/W)
( X )
(R/W)
( X )
(R/W)
( 0 )
(R/W)
( X )
(R/W)
( X )
Read/write
Default value
Read/write
Default value
Read/write
Default value
58
(2) Block Diagram
Count clock generator circuit
Machine
clock φ
Internal data bus
TMRLR
16-bit reload register
TMR
16-bit timer register
(down counter)
Prescaler
Clear
CLK
3
Gate
input
UF
Reload signal
Valid clock
decision circuit
CLK
MB90470 Series
Wait signal
Output signal
generator circuit
Reload
control circuit
To
A/D converter
Pin
(TIN0)
Input
control circuit
3
Clock selector
External clock
2Function selectSelect signal
Timer control status register (TMCSR)
Output signal
Invert
generator circuit
Pin
(TOT0)
EN
RELDOUTL
Operation
control circuit
OUTE
59
MB90470 Series
11. µµµµPG Timer
The µPG timer produces a pulse output according to an external input signal.
(1) Register List
PGCSR (PG control/status register)
Operating mode control register
76543210
00008E
(2) Block Diagram
H
PEN0PE0PMT1PMT0
(R/W)
( 0 )
PE1
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
( )
( )
( )
( )
( )
( )
Read/write
Default value
MT00
output latch
Control circuit
MT00
MT01
Output enable
MT00
output latch
EXTC
60
MB90470 Series
12. PWC (Pulse Width Count) Timer
The PWC timer is a 16-bit multi-function up-count timer with an input signal pulse width measurement function.
The hardware includes a total of three channels, each with one 16-bit up-count timer, one input pulse divider
and divider ration control register, one measurement input pin, and one 16-bit control register. The following
functions are provided :
Timer functions :
An interrupt can be generated each time a set time interval elapses. A choice of three internal reference clocks
is available.
Pulse width measurement functions :
Measures the time between designated ev ents on an externally input pulse signal. The reference clock is selected
from three internal clock signals.
Measurement modes : 1) H pulse width (
2) Rise period (
3) Measurement between edges (high or low to low or high)
An 8-bit input divider can divide the input pulse into 2
An interrupt can be generated when measurement is ended. Both one-time and continuous measurement are
enabled.
↑ to ↓) /L pulse width (↑ to ↓)
↑ to ↑) /fall period (↓ to ↓)
2n
divisions (n = 1, 2, 3, 4) and measure the divisions.
61
MB90470 Series
(1) Register List
150
PWCSR0 to PWCSR2
87
PWC0 to PWC2
DIVR0 to DIVR2
PWCSR0 to PWCSR2 (PWC control/status registers)
000077
00007BH
00007FH
000076
00007AH
00007EH
H
H
15141312111098
STRTEDIREDIEOVIROVIEERR
(R/W)
CKS1PIS1PIS0S/CMOD2MOD1MOD0
(R/W)
STOP
(R/W)
( 0 )
( 0 )
( 0 )
76543210
CKS0
(R/W)
( 0 )
( R )
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
PWCR0 to PWCR2 (PWC data buffer registers)
000079
00007DH
000081H
H
15141312111098
D15D13D12D11D10D9D8
(R/W)
( 0 )
D14
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
( R )
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
Reserved
( )
( X )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
(R/W)
(R/W)
Read/write
Default value
Read/write
Default value
Read/write
Default value
000078
00007CH
000080H
H
76543210
D7D5D4D3D2D1D0
(R/W)
( 0 )
D6
(R/W)
( 0 )
(R/W)
( 0 )
DIVR0 to DIVR2 (Divider control register)
000082
000084H
000086H
H
76543210
DIV1DIV0
( )
( X )
( )
( X )
( )
( X )
(R/W)
( 0 )
( )
( X )
(R/W)
( 0 )
( )
( X )
(R/W)
( 0 )
( )
( X )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
Read/write
Default value
Read/write
Default value
62
(2) Block Diagram
MB90470 Series
MC-16 bus
2
F
Flag set etc.
15
PWCR read
Overflow
Measure
start edge
Measure
end edge
Control bit output
Measurement end
interrupt request
Overflow interrupt
request
Error detector
Reload
Data transfer
Control circuit
Start edge
selection
Edge detection
ERR
PWCSR
2
ERR
PWCR
16
16
16-bit up/down timer
End edge
selection
PIS0/PIS1
CKS0/CKS1
Clock
Timer
clear
Divider on/off
Divider select
DIVR
CKS1/CKS0
Count enable
8-bit divider
Internal clock
(machine clock / 4)
2
2
Clock divider
3
2
Divider
clear
Input
waveform
comparator
PWC0
PWC1
63
MB90470 Series
13. Watch Timer
The watch timer is a 15-bit timer using a sub-clock signal. This timer can generate interval interrupts. Also, by
a register setting, it can be used as a clock source for the watchdog timer.
(1) Register List
Watch timer control register (WTC)
76543210
0000AA
H
(2) Block Diagram
Watch timer control register (WTC)
WDCSWTIEWTOFWTR WTC2WTC1 WTC0
(R/W)
( 1 )
SCE
( R )
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 1 )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
Default value
WDCSSCEWTIEWTOFWTRWTC2WTC1WTC0
Clear
8
2
9
Sub-clock
Watch counter
2102132142
2
10
2
11
2
12
2
13
2
14
15
2
Interval selector
Interrupt
generator
circuit
To watchdog timer
Watch timer
interrupt
64
MB90470 Series
14. Watchdog Timer
The watchdog timer is a 2-bit counter that uses a count clock signal output by the timer base timer or watch
timer and will reset the CPU unless cleared within a specified period of time.
The time base timer is an 18-bit free-run timer that counts up in synchronization with the internal count clock
(base oscillator divided by 2) . It functions as an interval timer with a selection of four types of time intervals.
Other functions of this timer also include output of a timer signal for the oscillator stabilization wait time and an
operating clock signal for the watchdog timer.
(1) Register List
Time base timer control register (TBTC)
15141312111098
0000A9
(2) Block Diagram
H
RESVTBIETBOFTBRTBC1TBC0
(R/W)
( 1 )
( )
( X )
( )
( X )
(R/W)
( 0 )
(R/W)
( 0 )
( W )
( 1 )
(R/W)
( 0 )
(R/W)
( 0 )
Time base timer/
counter
HCLK signal /2
Power-on reset
Stop mode start
Mode start
Hold status start
CKSCR : MCR = 1 → 0
CKSCR : SCS = 0 → 1
Time base timer control register (TBTC)
Time base timer interrupt signal
: Not used
OF : Overflow
HCLK : Oscillator clock
*1 : Switches machine clock from main clock or sub-clock to PLL clock.
*2 : Switches machine clock from sub-clock to main clock.
Clock control unit
Oscillator stabilization wait
To interval selector
66
MB90470 Series
16. Clock
The clock generator module controls the operation of the internal clocks that produce the operating cloc k signals
for the CPU and peripheral devices. This inter nal clock signal is called the machine clock, and one period is
called a machine cycle. The clock signal from the base oscillator is called the oscillator clock, and the clock
signal generated by the internal PLL module is called the PLL clock.
This module issues chip select signals in order to facilitate connection to external memory. There are four chip
select output pins, with hardware areas set using a register for each output, so that the select signal is output
from the related pin whenever access to an external address is detected.
• Features of the chip select function
The chip select function has two 8-bit registers for settings f or each of the f our output pins . One register (CARx)
is used to specify the upper 8 bits of the address for match detection, thereby pro viding memory area detection
in 64 KB units. The other register (CMRx) can be set to detect areas larger than 64 KB by masking bits in the
match detection value.
Note that the CS output is set to high impedance during a bus hold condition.
(1) Register List
150
CAR1
CAR3
Chip select area MASK register (CMRx)
0000C0
0000C2H
0000C4H
0000C6H
H
76543210
M7M5M4M3M2M1M0
(R/W)
( 0 )
M6
(R/W)
( 0 )
(R/W)
( 0 )
Chip select area register (CARx)
0000C1
0000C3H
0000C5H
0000C7H
15141312111098
H
A7A5A4A3A2A1A0
(R/W)
( 1 )
A6
(R/W)
( 1 )
(R/W)
( 1 )
Chip select control register (CSCR)
76543210
0000C8
H
OPL3OPL2OPL1OPL0
( )
( )
( )
( )
( )
( )
(R/W)
( 0 )
(R/W)
( 1 )
( )
( )
87
CMR0CAR0
CMR1
CMR2CAR2
CMR3
CSCR(R/W)CALR
(R/W)
( 1 )
(R/W)
( 1 )
(R/W)
( 0 )
(R/W)
( 1 )
(R/W)
( 1 )
(R/W)
( 0 )
(R/W)
( 1)
(R/W)
( 1 )
(R/W)
( 0 )
(R/W)
( 1 )
(R/W)
( 1 )
(R/W)
( ∗ )
(R/W)
(R/W)
(R/W)
(R/W)
(R/W)
Read/write
Default value
Read/write
Default value
Read/write
Default value
Chip selector active level register (CALR)
15141312111098
0000C9
H
ACTL3 ACTL2 ACTL1ACTL0
( )
( )
( )
( )
( )
( )
( )
( )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
(R/W)
( 0 )
Default value
73
MB90470 Series
(2) Block Diagram
CMRx
FMC-16 bus
CARx
Chip select output pin
A23 to A16
74
MB90470 Series
19. ROM Mirror Function Select Module
The ROM mirror function select module provides a register selection that allows the FF bank in ROM to be
viewed in the 00 bank.
(1) Register List
15141312111098
bitDefault value
ROMM Address : 00006F
W : Write only
- : Not used
(2) Block Diagram
H-------1B
MI
W
2
MC-16LX
F
ROM mirror function select
Address area
FF bank
00 bank
ROM
Note : Do not access this register during operations to address 004000
H to 00FFFFH.
75
MB90470 Series
20. Interrupt Controller
The interrupt control registers are located in the interrupt controller. An interrupt control register is provided for
each I/O with an interrupt function. The registers have the following functions.
• Set the interrupt level of the corresponding peripheral.
(1) Register List
Interrupt control register
Address:
Address:
: 0000B1
ICR01
: 0000B3H
ICR03
: 0000B5H
ICR05
: 0000B7H
ICR07
: 0000B9H
ICR09
: 0000BBH
ICR11
: 0000BDH
ICR13
: 0000BFH
ICR15
Read/Write→
Initial value→
: 0000B0
ICR00
: 0000B2H
ICR02
: 0000B4H
ICR04
: 0000B6H
ICR06
: 0000B8H
ICR08
: 0000BEH
ICR14
Read/Write→
Initial value→
H
bit
15141312111098
----
(W)(W)(W)(W)(R/W) (R/W) (R/W) (R/W)
(0)
(0)
H
bit
15141312111098
--
(W)(W)(W)(W)(R/W) (R/W) (R/W) (R/W)
(0)
(0)
--
Re-
served
(0)(0)
Re-
served
(0)(0)
IL2IL1IL0
(1)
(0)
IL2IL1IL0
(1)
(0)
(1)
(1)
ICR01, 03, 05,
07, 09, 11, 13,
15
(1)
ICR00, 02, 04,
26, 08, 10, 12,
14
(1)
Note : Do not access these registers using read-modify-write instructions as this can cause misoperation.
(2) Block Diagram
3
3
3
3
3
3
3
3
3
3
3
MC-16LX Bus
2
3
F
3
3
3
3
Re-
served
IL2IL1IL0
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
Determine
priority
of interrupt
32
Interrupt request
(peripheral resource)
3
(CPU)
Interrupt level
76
MB90470 Series
21. µµµµDMA
µDMA is the simplified DMA which has the equivalent function to EI2OS function µDMA has DMA transfer channel
which consists of 16 channels and has the following functions.
• Automatic data transfer between peripheral resources (I/O) and memory.
• CPU program executing stops dring DMA operation.
• Selectable for address transfer increase/decrease .
• DMA transfer control is done at DMA enable register, DMA stop status register, DMA status register and
descriptor.
• Stop request stops DMA transfer from resources.
• After DMA transfer, flag is set to bit corresponding to DMA status register transfer stop channel and stop
interrupt is output to interrupt controller.
(1) Register List
DMA enable register
bit
DERH : 0000ADH0 0 0 0 0 0 0 0B
15141312111098
EN15EN13EN12EN11EN10EN9EN8
(R/W)
EN14
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
Initial value
DMA enable register
bit
DERL : 0000ACH0 0 0 0 0 0 0 0B
76543210
EN7EN5EN4EN3EN2EN1EN0
(R/W)
EN6
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
DMA stop status register
bit
76543210
DSSR : 0000A4H0 0 0 0 0 0 0 0B
STP6STP7STP5STP4STP3STP2STP1STP0
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
DMA status register
bit
15141312111098
DSRH : 00009DH0 0 0 0 0 0 0 0B
DE14DE15DE13DE12DE11DE10DE9DE8
(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)(R/W)
DMA status register
bit
76543210
DSRL : 00009CH0 0 0 0 0 0 0 0B
DE7DE5DE4DE3DE2DE1DE0
( R/W )
DE6
( R/W ) ( R/W ) ( R/W )(R/W)(R/W)(R/W)(R/W)
Initial value
Initial value
Initial value
Initial value
77
MB90470 Series
(2) Block Diagram
Memory area
by IOA
I/O register
I/O register
Peripheral
functions (I/O)
Not transfer
stop
DMA
DER read
descriptor
by BAP
Buffer
by DCT
Transfer
IOA : Address pointer
BAP : Buffer address pointer
DER : DMA enable register (ENx selection is done.)
DTC : Data counter
DMA controller
CPU
DMA transfer
request
At transfer
stop
Interrupt
controller
F
2
MC-16LX Bus
78
MB90470 Series
22. External Bus Pin Control Circuit
The external bus pin control circuit controls the external bus pins used to expand the CPU address/data bus
connections to external circuits.
(1) Register List
• Auto ready function select register (ARSR)
Address : 0000A5H0011- - 00B
bit 15bit 14bit 13bit 12bit 11bit 10bit 9bit 8
ICR1HMR1HMR0LMR1LMR0
ICR0
W
WWWWW
• External address output control register (HACR)
Address : 0000A6
H00000000B
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
E23E21E20E19E18E17E16
W
E22
WWW W WWW
• Bus control signal select register (EPCR)
Address : 0000A7
bit 15bit 14bit 13bit 12bit 11bit 10bit 9bit 8
H1000∗10 -B
CKEHDEICBSHMBSWRELMBS
RYE
W
WWWWWW
Initial value
Initial value
Initial value
W
−
*
(2) Block Diagram
: Write only
: Not used
: May be either “1” or “0”
P0 data
P0 direction
RB
Data control
Address control
P0
P1
P2
P3
P5
P4
P5
P0
Access control
Access control
79
MB90470 Series
23. Address Match Detection Function
When the address is equal to a value set in the address detection register, the instruction code loaded into the
CPU is replaced forcibly with the INT9 instruction code (01H). As a result, when the CPU executes a set
instruction, the INT9 instruction is executed. Processing by the INT#9 interrupt routine allows the program
patching function to be implemented.
Two address detection registers are supported. An interrupt enable bit is prepared for each register . If the v alue
set in the address detection register matches an address and if the interrupt enable bit is set at “1”, the instruction
code loaded into the CPU is replaced forcibly with the INT9 instruction code.
(1) Register Configuration
• Program address detection register 0 to 2 (PADR0)
Address
PADR0 (Low order address): 001FF0
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
H
R/WR/WR/WR/WR/WR/WR/WR/W
Address
PADR0 (Middle order address): 001FF1
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
H
R/WR/WR/WR/WR/WR/WR/WR/W
Address
PADR0 (High order address): 001FF2
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
H
R/WR/WR/WR/WR/WR/WR/WR/W
• Program address detection register 3 to 5 (PADR1)
Address
PADR1 (Low order address): 001FF3
Address
PADR1 (Middle order address): 001FF4
Address
PADR1 (High order address): 001FF5
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
H
R/WR/WR/WR/WR/WR/WR/WR/W
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
H
R/WR/WR/WR/WR/WR/WR/WR/W
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
H
R/WR/WR/WR/WR/WR/WR/WR/W
• Program address detection control status register (PACSR)
Address
00009E
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
RESV RESV RESV RESV AD1E RESV AD0E RESV
H
R/WR/WR/WR/WR/WR/WR/WR/W
Initial value
XXXXXXXX
Initial value
XXXXXXXX
Initial value
XXXXXXXX
Initial value
XXXXXXXX
Initial value
XXXXXXXX
Initial value
XXXXXXXX
Initial value
00000000
B
B
B
B
B
B
B
80
R/W:Readable and writable
X :Undefined
RESV:Reserved bit
(2) Block Diagram
MB90470 Series
Address latch
Address detection
Enable bit
Internal data bus
register
Compare
INT9
instruction
2
F
MC-16LX
CPU core
81
MB90470 Series
ELECTRICAL CHARACTERISTICS
■
1.Absolute Maximum Ratings
ParameterSymbol
Supply voltage
(VSS= AVSS= 0.0 V)
Rating
UnitRemarks
MinMax
V
CC3VSS− 0.3VSS+ 4.0V
VCC5VSS− 0.3VSS+ 7.0V
AV
CCVSS− 0.3VSS+ 4.0V*1
AVRHV
SS− 0.3VSS+ 4.0V
VSS− 0.3VSS+ 4.0V*2
Input voltageV
I
V
SS− 0.3VSS+ 7.0V*2
VSS− 0.3VSS+ 4.0V*2
Output voltageV
O
VSS− 0.3VSS+ 7.0V*2
Maximum clamp currentI
Total maximum clump current
“L” level maximum output currentI
“L” level average output currentI
“L” level maximum total output currentΣI
CLAMP− 2.0+ 2.0mA*6
CLAMP |
Σ| I
OL10mA*3
OLAV3mA*4
OL60mA
20mA*6
“L” level average total output currentΣIOLAV30mA*5
“H” level maximum output currentI
“H” level average output currentI
“H” level maximum total output currentΣI
OH − 10mA*3
OHAV − 3mA*4
OH − 60mA
“H” level average total output currentΣIOHAV−30mA*5
Power consumptionP
Operating temperatureT
D410mW
A− 40+ 85°C
Storage temperatureTstg− 55+ 150°C
*1:AV
CC and AVRH must not exceed VCC3. Also, AVRH must not exceed AVCC ,too.
*2:V
I, and VO must not exceed VCC (including VCC3, VCC5) plus 0.3 V.
*3:Maximum output current is defined as the peak value at one corresponding pin.
*4:Average output current is defined as the average current flowing through one corresponding pin in an interval
of 100 ms.
*5:Average total output current is defined as the total a v er age current flowing through all corresponding pins in an
interval of 100 ms.
*6:• Applicable to pins: General purpose CMOS input port (P00 to P07, P10 to P17, P20 to P27, P30 to P37,
P40 to P47, P50 to P57, P60 to P67, P70 to P77, P80 to P87, P90 to P97, PA0 to PA3)
• 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.
(Continued)
82
MB90470 Series
(Continued)
• 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 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.
• Sample recommended circuits:
• Input/output equivalent circuits
Protective diode
Vcc
P-ch
N-ch
+
B input (0 V to 16 V)
Limiting
resistance
CC pin, and this may affect
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.
83
MB90470 Series
2.Recommended Operating Conditions
ParameterSymbol
V
CC3*
V
CC5*
Supply voltage
V
CC31.83.6VHold stop status
CC5
V
(VSS= AVSS= 0.0 V)
Value
UnitRemarks
MinMax
1.83.6VMASK version
2.43.6VLow voltage FLASH version
3.03.6VHigh speed FLASH version
1.85.5VMASK version
2.45.5VLow voltage FLASH version
3.05.5VHigh speed FLASH version
1.85.5V
1.85.5V
Hold stop status
(MASK version)
Hold stop status
(FLASH version)
All pins other than VHIS, VIHM
pins
All pins other than VILS, VILM
pins
“H” level input voltage
“L” level input voltage
V
IH0.7 VCCVCC+ 0.3V
VIHS0.8 VCCVCC+ 0.3VHysteresis input pins
V
IHMVCC− 0.3VCC+ 0.3VMD pin input
V
ILVSS− 0.30.3 VCCV
V
ILSVSS− 0.30.2 VCCVHysteresis input pins
VILMVSS− 0.3VSS+ 0.3VMD pin input
Operating temperatureT
A− 40+ 85°C
* : Pay attention to operating frequency.
Note : When using I
2
C functions, the voltage should be at least 2.4 V.
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.
84
3.DC Characteristics
(Low voltage FLASH version : VCC= 2.4 V to 3.6 V, VSS= 0.0 V, TA=−40 °C to +85 °C) *
Parameter
“H” level
output
voltage
“L” level
output
voltage
Input leak
current
Sym-
bol
V
OH
OL
V
I
IL
Pin nameConditions
All pins
except
P76-P77
All output
pins
All pins
except
P76, P77
(MASK version : VCC= 1.8 V to 3.6 V, VSS= 0.0 V, TA=−40 °C to +85 °C) *
(High speed FLASH version : V
V
CC= 2.7 V
I
OH=− 1.6 mA
V
CC= 4.5 V
I
OH=− 4.0 mA
V
CC= 2.7 V
I
OL= 2.0 mA
V
CC= 4.5 V
I
OL= 4.0 mA
VCC= 3.3 V
V
SS< VI< VCC
MB90470 Series
CC= 3.0 V to 3.6 V, VSS= 0.0 V, TA=−40 °C to +85 °C) *
Value
MinTypMax
CC3 −
V
0.3
CC5 −
V
0.5
V
V
0.4V
0.4V
− 10 + 10µA
UnitRemarks
Using 5 V
system power
supply
Using 5 V
system power
supply
Pull-up
resistance
Open drain
output
current
Supply
current
R
PULL
P40 to P47,
I
leak
P70 to P77
I
CC
I
CCS
I
CCL
VCC= 3.0 V,
at T
A=+ 25 °C
0.110µA
at V
CC= 3.3 V,
at normal internal
20 MHz operation
CC= 3.3 V,
at V
flash write/erase
at internal 20 MHz
CC= 3.3 V,
V
sleep mode
at 20 MHz
CC= 3.3 V,
at V
sub operation,
external 32 kHz,
internal 8 kHz
operation
(T
A=+ 25 °C)
2065200kΩ
6080mA MASK version
6585mA
MASK version
(A/D operation)
5166mA FLASH version
5671.5mA
FLASH version
(A/D operation)
5771.5mA FLASH version
1833mA
16140µA
* : Pay attention to operating frequency.
(Continued)
85
MB90470 Series
(Continued)
(Low voltage FLASH version : V
(High speed FLASH version : V
Parameter
Supply
current
Input
capacitance
Sym-
bol
I
CCT
CCH
I
Pin nameConditions
All pins
except A V
IN
C
AV
V
SS
SS, VCC,
(MASK version : VCC= 1.8 V to 3.6 V, VSS= 0.0 V, TA=−40 °C to +85 °C) *
CC= 2.4 V to 3.6 V, VSS= 0.0 V, TA=−40 °C to +85 °C) *
CC= 3.0 V to 3.6 V, VSS= 0.0 V, TA=−40 °C to +85 °C) *
Value
UnitRemarks
MinTypMax
CC= 3.3 V,
at V
1040µAMASK version
watch operation,
external 32 kHz,
internal 8 kHz
1540µAFLASH version
operation
(T
A=+ 25 °C)
A=+ 25 °C,
T
0.120µAMASK version
stop mode,
0.240µAFLASH version
CC,
at V
CC= 3.3 V
515pF
* : Pay attention to operating frequency.
Notes : • Pins P40-P47 and P70-P75 are N-ch open drain pins with controls, and normally used at CMOS level.
• P76 and P77 are N-ch open drain pins.
• V
CC = VCC3 = VCC5.
• When using two power supplies, the 5 V system pins are P20 to P27, P30 to P37, P40 to P47 and
P70 to P77. All other pins are 3 V input/output pins.
86
4.AC Characteristics
(1) Clock Timing Ratings
Parameter
Sym-
bol
Pin nameConditions
MB90470 Series
(V
SS= 0.0 V, TA=−40 °C to +85 °C)
Value
MinTypMax
UnitRemarks
Clock frequency
Clock cycle time
Input clock pulse width
Input clock rise, fall time
Internal operating clock
frequency
Internal operating clock
cycle time
320
F
CHX0, X1
MHz
340
FCLX0A, X1A32.768kHz
CX0, X125333ns*2
t
t
CLX0A, X1A30.5µs
PWH
PWL
P
WLH
PWLL
t
cr
tcf
X05ns*1
X0A15.2µs*1
X05ns
1.520MHz *2
f
CP
1.516MHz MB90474 only
8.192kHz
f
CPL
320MHz MB90F474H
312MHz MB90F474L
50.0666ns*2
t
CP
62.5666nsMB90474 only
t
CPL122.1µs
for crystal
oscillation*
2
for external
clock
Using
external clock
*1 : V
CC= VCC3 = VCC5
*2 : Observe the operating voltage with care.
87
MB90470 Series
•X0,
X1 clock timing
X0
•
X0A, X1A clock timing
X0A
tC
0.8 VCC
0.2 VCC
PWHPWL
tcftcr
tCL
0.8 VCC
0.2 VCC
PWLHPWLL
tcftcr
88
• PLL warranted operating range
Internal operating clock frequency vs. Supply voltage
3.6
3.13
3.0
(V)
2.5
CC
2.4
High speed flash model operating range
PLL warranted
operating range
MB90470 Series
1.8
Normal operating range
Supply voltage V
31.551216
Note : Use it at f = 16 MHz for MB90474.
When using the high speed flash model at f = 20 MHz, use supply voltages of 3.13 V to 3.6 V.
For A/D operating frequencies, see the electrical characteristics of the A/D converter module.
Maximum assured operation frequency (f
Base oscillator frequency vs. Internal operating clock frequency
20
16
(MHz)
CP
12
9
8
4
Internal clock f
8
34
101624203240
Base oscillator clock FC (MHz)
10
Internal clock f
cp) of µDMA is 16 MHz.
Low voltage flash model operating range
20
CP
(MHz)
Note : Use PLL circuit when using internal clock at 16 MHz or more. It is recommended to use base
oscillator clock of up to 20 MHz.
AC characteristics are determined using the following measurement reference voltage values.
• Input signal waveform
Hysteresis input pins
0.8 VCC
0.2 VCC
• Output signal waveform
Output pins
2.4 V
0.8 V
Pins other than hysteresis input/MD input pins
0.7 VCC
0.3 VCC
89
MB90470 Series
(2) Clock Output Timing
Parameter
Sym-
bol
Pin nameConditions
(V
Value
MinMax
SS= 0.0 V, TA=−40 °C to +85 °C)
UnitRemarks
Cycle timet
CLK ↑→ to CLK ↓t
Notes : • t
CP : See (1) Clock Timing Ratings.
• V
CC= VCC3 = VCC5
CYCCLKtCPns
VCC= 3.0 V to 3.6 V tCP/ 2 − 15 tCP/ 2 + 15nsat fcp= 20 MHz
CHCLCLK
2.4 V2.4 V
CLK
VCC= 2.7 V to 3.3 V tCP/ 2 − 20 tCP/ 2 + 20nsat fcp= 16 MHz
V
CC= 2.7 V to 3.3 V tCP/ 2 − 64 tCP/ 2 + 64nsat fcp= 5 MHz
tCYC
CHCL
t
0.8 V
90
(3) Reset Input Ratings
ParameterSymbolPin name Conditions
MB90470 Series
(V
CC= 2.7 V to 3.6 V, VSS= 0.0 V, TA=−40 °C to +85 °C)
Value
MinMax
UnitRemarks
In normal
operation
In stop
mode
Reset input timet
RSTLRST
16 t
CPns
Oscillator oscillation
time* + 16 t
CP
ms
* : Oscillator oscillation time is the time to reach 90% amplitude. For a crystal oscillator, this is a few to several
dozen ms; for a F AR/ceramic oscillator, this is se veral hundred µs to a few ms, and f or an external clock this is 0 ms.
Note: t
CP : See (1) Clock Timing Ratings.
• In stop mode
tRSTL
RST
X0
0.2 Vcc
90 % of
amplitude
0.2 Vcc
Internal
operation
clock
Oscillator
oscillation time
16 tcp
Internal
reset
• Measurement conditions for AC ratings
Pin
CL
Oscillator stabilization wait time
Execution of the instruction
C
L : Load capacitance applied to pin during testing
CLK, ALE, C
AD15 to AD00 (Address, data bus) , RD
A23 to A00/D15 to D00 : C
L= 30 pF
, WR,
L= 80 pF
91
MB90470 Series
(4) Power On Ratings (Power-on reset)
Parameter
Sym-
bol
Pin
name
Condi-
tions
(V
CC= 2.7 V to 3.6 V, VSS= 0.0 V, TA=−40 °C to +85 °C)
Value
UnitRemarks
MinMax
Power rise timet
RVCC
30ms*
Power cutoff timet
* : Power supply rise time requires V
OFFVCC1msFor continuous operation
CC< 0.2 V.
Notes : • VCC = VCC3 = VCC5
• The above ratings are values for power-on reset.
• A power-on reset should be applied by restarting the power supply inside the device.
tR
VCC
2.7 V
0.2 V0.2 V0.2 V
tOFF
Extreme variations in supply voltage may activate a power-on reset. As the illustration shows below ,
when varying supply voltage during operation the use of a smooth voltage rise with suppressed fluctuation
is recommended.
Main supply voltage
VCC
Sub supply voltage
VSS
Hold RAM data
A rise slope of 50 mV
or less is recommended
92
(5) Bus read timing
Parameter
Sym-
bol
Pin name
Condi-
tions
MB90470 Series
(V
CC= 2.7 V to 3.6 V, VSS= 0.0 V, TA=−40 °C to +85 °C)
Value
MinMax
CP/ 2 − 15nsat fcp= 20 MHz
t
UnitRemarks
ALE pulse widtht
LHLLALE
t
CP/ 2 − 20nsat fcp= 16 MHz
tCP/ 2 − 35nsat fcp= 8 MHz
Valid address →
ALE ↓ time
ALE ↓ →
address valid time
Valid address →
RD
↓ time
Valid address →
valid data input
pulse widthtRLRHRD
RD
↓→
RD
valid data input
RD
↑→
data hold time
RD
↑→ ALE ↑ timetRHLHRD, ALEtCP/ 2 − 15ns
RD ↑→
address valid time
Address pins,
AVLL
t
tLLAX
tAVRL
AVDVAddress/data
t
tRLDV
tRHDX
ALE
ALE,
Address pins
RD,
address
RD,
Data
RD,
Data
tRHAXAddress, RDtCP/ 2 − 10ns
t
tCP/ 2 − 15ns
tCP− 20ns
0ns
CP/ 2 − 20ns
t
CP/ 2 − 40nsat fcp= 8 MHz
5 t
CP/ 2 − 60ns
5 tCP/ 2 − 80nsat fcp= 8 MHz
3 t
CP/ 2 − 25nsat fcp= 20 MHz
3 t
CP/ 2 − 20nsat fcp= 16 MHz
3 t
3 t
CP/ 2 − 60ns
CP/ 2 − 80nsat fcp= 8 MHz
Valid address →
CLK ↑ time
RD
↓→ CLK ↑ timetRLCHRD, CLKtCP/ 2 − 20ns
t
AVCH
Address,
CLK
tCP/ 2 − 20ns
ALE ↓ → RD ↓ timetLLRLRD, ALEtCP/ 2 − 15ns
Notes : • t
CP : See (1) Clock Timing Ratings.
• V
CC= VCC3 = VCC5
93
MB90470 Series
CLK
ALE
RD
Multiplex mode
A23 to A16
AD15 to
AD00
Non-multiplex mode
A23 to A00
D15 to
D00
2.4 V
0.8 V
2.4 V
tAVCH
2.4 V
2.4 V
tLHLL
tAVLL
2.4 V
0.8 V
AddressRead data
2.4 V
0.8 V
0.8 V
tLLAX
tLLRL
tAVRLtRLDV
tAVDV
tAVDV
2.4 V
0.8 V
tRLCH
2.4 V
0.8 V
tRLDV
tRLRH
0.7 VCC
0.3 V
0.7 VCC
0.3 V
CC
CC
tRHLH
2.4 V
2.4 V
tRHAX
2.4 V
0.8 V
tRHDX
0.7 VCC
0.3 VCC
tRHAX
2.4 V
0.8 V
tRHDX
0.7 VCC
Read data
0.3 VCC
94
(6) Bus Write Timing
Parameter
Sym-
bol
Pin name
MB90470 Series
(V
CC= 2.7 V to 3.6 V, VSS= 0.0 V, TA=−40 °C to +85 °C)
Condi-
tions
Value
UnitRemarks
MinMax
Valid address → WR
↓ time tAVWL
Address pins,
WR
tCP − 20ns
3 tCP / 2 − 25nsat fcp = 20 MHz
pulse widthtWLWHWRL, WRH
WR
3 tCP/ 2 − 20nsat fcp= 16 MHz
Valid data output → WR
time
↑
tDVWH
Data pins,
WR
3 tCP / 2 − 20ns
15nsat fcp = 20 MHz
WR
↑→ data hold timetWHDX
WR,
Data pins
20nsat fcp = 16 MHz
30nsat f
WR
↑→ address valid time tWHAX
WR,
Address pins
tCP/ 2 − 10ns
WR ↑→ ALE ↑ timetWHLHWR , ALEtCP/ 2 − 15ns
WR
↓→ CLK ↑ timetWLCHWR , CLKtCP/ 2 − 20ns
Notes : • t
CP : See (1) Clock Timing Ratings.
• V
CC= VCC3 = VCC5
cp= 8 MHz
95
MB90470 Series
CLK
ALE
WR
(WRL, WRH)
tWLCH
2.4 V
tWHLH
2.4 V
tWLWH
2.4 V
0.8 V
Multiplex mode
A23 to A16
AD15 to
AD00
Non-multiplex mode
A23 to A00
D15 to
D00
2.4 V
0.8 V
2.4 V
0.8 V
2.4 V
0.8 V
tAVWL
tDVWH
AddressWrite data
2.4 V
0.8 V
2.4 V
0.8 V
tDVWH
Write data
tWHAX
2.4 V
0.8 V
tWHDX
2.4 V
0.8 V
tWHAX
2.4 V
0.8 V
tWHDX
2.4 V
0.8 V
96
(7) Ready Input Timing
ParameterSymbolPin name
(V
Condi-
tions
MB90470 Series
CC= 2.7 V to 3.6 V, VSS= 0.0 V, TA=−40 °C to +85 °C)
Value
UnitRemarks
MinMax
RDY setup timet
RYHS
RDY
70nsfcp= 8 MHz
RDY hold timetRYHH0ns
Notes : • If the RDY setup time is not sufficient, use the auto ready function.
45ns
• V
CC= VCC3 = VCC5
• If input from the RDY pin, note that the AC ratings must be satisfied so that the chip will not drive recklessly.
CLK
ALE
RD/WR
RDY
wait not
applied
2.4 V2.4 V
tRYHS
tRYHH
0.8 VCC0.8 VCC
RDY
wait applied
(1 cycle)
0.2 V
CC0.2 VCC
tRYHS
97
MB90470 Series
(8) Hold Timing
ParameterSymbolPin name
(V
CC= 2.7 V to 3.6 V, VSS= 0.0 V, TA=−40 °C to +85 °C)
Condi-
tions
Value
UnitRemarks
MinMax
Pin floating → HAK
↓ timetXHALHAK
30t
CPns
HAK
↓→ valid data timetHAHVHAKtCP2 tCPns
Notes : • t
CP : See (1) Clock Timing Ratings.
• V
CC= VCC3 = VCC5
• If the HRQ pin is read, at least one cycle is required before the HAK
HAK
All pins
0.8 V
tXHAL
2.4 V
0.8 V
2.4 V
High-Z
pin changes.
tHAHV
2.4 V
0.8 V
98
(9) UART Timing
Parameter
Sym-
bol
Pin
name
MB90470 Series
(V
CC= 2.7 V to 3.6 V, VSS= 0.0 V, TA=−40 °C to +85 °C)
Conditions
Value
UnitRemarks
MinMax
Serial clock cycle timet
SCYC
8 t
CPns
− 80+ 80ns
SCK ↓ → SOT delay timet
SLOV
Internal shift clock
− 120+ 120nsf
mode output pin
Valid SIN → SCK ↑t
IVSH
C
L= 80 pF + 1 TTL
100ns
200nsf
SCK ↑ → valid SIN hold timetSHIXtCPns
Serial clock “H” pulse widtht
Serial clock “L” pulse widtht
SHSL
SLSH4 tCPns
4 t
CPns
150ns
SCK ↓ → SOT delay timet
SLOV
External shift clock
200nsf
mode output pin
Valid SIN → SCK ↑t
IVSH
C
L= 80 pF + 1 TTL
60ns
120nsf
60ns
SCK ↑ → valid SIN hold timet
SHIX
120nsf
Notes : • These AC characteristics are for operation in CLK synchronous mode.
• C
L is the load capacitance applied to pins during testing.
• t
CP : See (1) Clock Timing Ratings.
• V
CC= VCC3 = VCC5
cp= 8 MHz
cp= 8 MHz
cp= 8 MHz
cp= 8 MHz
cp= 8 MHz
99
MB90470 Series
•
Internal Shift Clock Mode
SCK
0.8 V0.8 V
tSLOV
SOT
SIN
•
External Shift Clock Mode
SCK
0.2 VCC0.2 VCC
tSCYC
2.4 V
2.4 V
0.8 V
tIVSHtSHIX
0.8 V
CC
0.2 VCC
tSLSHtSHSL
0.8 VCC0.8 VCC
0.8 VCC
0.2 VCC
SOT
SIN
tSLOV
2.4 V
0.8 V
0.8 V
0.2 VCC
tIVSHtSHIX
CC
0.8 VCC
0.2 VCC
100
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.