The MB90570 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 I
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
2C*2
bus
The MB90570 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
MC stands for FUJITSU Flexible Microcontroller.
*1: F
*2: Purchase of Fujitsu I
components in an I
defined by Philips.
PACKAGE
■
120-pin plastic LQFP
(FPT-120P-M05)
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
(FPT-120P-M13)
120-pin plastic LQFP
(FPT-120P-M21)
MB90570 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 execution 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
MB90570 Series
PRODUCT LINEUP
■
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/AMB90574C
FPT-120P-M05×
FPT-120P-M13
FPT-120P-M21× ×
: Available ×: Not available
Note: For more inf ormation about each package, see section “■ Package Dimensions.”
4.5 V to 5.5 V
5
MB90570 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 development tool.)
• In the MB90F574/574/573/F574A/574C, images from FF4000H to FFFFFFH are mapped to bank 00, and
FF0000
• The products designated with /A or /C are different from those without /A or /C in that they are DTP/externallyinterrupted types which return from standby mode at the ch.0 to ch.1 edge request.
H to FF3FFFH to bank FF only.
H to FFFFFFH are mapped to bank 00, and FE0000H to FF3FFFH to
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
(Continued)
,FPT-120P-M21
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
MB90570 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
(Continued)
,FPT-120P-M21
9
MB90570 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
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
Pin no.
1
LQFP-120 *
QFP-120 *
Pin nameCircuit typeFunction
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
MB90570 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 MB90574C.
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
(Continued)
,FPT-120P-M21
11
MB90570 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,94VCCPower
33,63,
91,119
42AVCCH
43AVRHJ
44AVRLH
45AVSSH
38DVCCH
39DVSSH
1
2
SDA
SCL
PB0,
PB1 to PB5
IRQ0,
IRQ1 to IRQ5
ADTG
VSSPower
E
supply
supply
This is a general purpose I/O port.
This pin is also used as the data I/O pin for the I2C interface. This
function is valid when the I
2
I
C interface is operating, this port should be set to the input level
(DDRA: bit6 = 0).
This is a general purpose I/O port.
This pin is also used as the clock I/O pin for the I2C interface. This
function is valid when the I
2
I
C interface is operating, this port should be set to the input level
(DDRA: bit7 = 0).
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 MB90574C.
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
less 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 f or operation. While the
2
C interface is enabled f or operation. While the
*1: FPT-120P-M05
*2: FPT-120P-M13
12
,FPT-120P-M21
MB90570 Series
I/O CIRCUIT TYPE
■
TypeCircuitRemarks
A• Oscillator circuit
X1
X0
Standby control signal
B• Oscillator circuit
X1A
X0A
Oscillator recovery resistance for high
speed = approx. 1 M
Oscillator recovery resistance for low
speed = approx. 1 MΩ
Ω
Standby control signal
C• Hysteresis input pin
Resistance value = approx. 50 kΩ (typ.)
R
Hysteresis input
D• CMOS hysteresis input pin with input pull-
CC
V
V
P-ch
Selective signal either
with a pull-up resistor or
CC
without it.
P-ch
up control
• CMOS level output.
• CMOS hysteresis input
(Includes input shut down standby control
function)
OL
= 4 mA
I
N-ch
R
Standby control for input interruption
Hysteresis input
• Pull-up resistance value =
approx. 50 kΩ(typ.)
I
OL = 4mA
(Continued)
13
MB90570 Series
TypeCircuitRemarks
E• CMOS hysteresis input/output pin.
R
IOL = 4 mA
CC
V
P-ch
N-ch
Hysteresis input
Standby control for input interruption
• CMOS level output
• CMOS hysteresis input
(Includes input shut down standby control
function)
I
OL = 4 mA
F• CMOS hysteresis input/output pin.
CC
V
P-ch
• CMOS level output
• CMOS hysteresis input
(Includes input shut down standby control
function)
OL = 10 mA (Large current port)
N-ch
R
OL
= 10 mA
I
G• C pin output
V
Standby control for input interruption
CC
Hysteresis input
I
(capacitance connector pin).
P-ch
N-ch
H• Analog power supply protector
CC
V
On the MB90F574 this pin is not
connected (NC).
circuit.
P-ch
AVP
N-ch
14
I• CMOS hysteresis input/output
CC
V
P-ch
• Analog output/CMOS output
dual-function pin (CMOS output is not
available during analog output.)
(Analog output priority: DAE = 1)
OL
= 4 mA
I
N-ch
R
Standby control for input interruption
Hysteresis input
DAO
• Includes input shout down standby
control function.
I
OL = 4mA
(Continued)
MB90570 Series
TypeCircuitRemarks
J• A/D converter ref+ power supply input
CC
V
P-ch
N-ch
ANE
AVR
ANE
P-ch
N-ch
pin(AVRH), with power supply
protector circuit.
K• CMOS hysteresis input /analog input
CC
V
P-ch
dual-function pin.
• CMOS output
• Includes input shut down function at input
N-ch
R
Standby control for input interruption
OL
I
= 4 mA
L• Hysteresis input
CC
V
Hysteresis input
Analog input
N-ch
shut down standby.
• N-ch open-drain output
• Includes input shut down standby control
function.
I
OL= 4mA
OL
= 4 mA
I
N-ch
R
Hysteresis input
Standby control for input interruption
15
MB90570 Series
HANDLING DEVICES
■
1.Preventing Latchup
CMOS ICs may cause latchup in the following situations:
• When a voltage higher than Vcc or lower than Vss is applied to input or output pins.
• When a voltage exceeding the rating is applied between Vcc and Vss.
• When AVcc power is supplied prior to the Vcc voltage.
In turning on/turning off the analog power supply , mak e sure the analog po wer v oltage (AV
analog input voltages not exceed the digital voltage (V
CC).
CC, AVRH, D VCC)and
2.Treatment of unused pins
Leaving unused input pins open may result in misbehavior or latch up and possible permanent damage of the
device. Therefor they must be tied to V
more than 2 k<Symbol>W.
Unused bidirectional pins should be set to the output state and can be left open, or the input state with the above
described connection.
CC or Ground through resistors. In this case those resistors should be
3.Notes on Using External Clock
In using the external clock, drive X0 pin only and leave X1 pin unconnected.
• Using external clock
MB90570 series
X0
Open
X1
4. Unused Sub Clock Mode
If sub clock modes are not used, the oscillator should be connected to the X01A pin and X1A pin
5.Power Supply Pins (VCC/VSS)
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, to prevent 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
16
CC and VSS pins via lowest impedance to power lines.
MB90570 Series
It is recommended to provide a bypass capacitor of around 0.1 µF between VCC and VSS pin near the device.
Using
•
power supply pins
VCC
VSS
VCC
VSS
MB90570 series
VCC
VSS
VSS
VCC
VSS
VCC
6.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 do 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.
7.Turning-on Sequence of Power Supply to A/D Converter and Analog Inputs
Make sure to turn on the A/D converter power supply, D/A converter power supply (AVCC, AVR H, AVRL ,
DV
CC,DVSS) and analog inputs (AN0 to AN7) after turning-on the digital power supply (VCC).
Turn-off the digital power after turning off the A/D converter supply and analog inputs. In this case, make sure
that the voltage does not exceed AVRH or AVCC (tur ning on/off the analog and digital power supplies simultaneously is acceptable).
8.Connection of Unused Pins of A/D Converter
Connect unused pins of A/D converter to AVCC = VCC, AVSS = AVRH = DVCC = VSS.
9.N.C. Pins
The N.C. (internally connected) pins must be opened for use.
10. Notes on Energization
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).
11. Indeterminate outputs from ports 0 and 1
The outputs from ports 0 and 1 become indeterminate during oscillation setting time of step-down circuit (during
a power-on reset) after the power is turned on. (MB90573, MB90574, MB90V570, MB90V570A)
17
MB90570 Series
The series without built-in step-down circuit have no oscillation setting time of step-down circuit, so outputs
should not become indeterminate. (MB90F574,MB90F574A,MB90574C)
Timing chart of indeterminate outputs from ports 0 and 1
Oscillation setting time *
Step-down circuit setting time *
VCC (power-supply pin)
PONR (power-on reset) signal
RST (external asynchronous reset) signal
RST (internal reset) signal
Oscillation clock signal
KA (internal operating clock A) signal
KB (internal operating clock B) signal
PORT (port output) signal
*1: Step-down circuit setting time 217/oscillation clock frequency (oscillation clock frequency of 16 MHz: 8.19 ms)
*2: Oscillation setting time2
18
/oscillation clock frequency (oscillation clock frequency of 16 MHz: 16.38 ms)
Period of indeterminate
1
2
12. Initialization
In the device, there are internal registers which are initialized only by a po wer-on reset. Turn on the power again
to initialize these registers.
13. Return from standby state
If the power-supply voltage goes below the standby RAM holding voltage in the standby state, the device may
fail to return from the standby state. In this case, reset the de vice via the external reset pin to return to the normal
state.
14. Precautions for Use of ’DIV A, Ri,’ and ’DIVW A, Ri’ Instructions
The signed multiplication-division instructions ’DIV A, Ri,’ and ’DIVW A, RWi’ should be used when the corresponding bank registers (DTB, ADB, USB , SSB) are set to value ’00h.’ If the corresponding bank registers (DTB,
ADB, USB, SSB) are set to a value other than ’00h,’ then the remainder obtained after the execution of the
instruction will not be placed in the instruction operand register.
15. Precautions for Use of REALOS
Extended intelligent I/O service (EI2OS) cannot be used, when REALOS is used.
18
BLOCK DIAGRAM
■
MB90570 Series
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
OL
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.
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
H, the contents of the ROM at FFC000H are
accessed actually . Since the ROM area of the FF bank e xceeds 48 kbytes, the whole area cannot be reflected
in the image for the 00 bank. The ROM data at FF4000
for 00400
to FFFFFF
H 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 were the image
20
2
F
MC-16LX CPU PROGRAMMING MODEL
■
• Dedicated registers
MB90570 Series
AHAL
USP
SSP
PS
PC
DPR
PCB
DTB
USB
: Accumulator (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.
21
MB90570 Series
• General-purpose registers
Maximum of 32 banks
H
000180
• 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
PS
ILM2B4ILM1 ILM0B3B2B1B0—ISTNZVC
+ (RP × 10H)
R7
R5
R3
R1
RW3
RW2
RW1
RW0
16-bit
R6
R4
R2
R0
RW7
RL3
RW6
RW5
RL2
RW4
RL1
RL0
22
Initial value
—: Reserved
X : Undefined
00 00000010XXXXX
—
I/O MAP
■
MB90570 Series
Address
000000
Abbreviated
register
Register name
name
HPDR0Port 0 data register R/WPort 0X X XXXXXX B
Read/
write
Resource nameInitial value
000001HPDR1Port 1 data register R/WPort 1X X XXXXXX B
000002HPDR2Port 2 data register R/WPort 2X X XXXXXX B
000003HPDR3Port 3 data register R/WPort 3X X XXXXXX B
000004HPDR4Port 4 data register R/WPort 4X X XXXXXX B
000005HPDR5Port 5 data register R/WPort 5X X XXXXXX B
000006HPDR6Port 6 data register R/WPort 6X X XXXXXX B
000007HPDR7Port 7 data register R/WPort 7X X XXXXXX B
000008HPDR8Port 8 data register R/WPort 8X X XXXXXX B
000009HPDR9Port 9 data register R/WPort 9X X XXXXXX B
00000AHPDRAPort A data register R/WPort AXXXXX X X X B
00000BHPDRBPort B data register R/WPort BXXXXX X X X B
00000CHPDRCPort C data registerR/WPort CXXX X X X X X B
00000DH
to
00000F
000010
H
HDDR0Port 0 direction registerR/WPort 00 0 0 0 0 0 0 0 B
(Disabled)
000011HDDR1Port 1 direction registerR/WPort 10 0 0 0 0 0 0 0 B
000012HDDR2Port 2 direction registerR/WPort 20 0 0 0 0 0 0 0 B
000013HDDR3Port 3 direction registerR/WPort 30 0 0 0 0 0 0 0 B
000014HDDR4Port 4 direction registerR/WPort 40 0 0 0 0 0 0 0 B
000015HDDR5Port 5 direction registerR/WPort 50 0 0 0 0 0 0 0 B
000016HDDR6Port 6 direction registerR/WPort 60 0 0 0 0 0 0 0 B
000017HDDR7Port 7 direction registerR/WPort 7– – – 0 0 0 0 0 B
000018HDDR8Port 8 direction registerR/WPort 80 0 0 0 0 0 0 0 B
000019HDDR9Port 9 direction registerR/WPort 90 0 0 0 0 0 0 0 B
00001AHDDRAPort A direction registerR/WPort A0 0 0 0 0 0 0 0 B
00001BHDDRBPort B direction registerR/WPort B0 0 0 0 0 0 0 0 B
00001CHDDRCPort C direction registerR/WPort C0 0 0 0 0 0 0 0 B
00001DHODR4Port 4 output pin registerR/WPort 40 0 0 0 0 0 0 0 B
Port 8,
00001EHADERAnalog input enable registerR/W
8/10-bit
11111111B
A/D converter
00001FH(Disabled)
000020
000021HSCR0Serial control register 0R/W0 0 0 0 0 1 0 0 B
HSMR0Serial mode register 0R/W
UART0
(SCI)
00000000B
(Continued)
23
MB90570 Series
Address
000022
Abbreviated
register
name
SIDR0/
H
SODR0
Register name
Serial input data register 0/
serial output data register 0
Read/
write
R/W
Resource
name
UART0
Initial value
XXXXXXXX
(SCI)
000023HSSR0Serial status register 0R/W0 0 0 0 1 – 0 0 B
000024HSMR1Serial mode register 1R/W
00000000B
000025HSCR1Serial control register 1R/W0 0 0 0 0 1 0 0 B
UART1
000026H
SIDR1/
SODR1
Serial input data register 1/
serial output data register 1
R/WXXXXXXXX
(SCI)
000027HSSR1Serial status register 1R/W0 0 0 0 1 – 0 0 B
Communica-
000028HCDCR0
Communications prescaler control
register 0
R/W
tions
prescaler
0–––1111
register 0
000029H(Disabled)
Communica-
00002A
HCDCR1
Communications prescaler control
register 1
R/W
tions
prescaler
0–––1111B
register 0
00002BH
to
(Disabled)
00002FH
000030
000031HEIRRDTP/interrupt factor registerR/WXXXXXXXX B
HENIRDTP/interrupt enable registerR/W
00000000B
DTP/external
interrupt cir-
000032H
ELVRRequest level setting registerR/W
cuit
00000000
000033H00000000B
000034H
(Disabled)
000035
000036HADCS1
000037HADCS2
H
A/D control status register lower
digits
A/D control status register upper
digits
R/W
R/W or W00000000
8/10-bit A/D
00000000B
converter
000038HADCR1A/D data register lower digitsRXX X X X X X X B
000039HADCR2A/D data register upper digitsW0 0 0 0 1 – X X B
00003AHDADR0D/A converter data register ch.0R/W
00003BHDADR1D/A converter data register ch.1R/WXXXX X X X X B
00003CHDACR0D/A control register 0R/W–––––––0B
8-bit D/A
converter
XXXXXXXX
00003DHDACR1D/A control register 1R/W–––––––0B
00003EHCLKRClock output enable registerR/W
Clock monitor
function
––––0000
00003FH(Disabled)
000040
000041HPRLH0PPG0 reload register H ch.0R/WXXXX X X X X B
HPRLL0PPG0 reload register L ch.0R/W
8/16-bit PPG
timer 0
XXXXXXXXB
(Continued)
B
B
B
B
B
B
B
24
MB90570 Series
Address
register
Register name
name
Abbreviated
000042
HPRLL1PPG1 reload register L ch.1R/W
000043HPRLH1PPG1 reload register H ch.1R/WXX X X X X XX B
000044HPPGC0
000045HPPGC1
000046HPPGOE
PPG0 operating mode control
register ch.0
PPG1 operating mode control
register ch.1
PPG0 and 1 output control registers
ch.0 and ch.1
000047H(Disabled)
000048
HSMCSL0
000049HSMCSH0
Serial mode control lower status
register 0
Serial mode control upper status
register 0
00004AHSDR0Serial data register 0R/WXXXXXXXX B
00004BH(Disabled)
00004C
HSMCSL1
00004DHSMCSH1
Serial mode control lower status
register 1
Serial mode control upper status
register 1
00004EHSDR1Serial data register 1R/WXXXXXXXX B
00004FH(Disabled)
000050
H
IPCP0ICU data register ch.0R
000051HXXXXXXXXB
000052H
IPCP1ICU data register ch.1R
000053HXXXXXXXXB
000054HICS01ICU control status registerR/W0 0 0 0 0 0 0 0 B
000055H(Disabled)
000056
H
TCDTFree run timer data registerR/W
000057H00000000B
000058HTCCSFree run timer control status registerR/W0 0 0 0 0 0 0 0 B
000059H(Disabled)
00005A
H
OCCP0OCU compare register ch.0R/W
00005BHXXXXXXXXB
00005CH
OCCP1OCU compare register ch.1R/W
00005DHXXXXXXXXB
00005EH
OCCP2OCU compare register ch.2R/W
00005FHXXXXXXXXB
Read/
write
Resource nameInitial value
8/16-bit PPG
XXXXXXXXB
timer 1
R/W
R/W
R/W
R/W
8/16-bit PPG
timer 0
8/16-bit PPG
timer 1
8/16-bit PPG
timer 0, 1
0X000XX1B
0X000001
000000XXB
––––0000B
Extended I/O
R/W00000010
R/W
serial interface 0
––––0000B
Extended I/O
R/W00000010B
serial interface 1
XXXXXXXX
16-bit I/O timer
(input capture
XXXXXXXX
(ICU) section)
16-bit I/O timer
00000000
(16-bit free run
timer section)
XXXXXXXX
16-bit I/O timer
XXXXXXXX
(output compare
(OCU) section)
XXXXXXXX
(Continued)
B
B
B
B
B
B
B
B
25
MB90570 Series
Address
register
Register name
name
Abbreviated
000060
H
OCCP3OCU compare register ch.3R/W
000061HXXXXXXXXB
000062HOCS0OCU control status register ch.0R/W0 0 0 0 – – 0 0 B
000063HOCS1OCU control status register ch.1R/W– – – 0 0 0 0 0 B
000064HOCS2OCU control status register ch.2R/W0 0 0 0 – – 0 0 B
000065HOCS3OCU control status register ch.3R/W– – – 0 0 0 0 0 B
000066H
control register
0000A1HCKSCRClock select registerR/W1 1 1 1 1 1 0 0 B
0000A2H
to
0000A4
0000A5
H
HARSR
Automatic ready function select
register
(Disabled)
0000A6HHACRUpper address control registerW0 0 0 0 0 0 0 0 B
0000A7HECSRBus control signal select registerW0 0 0 0 0 0 0 0 B
0000A8HWDTCWatchdog timer control registerR/WWatchdog timerX X X XXXXX B
0000A9HTBTCTimebase timer control registerR/WTimebase timer1 – – 0 0 1 0 0 B
0000AAHWTCClock timer control registerR/WClock timer1 X 0 0 0 0 0 0 B
Read/
write
Resource nameInitial value
––––0000B
Chip select
output
R/WPort 000000000
R/WPort 100000000B
R/WPort 600000000B
Address match
R/W
detection
00000000
function
Delayed
R/W
interrupt
generation
–––––––0B
module
R/W
Low-power
00011000B
consumption
(standby) mode
W
0011––00B
External bus pin
(Continued)
B
B
27
MB90570 Series
(Continued)
Address
0000AB
to
0000AD
0000AE
Abbreviated
register
Register name
name
H
(Disabled)
H
HFMCSFlash control registerR/WFlash interface0 0 0 X 0 XX 0 B
Read/
write
Resource nameInitial value
0000AFH(Disabled)
0000B0
HICR00Interrupt control register 00R/W
00000111B
0000B1HICR01Interrupt control register 01R/W0 0 0 0 0 1 1 1 B
0000B2HICR02Interrupt control register 02R/W0 0 0 0 0 1 1 1 B
0000B3HICR03Interrupt control register 03R/W0 0 0 0 0 1 1 1 B
0000B4HICR04Interrupt control register 04R/W0 0 0 0 0 1 1 1 B
0000B5HICR05Interrupt control register 05R/W0 0 0 0 0 1 1 1 B
0000B6HICR06Interrupt control register 06R/W0 0 0 0 0 1 1 1 B
0000B7HICR07Interrupt control register 07R/W0 0 0 0 0 1 1 1 B
0000B8HICR08Interrupt control register 08R/W0 0 0 0 0 1 1 1 B
Interrupt
controller
0000B9HICR09Interrupt control register 09R/W0 0 0 0 0 1 1 1 B
0000BAHICR10Interrupt control register 10R/W0 0 0 0 0 1 1 1 B
0000BBHICR11Interrupt control register 11R/W0 0 0 0 0 1 1 1 B
0000BCHICR12Interrupt control register 12R/W0 0 0 0 0 1 1 1 B
0000BDHICR13Interrupt control register 13R/W0 0 0 0 0 1 1 1 B
0000BEHICR14Interrupt control register 14R/W0 0 0 0 0 1 1 1 B
0000BFHICR15Interrupt control register 15R/W0 0 0 0 0 1 1 1 B
0000C0H
to
0000FF
(External area)*
H
1
000100H
to
000###
(RAM area)*
H
2
000###H
to
(Reserved area)*
3
001FEFH
001FF0H
001FF1HProgram address detection register 1R/WXXXXX X X X B
PADR0
001FF2HProgram address detection register 2R/WXXXXX X X X B
Program address detection register 0R/W
Address match
XXXXXXXX
detection
001FF3H
001FF4HProgram address detection register 4R/WXXXXX X X X B
PADR1
Program address detection register 3R/WX X X X X XXX
function
001FF5HProgram address detection register 5R/WXXXXX X X X B
001FF6H
to
001FFF
H
(Reserved area)
B
B
28
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.
MB90570 Series
*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 ####H 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
29
MB90570 Series
INTERRUPT FA CTORS, INTERRUPT VECTORS, INTERRUPT CONTROL REGISTER