The MB90570/A series is a general-purpose 16-bit microcontroller developed and designed by Fujitsu for
process control applications in consumer products that require high-speed real time processing. It contains an
2C*2
I
bus interface that allows inter-equipment communication to be implemented readily. This product is well
adapted to car audio equipment, VTR systems, and other equipment and systems.
2
The instruction set of F
sets for high-level languages, extended addressing mode, enhanced multiplication/division instructions, and
enhanced bit manipulation instructions. The microcontroller has a 32-bit accumulator for processing long word
data.
MC-16LX CPU core inherits AT architecture of F2MC*1 family with additional instruction
The MB90570/A series has peripheral resources of an 8/10-bit A/D converter, an 8-bit D/A converter, UART
(SCI), an extended I/O serial interface, an 8/16-bit up/down counter/timer, an 8/16-bit PPG timer, I/O timer (a
16-bit free run timer, an input capture (ICU), an output compare (OCU)).
2
*1: F
MC stands for FUJITSU Flexible Microcontroller.
*2: Purchase of Fujitsu I
components in an I
defined by Philips.
PACKAGE
■
120-pin plastic LQFP
2
C components conveys a license under the Philips I2C Patent Rights to use these
2
C system, provided that the system conforms to the I2C Standard Specification as
120-pin plastic QFP
120-pin plastic LQFP
(FPT-120P-M05)
(FPT-120P-M13)
(FPT-120P-M21)
Page 2
To Top / Lineup / Index
MB90570/A Series
FEATURES
■
•Clock
Embedded PLL clock multiplication circuit
Operating clock (PLL clock) can be selected from 1/2 to 4× oscillation (at oscillation of 4 MHz, 4 MHz to 16 MHz).
Minimum instruction ex ecution time : 62.5 ns (at oscillation of 4 MHz, 4× PLL clock, operation at V
• Maximum memory space
16 Mbytes
• Instruction set optimized for controller applications
Rich data types (bit, byte, word, long word)
Rich addressing mode (23 types)
Enhanced signed multiplication/division instruction and RETI instruction functions
Enhanced precision calculation realized by the 32-bit accumulator
• Instruction set designed for high level language (C) and multi-task operations
Adoption of system stack pointer
• Low-power consumption (standby) mode
Sleep mode (mode in which CPU operating clock is stopped)
Stop mode (mode in which oscillation is stopped)
CPU intermittent operation mode
Hardware standby mode
•Process
CMOS technology
• I/O port
General-purpose I/O ports (CMOS): 63 ports
• 16-bit I/O timer
16-bit free run timer: 1 channel
Input capture (ICU): Generates an interrupt request by latching a 16-bit free run timer counter value upon
detection of an edge input to the pin.
Output compare (OCU): Generates an interrupt request and re verse the output lev el upon detection of a match
between the 16-bit free run timer counter value and the compare setting value.
• Extended I/O serial interface: 3 channels
2
•I
C interface (1 channel)
Serial I/O port for supporting Inter IC BUS
• UART0 (SCI), UART1 (SCI)
With full-duplex double buffer
Clock asynchronized or clock synchronized transmission can be selectively used.
• DTP/external interrupt circuit (8 channels)
A module for starting extended intelligent I/O service (EI
by an external input.
• Delayed interrupt generation module
Generates an interrupt request for switching tasks.
• 8/10-bit A/D converter (8 channels)
8/10-bit resolution
Starting by an external trigger input.
Conversion time: 26.3 µs
• 8-bit D/A converter (based on the R-2R system)
8-bit resolution: 2 channels (independent)
Setup time: 12.5 µs
• Clock timer: 1 channel
• Chip select output (8 channels)
An active level can be set.
• Clock output function
2
OS) and generating an external interrupt triggered
3
Page 4
MB90570/A Series
PRODUCT LINEUP
■
To Top / Lineup / Index
Part number
Item
ClassificationMask ROM productsFlash ROM products Evaluation product
ROM size128 Kbytes256 KbytesNone
RAM size6 Kbytes10 Kbytes
Clock synchronized transmission (62.5 kbps to 1 Mbps)
Clock asynchronized transmission (1202 bps to 9615 bps)
Transmission can be performed by bi-directional serial transmission or by
master/slave connection.
One-shot conversion mode (converts selected channel only once)
Scan conversion mode (converts two or more successive channels and can
* :Varies with conditions such as the operating frequency. (See section “■ Electrical Characteristics.”)
Assurance for the MB90V570/A is given only for operation with a tool at a power voltage of 4.5 V to 5.5 V, an
operating temperature of 0 to +25°C, and an operating frequency of 1 MHz to 16 MHz.
PACKAGE AND CORRESPONDING PRODUCTS
■
PackageMB90573MB90574MB90F574/AMB90574A
FPT-120P-M05×
FPT-120P-M13
FPT-120P-M21× ×
: Available × : Not available
Note: For more inf ormation about each package, see section “■ Pac kage Dimensions.”
4.5 V to 5.5 V
5
Page 6
To Top / Lineup / Index
MB90570/A Series
DIFFERENCES AMONG PRODUCTS
■
Memory Size
In evaluation with an evaluation product, note the difference between the evaluation product and the product
actually used. The following items must be taken into consideration.
• The MB90V570/A does not have an internal ROM, however, operations equivalent to chips with an internal
ROM can be ev aluated b y using a dedicated development tool, enabling selection of ROM size b y settings of
the development tool.
• In the MB90V570/A, images from FF4000
mapped to bank FE and FF only. (This setting can be changed by configuring the deveolpment tool.)
• In the MB90F574/574/573/F574A/574A, images from FF4000
FF0000
• The products designated with /A are different from those without /A in that they are DTP/externally-interrupted
types which return from standby mode at the ch.0 to ch.1 edge request.
to FF3FFFH to bank FF only.
H
to FFFFFFH are mapped to bank 00, and FE0000H to FF3FFFH to
H
to FFFFFFH are mapped to bank 00, and
H
6
Page 7
PIN ASSIGNMENT
■
To Top / Lineup / Index
MB90570/A Series
(Top view)
P31/RD
P32/WRL
P33/WRH
P34/HRQ
P35/HAK
P36/RDY
P37/CLK
V
High speed oscillator input pins
Low speed oscillator input pins
These are input pins used to designate the operating mode. They should
be connected directly to Vcc or Vss.
Reset input pin
Hardware standby input pin
In single chip mode, these are general purpose I/O pins. When set for
input, they can be set by the pull-up resistance setting register (RDR0).
When set for output, this setting will be invalid.
In external bus mode, these pins function as address low output/data low
I/O pins.
In single chip mode, these are general purpose I/O pins. When set for
input, they can be set by the pull-up resistance setting register (RDR1).
When set for output, the setting will be invalid.
In external bus mode, these pins function as address middle output/data
high I/O pins.
In single chip mode this is a general-purpose I/O port.
In external bus mode, these pins function as address high output pins.
In single chip mode this is a general-purpose I/O port.
In external bus mode, this pin functions as the address latch enable signal
output pin.
In single chip mode this is a general-purpose I/O port.
In external bus mode, this pin functions as the read strobe signal output
pin.
In single chip mode this is a general-purpose I/O port.
In external bus mode, this pin functions as the data bus lower 8-bit write
strobe signal output pin.
In single chip mode this is a general-purpose I/O port.
In external bus mode, this pin functions as the data bus upper 8-bit write
strobe signal output pin.
In single chip mode this is a general-purpose I/O port.
In external bus mode, this pin functions as the hold request signal input
pin.
In single chip mode this is a general-purpose I/O port.
In external bus mode, this pin functions as the hold acknowledge signal
output pin.
In single chip mode this is a general-purpose I/O port.
In external bus mode, this pin functions as the ready signal input pin.
.
*1: FPT-120P-M05
*2: FPT-120P-M13
8
FPT-120P-M21
,
(Continued)
Page 9
Pin no.
Pin nameCircuit typeFunction
LQFP-120 *
QFP-120 *
1
2
7P37 E
CLK
9P40F
SIN0
10P41F
SOT0
11P42F
SCK0
12P43F
SIN1
13P44F
SOT1
14P45F
SCK1
15,16P46,P47F
PPG0,PPG1
17P50E
SIN2
To Top / Lineup / Index
MB90570/A Series
In single chip mode this is a general-purpose I/O port.
In external bus mode, this pin functions as the clock (CLK) signal output
pin.
In single chip mode this is a general-purpose I/O port. It can be set to open
drain by the ODR4 register.
This is also the UART ch.0 serial data input pin. While UART ch.0 is in
input operation, this input signal is in continuous use, and therefore the
output function should only be used when needed. If shared by output
from other functions, this pin should be output disabled during SIN
operation.
In single chip mode this is a general-purpose I/O port. It can be set to open
drain by the ODR4 register.
This is also the UART ch.0 serial data output pin. This function is valid
when UART ch.0 is enabled for data output.
In single chip mode this is a general-purpose I/O port. It can be set to open
drain by the ODR4 register.
This is also the UART ch.0 serial clock I/O pin. This function is valid when
UART ch.0 is enabled for clock output.
In single chip mode this is a general-purpose I/O port. It can be set to
open-drain by the ODR4 register.
This is also the UART ch.1 serial data input pin. While UART ch.1 is in
input operation, this input signal is in continuous use, and therefore the
output function should only be used when needed. If shared by output
from other functions, this pin should be output disabled during SIN
operation.
In single chip mode this is a general-purpose I/O port. It can be set to
opendrain by the ODR4 register.
This is also the UART ch.1 serial data output pin. This function is valid
when UART ch.1 is enabled for data output.
In single chip mode this is a general-purpose I/O port. It can be set to open
drain by the ODR4 register.
This is also the UART ch.1 serial clock I/O pin. This function is valid when
UART ch.1 is enabled for clock output.
In single chip mode this is a general-purpose I/O port. It can be set to open
drain by the ODR4 register.
These are also the PPG0, 1 output pins. This function is valid when PPG0,
1 output is enabled.
In single chip mode this is a general-purpose I/O port.
This is also the I/O serial ch.0 data input pin. During serial data input, this
input signal is in continuous use, and therefore the output function should
only be used when needed.
*1: FPT-120P-M05
*2: FPT-120P-M13
FPT-120P-M21
,
(Continued)
9
Page 10
MB90570/A Series
Pin no.
Pin nameCircuit typeFunction
LQFP-120 *
QFP-120 *
18P51E
19P52E
20P53E
21P54E
22P55E
23,24P56,P57E
25P60F
26P61F
27P62F
28P63F
*1: FPT-120P-M05
*2: FPT-120P-M13
1
2
SOT2
SCK2
SIN3
SOT3
SCK3
IN0,IN1
SIN4
SOT4
SCK4
CKOT
FPT-120P-M21
,
To Top / Lineup / Index
In single chip mode this is a general-purpose I/O port.
This is also the I/O serial ch.0 data output pin. This function is valid when
serial ch.0 is enabled for serial data output.
In single chip mode this is a general-purpose I/O port .
This is also the I/O serial ch.0 clock I/O pin. This function is valid when
serial ch.0 is enabled for serial data output.
In single chip mode this is a general-purpose I/O port.
This is also the I/O serial ch.1 data input pin. During serial data input, this
input signal is in continuous use, and therefore the output function should
only be used when needed.
In single chip mode this is a general-purpose I/O port.
This is also the I/O serial ch.1 data output pin. This function is valid when
serial ch.1 is enabled for serial data output.
In single chip mode this is a general-purpose I/O port.
This is also the I/O serial ch.1 clock I/O pin. This function is valid when
serial ch.1 is enabled for serial data output.
In single chip mode this is a general-purpose I/O port.
These are also the input capture ch.0/1 trigger input pins. During input
capture signal input on ch.0/1 this function is in continuous use, and
therefore the output function should only be used when needed.
In single chip mode this is a general-purpose I/O port. When set for input
it can be set by the pull-up resistance register (RDR6). When set for
output this setting will be invalid.
This is also the I/O serial ch.2 data input pin. During serial data input this
function is in continuous use, and therefore the output function should
only be used when needed.
In single chip mode this is a general-purpose I/O port. When set for input
it can be set by the pull-up resistance register (RDR6). When set for
output this setting will be invalid.
This is also the I/O serial ch.2 data output pin. This function is valid when
serial ch.2 is enabled for serial data output.
In single chip mode this is a general-purpose I/O port. When set for input
it can be set by the pull-up resistance register (RDR6). When set for
output this setting will be invalid.
This is also the I/O serial ch.2 serial clock I/O pin. This function is valid
when serial ch.2 is enabled for serial data output.
In single chip mode this is a general-purpose I/O port. When set for input
it can be set by the pull-up resistance register (RDR6). When set for
output this setting will be invalid.
This is also the clock monitor output pin. This function is valid when cloc k
monitor output is enabled.
(Continued)
10
Page 11
Pin no.
Pin nameCircuit typeFunction
LQFP-120 *
QFP-120 *
1
2
29 to 32P64 to P67F
OUT0 to
OUT3
35 to 37P70 to P72E
40,41P73,P74I
DA0,DA1
46 to 53P80 to P87K
AN0 to AN7
55 to 62P90 to P97E
CS0 to CS7
34CG
64PA0E
AIN0
IRQ6
65PA1E
BIN0
66PA2E
ZIN0
67PA3E
AIN1
IRQ7
68PA4E
BIN1
69PA5E
ZIN1
To Top / Lineup / Index
MB90570/A Series
In single chip mode these are general-purpose I/O ports. When set for
input they can be set by the pull-up resistance register (RDR6). When set
for output this setting will be invalid.
These are also the output compare ch.0 to ch.3 event output pins. This
function is valid when the respective channel(s) are enabled for output.
These are general purpose I/O ports.
These are general purpose I/O ports.
These are also the D/A converter ch.0,1 analog signal output pins.
These are general purpose I/O ports.
These are also A/D converter analog input pins. This function is valid
when analog input is enabled.
These are general purpose I/O ports.
These are also chip select signal output pins. This function is valid when
chip select signal output is enabled.
This is the power supply stabilization capacitor pin. It should be
connected externally to an 0.1 µF ceramic capacitor. Note that this is
not required on the FLASH model (MB90F574/A) and MB90574A.
This is a general purpose I/O port.
This pin is also used as count clock A input for 8/16-bit up-down counter
ch.0.
This pin can also be used as interrupt request input ch. 6.
This is a general purpose I/O port.
This pin is also used as count clock B input for 8/16-bit up-down counter
ch.0.
This is a general purpose I/O port.
This pin is also used as count clock Z input for 8/16-bit up-down counter
ch.0.
This is a general purpose I/O port.
This pin is also used as count clock A input for 8/16-bit up-down counter
ch.1.
This pin can also be used as interrupt request input ch.7.
This is a general purpose I/O port.
This pin is also used as count clock B input for 8/16-bit up-down counter
ch.1.
This is a general purpose I/O port.
This pin is also used as count clock Z input for 8/16-bit up-down counter
ch.1.
*1: FPT-120P-M05
*2: FPT-120P-M13
FPT-120P-M21
,
(Continued)
11
Page 12
MB90570/A Series
(Continued)
Pin no.
Pin nameCircuit typeFunction
LQFP-120 *
QFP-120 *
70PA6L
71PA7L
72,
75 to 79
80PB6E
81PB7E
82 to 85PC0 to PC3E
8,54,94V
33,63,
91,119
42AV
43AVRHJ
44AVRLH
45AV
38DV
39DV
1
2
SDA
SCL
PB0,
PB1 to PB5
IRQ0,
IRQ1 to IRQ5
ADTG
CC
V
SS
CC
SS
CC
SS
Power
supply
Power
supply
To Top / Lineup / Index
This is a general purpose I/O port.
This pin is also used as the data I/O pin for the 12C interface. This
function is valid when the 1
2
the 1
C interface is operating this port's output level should be set to
Hi-Z level (high impedance setting: PDRA=1).
This is a general purpose I/O port.
This pin is also used as the clock I/O pin for the 12C interface. This
function is valid when the 1
2
the 1
C interface is operating this port's output level should be set to
Hi-Z level (high impedance setting: PDRA=1).
E
H
H
H
H
These are general-purpose I/O ports.
These pins are also the external interrupt input pins. IRQ0, 1 are
enabled for both rising and falling edge detection, and therefore cannot
be used for recovery from STOP status for MB90V570, MB90F574,
MB90573 and MB90574. However, IRQ0, 1 can be used for recovery
from STOP status for MB90V570A, MB90F574A and MB90574A.
This is a general purpose I/O port.
This is also the A/D converter external trigger input pin. While the A/D
converter is in input operation, this input signal is in continuous use, and
therefore the output function should only be used when needed.
This is a general purpose I/O port.
These are general purpose I/O ports.
These are power supply (5V) input pins.
These are power supply (0V) input pins.
This is the analog macro (D/A, A/D etc.) Vcc power supply input pin.
This is the A/D converter Vref+ input pin. The input voltage should not
exceed Vcc.
This is the A/D converter Vref-input pin. The input voltage should not
belower than Vss.
This is the analog macro (D/A, A/D etc.) Vss power supply input pin.
This is the D/A converter Vref input pin. The input voltage should not
exceed Vcc..
This is the D/A converter GND power supply pin. It should be set to Vss
equivalent potential.
2
C interface is enabled for operation. While
2
C interface is enabled for operation. While
*1: FPT-120P-M05
*2: FPT-120P-M13
12
FPT-120P-M21
,
Page 13
MB90570/A Series
I/O CIRCUIT TYPE
■
TypeCircuitRemarks
A• Oscillator circuit
X1
X0
Standby control signal
B• Oscillator circuit
X1A
Oscillator recovery resistance for high
speed= approx. 1M
Oscillator recovery resistancer for low
speed =approx. 1MΩ
To Top / Lineup / Index
Ω
X0A
Standby control signal
C• Hysteresis input pin
Resistance value=approx. 50kΩ(typ.)
R
Hysteresis input
D• CMOS hystersis input pin with input pull-
V
CC
V
P-ch
Selective signal either
with a pull-up resistor or
CC
without it.
P-ch
up control
• CMOS level output.
• CMOS hystersis input
(Includes input shutoff standby control
function)
= 4 mA
I
OL
N-ch
R
Standby control for input interruption
Hysteresis input
• Pull-up resistance value=
approx.50kΩ(typ.)
I
= 4mA
OL
(Continued)
13
Page 14
MB90570/A Series
TypeCircuitRemarks
E• CMOS hysteresis input/output pin.
IOL = 4 mA
V
CC
P-ch
N-ch
R
Standby control for input interruption
Hysteresis input
• CMOS level output
• CMOS hysteresis input
(Includes input shutoff standby control
function)
I
= 4mA
OL
To Top / Lineup / Index
F• CMOS hysteresis input/output pin.
V
CC
P-ch
• CMOS level output
• CMOS hysteresis input
(Includes input shutoff standby control
function)
= 10mA (Large current port)
I
N-ch
R
= 10 mA
I
OL
G• C pin output
V
Standby control for input interruption
CC
Hysteresis input
OL
(capacitance connector pin).
P-ch
N-ch
H• Analog power supply protector
V
CC
On the MB90F574 this pin is not
connected (NC).
circuit.
P-ch
AVP
N-ch
14
I• CMOS hysteresis input/output
V
CC
P-ch
• Analog output/CMOS output
dual-function pin ( CMOS output is not
available during analog output.)
(Analog output priority : DAE = 1)
= 4 mA
I
OL
N-ch
R
Standby control for input interruption
Hysteresis input
DAO
• Includes input shutoff standby control
function.
I
= 4mA
OL
(Continued)
Page 15
To Top / Lineup / Index
MB90570/A Series
TypeCircuitRemarks
J• A/D converter ref+ power supply input
V
CC
P-ch
N-ch
ANE
AVR
ANE
P-ch
N-ch
pin(AVRH), with power supply
protector circuit.
K• CMOS hysteresis input /analog input
V
CC
P-ch
dual-function pin.
• CMOS output
• Includes input shutoff function at input
N-ch
R
Standby control for input interruption
I
= 4 mA
OL
L• Hysteresis input
V
CC
Hysteresis input
Analog input
N-ch
shutoff standby.
• N-ch open-drain output
• Includes input shutoff standby control
function.
I
= 4mA
OL
= 4 mA
I
OL
N-ch
R
Hysteresis input
Standby control for input interruption
15
Page 16
To Top / Lineup / Index
MB90570/A Series
HANDLING DEVICES
■
1. Make Sure that the Voltage not Exceed the Maximum Rating (to Avoid a Latch-up).
In CMOS ICs, a latch-up phenomenon is caused when an voltage exceeding VCC or an voltage below VSS is
applied to input or output pins or a voltage exceeding the rating is applied across V
When a latch-up is caused, the power supply current may be dramatically increased causing resultant thermal
break-down of devices. To avoid the latch-up, make sure that the voltage not exceed the maximum rating.
and VSS.
CC
In turning on/turning off the analog power supply, make sure the analog power voltage (AV
analog input voltages not exceed the digital voltage (V
CC
).
, AVRH, DVCC) and
CC
2. Connection of Unused Pins
Leaving unused pins open may result in abnormal operations. Clamp the pin level by connecting it to a pull-up
or a pull-down resistor.
3. Notes on Using External Clock
In using the external clock, drive X0 pin only and leave X1 pin unconnected.
Using external clock
•
X0
Open
X1
MB90570/A series
4. Power Supply Pins
In products with multiple VCC or VSS pins, the pins of a same potential are internally connected in the device to
avoid abnormal operations including latch-up. However, connect the pins external power and ground lines to
lower the electro-magnetic emission level and abnormal operation of strobe signals caused by the rise in the
ground level, and to conform to the total current rating.
Make sure to connect V
It is recommended to provide a bypass capacitor of around 0.1 µF between V
5. Crystal Oscillator Circuit
Noises around X0 or X1 pins may be possible causes of abnormal operations. Make sure to provide bypass
capacitors via shortest distance from X0, X1 pins, crystal oscillator (or ceramic resonator) and ground lines, and
make sure, to the utmost effort, that lines of oscillation circuit not cross the lines of other circuits.
It is highly recommended to provide a printed circuit board art work surrounding X0 and X1 pins with an grand
area for stabilizing the operation.
16
and VSS pins via lowest impedance to power lines.
CC
and VSS pin near the device.
CC
Page 17
To Top / Lineup / Index
MB90570/A Series
6. Turning-on Sequence of Power Supply to A/D Conv erter and Analog Inputs
Make sure to turn on the A/D converter power supply, D/A converter power supply (AVCC, AVRH, AVRL, DVCC,
DV
) and analog inputs (AN0 to AN7) after turning-on the digital power supply (VCC).
SS
Turn-off the digital power after turning off the A/D converter supply and analog inputs. In this case, make sure
that the voltage not exceed AVRH or AV
is acceptable).
7. Connection of Unused Pins of A/D Converter
Connect unused pins of A/D converter and those of D/A converter to AVCC = VCC, AVSS = AVRH = DVCC = VSS.
8. N.C. Pin
The N.C. (internally connected) pin must be opened for use.
9. Notes on Energization
(turning on/off the analog and digital power supplies simultaneously
CC
To prevent the internal regulator circuit from malfunctioning, set the voltage rise time during energization at 50
or more µs (0.2 V to 2.7 V).
10. Initialization
In the device, there are internal registers which is initialized only by a power-on reset. To initialize these registers
turning on the power again.
17
Page 18
MB90570/A Series
BLOCK DIAGRAM
■
To Top / Lineup / Index
X0, X1
X0A, X1A
RST
HST
P00/AD00 to P07/AD07
P10/AD08 to P17/AD15
P20/A16 to P27/A23
P00 to P07 (8 ports): Provided with a register optional input pull-up resistor
P10 to P17 (8 ports): Provided with a register optional input pull-up resistor
P40 to P47 (8 ports): Heavy-current (I
P60 to P67 (8 ports): Provided with a register optional input pull-up resistor
*: Addresses #1, #2 and #3 are unique to the product type.
H
H
H
004000
004000
004000
H
H
H
001800
002900
002900
H
H
H
Note: The ROM data of bank FF is reflected in the upper address of bank 00, realizing effectiv e use of the C compiler
small model. The lower 16-bit of bank FF and the lower 16-bit of bank 00 is assigned to the same address ,
enabling reference of the table on the ROM without stating “far”.
For example, if an attempt has been made to access 00C000
, the contents of the ROM at FFC000H are
H
accessed actually . Since the ROM area of the FF bank exceeds 48 Kb ytes, the whole area cannot be reflected
in the image for the 00 bank. The ROM data at FF4000
for 00400
to FFFFFF
to 00FFFFH. Thus, it is recommended that the ROM data table be stored in the area of FF4000H
H
.
H
to FFFFFFH looks, therefore, as if it w ere the image
H
19
Page 20
MB90570/A Series
2
F
MC-16LX CPU PROGRAMMING MODEL
■
• Dedicated registers
To Top / Lineup / Index
AHAL
USP
SSP
PS
PC
DPR
PCB
DTB
USB
: Accumlator (A)
Dual 16-bit register used for storing results of calculation etc. The two 16-bit
registers can be combined to be used as a 32-bit register.
: User stack pointer (USP)
The 16-bit pointer indicating a user stack address.
: System stack pointer (SSP)
The 16-bit pointer indicating the status of the system stack address.
: Processor status (PS)
The 16-bit register indicating the system status.
: Program counter (PC)
The 16-bit register indicating storing location of the current instruction code.
: Direct page register (DPR)
The 8-bit register indicating bit 8 through 15 of the operand address in the short
direct addressing mode.
: Program bank register (PCB)
The 8-bit register indicating the program space.
: Data bank register (DTB)
The 8-bit register indicating the data space.
: User stack bank register (USB)
The 8-bit register indicating the user stack space.
32-bit
16-bit
SSB
ADB
8-bit
: System stack bank register (SSB)
The 8-bit register indicating the system stack space.
: Additional data bank register (ADB)
The 8-bit register indicating the additional data space.
20
Page 21
• General-purpose registers
To Top / Lineup / Index
MB90570/A Series
Maximum of 32 banks
+ (RP × 10H )
000180
H
• Processor status (PS)
ILMRPCCR
bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
Program address detection register 0R/W
Program address detection register 1R/WXXXXX X X X
Program address detection register 2R/WXXXXX X X X
Program address detection register 3R/WXXXXX X X X
Program address detection register 4R/WXXXXX X X X
Program address detection register 5R/WXXXXX X X X
(Disabled)
(External area)*
(RAM area)*
2
(Reserved area)*
00000111
Interrupt
controller
1
3
XXXXXXXX
Program patch
processing
(Reserved area)
H
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
B
27
Page 28
MB90570/A Series
Descriptions for read/write
R/W: Readable and writable
R: Read only
W: Write only
Descriptions for initial value
0 : The initial value of this bit is “0”.
1 : The initial value of this bit is “1”.
X : The initial value of this bit is undefined.
– : This bit is unused. The initial value is undefined.
To Top / Lineup / Index
*1: This area is the only external access area having an address of 0000FF
area is handled as that to external I/O area.
*2: For details of the RAM area, see “■ MEMORY MAP”.
*3: The reserved area is disabled because it is used in the system.
Notes: • For bits that is initialized by an reset operation, the initial value set by the reset operation is listed as an
initial value. Note that the values are different from reading results.
For LPMCR/CKSCR/WDTC , there are cases where initialization is performed or not performed, depending
on the types of the reset. However initial value for resets that initializes the value are listed.
• The addresses following 0000FF
• Boundary ####
between the RAM area and the reserved area varies with the product model.
H
are reserved. No external bus access signal is generated.
H
or lower . An access oper ation to this
H
28
Page 29
To Top / Lineup / Index
MB90570/A Series
INTERRUPT FA CTORS, INTERRUPT VECTORS, INTERRUPT CONTROL REGISTER
Port 0 through 4, 6, 8, A and B are general-purpose I/O ports having a combined function as an external bus
pin and a resource input. Port 0 to Port 3 have a general-purpose I/O ports function only in the single-chip mode.
• Operation as output port
The pin is configured as an output port by setting the corresponding bit of the DDR register to “1”.
Writing data to PDR register when the port is configured as output, the data is retained in the output latch in
the PDR and directly output to the pin.
The value of the pin (the same value retained in the output latch of PDR) can be read out b y reading the PDR
register.
Note: When a read-modify-write instruction (e.g. bit set instruction) is performed to the port data register, the
destination bit of the operation is set to the specified value, not affecting the bits configured by the DDR
register for output, howe ver , v alues of bits configured by the DDR register as inputs are changed because
input values to the pins are written into the output latch. To avoid this situation, configure the pins by the
DDR register as output after writing output data to the PDR register when configuring the bit used as
input as outputs.
• Operation as input port
The pin is configured as an input by setting the corresponding bit of the DDR register to “0”.
When the pin is configured as an input, the output buffer is turned-off and the pin is put into a high-impedance
status.
When a data is written into the PDR register, the data is retained in the output latch of the PDR, but pin outputs
are unaffected.
Reading the PDR register reads out the pin level (“0” or “1”).
31
Page 32
MB90570/A Series
(2) Register Configuration
• Port 0 data register (PDR0)
Address
000000
• Port 1 data register (PDR1)
Address
000001
• Port 2 data register (PDR2)
Address
000002
............
bit 15 bit 8
H
H
(PDR1)
P17P16P15P14P13P12P11P10
R/WR/WR/WR/WR/WR/WR/WR/W
............
bit 15 bit 8
H
To Top / Lineup / Index
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
P07P06P05P04P03P02P01P00
R/WR/WR/WR/WR/WR/WR/WR/W
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
(PDR0)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
P27P26P25P24P23P22P21P20(PDR3)
R/WR/WR/WR/WR/WR/WR/WR/W
Initial value
XXXXXXXX
Initial value
XXXXXXXX
Initial value
XXXXXXXX
B
B
B
• Port 3 data register (PDR3)
Address
000003
P37P36P35P34P33P32P31P30
H
R/WR/WR/WR/WR/WR/WR/WR/W
• Port 4 data register (PDR4)
Address
000004
............
bit 15 bit 8
H
• Port 5 data register (PDR5)
Address
000005
H
P57P56P55P54P53P52P51P50
R/WR/WR/WR/WR/WR/WR/WR/W
• Port 6 data register (PDR6)
Address
000006
............
bit 15 bit 8
H
• Port 7 data register (PDR7)
Address
000007
———P74P73P72P71P70
H
———R/WR/WR/WR/WR/W
• Port 8 data register (PDR8)
Address
000008
............
bit 15 bit 8
H
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
(PDR2)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
P47P46P45P44P43P42P41P40(PDR5)
R/WR/WR/WR/WR/WR/WR/WR/W
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
(PDR4)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
P67P66P65P64P63P62P61P60(PDR7)
R/WR/WR/WR/WR/WR/WR/WR/W
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
(PDR6)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
P87P86P85P84P83P82P81P80(PDR9)
R/WR/WR/WR/WR/WR/WR/WR/W
Initial value
XXXXXXXX
Initial value
XXXXXXXX
Initial value
XXXXXXXX
Initial value
XXXXXXXX
Initial value
- - -XXXXX
Initial value
XXXXXXXX
B
B
B
B
B
B
32
(Continued)
Page 33
To Top / Lineup / Index
MB90570/A Series
• Port 9 data register (PDR9)
Address
000009
H
P97P96P95P94P93P92P91P90
R/WR/WR/WR/WR/WR/WR/WR/W
• Port A data register (PDRA)
Address
00000A
............
bit 15 bit 8
H
(PDRB)
• Port B data register (PDRB)
Address
00000B
............
bit 15 bit 8
H
(PDRA)
• Port C data register (PDRC)
Address
00000C
............
bit 15 bit 8
H
(Disabled)
• Port 0 direction register (DDR0)
Address
000010
............
bit 15 bit 8
H
(DDR1)
• Port 1 direction register (DDR1)
Address
000011
H
D17D16D15D14D13D12D11D10
R/WR/WR/WR/WR/WR/WR/WR/W
• Port 2 direction register (DDR2)
Address
000012
............
bit 15 bit 8
H
(DDR3)
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
(PDR8)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
PA7PA6PA5PA4PA3PA2PA1PA0
R/WR/WR/WR/WR/WR/WR/WR/W
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
PB7PB6PB5PB4PB3PB2PB1PB0
R/WR/WR/WR/WR/WR/WR/WR/W
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
————PC3PC2PC1PC0
————R/WR/WR/WR/W
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
D07D06D05D04D03D02D01D00
R/WR/WR/WR/WR/WR/WR/WR/W
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
(DDR0)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
D27D26D25D24D23D22D21D20
R/WR/WR/WR/WR/WR/WR/WR/W
Initial value
XXXXXXXX
Initial value
XXXXXXXX
Initial value
XXXXXXXX
Initial value
XXXXXXXX
Initial value
00000000
Initial value
00000000
Initial value
00000000
B
B
B
B
B
B
B
• Port 3 direction register (DDR3)
Address
000013
H
D37D36D35D34D33D32D31D30
R/WR/WR/WR/WR/WR/WR/WR/W
• Port 4 direction register (DDR4)
Address
000014
............
bit 15 bit 8
H
(DDR5)
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
(DDR2)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
D47D46D45D44D43D42D41D40
R/WR/WR/WR/WR/WR/WR/WR/W
Initial value
00000000
Initial value
00000000
(Continued)
B
B
33
Page 34
MB90570/A Series
To Top / Lineup / Index
• Port 5 direction register (DDR5)
Address
000015
D57D56D55D54D53D52D51D50
H
R/WR/WR/WR/WR/WR/WR/WR/W
• Port 6 direction register (DDR6)
Address
000016
............
bit 15 bit 8
H
(DDR7)
• Port 7 direction register (DDR7)
Address
000017
———D74D73D72D71D70
H
———R/WR/WR/WR/WR/W
• Port 8 direction register (DDR8)
Address
000018
............
bit 15 bit 8
H
(DDR9)
• Port 9 direction register (DDR9)
Address
000019
H
D97D96D95D94D93D92D91D90
R/WR/WR/WR/WR/WR/WR/WR/W
• Port A direction register (DDRA)
Address
00001A
............
bit 15 bit 8
H
(DDRB)
• Port B direction register (DDRB)
............
Address
00001B
bit 15 bit 8
H
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
(DDR4)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
D67D66D65D64D63D62D61D60
R/WR/WR/WR/WR/WR/WR/WR/W
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
(DDR6)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
D87D86D85D 84D83D82D81D80
R/WR/WR/WR/WR/WR/WR/WR/W
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
(DDR8)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
DA7DA6DA5DA4DA3DA2DA1DA0
R/WR/WR/WR/WR/WR/WR/WR/W
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
DB7DB6DB5DB4DB3DB2DB1DB0(DDRA)
R/WR/WR/WR/WR/WR/WR/WR/W
Initial value
00000000
Initial value
00000000
Initial value
- -- 00000
Initial value
00000000
Initial value
00000000
Initial value
00000000
Initial value
00000000
B
B
B
B
B
B
B
34
• Port C direction register (DDRC)
Address
00001C
............
bit 15 bit 8
H
(ODR4)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
————DC3DC2DC1DC0
————R/WR/WR/WR/W
• Port 4 output pin register (ODR4)
Address
00001D
............
bit 15 bit 8
H
(DDRC)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
OD47 OD46 OD45 OD44 OD43 OD42 OD41 OD40
R/WR/WR/WR/WR/WR/WR/WR/W
• Port 0 input pull-up resistor setup register (RDR0)
• Port 1 input pull-up resistor setup register (RDR1)
Address
00008D
RD17 RD16 RD15 RD14 RD13 RD12 RD11 RD10
H
R/WR/WR/WR/WR/WR/WR/WR/W
• Port 6 input pull-up resistor setup register (RDR6)
Address
00008E
............
bit 15 bit 8
H
(Disabled)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
RD67 RD66 RD65 RD64 RD63 RD62 RD61 RD60
R/WR/WR/WR/WR/WR/WR/WR/W
• Analog input enable register (ADER)
............
Address
00001E
R/W: Readable and writable
bit 15 bit 8 bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
H
—:Reserved
X :Undefined
(Disabled)
ADE6
ADE7
R/WR/WR/WR/WR/WR/WR/WR/W
ADE5
ADE4 ADE3
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
ADE2
............
(RDR0)
ADE0
ADE1
Initial value
00000000
Initial value
00000000
Initial value
11111111
B
B
B
35
Page 36
MB90570/A Series
(3) Block Diagram
• Input/output port
PDR (port data register)
PDR read
To Top / Lineup / Index
PDR write
DDR (port direction register)
Internal data bus
DDR write
DDR read
Standby control: Stop, timebase timer mode and SPL=1, or hardware standby mode
• Output pin register (ODR)
PDR (port data register)
PDR read
Output latch
PDR write
DDR (port direction register)
Direction latch
DDR write
Output latch
Direction latch
To resource input
P-ch
Pin
N-ch
Standby control (SPL=1)
From resource output
Resource output enable
P-ch
Pin
N-ch
36
Internal data bus
DDR read
ODR (output pin register)
ODR latch
ODR write
ODR read
Standby control: Stop, timebase timer mode and SPL=1, or hardware standby mode
Standby control
(SPL=1)
Page 37
To Top / Lineup / Index
MB90570/A Series
• Input pull-up resistor setup register (RDR)
PDR (port data register)
PDR read
Output latch
PDR write
DDR (port direction register)
Direction latch
DDR write
Internal data bus
Standby control: Stop, timebase timer mode and SPL=1
DDR read
RDR latch
RDR write
RDR read
To resource input
P-ch
N-ch
Standby control
(SPL=1)
RDR
(input pull-up resistor setup register)
Pull-up resistor
About 5.0 k
(5.0 V)
P-ch
Pin
Ω
• Analog input enable register (ADER)
ADER (analog input enable register)
ADER read
ADER latch
ADER write
PDR (port data register)
PDR read
Internal data bus
Output latch
PDR write
DDR (port direction register)
Direction latch
DDR write
DDR read
To analog input
RMW
(read-modify-write
type instruction)
P-ch
Pin
N-ch
Standby control
(SPL=1)
Standby control: Stop, timebase timer mode and SPL=1
37
Page 38
To Top / Lineup / Index
MB90570/A Series
2. Timebase Timer
The timebase timer is a 18-bit free run counter (timebase counter) for counting up in synchronization to the
internal count clock (divided-by-2 of oscillation) with an interval timer function for selecting an interval time from
four types of 2
The timebase timer also has a function for supplying operating clocks for the timer output for the oscillation
stabilization time or the watchdog timer etc.
(1) Register Configuration
• Timebase timer control register (TBTC)
12
/HCLK, 214/HCLK, 216/HCLK, and 219/HCLK.
Address
0000A9
bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8 bit 7bit 0
H
RESV
———R/WR/WWR/WR/W
R/W: Readable and writable
W : Write only
— : Unused
RESV : Reserved bit
(2) Block Diagram
Timebase timer counter
Divided-by-2
of HCLK
1
×
×
2
. . . . . . . . . . . .
—
—
TBIE TBOFTBRTBC1 TBC0
To 8/16-bit PPG timer
2
3
. . . . . .
×
2
2
8
9
10
11
12
×
×
×
×
2
2
2
×
2
OF
13
×
2
×
2
2
OF
(WDTC)
To watchdog timer
14
15
16
×
×
2
17
×
2
2
OF
×
OF
Initial value
1--00100
18
2
B
To oscillation stabilization
time selector of clock control block
38
Power-on reset
Start stop mode
CKSCR : MCS = 1→0*
1
Timebase timer control register
(TBTC)
Counter
clear circuit
RESV
Timebase timer
interrupt signal
2
#34*
OF: Overflow
HCLK: Oscillation clock
*1: Switch machine clock from oscillation clock to PLL clock
*2: Interrupt signal
timer selector
Clear TBOF
——
Interval
Set TBOF
TBIETBRTBOFTBC1 TBC0
Page 39
To Top / Lineup / Index
MB90570/A Series
3. Watchdog Timer
The watchdog timer is a 2-bit counter operating with an output of the timebase timer and resets the CPU when
the counter is not cleared for a preset period of time.
(1) Register Configuration
• Watchdog timer control register (WDTC)
Address
0000A8
bit 15 bit 8
H
R: Read only
W: Write only
X : Indeterminate
(2) Block Diagram
Watchdog timer
Start sleep mode
Start hold status
Start stop mode
............
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
PONR STBR WRST ERST SRST WTEWT1WT0(TBTC)
RRRRRWWW
Watchdog timer control register (WDTC)
PONR STBR WRST ERST SRST WTE WT1 WT0
2
CLR and start
Counter clear
control circuit
Count clock
selector
counter
CLR
2-bit
Overflow
CLR
Watchdog timer
reset generation
circuit
Initial value
XXXXXXXX
B
To internal reset
generation circuit
Clear
(Timebase timer counter)
Divided-by-2
of HCLK
×
2
HCLK: Oscillation clock
4
9
10
11
12
13
14
15
16
17
1
2
×
2
...
8
×
×
×
×
×
×
×
×
2
2
2
2
2
2
×
2
2
×
2
18
×
2
2
39
Page 40
To Top / Lineup / Index
MB90570/A Series
4. 8/16-bit PPG Timer
The 8/16-bit PPG timer is a 2-CH reload timer module for outputting pulse having given frequencies/duty ratios.
The two modules performs the following operation by combining functions.
• 8-bit PPG output 2-CH independent operation mode
This is a mode for operating independent 2-CH 8-bit PPG timer, in which PPG0 and PPG1 pins correspond
to outputs from PPG0 and PPG1 respectively.
• 16-bit PPG timer output operation mode
In this mode, PPG0 and PPG1 are combined to be operated as a 1-CH 8/16-bit PPG timer operating as a 16-
bit timer. Because PPG0 and PPG1 outputs are reversed by an underflow from PPG1 outputting the same
output pulses from PPG0 and PPG1 pins.
• 8 + 8-bit PPG timer output operation mode
In this mode, PPG0 is operated as an 8-bit communications prescaler, in which an underflow output of PPG0
is used as a clock source for PPG1. A toggle output of PPG0 and PPG output of PPG1 are output from PPG0
and PPG1 respectively.
• PPG output operation
A pulse wave with any period/duty ratio is output. The module can also be used as a D/A converter with an
external add-on circuit.
40
Page 41
(1) Register Configuration
• PPG0 operating mode control register ch.0 (PPGC0)
............
Address
000044
bit 15 bit 8 bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
H
PEN0—PE00PIE0PUF0——RESV(PPGC1)
R/W—R/WR/WR/W———
• PPG1 operating mode control register ch.1 (PPGC1)
Address
000045
PEN1—PEI0PIE1PUF1MD1MD0 RESV
H
R/WR/WR/WR/WR/WR /WR/WR/W
• PPG0, 1 output control register ch.0 (PPGOE)
Address
000046
............
bit 15 bit 8
H
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
PCS2 PCS1 PCS0 PCM2 PCM1 PCM0——(Disabled)
R/WR/WR/WR/WR/WR/W——
• PPG0 reload register H ch.0 (PRLH0)
Address
000041
H
R/WR/WR/WR/WR/WR/WR/WR/W
• PPG1 reload register H ch.1 (PRLH1)
Address
000043
H
R/WR/WR/WR/WR/WR /WR/WR/W
• PPG0 reload register L ch.0 (PRLL0)
Address
000040
............
bit 15 bit 8 bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
H
(PRLH0)
R/WR/WR/WR/WR/WR/WR/WR/W
• PPG1 reload register L ch.1 (PRLL1)
Address
000042
............
bit 15 bit 8 bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
H
(PRLH1)
R/WR/WR/WR/WR/WR/WR/WR/W
To Top / Lineup / Index
MB90570/A Series
Initial value
B
B
B
B
B
B
B
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
(PPGC0)
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
(PRLL0)
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
The 16-bit I/O timer module consists of one 16-bit free run timer, two input capture circuits, and four output
comparators. This module allows two independent waveforms to be output on the basis of the 16-bit free run
timer. Input pulse width and external clock periods can, therefore, be measured.
•Block Diagram
Internal data bus
Input capture
Dedicated
bus
16-bit
free run timer
Dedicated
bus
Output compare
44
Page 45
To Top / Lineup / Index
MB90570/A Series
(1) 16-bit free run Timer
The 16-bit free run timer consists of a 16-bit up counter, a control register, and a communications prescaler
register. The value output from the timer counter is used as basic timer (base timer) for input capture (ICU) and
output compare (OCU).
• A counter operation clock can be selected from four internal clocks (φ/4, φ/16, φ/32 and φ/64).
• An interrupt can be generated by o verflow of counter value or compare match with OCU compare register 0.
(Compare match requires mode setup.)
• The counter value can be initialized to “0000
register 0.
• Register Configuration
• free run timer data register (TCDT)
” by a reset, software clear or compare match with OCU compare
H
Address
000056
000057
bit 15
bit 14bit 13bit 12bit 11bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
The input capture (ICU) generates an interrupt request to the CPU simultaneously with a storing operation of
current counter value of the 16-bit free run timer to the ICU data register (IPCP) upon an input of a trigger edge
to the external pin.
There are four sets (four channels) of the input capture external pins and ICU data registers, enabling
measurements of maximum of four events.
• The input capture has two sets of external input pins (IN0, IN1) and ICU registers (IPCP), enabling
measurements of maximum of four events.
• A trigger edge direction can be selected from rising/falling/both edges.
• The input capture can be set to generate an interrupt request at the storage timing of the counter value of the
16-bit free run timer to the ICU data register (IPCP).
• The input compare conforms to the extended intelligent I/O service (EI
• The input capture ( ICU) function is suited for measurements of intervals (frequencies) and pulse widths.
• Register Configuration
2
OS).
• ICU data register ch.0, ch.1 (IPCP0, IPCP1)
IPCP0(high):
IPCP1(high):
IPCP0(low):
IPCP1(low):
Note: This register holds a 16-bit free run timer value when the valid edge of the corresponding external pin input waveform
AddressInitial value
000051
000053
Address
000050
000052
is detected. (You can word-access this register, but you cannot program it.)
bit 15 bit 14bit 13 bit 12 bit 11 bit 10bit 9bit 8 bit 7 bit 0
H
CP15 CP14CP13 CP12 CP11 CP10CP09 CP08
H
RR RRRR RR
............
H
(IPCP0 high, IPCP1 high)
H
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0bit 15 bit 8
CP07 CP06CP05 CP04 CP03 CP02CP01 CP00
• ICU control status register (ICS01)
Address
000054
H
R/W: Readable and writable
R :Read only
X:Undefined
............
(Disabled)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0bit 15 bit 8
ICP1ICP0ICE1 ICE0 EG11 EG10EG01 EG00
R/WR/WR/WR/WR/WR/WR/WR/W
.............
(IPCP0 low, IPCP1 low)
RR RRRR RR
XXXXXXXX
Initial value
XXXXXXXX
Initial value
00000000
B
B
B
46
Page 47
•Block Diagram
P56/IN0
Pin
P57/IN1
Pin
Edge detection circuit
Data latch signal
2
2
Internal data bus
Output latch
IPCP0HIPCP0L
IPCP1HIPCP1L
Latch
signal
To Top / Lineup / Index
MB90570/A Series
ICU data register (IPCP)
16
16-bit free run
16
timer
ICU control status register (ICS01)
ICP1
ICP0 ICE1 ICE0 EG11 EG10 EG01 EG00
* : Interrupt number
Interrupt request
#12*
Interrupt request
#14*
47
Page 48
To Top / Lineup / Index
MB90570/A Series
(3) Output Compare (OCU)
The output compare (OCU) is two sets of compare units consisting of four-channel OCU compare registers, a
comparator and a control register.
An interrupt request can be generated for each channel upon a match detection by performing time-division
comparison between the OCU compare data register setting value and the counter value of the 16-bit free run
timer.
The OUT pin can be used as a waveform output pin for reversing output upon a match detection or a generalpurpose output port for directly outputting the setting value of the CMOD bit.
• Register Configuration
• OCU control status register ch.1, ch.3 (OCS1, OCS3)
AddressInitial value
000063
000065
bit 15 bit 14 bit 13bit 12 bit 11 bit 10bit 9bit 8 bit 7 bit 0
H
———CMOD OTE1 OTE0 OTD1 OTD0(OCS0, OCS2)
H
———R/WR/WR/WR/WR/W
• OCU control status register ch.0, ch.2 (OCS0, OCS2)
Address
000062
000064
............
H
H
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0bit 15 bit 8
ICP1ICP0 ICE1ICE0——CST1 CST0(OCS1, OCS3)
R/WR/WR/WR/W——R/WR/W
• OCU compare register ch.0 to ch.3 (OCCP0 to OCCP3)
OCCP0 (high order address) : 00005B
Address
OCCP1 (high order address) : 00005D
OCCP2 (high order address) : 00005F
OCCP3 (high order address) : 000061
bit 15 bit 14 bit 13 bit 12 bit 11 bit 10bit 9bit 8
H
C15C14C13C12C11C10C09C08
H
H
R/WR/WR/WR/WR/WR/WR/WR/W
H
.............
- --00000
Initial value
0000 - -00
Initial value
XXXXXXXX
B
B
B
OCCP0 (low order address) : 00005A
OCCP1 (low order address) : 00005C
OCCP2 (low order address) : 00005E
OCCP3 (low order address) : 000060
The 8/16-bit up/down counter/timer consists of six event input pins, two 8-bit up/down counters, two 8-bit
reload compare registers, and their controllers.
(1) Register configuration
• Up/down count register 0 (UDCR0)
Address
000070
H
............
bit 15 bit 8
(UDCR1)
bit 7bit 6bit 5bit 4
D06D07
RRRRRRRR
• Up/down count register 1 (UDCR1)
Address
000071
• Reload compare register 0 (RCR0)
Address
000072
bit 15bit 14 bit 13 bit 12 bit 11 bit 10bit 9bit 8
D17D16D15D14D13D12D11D10
H
RRRRRRRR
............
bit 15 bit 8
H
(RCR1)
bit 7bit 6bit 5bit 4
D06D07
WWWWWWWW
• Reload compare register 1 (RCR1)
Address
000073
• Counter status register 0, 1 (CSR0, CSR1)
Address
000074
000078
• Counter control register 0, 1 (CCRL0, CCRL1)
Address
000076
00007A
bit 15bit 14 bit 13 bit 12 bit 11 bit 10bit 9bit 8
D17D16D15D14D13D12D11D10
H
WWWWWWWW
............
bit 15 bit 8
H
(Reserved area)
H
bit 7bit 6bit 5bit 4
CITECSTR
R/WR/WR/WR/WR/WR/WRR
............
bit 15 bit 8
H
(CCRH0, CCRH1)
H
bit 7bit 6bit 5bit 4
CTUT
—
R/WR/WR/WR/WR/WR/WR/W
—
• Counter control register 0 (CCRH0)
Address
000077
bit 15bit 14 bit 13 bit 12 bit 11 bit 10bit 9bit 8
H
M16E CDCF CFIE CLKS CMS1 CMS0 CES1 CES0
R/WR/WR/WR/WR/WR/WR/WR/W
• Counter control register 1 (CCRH1)
Address
00007B
bit 15bit 14 bit 13 bit 12 bit 11 bit 10bit 9bit 8
CDCF CFIE CLKS CMS1 CMS0 CES1 CES0
—
H
R/WR/WR/WR/WR/WR/WR/W
—
bit 3bit 2bit 1bit 0
D04D05D02D03D00D01
.............
bit 7 bit 0
(UDCR0)
bit 3bit 2bit 1bit 0
D04D05D02D03D00D01
.............
bit 7 bit 0
(RCR0)
bit 3bit 2bit 1bit 0
CMPFUDIEUDFFOVFFUDF0UDF1
bit 3bit 2bit 1bit 0
RLDEUCRECGSCUDCCCGE0CGE1
.............
bit 7 bit 0
(CCRL0)
.............
bit 7 bit 0
(CCRL1)
Initial value
00000000
Initial value
00000000
Initial value
00000000
Initial value
00000000
Initial value
00000000
Initial value
- 0000000
Initial value
00000000
Initial value
- 0000000
B
B
B
B
B
B
B
B
50
R/W: Readable and writable
R :Read only
W : Write only
— : Undefined
Page 51
(2) Block Diagram
• Block diagram of 8/16-bit up/down counter/timer 0
Internal data bus
RCR0
Reload compare register 0
UDCR0
Up/down count register 0
Counter control
register 0 (CCRL0)
To Top / Lineup / Index
MB90570/A Series
Re-load
control
circuit
CARRY/
BORRW
(to channel 1)
—
CTUT
PA2/ZIN0
Pin
PA0/AIN0/IRQ6
Pin
Pin
PA1/BIN0
M16E
* : Interrupt number
: Machine clock frequency
φ
Edge/level
detection circuit
φ
Prescaler
CDCFCES1 CES0CFIECMS1CLKSCMS0
Counter control register 0 (CCRH0)
CGE1 CGE0UCREUDCCRLDECGSC
Counter clear
UP/down count
clock selector
circuit
Count clock
Counter status
register 0 (CSR0)
CSTR CITE UDIE CMPF OVFF UDFF UDF1 UDF0
Overflow
contorol circuit
Underflow
Compare
Interrupt request
#29*
Interrupt request
#30*
M16E
(to channel 1)
51
Page 52
MB90570/A Series
To Top / Lineup / Index
• Block diagram of 8/16-bit up/down counter/timer 1
Internal data bus
RCR1
Reload compare register 1
UDCR1
Up/down count register 1
Counter control
register 1 (CCRH1)
CTUTCGE1 CGE0UCREUDCCRLDECGSC
—
PA5/ZIN1
Pin
CARRY/BORRW
(from channel 0)
PA3/AIN1/IRQ7
Pin
Edge/level
detection circuit
φ
Prescaler
UP/down count
clock selector
Counter clear
circuit
Count clock
Counter status
register 1 (CSR1)
CSTR CITE UDIE CMPF OVFF UDFF UDF1 UDF0
Re-load
control
circuit
Compare
Overflow
control circuit
Underflow
Pin
PA4/BIN1
M16E
(from channel 1)
—
Counter control register 1 (CCRH1)
* : Interrupt number
: Machine clock frequency
φ
CDCFCES1 CES0CFIECMS1CLKSCMS0
Interrupt request
#31*
Interrupt request
#32*
52
Page 53
To Top / Lineup / Index
MB90570/A Series
7. Extended I/O serial interface
The extended I/O serial interface transfers data using a clock synchronization system having an 8-bit x 1 channel
configuration.
For data transfer, you can select LSB first/MSB first.
(1) Register Configuration
• Serial mode control upper status register 0 to 2 (SMCSH0 to SMCSH2)
SMCSH0 : 000049
SMCSH1 : 00004D
SMCSH2 : 00007D
Address
• Serial mode control lower status register 0 to 2 (SMCSL0 to SMCSL2)
SMCSL0 : 000048
SMCSL1 : 00004C
SMCSL2 : 00007C
Address
• Serial data register 0 to 2 (SDR0 to SDR2)
Address
SDR0 : 00004A
SDR1 : 00004E
SDR2 : 00007E
R/W: Readable and writable
R :Read only
—:Reserved
X : Undefined
bit 15bit 14 bit 13 bit 12 bit 11 bit 10bit 9bit 8
The I2C interface is a serial I/O port supporting Inter IC BUS operating as master/slave devices on I2C bus.
2
The MB90570/A series contains one channel of an I
• Master/slave transmission/reception
• Arbitration function
• Clock synchronization function
• Slave address/general call address detection function
• Transmission direction detection function
• Repeated generation function start condition and detection function
• Bus error detection function
(1) Register Configuration
•I2C bus status register (IBSR)
. . . . . . . . . . . .
H
bit 15
(IBCR)
bit 8 bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
BBRSCALLRBTRXAASGCAFBT
RRRRRRRR
Address
000068
C interface, having the following features.
Initial value
00000000
B
•I2C bus control register (IBCR)
Address
000069
2
C bus clock control register (ICCR)
•I
Address
00006A
bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8 bit 7bit 0
BERBEIESCCMSSACK GCAA INTEINT
H
R/WR/WR/WR/WR/WR/WR/WR/W
. . . . . . . . . . . .
bit 15
H
(IADR)
•I2C bus address register (IADR)
Address
00006B
2
C bus data register (IDAR)
•I
Address
00006C
bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8 bit 7bit 0
H
—A6A5A4 A3A2A1A0
—R/WR/WR/WR/WR/WR/WR/W
. . . . . . . . . . . .
bit 15
H
(Disabled)D7
. . . . . . . . . . . .
(IBSR)
bit 8 bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
——ENCS4CS3CS2CS1CS0
——R/W
bit 8 bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
D6D5D4D3D2D1D0
R/WR/WR/WR/WR/W
R/WR/WR/WR/WR/W
R/WR/WR/W
. . . . . . . . . . . .
(ICCR)
Initial value
00000000
Initial value
--0XXXXX
Initial value
-XXXXXXX
Initial value
XXXXXXXX
B
B
B
B
R/W : Readable and writable
R: Read only
—: Reserved
X: Indeterminate
55
Page 56
MB90570/A Series
(2) Block Diagram
2
C bus control register
I
(IBCR)
To Top / Lineup / Index
Internal data bus
I2C bus status register
(IBSR)
BER BEIE SCC MSS ACK
Error
Number of
interrupt
request
generated
2
C enable
I
Start
Start stop condition
IDAR register
Slave address
comparison circuit
GCAA INTE
Master
ACK enable
GC-ACK enable
generation circuit
INTBB RSC AL LRB TRX AAS GCA FBT
Interrupt enable
Transmission
complete flag
Bus busy
Repeat start
Start stop condition
detection circuit
Arbitration lost
detection circuit
Last bit
SDA line
SCL line
Slave
Transmit/receive
General call
Detection of first byte
Interrupt request signal
#36*
Pin
PA6/SDA
Pin
PA7/SCL
56
Clock
divider 1
φ
(1/5 to
1/8)
2
C enable
I
——EN CS4 CS3 CS2 CS1 CS0
2
C bus clock control register
I
(ICCR)
: Machine clock frequency
φ
* : Interrupt number
IADR register
Count
4
clock
selector 1
Clock
divider 2
Clock control block
Count
8
clock
selector 2
Sync
Shift clock
generation
circuit
Page 57
To Top / Lineup / Index
MB90570/A Series
9. UART0 (SCI), UART1 (SCI)
UART0 (SCI) and UART1 (SCI) are general-purpose serial data communication interfaces for performing
synchronous or asynchronous communication (start-stop synchronization system).
• Data buffer: Full-duplex double buffer
• Transfer mode: Clock synchronized (with start and stop bit)
Clock asynchronized (start-stop synchronization system)
DTP (Data Transfer Peripheral), which is located between the peripheral circuit outside the device and the
2
F
MC-16LX CPU, receives an interrupt request or DMA request generated by the external peripheral circuit*
for transmission to the F
As request levels for IRQ2 to IRQ7, two types of “H” and “L” can be selected for the intelligent I/O service. Rising
and falling edges as well as “H” and “L” can be selected for an external interrupt request. For IRQ0 and IRQ1,
a request by a level cannot be entered, but both edges can be entered.
* :The external peripheral circuit is connected outside the MB90570/A series device.
Note: IRQ0 and IRQ1 cannot be used for the intelligent I/O service and return from an interrupt.
(1) Register Configuration
• DTP/interrupt factor register (EIRR)
Address
000031
2
MC-16LX CPU. DTP is used to activate the intelligent I/O service or interrupt processing.
............
bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
The delayed interrupt generation module generates interrupts for switching tasks for development on a realtime operating system (REALOS series). The module can be used to generate softwarewise generates hardware
interrupt requests to the CPU and cancel the interrupts.
2
This module does not conform to the extended intelligent I/O service (EI
bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
H
———————R0
———————R/W
—:Reserved
OS).
............
bit 7 bit 0
(PACSR)
Initial value
-------0
B
The DIRR is the register used to control delay interrupt request generation/cancellation. Programming this
register with “1” generates a delay interrupt request. Programming this register with “0” cancels a delay interrupt
request. Upon a reset, an interrupt is canceled. The reserved bit area can be programmed with either “0” or “1”.
For future extension, however, it is recommended that bit set and clear instructions be used to access this
register.
The 8/10-bit A/D converter has a function of converting analog voltage input to the analog input pins (input
voltage) to digital values (A/D conversion) and has the following features.
• Minimum conversion time: 26.3 µs (at machine clock of 16 MHz, including sampling time)
• Compare time: 176/352 machine cycles per channel (176 machine cycles are used for a machine clock below
8 MHz.)
• Conversion method: RC successive approximation method with a sample and hold circuit.
• 8-bit or 10-bit resolution
• Analog input pins: Selectable from eight channels by software
Single conversion mode: Selects and converts one channel.
Scan conv ersion mode:Converts two or more successive channels. Up to eight channels can be programmed.
Continuous conversion mode: Repeatedly converts specified channels.
Stop conversion mode:Stops conversion after completing a conversion for one channel and wait for the next
activation (conversion can be started synchronously.)
• Interrupt requests can be generated and the e xtended intelligent I/O service (EI
end of A/D conversion. Furthermore, A/D conversion result data can be transferred to the memory, enabling
efficient continuous processing.
• When interrupts are enabled, there is no loss of data even in continuous operations because the conversion
data protection function is in effect.
• Starting factors for conversion: Selected from software activation, and external trigger (falling edge).
2
OS) can be started after the
64
Page 65
(1) Register Configuration
• A/D control status register upper digits (ADCS2)
Address
000037
bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
H
BUSYINTINTE PAUS STS1 STS0 STRT RESV
R/WR/WR/WR/WR/WR/WR/WR/W
• A/D control status register lower digits (ADCS1)
The 8-bit D/A converter, which is based on the R-2R system, supports 8-bit resolution mode. It contains two
channels each of which can be controlled in terms of output by the D/A control register.
(1) Register Configuration
• D/A converter data register ch.0 (DADR0)
Address
00003A
H
• D/A converter data register ch.1 (DADR1)
Address
00003B
H
............
bit 15 bit 8 bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
DA07 DA06 DA05 DA04 DA03 DA02 DA01 DA00(DADR1)
R/WR/WR/WR/WR/WR /WR/WR/W
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
DA17 DA16 DA15 DA14 DA13 DA12 DA11 DA10(DADR0)
R/WR/WR/WR/WR/WR/WR/WR/W
Initial value
XXXXXXXX
Initial value
XXXXXXXX
B
B
• D/A control register 0 (DACR0)
Address
00003C
H
............
bit 15 bit 8 bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
• D/A control register 1 (DACR1)
Address
00003D
H
———————DAE1 (DACR0)
———————R/W
R/W: Readable and writable
—:Reserved
X : Undefined
———————DAE0(DACR1)
———————R/W
............
bit 7 bit 0bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
Initial value
-------0
Initial value
-------0
B
B
67
Page 68
MB90570/A Series
(2) Block Diagram
Internal data bus
D/A converter data register ch.1 (DADR1)D/A converter data register ch.0 (DADR0)
The clock timer control register (WTC) controls operation of the clock timer, and time for an interval interrupt.
(1) Register Configuration
• Clock timer control register (WTC)
............
Address
0000AA
bit 15 bit 8
H
R/W: Readable and writable
R : Read only
X : Undefined
(2) Block Diagram
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
WDCS SCEWTIE WTOF WTR WTC2 WTC1 WTC0(Disabled)
R/WRR/WR/WR/WRR/WR/W
Initial value
1X000000
B
Clock counter
1
2
LCLK
×
×
2
3
×
2
2
Power-on reset
Shift to a hardware standby
Shift to stop mode
Clock timer interrupt request
#22*
* : Interrupt number
OF : Overflow
LCLK : Oscillation sub-clock frequency
To watchdog timer
4
5
6
7
8
9
10
11
12
13
14
×
×
×
×
×
×
×
×
×
×
OF
×
2
2
2
2
2
2
2
2
2
2
OF
OF
OF
OF
OF
Counter
clear circuit
To sub-clock oscillation stabilization
time controller
15
×
2
2
OF
Interval
timer selector
WDCS
SCE WTIE WTOF WTR WTC2 WTC1 WTC0
Clock timer control register (WTC)
69
Page 70
To Top / Lineup / Index
MB90570/A Series
15. Chip Select Output
This module generates a chip select signal for facilitating a memory and I/O unit, and is provided with eight chip
select output pins. When access to an address is detected with a hardware-set area set for each pin register,
a select signal is output from the pin.
1 MbyteAdapted to the data ROM and RAM areas,
512 Kbyte
128 Kbyte
128 byte
4 KbyteAdapted to the data ROM and RAM areas,
128 Kbyte
128 byte
128 byte
128 KbyteAdapted to the data ROM and RAM areas,
128 byte
128 byte
11—Disabled
Remarks
area or the program vector is fetched.
and external circuit connection
applications.
and external circuit connection
applications.
and external circuit connection
applications.
00002800
0168FE80
CS4
to 002FFF
H
to 68FEFF
H
H
H
2 KbyteAdapted to the data ROM and RAM areas,
128 byte
and external circuit connection
applications.
10—Disabled
11—Disabled
CS5
0068FF80
to 68FFFF
H
H
01—Disabled
128 byteAdapted to the data ROM and RAM areas,
and external circuit connection
applications.
10—Disabled
11—Disabled
0068FF00
01—Disabled
CS6
to 68FF7F
H
H
128 byteAdapted to the data ROM and RAM areas,
and external circuit connection
applications.
10—Disabled
11—Disabled
CS7———DisabledDisabled
72
Page 73
To Top / Lineup / Index
MB90570/A Series
16. Communications Prescaler Register
This register controls machine clock division.
Output from the communications prescaler register is used for UART0 (SCI), UART1 (SCI), and extended I/O
serial interface.
The communications prescaler register is so designed that a constant baud rate may be acquired for various
machine clocks.
(1) Register Configuration
• Communications prescaler control register 0,1 (CDCR0, CDCR1)
Address
000028
H
00002A
H
R/W: Readable and writable
—:Reserved
............
bit 15 bit 8
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
MD———DIV3DIV2DIV1DIV0(Disabled)
R/W———R/WR/WR/WR/W
Initial value
0 - -- 1111
B
73
Page 74
To Top / Lineup / Index
MB90570/A Series
17. 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 and flag are prepared for each register.
If the value set in the address detection register matches an address and if the interrupt enable bit is set at “1”,
the interrupt flag is set at “1” and the instruction code loaded into the CPU is replaced forcibly with the INT9
instruction code. The interrupt flag is cleared to “0” by writing “0” by an instruction.
(1) Register Configuration
• Program address detection register 0 to 2 (PADR0)
Address
PADR0 (Low order address) : 001FF0
Address
PADR0 (Middle order address) : 001FF1
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
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 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 AD1D AD0E AD0D
H
————R/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
74
R/W: Readable and writable
—:Reserved
X : Undefined
RESV : Reserved bit
Page 75
(2) Block Diagram
To Top / Lineup / Index
MB90570/A Series
Address latch
Address detection
Enable bit
Internal data bus
Detect bit
Reset
register
Set
Compare
INT9
instruction
2
F
MC-16LX
CPU core
75
Page 76
To Top / Lineup / Index
MB90570/A Series
18. ROM Mirroring Function Selection Module
The ROM mirroring function selection module can select what the FF bank allocated the ROM sees through the
00 bank according to register settings.
(1) Register Configuration
• ROM mirroring function selection register (ROMM)
Address
00006F
W : Write only
—:Reserved
bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
H
———————MI
———————W
............
bit 7 bit 0
(Disabled)
Initial value
-------1
B
Note: Do not access this register during operation at addresses 004000
(2) Block Diagram
ROM mirroring function selection
register (ROMM)
Address area
Address
Internal data bus
Data
FF bank00 bank
ROM
to 00FFFFH.
H
76
Page 77
To Top / Lineup / Index
MB90570/A Series
19. Low-power Consumption (Standb y) Mode
The F2MC-16LX has the following CPU operating mode configured by selection of an operating clock and clock
operation control.
•Clock mode
PLL clock mode: A mode in which the CPU and peripheral equipment are driven b y PLL-multiplied oscillation
clock (HCLK).
Main clock mode: A mode in which the CPU and peripheral equipment are driven by divided-by-2 of the
oscillation clock (HCLK).
The PLL multiplication circuits stops in the main clock mode.
• CPU intermittent operation mode
The CPU intermittent operation mode is a mode for reducing power consumption by operating the CPU
intermittently while external bus and peripheral functions are operated at a high-speed.
• Hardware standby mode
The hardware standby mode is a mode f or reducing pow er consumption by stopping cloc k supply to the CPU
by the low-power consumption control circuit, stopping clock supplies to the CPU and peripheral functions
(timebase timer mode), and stopping oscillation clock (stop mode, hardware standb y mode). Of these modes,
modes other than the PLL clock mode are power consumption modes.
(1) Register Configuration
• Clock select register (CKSCR)
Address
0000A1
bit 15 bit 14 bit 13 bit 12bit 11 bit 10bit 9bit 8
H
SCMMCMWS1WS0SCSMCSCS1CS0
RRR/WR/WR/WR/WR/WR/W
• Low-power consumption mode control register (LPMCR)
............
Address
0000A0
bit 15 bit 8
H
R/W: Readable and writable
R : Read only
W : Write only
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
STPSLPSPLRSTTMDCG1CG0SSR(CKSCR)
WWR/WWR/WWR/WR/W
............
bit 7 bit 0
(LPMCR)
Initial value
11111100
Initial value
00011000
B
B
77
Page 78
MB90570/A Series
(2) Block Diagram
Standby control circuit
Low-power consumption mode control register
(LPMCR)
STP
SLP SPL RST TMD CG1 CG0 SSR
CPU intermittent
operation cycle
selector
2
Clock mode
Sleep signal
Stop signal
CPU clock
control circuit
To Top / Lineup / Index
CPU operation
clock
Hardware
standby
Reset
Interrupt
PinX0
X1
Pin
Clock selector
Clock oscillator
SQ
R
SQ
R
PLL multiplication
circuit
Oscillation
clock
SQ
R
SQ
R
SCM
MCM WS1 WS0 SCS MCS CS1 CS0
Clock select register (CKSCR)
1/2
Main
clock
1/2048
Timebase timer
Peripheral clock
control circuit
Machine clock
2
2
1/4
1/4
To watchdog timer
Peripheral function
operation clock
Oscillation
stabilization
time selector
1/8
78
PinX0A
X1A
Pin
S : Set
R : Reset
Q : Output
Sub-clock oscillator
Oscillation
sub-clock
1/1024
Clock timer
1/81/2
1/2
Page 79
ELECTRICAL CHARACTERISTICS
■
1. Absolute Maximum Ratings
Parameter
Symbol
V
CC
MB90570/A Series
Value
Min.Max.
V
– 0.3V
SS
+ 6.0V
SS
To Top / Lineup / Index
(AVSS = VSS = 0.0 V)
UnitRemarks
AV
Power supply voltage
AVRH,
AVRL
DVRHV
Input voltage V
Output voltageV
“L” level maximum output current I
“L” level average output current I
“L” level total maximum output current ΣI
“L” level total average output currentΣI
“H” level maximum output currentI
“H” level average output currentI
“H” level total maximum output current ΣI
“H” level total average output currentΣI
, AVRH, AVRL, and DVRH shall never exceed VCC. AVRL shall never exceed AVRH.
CC
and VO shall never exceed VCC + 0.3 V.
I
*3: The maximum output current is a peak value for a corresponding pin.
*4: Average output current is an average current value observed for a 100 ms period for a corresponding pin.
*5: Total average current is an average current value observed for a 100 ms period for all corresponding pins.
Note: Average output current = operating × operating efficiency
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.
79
Page 80
MB90570/A Series
2. Recommended Operating Conditions
Parameter
Symbol
Min.Max.
To Top / Lineup / Index
(AVSS = VSS = 0.0 V)
Value
UnitRemarks
Power supply voltage
Smoothing capacitorC
Operating temperatureT
V
CC
V
CC
V
CC
S
A
3.05.5VNormal operation (MB90574/A)
4.55.5VNormal operation (MB90F574/A)
3.05.5V
Retains status at the time of
operation stop
0.11.0µF*
–40+85°C
* : Use a ceramic capacitor or a capacitor with equivalent frequency characteristics. The smoothing capacitor to be
connected to the V
pin must have a capacitance value higher than CS.
CC
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.
• C pin connection circuit
80
C
C
S
Page 81
3. DC Characteristics
(AVCC = VCC = 5.0 V ± 10%, AVSS = VSS = 0.0 V, TA = –40°C to +85°C)
* :The current value is preliminary value and may be subject to change f or enhanced characteristics without previous
notice.
82
Page 83
4. AC Characteristics
(1) Reset, Hardware Standby Input Timing
Parameter
Reset input timet
Hardware standby input time t
Symbol Pin name Condition
RSTL
HSTL
To Top / Lineup / Index
MB90570/A Series
(AV
= VCC = 5.0 V ±10%, AVSS = VSS = 0.0 V, TA = –40°C to +85°C)
CC
Value
Min.Max.
RST
HST4 tCP*—ns
—
4 t
*—ns
CP
UnitRemarks
* :For t
(internal operating clock cycle time), refer to “(3) Clock Timings.”
CP
RST
HST
• Measurement conditions for AC characteristics
Pin
C
L
CL is a load capacitance connected to a pin under test.
Capacitors of C
be connected to address data bus (AD15 to AD00), RD, and WR pins.
L
RSTL
HSTL
t
, t
0.2 V
CC
= 30 pF must be connected to CLK and ALE pins, while CL of 80 pF must
0.2 V
CC
83
Page 84
MB90570/A Series
(2) Specification for Power-on Reset
Parameter
Power supply rising timet
Power supply cut-off timet
* :V
must be kept lower than 0.2 V before power-on.
CC
Notes: • The above ratings are values for causing a power-on reset.
• There are internal registers which can be initialized only by a power-on reset.
Apply power according to this rating to ensure initialization of the registers.
Symbol Pin name Condition
R
OFF
V
CC
V
CC
R
t
—
To Top / Lineup / Index
(AV
= VSS = 0.0 V, TA = –40°C to +85°C)
SS
Value
Min.Max.
0.0530ms*
4—ms
UnitRemarks
Due to repeated
operations
0.2 V
2.7 V
0.2 V0.2 V
OFF
t
It is recommended to keep the rising
speed of the supply voltage at 50 mV/ms
or slower.
V
CC
Sudden changes in the power supply voltage may cause a power-on reset.
To change the power supply voltage while the device is in operation, it is recommended to raise the voltage
smoothly to suppress fluctuations as shown below.
In this case, change the supply voltage with the PLL clock not used. If the voltage drop is 1 mV or fewer per
second, however, you can use the PLL clock.
V
CC
3.0 V
V
SS
84
Page 85
(3) Clock Timings
Parameter
Clock frequency
Clock cycle time
Input clock pulse width
Input clock rising/falling time
Internal operating clock
frequency
Internal operating clock cycle
time
Frequency fluctuation rate
locked
To Top / Lineup / Index
MB90570/A Series
(AV
= VCC = 5.0 V ±10%, AVSS = VSS = 0.0 V, TA = –40°C to +85°C)
* : The frequency fluctuation rate is the maximum deviation rate of the preset center frequency when the multiplied
PLL signal is locked.
+
α
+
| α |
∆
f = × 100 (%)
f
O
Center frequency
f
O
α
–
–
The PLL frequency deviation changes periodically from the preset frequency “(about CLK × (1CYC to 50 CYC)”,
thus minimizing the chance of worst values to be repeated (errors are minimal and negligible for pulses with
long intervals).
85
Page 86
MB90570/A Series
• X0, X1 clock timing
HCYL
t
To Top / Lineup / Index
0.8 V
X0
• X0A, X1A clock timing
0.8 V
X0A
• PLL operation guarantee range
Relationship between internal operating clock
(V)
frequency and power supply voltage
C
C
V
5.5
e
g
a
t
l
4.5
o
v
y
l
p
p
u
3.3
s
r
e
3.0
w
o
P
Operation guarantee range
(MB90F574)
18316(MHz)
Internal clock f
CC
WH
P
CC
WLH
P
PLL operation
guarantee range
CP
12
0.8 V
LCYL
t
0.8 V
CC
0.2 V
CC
0.2 V
0.8 V
CC
CC
CF
t
CC
CF
t
0.2 V
CC
WL
P
0.2 V
CC
WLL
P
0.8 V
CR
t
CC
CR
t
Operation guarantee range MB90V570/A
Operation guarantee range MB90574A
86
Relationship between oscillating frequency, internal
operating clock frequency, and power supply voltage
(MHz)
Multiplied-
16
14
P
C
f
k
c
o
l
c
9
l
a
8
n
r
e
t
n
I
by-4
Multipliedby-3
Multiplied-by-2
Multiplied-by-1
Not multiplied
4
34816
Oscillation clock F
C
(MHz)
Page 87
MB90570/A Series
The AC ratings are measured for the following measurement reference voltages.