The MB90560/565 series is a general-purpose 16-bit microcontroller designed for industrial, OA, and process
control applications that require high-speed real-time processing. The device f eatures a multi-function timer ab le
to output a programmable waveform.
The microcontroller instruction set is based on the same AT architecture as the F
with additional instructions for high-lev el languages, extended addressing modes, enhanced signed multiplication
and division instructions, and a complete range of bit manipulation instructions. The microcontroller has a
32-bit accumulator for processing long word (32-bit) data.
2
MC-8L and F2MC-16L families
DS07-13715-3E
FEATURES
■
•Clock
• Internal oscillator circuit and PLL clock multiplication circuit
• Oscillation clock
Clock speed selectable from either the machine cloc k, main clock, or PLL clock. The main clock is the oscillation
clock divided into 2 (0.5 MHz to 8 MHz for a 1 MHz to 16 MHz base oscillation) . The PLL cloc k is the oscillation
clock multiplied by one to four (4 MHz to 16 MHz for a 4 MHz base oscillation) .
• Minimum instruction execution time : 62.5 ns (for oscillation = 4 MHz, PLL clock setting = × 4, V
• Enhanced calculation precision using a 32-bit accumulator
• Enhanced signed multiplication and division instructions and RETI instruction
• Instruction set designed for high level language (C) and multi-tasking
• Uses a system stack pointer
• Symmetric instruction set and barrel shift instructions
• Program patch function (2 address pointers) .
• 4-byte instruction queue
• Interrupt function
• Priority levels are programmable
• 32 interrupts
• Data transfer function
• Extended intelligent I/O service function : Up to 16 channels
• Low-power consumption modes
• Sleep mode (CPU operating clock stops.)
• Timebase timer mode (Only oscillation clock and timebase timer continue to operate.)
• Stop mode (Oscillation clock stops.)
• CPU intermittent operation mode (The CPU operates intermittently at the specified interval.)
• Package
• LQFP-64P (FTP-64P-M09 : 0.65 mm pin pitch)
• QFP-64P (FTP-64P-M06 : 1.00 mm pin pitch)
• SH-DIP (DIP-64P-M01 : 1.778 mm pin pitch)
• Process : CMOS technology
PERIPHERAL FUNCTIONS (RESOURCES)
■
• I/O ports : 51 ports (max.)
• Timebase timer : 1 channel
• Watchdog timer : 1 channel
• 16-bit reload timer : 2 channel 5
• Multi-function timer
• 16-bit free-run timer : 1 channel
• Output compare : 6 channels
Can output an interrupt request when a match occurs between the count in the 16-bit freerun timer and the
value set in the compare register.
• Input capture : 4 channels
On detecting an active edge on the input signal from an external input pin, copies the count value of the 16bit freerun timer to the input capture data register and generates an interrupt request.
• 8/16-bit PPG timer (8-bit × 6 channels or 16-bit × 3 channels) The period and duty of the output pulse can
be set by the program.
• Waveform generator (8-bit timer : 3 channels)
•
UART : 2 channels
• Full-duplex, double-buffered (8-bit)
• Can be set to asynchronous or clock synchronous serial transfer (I/O expansion serial) operation
• DTP/external interrupt circuit (8 channels)
• External interrupts can activate the extended intelligent I/O service.
• Generates interrupts in response to external interrupt inputs.
2
• Delayed interrupt generation module
• Generates an interrupt request for task switching.
• 8/10-bit A/D converter : 8 channels
• 8-bit or 10-bit resolution selectable
MB90560/565 Series
3
MB90560/565 Series
PRODUCT LINEUP
■
1.MB90560 Series
Part NumberMB90F562/BMB90562/AMB90561/AMB90V560
Classification
ROM size64 Kbytes32 KbytesNo ROM
RAM size2 Kbytes1 Kbytes4 Kbytes
Dedicated emula-
tor power supply
CPU functions
PortsI/O ports (CMOS) : 51
UART
16-bit reload timer
Multi-function
timer
Internal flash memory
product
*
Number of instructions : 351
Minimum instruction execution time : 62.5 ns for a 4 MHz oscillation (with ×4 multiplier)
Addressing modes : 23 modes
Program patch function : 2 address pointers
Maximum memory space : 16 Mbytes
Full-duplex, double-buffered
Clock synchronous or asynchronous operation selectable
Can be used as I/O serial
Internal dedicated baud rate generator
2 channels
Sleep mode, timebase timer mode, stop mode, and CPU intermittent operation mode
MB90560/565 Series
2.MB90565 Series
Part NumberMB90F568MB90568MB90567
ClassificationInternal flash memory productInternal mask ROM product
ROM size128 Kbytes96 Kbytes
RAM size4 Kbytes4 Kbytes
Dedicated emula-
tor power supply
CPU functions
PortsI/O ports (CMOS) : 51
UART
16-bit reload timer
Multi-function
timer
8/10-bit A/D
converter
*
Number of instructions : 351
Minimum instruction execution time : 62.5 ns for a 4 MHz oscillation (with ×4 multiplier)
Addressing modes : 23 modes
Program patch function : 2 address pointers
Maximum memory space : 16 Mbytes
Full-duplex, double-buffered
Clock synchronous or asynchronous operation selectable
Can be used as I/O serial
Internal dedicated baud rate generator
2 channels
(Only support MB90F562/B, MB90561/A, and MB90562/A.)
* : Not support on the MB90F568, MB90567, and MB90568.
9
MB90560/565 Series
■ PIN DESCRIOTIONS
Pin No.
QFPM06 LQFPM09SDIP
23, 2422, 2330, 31X0, X1AOscillator
201927RST
26 to 3325 to 3233 to 40
34 to 4033 to 3941 to 47
414048
424149
434250
Pin
Name
P00 to
P07
P10 to
P16
INT0 to
INT6
P17
FRCK
P20
TIN0
P21
TO0
Circuit
Type
B
C
C
C
D
D
State/
Function
*
at Reset
Reset
inputs
outputs)
input
Port
(Hi-Z
Description
Connect oscillator to these pins.
If using an external clock, leave X1 open.
External reset input pin
I/O ports
I/O ports
Can be used as interrupt request inputs ch0 to ch6.
In standby mode, these pins can operate as inputs
by setting the bits corresponding to EN0 to EN6 to
“1” and setting as input ports. When used as a port,
set the corresponding bits in the analog input
enable register (ADER) to “port”.
I/O port
External clock input pin for the freerun timer.
This pin can be used as an input when set as the
clock input for the freerun timer and set as an input
port. When used as a port, set the corresponding
bit in the analog input enable register (ADER) to
“port”.
I/O port
External clock input pin for reload timer ch0. This
pin can be used as an input when set as the external clock input and set as an input port.
I/O port
Event output pin for reload timer ch0. Output oper-
ates when event output is enabled.
P22
444351
TIN1
P23
454452
TO1
P24 to
P27
46 to 4945 to 4853 to 56
IN0 to
IN3
* : See “■ I/O CIRCUITS” for details of the circuit types.
10
D
D
D
I/O port
External clock input pin for reload timer ch1. This
pin can be used as an input when set as the external clock input and set as an input port.
I/O port
Event output pin for reload timer ch1. Output oper-
ates when event output is enabled.
I/O ports
Trigger input pins for input capture ch0 to ch3.
These pins can be used as an input when set as an
input capture trigger input and set as an input port.
(Continued)
MB90560/565 Series
Pin No.
QFPM06 LQFPM09SDIP
51 to 5650 to 5558 to 63
59582
60593
Pin
Name
P30 to
P35
RTO0
to
RTO5
P36
SIN0
P37
SOT0
P40
Cir-
cuit
Type
E
D
D
State/
Function
*
at Reset
inputs
(Hi-Z)
Port
Description
I/O ports
Event output pins for the output compare and wave-
form generator output pins. The pins output the
specified waveform generated by the waveform
generator. If not using waveform generation, these
terminals enable output compare event output to
use as output compare outputs. When used as a
port, set the corresponding bits in the analog input
enable register (ADER) to “port”.
I/O port
Serial data input pin for UART ch0.
This pin is used continuously when input operation
is enabled for UART ch0. In this case, do not use as
a general input pin.
I/O port
Serial data output pin for UART ch0.
Output operates when UART ch0 output is enabled.
I/O port
61604
SCK0
P41 to
P46
62 to 64,
1 to 3
61 to 64,
1, 2
5 to 10
PPG0
to
PPG5
P50 to
P57
4 to 113 to 1011 to 18
AN0 to
AN7
121119AV
CC
131220AVRG
141321AV
SS
D
D
F
Analog
inputs
Power
supply
input
Reference voltage input
Power
supply
input
Serial clock I/O pin for UART ch0.
Output operates when UART ch0 clock output is
enabled.
I/O ports
Output pins for PPG ch0 to ch5.
The outputs operate when output is enabled for
PPG ch0 to ch5.
I/O ports
Analog input pins for the A/D converter. Input is
available when the corresponding analog input enable register bits are set. (ADER : bit0 to bit7)
VCC power supply input pin for A/D converter.
Reference voltage input pin for A/D converter.
Ensure that the voltage does not exceed V
CC.
VSS power supply input pin for A/D converter.
* : See “■ I/O CIRCUITS” for details of the circuit types.
(Continued)
11
MB90560/565 Series
(Continued)
Pin No.
QFPM06 LQFPM09SDIP
Pin
Name
Circuit
Type
Function
*1
at Reset
State/
Description
151422
161523
171624
181725
P60
SIN1
P61
SOT1
P62
SCK1
P63
INT7
DTTI
D
D
D
D
Port input
(Hi-Z)
I/O port
Serial data input pin for UART ch1.
This pin is used continuously when input operation is enabled for UART ch1. In this case, do not
use as a general input pin.
I/O port
Serial data output pin for UART ch1.
Output operates when UART ch1 output is enabled.
I/O port
Serial clock I/O pin for UART ch1.
Output operates when UART ch1 clock output is
enabled.
I/O port
This pin can be used as interrupt request input
ch7. In standby mode, this pin can operate as an
input by setting the bit corresponding to EN7 to
“1” and setting as an input port.
Fixed pin level input pin when RTO0 to RTO5
pins are used. Input is enabled when “input enabled” set in the waveform generator.
Capacitor
58571C
*2
pin, power supply
input
191826MD0B
212028MD1B
Mode
input pins
222129MD2B
25, 5024, 4932, 57VSS
Power
supply
575664V
CC
inputs
*1 : See “■ I/O CIRCUITS” for details of the circuit types.
*2 : N.C. on the MB90F568, MB90567, and MB90568
Capacitor pin for stabilizing the power supply.
Connect an external ceramic capacitor of approximately 0.1 µF.
Input pin for setting the operation mode.
Connect directly to V
CC or VSS.
Input pin for setting the operation mode.
Connect directly to V
CC or VSS.
Input pin for setting the operation mode.
Connect directly to V
SS.
Power supply (GND) input pin
MB90560 series is power supply (5 V) input pin
• CMOS hysteresis I/O pin with pull-up
control
CMOS output
CMOS hysteresis input (with input cutoff function in standby mode)
Internal pull-up resistor (R
< Note >
• The pull-up resistor is active when the
port is set as an input.
p)
Standby control signal
• CMOS hysteresis I/O pin
CMOS output
Pch
Pout
CMOS hysteresis input (with input cutoff function in standby mode)
Nch
D
Nout
Input signal
Standby control signal
< Notes >
• The I/O port output and internal
resource output share the same output buffer.
• The I/O port input and internal
resource input share the same input
buffer.
(Continued)
13
MB90560/565 Series
(Continued)
TypeCircuitRemarks
•CMOS I/O pin
Pch
Nch
Pout
Nout
E
Hysteresis input
Standby control signal
Pch
Nch
F
Pout
Nout
Input signal
Standby control signal
A/D converter analog input
CMOS output
CMOS hysteresis input (with input cutoff function in standby mode)
< I
OL= 12 mA >
• Analog/CMOS hysteresis I/O pin
CMOS output
CMOS hysteresis input (with input cutoff function in standby mode)
Analog input (Analog input to A/D converter is enabled when “1” is set in the
corresponding bit in the analog input
enable register (ADER) .)
• The I/O port output and internal
resource output share the same output buffer.
• The I/O port input and internal
resource input share the same input
buffer.
• A/D converter (AVR) voltage input pin
14
Pch
G
Nch
Pch
Nch
AVR input
Analog input
enable signal
from A/D converter
MB90560/565 Series
HANDLING DEVICES
■
Take note of the following nine points when handling devices :
• Do not exceed maximum rated voltage (to prevent latch-up)
• Supply voltage stability
• Power-on precautions
• Treatment of unused pins
• Treatment of A/D converter power supply pins
• Notes on using an external clock
• Power supply pins
• Sequence for connecting and disconnecting the A/D converter power supply and analog input pins
• Notes on using the DIV A, Ri and DIVW A, RWi instructions
• Device Handling Precautions
(1) Do not exceed maximum rated voltage (to prevent latch-up)
Do not apply a voltage grater than V
ensure that the voltage between V
CC or less than VSS to the MB90560/565 series input or output pins. Also
CC and VSS does not exceed the rating. Applying a voltage in excess of the
ratings may result in latch-up causing thermal damage to circuit elements.
Similarly, when connecting or disconnecting the power to the analog power supply (AVCC, AVR) and analog
inputs (AN0 to AN7) , ensure that the analog power supply voltages do not exceed the digital voltage (V
(2) Supply voltage stability
Rapid changes in the V
CC supply voltage ma y cause the de vice to misoper ate . Accordingly, ensure that the VCC
power supply is stable. The standard for power supply voltage stability is a peak-to-peak VCC ripple voltage at
the supply frequency (50 to 60 Hz) of 10% or less of V
CC and a transient fluctuation in the voltage of 0.1 V/ms
or less when turning the power supply on or off.
(3) Power-on precautions
To prevent misoper ation of the internal regulator circuit, ensure that the voltage rise time at pow er-on is at least
50 µs (between 0.2 V to 2.7 V) .
(4) Treatment of unused pins
Leaving unused input pins unconnected can cause misoperation or permanent damage to the device due to
latchup. Always pull-up or pull-down unused pins using a 2 kΩ or larger resistor.
If some I/O pins are unused, either set as outputs and leave open circuit or set as inputs and treat in the same
way as input pins.
CC) .
(5) Treatment of A/D converter power supply pins
If not using the A/D converter, connect the analog power supply pins so that AV
CC= AVR = VCC and AVSS= VSS.
(6) Notes on using an external clock
Even if using an external clock, an oscillation stabilization delay time occurs after a power-on reset and when
recovering from stop mode in the same way as when an oscillator is connected. When using an external clock,
drive the X0 pin only and leave the X1 pin open.
15
MB90560/565 Series
X0
X1OPEN
MB90560/565 series
Example of using an external clock
(7) Power supply pins
The multiple V
such as latch-up. However, always connect all V
spurious radiation, prevent misoper ation of strobe signals due to increases in the ground le vel, and maintain the
overall output current rating.
CC and VSS pins are connected together in the internal device design so as to prevent misoper ation
CC and VSS pins to the same potential externally to minimize
Also, ensure that the impedance of the V
To minimize these problems, connect a b ypass capacitor of approximately 0.1 µF between V
the capacitor close to the V
CC and VSS pins.
CC and VSS connections to the power supply is as low as possible.
CC and VSS. Connect
(8) Sequence for connecting and disconnecting power supply
Do not apply voltage to the A/D converter power supply pins (AV
until the digital power supply (V
CC) is turned on. When turning the device off, turn off the digital power supply
CC, AVR, AVSS) or analog inputs (AN0 to AN7)
after disconnecting the A/D converter power supply and analog inputs. When turning the power on or off, ensure
that AVR does not exceed AV
CC.
When using the I/O ports that share pins with the analog inputs, ensure that the input voltage does not exceed
AVCC (turning the analog and digital power supplies on and off simultaneously is OK) .
(9) Conditions when output from ports 0 and 1 is undefined
After turning on the power supply, the outputs from ports 0 and 1 are undefined during the oscillation stabilization
delay time controlled by the regulator circuit (during the powe r-on reset) if the RST
RST
pin level is “L”, ports 0 and 1 go to high impedance.
pin level is “H”. When the
Figures 1 and 2 show the timing (for the MB90F562/B and MB90V560) .
Note that this undefined output period does not occur on products without an internal regulator circuit as these
products do not have an oscillation stabilization delay time.
(MB90561/A, MB90562/A, MB90F568, and MB90567/8)
16
MB90560/565 Series
•
Figure 1 Timing chart for undefined output from ports 0 and 1 (When RST
Oscillation stabilization delay time
Regulator circuit
stabilization delay 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) signalUndefined output time
*1
*1 : Regulator circuit oscillation stabilization delay time :
17
2
/Oscillation clock frequency (approx. 8.19 ms for a 16 MHz oscillation clock frequency)
*2 : Oscillation stabilization delay time :
18
2
/Oscillation clock frequency (approx. 16.38 ms for a 16 MHz oscillation clock frequency)
pin level is “H”)
*2
17
MB90560/565 Series
•
Figure 2 Timing chart for ports 0 and 1 going to high impedance state (When RST
Oscillation stabilization delay time
Regulator circuit
stabilization delay 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
High impedance
*1
pin level is “L”)
*2
*1 : Regulator circuit oscillation stabilization delay time :
17
2
/Oscillation clock frequency (approx. 8.19 ms for a 16 MHz oscillation clock frequency)
*2 : Oscillation stabilization delay time :
18
2
/Oscillation clock frequency (approx. 16.38 ms for a 16 MHz oscillation clock frequency)
(10) Notes on using the DIV A, Ri and DIVW A, RWi instructions
The location in which the remainder value produced by the signed division instructions “DIV A, Ri” and “DIVW
A, RWi” is stored depends on the bank register. The remainder is stored in an address in the memor y bank
specified in the bank register.
Set the bank register to “00
H” when using the “DIV A, Ri” and “DIVW A, RWi” instructions.
(11) Notes on using REALOS
The extended intelligent I/O service (EI
2
OS) cannot be used when using REALOS.
(12) Caution on Operations during PLL Clock Mode
If the PLL clock mode is selected in the microcontroller , it may attempt to continue the operation using the freerunning frequency of the self oscillation circuit in the PLL circuitry even if the oscillator is out of place or the clock
input is stopped. Performance of this operation, however, cannot be guaranteed.
18
BLOCK DIAGRAM
■
MB90560/565 Series
X0, X1
RST
MD0 to MD2
SIN0
SOT0
SCK0
SIN1
SOT1
SCK1
AV
AVR
AVSS
AN0 to AN7
TO0
TIN0
TO1
TIN1
CC
Clock
control circuit
Interrupt controller
RAM
ROM
UART
ch0
UART
ch1
8/10-bit
A/D converter
16-bit
reload timer
ch0
16-bit
reload timer
ch1
F2MC-16LX
CPU
Internal data bus
8/16-bit
PPG timer
ch0 to ch5
capture
ch0 to ch3
compare
ch0 to ch5
Waveform generator circuit
*
Input
16-bit
freerun
timer
Output
PPG0 to PPG5
IN0 to IN3
FRCK
RTO0
RTO1
RTO2
RTO3
RTO4
RTO5
DTTI
INT0 to INT7
DTP/
external interrupts
P00
P07
I/O ports (Ports 0, 1, 2, 3, 4, 5, and 6)
P10
P17
P20
P27
P30
P37
P40
P46
P50
P57
P60
P63
* : Channel numbers when used as 8-bit timers. Three channels (ch1, ch3, and ch5) are av ailable when used
as 16-bit timers.
Note: The I/O ports share pins with the various peripheral functions (resources) .
See the Pin Assignment and Pin Description sections for details.
Note that, if a pin is used by a peripheral function (resource) , it may not be used as an I/O port.
* : “V” products do not contain internal ROM. Treat this address as the ROM decode area
used by the tools.
Memory map of MB90560/565 series
Notes : • When specified in the ROM mirror function register, the upper part of 00 bank (“004000
contains a mirror of the data in the upper part of FF bank (“FF4000
H to FFFFFFH”) .
H to 00FFFFH”)
• See “10. ROM Mirror Function Selection Module” in the Peripheral Functions section for details of the
ROM mirror function settings.
Remarks : • The ROM mirror function is provided so the C compiler’s small memory model can be used.
• The lower 16 bits of the FF bank and 00 bank addresses are the same. However, as the FF bank ROM
area exceeds 48 KBytes, the entire ROM data area cannot be mirrored in 00 bank.
• When using the C compiler’s small memory model, locating data tables in the area “FF4000
FFFFFF
H” makes the image of the data visible in the “004000H to 00FFFFH” area. This means that
data tables located in ROM can be referenced without needing to declare far pointers.
H to
20
I/O MAP
■
MB90560/565 Series
Address
000000
Abbreviat-
ed Register
Register name
Name
HPDR0Port 0 data registerR/WPort 0XXXXXXXXB
Read/
Write
Resource NameInitial Value
000001HPDR1Port 1 data registerR/WPort 1XXXXXXXXB
000002HPDR2Port 2 data registerR/WPort 2XXXXXXXXB
000003HPDR3Port 3 data registerR/WPort 3XXXXXXXXB
000004HPDR4Port 4 data registerR/WPort 4XXXXXXXXB
000005HPDR5Port 5 data registerR/WPort 5XXXXXXXXB
000006HPDR6Port 6 data registerR/WPort 6XXXXXXXXB
000007H
: Supported, includes EI
: Available if the interrupt that shares the same ICR is not used.
* : If two or more interrupts with the same level occur simultaneously, the interrupt with the lower interrupt vector
number has priority
OS stop function
29
MB90560/565 Series
PERIPHERAL FUNCTIONS
■
1.I/O Ports
• The I/O ports can be used as general-purpose I/O ports (parallel I/O ports) . The MB90560/565 series have
7 ports (51 pins) . The ports share pins with the inputs and outputs of the peripheral functions.
• The port data registers (PDR) are used to output data to the I/O pins and read the data input from the I/O
ports. Similarly, the port direction registers (DDR) set the I/O direction (input or output) for each individual port
bit.
• The following table lists the I/O ports and the peripheral functions with which they share pins.
Pin Name (Port) Pin Name (Peripheral) Peripheral Function that Shares Pin
Port 0P00-P07Not shared
Port 1
P10-P16INT0-INT6External interrupts
P17FRCKFreerun timer external input
P20-P23TIN0, TO0, TIN1, TO116-bit reload timer 0 and 1
Port 2
P24-P27IN0-IN3Input capture 0 to 3
P30-P35RTO0-RTO5Output compare
Port 3
P36, P37SIN0, SOT0UART0
P40SCK0UART0
Port 4
P41-P46PPG0-PPG58/16-bit PPG timer
Port 5P50-P57AN0-AN78/10-bit A/D converter
P60-P62SIN1, SOT1, SCK1UART1
Port 6
INT7External interrupts
P63
DTTIWaveform generator
Notes : • Pins P30 to P35 of port 3 can drive a maximum of I
OL= 12 mA.
• Port 5 shares pins with the analog inputs. When using port 5 pins as a general-purpose ports, ensure that
the corresponding analog input enable register (ADER) bits are set to “0
after a reset.
•
Block diagram for port 0 and 1 pins
B”. ADER is initialized to “FFH”
30
Internal data bus
Pull-up resistor
setting register
PDRx read
PDRx
write
(PDRx)
Port data
register
(PDRx)
Port direction
register
(DDRx)
Input/output
selection circuit
Internal
pull-up resistor
Input
buffer
Output
buffer
Standby control (LPMCR : SPL = "1")
Port pin
• Block diagram for port 2, 3, 4, and 6 pins
Resource input
MB90560/565 Series
PDRx read
Internal data bus
PDRx
write
•
Block diagram for port 5 pins
PDR5 read
Internal data bus
PDR5
write
Port direction
Analog input
enable register
(ADER)
Port data
Port direction
Port data
register
(PDRx)
register
(DDRx)
Resource output control signal
register
(PDR5)
register
(DDR5)
Input/output
selection circuit
Resource output
Input/output
selection circuit
Input
buffer
Output
buffer
Standby control (LPMCR : SPL = "1")
Analog converter
analog input signal
Input
buffer
Output
buffer
Standby control (LPMCR : SPL = "1")
Port
pin
Port 5
pin
Notes : • When using as an input port, set the corresponding bit in the port 5 direction register (DDR5) to “0” and
set the corresponding bit in the analog input enable register (ADER) to “0”.
• When using as an analog input pin, set the corresponding bit in the port 5 direction register (DDR5) to “0”
and set the corresponding bit in the analog input enable register (ADER) to “1”.
31
MB90560/565 Series
2.Timebase Timer
• The timebase timer is an 18-bit freerun timer (timebase timer/counter) that counts up synchronized with the
main clock (oscillation clock : HCLK divided into 2) .
• The timer can generate interrupt requests at a specified interval, with four different interval time settings
available.
• The timer supplies the operating clock f or peripheral functions including the oscillation stabilization delay timer
and watchdog timer.
•
Timebase timer interval settings
Internal Count Clock PeriodInterval Time
12
2
/HCLK (approx. 1.024 ms)
14
/HCLK (approx. 4.096 ms)
2/HCLK (0.5 µs)
Notes : • HCLK : Oscillation clock frequency
• The values enclosed in ( ) indicate the times for a clock frequency of 4 MHz.
2
16
2
/HCLK (approx. 16.384 ms)
19
2
/HCLK (approx. 131.072 ms)
•
Period of clocks supplied from timebase timer
Peripheral FunctionClock Period
10
2
/HCLK (approx. 0.256 ms)
13
/HCLK (approx. 2.048 ms)
Oscillation stabilization delay for
the main clock
Watchdog timer
2
15
2
/HCLK (approx. 8.192 ms)
17
2
/HCLK (approx. 32.768 ms)
12
2
/HCLK (approx. 1.024 ms)
14
/HCLK (approx. 4.096 ms)
2
16
2
/HCLK (approx. 16.384 ms)
19
2
/HCLK (approx. 131.072 ms)
Notes : • HCLK : Oscillation clock frequency
• The values enclosed in ( ) indicate the times for a clock frequency of 4 MHz.
32
•
Block diagram
MB90560/565 Series
Timebase timer/counter
HCLK
divided into 2
Clear stop mode, etc.
Switch clock mode
Timebase timer interrupt signal
1
× 22× 2
× 2
Reset
Timebase timer control register
3
*1
*2
*3
OF : Overflow
HCLK : Oscillation clock frequency
*1 : Power-on reset, watchdog reset
*2 : Recovery from stop mode and timebase timer mode
*3 : Main → PLL clock
Notes : • The difference between the maximum and minim um watchdog timer interval times is due to the timing when
the counter is cleared.
• As the watchdog timer is a 2-bit counter that counts the carry-up signal from the timebase timer or clock
timer, clearing the timebase timer (when operating on HCLK) or the clock timer (when operating on SCLK)
lengthens the time until the watchdog timer reset is generated.
14
± 211 / HCLK
16
± 213 / HCLK
18
± 215 / HCLK
18
± 215 / HCLK
•
Watchdog timer count clock
WTC : WDCS
HCLK : Oscillation clock
PCLK : PLL clock
“0”Prohibited setting
“1”Count the timebase timer output.
• Events that stop the watchdog timer
1 : Stop due to a power-on reset
2 : Watchdog reset
• Events that clear the watchdog timer
1 : External reset input from the RST
pin.
2 : Writing “0” to the software reset bit.
3 : Writing “0” to the watchdog control bit (second and subsequent times) .
4 : Changing to sleep mode (clears the watchdog timer and temporarily halts the count) .
5 : Changing to timebase timer mode (clears the watchdog timer and temporarily halts the count) .
6 : Changing to stop mode (clears the watchdog timer and temporarily halts the count) .
4.16-Bit Reload Timers 0 and 1 (With Event Count Function)
• The 16-bit reload timers have the following functions.
• The count clock can be selected from three internal clocks or the external event clock.
• An interrupt to the CPU can be generated when an underflow occurs on 16-bit reload timer 0 or 1. This interrupt
allows the timers to be used as interval timers.
• Two different operation modes can be selected when an underflow occurs on 16-bit reload timer 0 or 1: one-
shot mode in which timer operation halts when an underflow occurs or reload mode in which the value in the
reload register is loaded into the timer and counting continues.
• Extended intelligent I/O service (EI
• The MB90560/565 series contains two 16-bit reload timer channels.
•
16-bit reload timer operation modes
Count ClockStart Trigger
2
OS) is supported.
Operation When an
Underflow Occurs
Software trigger
One-shot mode
Reload mode
Internal clock
One-shot mode
External trigger
Reload mode
Event count mode
(external clock mode)
•
Interval times for the 16-bit reload timers
Software trigger
One-shot mode
Reload mode
Count ClockCount Clock PeriodExample of Interval Times
1
/φ (0.125 µs) 0.125 µs to 8.192 ms
2
3
2
Internal clock
Event count mode2
/φ (0.5 µs) 0.5 µs to 32.768 ms
5
/φ (2.0 µs) 2.0 µs to 131.1 ms
2
3
/φ or longer0.5 µs or longer
Note : The values enclosed in ( ) and the example of interval times is for a machine clock frequency of 16 MHz.
φ is the machine clock frequency value for the calculation.
Remarks : 16-bit reload timer 0 can be used to generate the baud rate for UART0.
16-bit reload timer 1 can be used to generate the baud rate for UART1 and activation trigger for the
A/D converter.
36
•
Block diagram
MB90560/565 Series
Internal data bus
TMRLR0
TMRLR1
*1
TMR0
*2
TMR1
16-bit timer register
Count clock generation circuit
Machine
clock φ
Prescaler
Clear
trigger
Input
Pin
TIN0
TIN1
*1
*2
control
circuit
3
Function selection
*1
*2
16-bit reload register
CLK
Gate input
3
detection
Internal
clock
selector
External clock
2
Clock
pulse
circuit
Clock
Select
signal
Reload signal
UF
CLK
*4
Wait signal
Output control circuit
Output signal
generation circuit
Reload
control circuit
To UART0
To UART1 and
A/D converter trigger
Pin
ENTO0
TO1
*1
*2
Operation
control circuit
*1
*2
CSL1 CSL0 MOD2MOD1MOD0OUTE OUTL RELDUFINTECNTE TRG
• Based on the 16-bit freerun timer, the multi-function timer can be used to generate 12 independent wav ef orm
outputs and to measure input pulse widths and external clock periods.
•
Structure of multi-function timer
16-bit
freerun timer
1 ch6 ch4 ch
• 16-bit freerun timer (1 channel)
The 16-bit freerun timer consists of a 16-bit up-counter (timer data register (TCDT) ) , compare clear register
(CPCLR) , timer control status register (TCCS) , and prescaler.
The count output value from the 16-bit freerun timer provides the base time for the input capture and output
compare functions.
• The count clock can be selected from the following eight clocks :
• An interrupt can be generated when the 16-bit freerun timer overflows or when the 16-bit freerun timer count
is cleared to “0000
the count in the 16-bit freerun timer (TCCS : ICRE = “1”, MODE = “1”) .
• The 16-bit freerun timer is cleared to “0000
timer control status register (TCCS) , when a compare match occurs between the 16-bit freerun timer count
and the value in the compare clear register (CPCLR) (TCCS : MODE = “1”) , or by writing “0000H” to the timer
data register (TCDT) .
H” due to a match occurring between the value in the compare clear register (CPCLR) and
16-bit
output compare
16-bit
input capture
H” when a reset occurs, on setting the timer clear bit (SCLR) in the
8/16-bit
PPG timer
8 bit × 6 ch
16 bit × 3 ch
Waveform
generator
8-bit timer × 3 ch
• Output compare (6 channels)
The output compare unit consists of compare registers (OCCP0 to OCCP5) , compare control registers (OCS0
to OCS5) , and compare output latches.
When a match occurs between a compare register (OCCP0 to OCCP5) value and the count from the 16-bit
freerun timer, the output compare can invert the level of the corresponding output compare pin and generate
an interrupt.
• The compare registers (OCCP0 to OCCP5) operate independently for each channel. Each of the compare
registers (OCCP0 to OCCP5) has a corresponding output pin and an interrupt request flag in the channel’s
compare control register (lower) (OCS0, OCS2, OCS4) .
• Two channels of the compare registers (OCCP0 to OCCP5) can be used to invert the output pins.
• An interrupt can be output when a match occurs between a compare register (OCCP0 to OCCP5) and the
• The initial output levels for the output compare pins can be set.
•
Input capture (4 channels)
The input capture consists of external input pins (IN0 to IN3) , corresponding input capture data registers (IPCP0
to IPCP3) , and input capture control status registers (ICS01, ICS23) .
The input capture can transfer the count value from the 16-bit freer un timer to the input capture data register
(IPCP0 to IPCP3) and output an interrupt on detecting an active edge on the signal input from the external input
pin.
• Each channel of the input capture operates independently.
• The active edge (rising edge, falling edge, or either edge) on the external signal can be specified.
38
MB90560/565 Series
• An interrupt can be generated when an active edge is detected on the external signal (ICS01, ICS23 : ICE0
The 8/16-bit PPG timer consists of an 8-bit down counter (PCNT) , PPG control registers (PPGC0 to PPGC
5) , PPG clock control registers (PCS01, PCS23, PCS45) , and PPG reload registers (PRLL0 to PRLL5, PRLH0
to PRLH5) .
When used as an 8/16-bit reload timer, the PPG operates as an ev ent timer. The PPG can also be used to output
pulses with specified frequency and duty ratio.
• 8-bit PPG mode
Each channel operates as an independent 8-bit PPG.
• 8-bit prescaler + 8-bit PPG mode
ch0 (ch2, ch4) operates as an 8-bit prescaler and ch1 (ch3, ch5) operates as a variable frequency PPG by
counting up on the borrow output from ch0 (ch2, ch4) .
• 16-bit PPG mode
ch0 (ch2, ch4) and ch1 (ch3, ch5) operate together as a 16-bit PPG.
• PPG operation
Outputs pulses with the specified frequency and duty ratio (ratio of “H” level period and “L” level period), and
can also be used as a D/A converter when combined with an external circuit.
•
Waveform generator
The wav eform generator consists of an 8-bit timer, 8-bit timer control registers (DTCR0 to DTCR2) , 8-bit reload
registers (TMRR0 to TMRR2) , and waveform control register (SIGCR) .
The waveform generator can generate a DC chopper output or non-overlapping three-phase wavefor m output
for inverter control using the realtime outputs (RT0 to RT5) and 8/16-bit PPG timer.
• A non-overlapping wa vef orm can be generated by using the 8-bit timer as a deadtime timer and adding a non-
overlap time delay to the PPG timer pulse output. (Deadtime timer function)
• A non-overlapping wa vef orm can be generated by using the 8-bit timer as a deadtime timer and adding a non-
overlap time delay to the realtime outputs (RT1, RT3, RT5) . (Deadtime timer function)
• A GATE signal can be generated when a match occurs between the count from the 16-bit freerun timer and
compare register in the output compare (OCCP0 to OCCP5) (rising edge on realtime output (RT) ) to control
the PPG timer operation. (GATE function)
• Can control the RTO0 to RTO5 pin outputs using the DTTI pin input.
By making the DTTI pin input clockless, the pins can be controlled externally even when the oscillation clock
is halted. (The level for each pin can be set by the program.) However, the I/O ports (P30 to P35) must have
been set beforehand as outputs and the output values set in the port 3 data register (PDR3) .
39
MB90560/565 Series
•
Block diagram
•16-
bit freerun timer, input capture, and output compare
To interrupt
#31 (1F
IVF8IVFESTOPMODE SCLRCLK2CLK1CLK0
16-bit freerun timer
16
16
16
4
Internal data bus
16-bit compare clear registerCompare circuit
Compare registers 0, 2, 4
Compare circuit
Compare registers 1, 3, 5
Compare circuit
*
H)
MS13 to 0
CMOD
IOP1IOP0IOE1IOE0
3
ICLR
TQ
TQ
φ
Divider
Clock
To interrupt
#34 (22
ICRE
To A/D trigger
To RT0, 2, 4
waveform generator
To RT1, 3, 5
waveform generator
To interrupts
#13 (0D
H) *, #17 (11H) *,
#21 (15H) *
#15 (0F
H) *, #19 (13H) *,
#23 (17H) *
H)
*
40
Capture registers 0, 2Edge detection
4
Capture registers 1, 3Edge detection
4
* : Interrupt number
φ : Machine clock frequency
EG11EG10EG01EG00
ICP0ICP1ICE0ICE1
IN0/2
IN1/3
To interrupts
#33 (21
H) *, #35 (23H) *
#33 (21H) *, #35 (23H) *
•
Block diagram of 8/16-bit PPG timer
MB90560/565 Series
PC02 PC01
Selector
PC12 PC11 PC10 POS1 OEN1
Internal data bus
ch0, 2, 4 borrow
SelectorDivider
PC00 POS0 OEN0
Divider
PCNT0
(Down counter)
L/H selector
PRLL0/2/4
PRLH0/2/4
PCNT1
(Down counter)
L/H selector
SST0
POE0
φ
Operation
control
GATE0/1
Selector
Reload
ch1, 3, 5 borrow
PRLBH0/2/4
SST1
POE1 PUF1PIE1
φ
Reload
Operation
control
GATE1
SelectorSelector
PUF0
PIE0
Selector
To interrupt
#14 (0EH) *
To PPG0, 2, 4
To interrupt
#16 (10
H) *
To PPG1, 3, 5
PRLL1/3/5
PRLH1/3/5
* : Interrupt number
φ : Machine clock frequency
PRLBH1/3/5
41
MB90560/565 Series
•
Block diagram of waveform generator
φ
Divider
Clock
Internal data bus
DCK2DCK1DCK0TMD1TMD0NRSLDTILDTIE
DTTI control circuit
RT0
RT1
8-bit timer
8-bit timer register 0
RT2
RT3
8-bit timer
8-bit timer register 1
RT4
RT5
8-bit timer
8-bit timer register 2
Waveform
generator
Compare circuitSelector
Deadtime generation
Waveform
generator
Compare circuit
Deadtime generation
Compare circuit
Deadtime generation
Selector
Waveform
generator
Selector
TO0
TO1
U
X
TO2
TO3
V
Y
TO4
TO5
W
DTTI
To GATE0, 1 (To PPG timer)
Selector
To GATE2, 3 (To PPG timer)
Selector
To GATE4, 5 (To PPG timer)
Selector
RTO0/U
RTO1/X
RTO2/V
RTO3/Y
RTO4/W
RTO5/Z
42
φ : Machine clock frequency
MB90560/565 Series
6.UART
(1) Overview
• The UAR T is a general-purpose serial communications interface for perf orming synchronous or asynchronous
(start-stop synchronization) communications with external devices.
• The interface provides both a bi-directional communication function (normal mode) and a master-slave com-
munication function (multi-processor mode) .
• The UAR T can generate interrupt requests at receive complete, receiv e error detected, and transmit complete
timings. Also the UART supports EI
•
UART functions
The UAR T is a general-purpose serial communications interface f or sending serial data to and from other CPUs
and peripheral devices.
Data bufferFull-duplex double-buffered
2
OS.
Function
Transmission modes
Baud rate
Number of data bits
Signal formatNon return to zero (NRZ) format
Receive error detection
Interrupt requests
Master/slave
communication function
(multi-processor mode)
Note : The U ART does not add the start and stop bits in clock synchronous mode. In this case, only data is
transmitted.
• Clock synchronous (no start and stop bits)
• Clock asynchronous (start-stop synchronization)
• Max. 2 MHz (for a 16 MHz machine clock)
• Baud rate generated by dedicated baud rate generator
• Baud rate generated by e xternal clock (clock input from SCK0 and SCK1 pins)
• Baud rate generated by internal clock (clock supplied from 16-bit reload timer)
• Eight different baud rate settings are available.
• 7 bits (asynchronous normal mode only)
• 8 bits
• Framing errors
• Overrun errors
• Parity errors (not available in multi-processor mode)
• Receive interrupt (Receive complete or receive error detected)
• Transmit interrupt (Transmission complete)
• Both transmit and receive support the extended intelligent I/O service (EI
Used for 1 (master) to n (slave) communications.
(Can only be used as master)
: Not available
*1 : The “+1” represents the address/data (A/D) bit used for communication control.
*2 : Only 1 stop bit supported for receiving.
No. of Data Bits
No ParityWith Parity
*1
Asynchronous
SynchronizationNo. of Stop Bits
1 or 2 bits
*2
•
UART interrupts and EI
Interrupt
UART1
receive interrupt
UART1
send interrupt
UART0
receive interrupt
UART0
send interrupt
: The UART has a function to halt EI
2
OS
Interrupt
No.
#37 (25
H) ICR13 0000BDHFFFF68HFFFF69HFFFF6AH
Interrupt Control
Register
Register
Name
AddressLowerUpperBank
Vector Table Address
#38 (26H) ICR13 0000BDHFFFF64HFFFF65HFFFF66H
#39 (27H) ICR140000BEHFFFF60HFFFF61HFFFF62H
#40 (28H) ICR140000BEHFFFF5CHFFFF5DHFFFF5EH
2
OS if a receive error is detected.
: Available when the interrupt shared with ICR13 or ICR14 is not used.
EI
2
OS
44
MB90560/565 Series
(2) UART structure
The UART consists of the following 11 blocks:
• Clock selector• Mode registers (SMR0, SMR1)
• Receive control circuit• Control registers (SCR0, SCR1)
• Transmission control circuit• Status registers (SSR0, SSR1)
• Receive status evaluation circuit• Input data registers (SIDR0, SIDR1)
• Receive shift register• Output data registers (SODR0, SODR1)
• Transmission shift register
•
Block diagram
Control bus
Dedicated baud
rate generator
16-bit reload timer
Pin
P40/SCK0
<P62/SCK1>
Clock
selector
Receive
clock
Start bit
detection circuit
Receive
control circuit
Transmit clock
Transmission
start circuit
Transmission
control circuit
Receive
interrupt signal
H)*
#39 (27
<#37 (25H)*>
Transmit
interrupt signal
#40 (28
<#38 (26H)*>
H)*
Pin
P36/SIN0
<P60/SIN1>
Receive bit
counter
Receive parity
counter
Receive
shift register
Receive
SIDR0/SIDR1
Receive status
evaluation circuit
Internal data bus
MD1
MD0
CS2
SMR0/SMR1SCR0/SCR1SSR0/SSR1
CS1
CS0
SCKE
SOE
complete
Transmit bit
counter
Transmit parity
counter
Transmission
shift register
SODR0/SODR1
PEN
P
SBL
CL
A/D
REC
RXE
TXE
Pin
P37/SOT0
<P61/SOT1>
Transmission start
Receive error detection
signal for EI
(to CPU)
PE
ORE
FRE
RDRF
TDRE
BDS
RIE
TIE
2
OS
* : Interrupt number
45
MB90560/565 Series
•
Clock selector
Selects the send/receive clock from either the dedicated baud rate generator, external input clock (clock input
to SCK0 or SCK1 pin) , or internal clock (clock supplied by 16-bit reload timer) .
•
Receive control circuit
The receive control circuit consists of a receive bit counter, start bit detection circuit, and receive parity counter .
The receive bit counter counts the received data bits and outputs a receive interrupt request when the required
number of data bits have been received. The star t bit detection circuit detects the star t bit on the serial input
signal. On detecting a start bit, the receive data is shifted to the input data register (SIDR0 or SIDR1) in
accordance with the specified transfer speed. The receive par ity counter calculates the parity of the received
data if parity is selected.
•
Transmission control circuit
The transmission control circuit consists of a transmission bit counter , transmission start circuit, and transmission
parity counter. The transmission bit counter counts the transmitted data bits and outputs a transmit interr upt
request when the required number of data bits have been sent. The tr ansmission start circuit starts transmission
when data is written to the output data register (SODR0 or SODR1) . The transmission parity counter generates
the parity bit for the transmitted data when parity is selected.
•
Receive shift register
The receive shift register captures the data input from the SIN0 or SIN1 pin by shifting one bit at a time then
transfers the received data to the input data register (SIDR0 or SIDR1) when reception completes.
•
Transmission shift register
The transmission data is transferred from the output data register (SODR0 or SODR1) to the tr ansmission shift
register and output from the SOT0 or SOT1 pin by shifting one bit at a time.
•
Mode register (SMR0, SMR1)
Set the operation mode, baud rate clock and serial clock input/output control, and enables output for the
serial data pin.
•
Control register (SCR0, SCR1)
Specifies whether to use parity, the type of parity, number of stop bits and data bits and the frame data format
for operation mode 1, to clear the receive error flag bit, and to enable or disable send and receive operation.
•
Status register (SSR0, SSR1)
Stores the send/receive and error status information, set the serial data transfer direction, and enab les or disables
the send and receive interrupt requests.
•
Input data register (SIDR0, SIDR1)
Stores the received data.
•
Output data register (SODR0, SODR1)
Set the transmission data. The data set in the output data register is converted to serial format and output.
46
MB90560/565 Series
7.DTP/External Interrupt Circuit
(1) Overview of the DTP/external interrupt circuit
The DTP (Data Transfer Peripheral) /external interrupt circuit detects interrupt requests input to the external
interrupt input pins (INT7 to INT0) and outputs interrupt requests.
•
DTP/external interrupt circuit functions
The DTP/external interrupt function detects edge or level signals input to the e x ternal interrupt input pins (INT7
to INT0) and outputs interrupt requests.
The interrupt request is received by the CPU and, if the extended intelligent I/O ser vice (EI
2
EI
OS performs automatic data transfer (DTP function) then passes control to the interrupt handler routine on
completion. If EI
2
OS is disabled, control passes directly to the interrupt handler routine without performing
automatic data transfer (DTP function) .
•
Overview of the DTP/external interrupt circuit
External InterruptDTP Function
Input pins8 channels (P10/INT0 to P16/INT6, P63/INT7)
The level or edge to detect can be set independently for each pin in the detection lev-
Interrupt conditions
el setup register (ELVR) .
“L” level, “H” level, rising edge, or falling edge input
2
OS) is enabled,
Interrupt number#25 (19
Interrupt control
Interrupts can be enabled or disabled in the DTP/external interrupt enable register
(ENIR) .
• Set in bit R0 of the delayed interrupt request generation/clear register
(DIRR : R0) .
• Not supported by the extended intelligent I/O service (EI
Internal data bus
R0
S
Interrupt request
latch
R
2
OS) .
Interrupt
request signal
49
MB90560/565 Series
9.8/10-Bit A/D Converter
•
Overview of the 8/10-bit A/D converter
• The 8/10-bit A/D converter uses RC successive appro ximation to convert analog input voltages to an 8-bit or
10-bit digital value.
• The input signals can be selected from the eight analog input pin channels.
•
8/10-bit A/D converter functions
The minimum conversion time is 6.13 µs (for a 16 MHz machine clock, including sampling
A/D conversion time
Conversion method RC successive approximation with sample & hold circuit
Resolution8-bit or 10-bit, selectable
Analog input pinsEight analog input pin channels are available. The input pin can be selected by the program.
Interrupts
time) .
The minimum sampling time is 2.0 µs (for a 16 MHz machine clock)
An interrupt request can be generated and EI
2
OS invoked when A/D conversion completes.
The conversion data protection function operates when A/D conversion is performed with
the interrupt enabled.
A/D conversion
start trigger
2
EI
OS supportSupported by the extended intelligent I/O service (EI2OS) .
•
8/10-bit A/D converter conversion modes
The conversion start trigger can be set from the following options : software, output of 16bit reload timer 1 (rising edge) , or zero detection edge from 16-bit freerun timer.
* : The writer address is the address to be used instead of the CPU address when writing data from a parallel
flash memory writer. Use the writer address when programming or erasing with a general-purpose parallel
writer.
55
MB90560/565 Series
• Standard configuration for Fujitsu standard serial on-board programming
Fujitsu standard serial on-board programming uses a flash microcontroller writer from Yokogawa Digital Computer Corporation (AF220, AF210, AF120, or AF210) .
Host interface cable (AZ201)
Flash
RS232C
microcontroller
writer
+
memory card
General-purpose cable (AZ221)
Clock synchronous
serial
Can operate standalone
MB90F562/F562B/F568
user system
Note : Contact Yokogawa Digital Computer Corporation for details of the functions and operation of the flash
microcontroller writer (AF220, AF210, AF120, or AF110) , standard connection cable (AZ221) , and connectors.
•
Pins used for Fujitsu standard serial on-board programming
SymbolPin nameFunction
MD2,
MD1, MD0
Mode input pins
Setting MD2 = 1, MD1 = 1, and MD0 = 0 selects serial programming
mode.
As flash memory serial programming mode uses the PLL clock with the
multiplier set to 1 as the internal CPU operation clock, the internal op-
X0, X1Oscillation input pin
eration clock frequency is the same as the oscillation clock frequency.
Accordingly, the frequency that can be input to the high speed oscillation input pin when performing serial programming is between 1 MHz
and 16 MHz.
P00, P01
RST
SIN1Serial data input pin
SOT1Serial data output pin
SCK0Serial clock input pin
C
Write program activation
pins
Input P00 = “L” level and P01 = “H” level.
Reset input pin
Uses UART0 and UART1 in clock synchronous mode. In programming
mode, the pins used by UART0 in clock synchronous mode are SIN1,
SOT1, and SCK0.
Capacitor/power supply input pin
Capacitor pin for power supply stabilization. Connect an external ce-
ramic capacitor of approx. 0.1 µF.
If the user system provides the programming voltage (MB90F562 :
V
CCPower supply input pins
5 V ± 10%, MB90F568 : 3 V ± 10%) , these do not need to be connected
to the flash microcontroller writer.
VSSGND pinConnect to common GND with the flash microcontroller writer.
56
MB90560/565 Series
The control circuit shown in the figure is required when the P00, P01, SIN1, SOT1, and SCK0 pins are used on
the user system. Use the /TICS signal from the flash microcontroller writer to disconnect the user circuit during
serial on-board programming.
AF220/AF210/AF120/AF110
write control pin
10 kΩ
AF220/AF210/AF120/AF110
/TICS pin
User
MB90F562/F562B/F568
write control pin
Control circuit
Use the formula below to calculate the serial clock frequency able to be input to the MB90F562/F562B/F568.
Set up the flash microcontroller writer to use a serial clock input frequency that is permitted for the oscillation
clock frequency you are using.
Permitted input serial clock frequency = 0.125 × oscillation clock frequency
System configuration of flash microcontroller writer (AF220/AF210/AF120/AF110) (Supplier : Yokogawa Digital Computer Corporation)
ModelFunction
AF200/AC4PInternal Ethernet interface model/100 V to 220 V power adapter
AF210/AC4PStandard model/100 V to 220 V power adapter
Unit
AF120/AC4PSingle key, Internal Ethernet interface model/100 V to 220 V power adapter
AF110/AC4PSingle key model/100 V to 220 V power adapter
AZ221Special RS232C cable for connecting writer to PC/AT
AZ210Standard target probe (a) Length : 1 m
2
FF201Control module for Fujitsu F
MC-16LX flash microcontrollers
AZ290Remote controller
AZ264
Power supply regulator (MB90F568 : Required to supply 3 V versions from the flash
microcontroller writer.)
/P22 MB PC card (option) Supports FLASH memory sizes up to 128 KB
/P44 MB PC card (option) Supports FLASH memory sizes up to 512 KB
Contact : Yokogawa Digital Computer Corporation Tel : 042-333-6224
Note : The AF200 flash microcontroller writer is an obsolete model but can still be used with the FF201 control
Use a ceramic capacitor or other capacitor
with equivalent frequency characteristics.
S0.11.0µF
T
A−40+85 °C
The capacitance of the smoothing capacitor
connected to the V
than C
S.
CC pin must be greater
C
C
S
WARNING: The recommended operating conditions are required in order to ensure the nor mal 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.
59
MB90560/565 Series
3.DC Characteristics
Parameter
Sym-
bol
Pin NameCondition
(TA=−40 °C to +85 °C, VCC= 5.0 V ±10%, VSS= AVSS= 0.0 V)
Value
UnitRemarks
Min.Typ.Max.
Output “H”
voltage
Output “L”
voltage
Input leak
current
Power supply
current
*
OH
V
All output
pins
VCC= 4.5 V
I
OH=−2.0 mA
VCC− 0.5V
Pins other
OL1
V
than P30/
RTO0 to
V
CC= 4.5 V
I
OL1= 2.0 mA
0.4V
P35/RTO5
V
OL2
IIL
P30/RTO0
to P35/
RTO5
All output
pins
VCC= 4.5 V
I
OL2= 12.0 mA
VCC= 5.5 V
V
SS < VI < VCC
For VCC= 5 V,
0.8V
−55µA
5080mA
internal frequency = 16 MHz,
ICC
normal operation
CC= 5 V,
For V
4050mA MB90F562/B
5585mA
internal frequency = 16 MHz,
VCC
A/D operation in progress
4555mA MB90F562/B
Flash write or erase4560mA MB90F562/B
For VCC= 5 V,
I
CCS
internal frequency = 16 MHz,
1520mA
sleep mode
ICCHStop mode, TA = 25 °C520µA
MB90562/A,
MB90561/A
MB90562/A,
MB90561/A
MB90562/A,
MB90561/A
MB90F562/B
*
Other than
AV
Input
capacitance
C
IN
CC,
AV
SS, C,
V
CC, and
V
SS
1080pF
P00 to P07
Pull-up
resistor
R
UP
P10 to P17
RST
, MD0,
1530100kΩ
MD1
Pull-down
resistor
R
DOWN MD21530100kΩ
* : Value when low power mode bits (LPM0, 1) is set to “01” with an internal operating frequency of 4 MHz.
Note : Current values are provisional and are subject to change without notice to allow for improvements to the
characteristics. The power supply current is measured with an external clock.
60
4.AC Characteristics
(1) Clock Timings
Parameter
Sym
bol
Pin Name
MB90560/565 Series
(T
A=−40 °C to +85 °C, VCC= 5.0 V ±10%, VSS= AVSS= 0.0 V)
Condi-
tion
Min.Typ.Max.
Value
UnitRemarks
Clock frequencyf
Clock cycle timet
Input clock pulse width
Input clock rise/fall time
Internal operating clock
frequency
Internal operating clock
cycle time
•
X0 and X1 clock timing
X0
316
CX0, X1
MHz
116Without a PLL circuit
62.5333
HCYLX0, X1
62.51000Without a PLL circuit
P
WH
PWL
tcr
tcf
f
CP1.516MHz
t
CP62.5333ns
X010ns
X0 5ns
tHCYL
0.8 VCC
0.2 VCC
PWHPWL
With a PLL circuit
With a PLL circuit
ns
Recommended duty
ratio = 30% to 70%
When using an
external clock
When using a main
clock
When using a main
clock
tcf
tcr
61
MB90560/565 Series
•
PLL guaranteed operation range
Relationship between internal operating clock frequency and power supply voltage
Guaranteed operation range
5.5
4.5
3.3
3.0
Guaranteed operation range
for MB90561/A and MB90562/A
Supply Voltage VCC (V)
Guaranteed operation range for MB90V560
13812 16
for MB90F562/B
PLL guaranteed operation range
PLL guaranteed
operation range
A/D converter guaranteed
operation range
Internal Clock fCP (MHz)
Relationship between oscillation frequency and internal operating clock frequency
16
12
8
4
3
Internal Clock fCP (MHz)
2
0.5
123468
×4×3×2×1
1216
Source Oscillation Clock fC (MHz)
The AC ratings are specified for the following measurement reference voltages.
•
Input signal waveform
Hysteresis input pin
0.8 VCC
•
Output signal waveform
Output pin
2.4 V
No multiplier
62
0.2 VCC
Pins other than hysteresis input or MD input pins
0.7 V
CC
0.3 VCC
0.8 V
(2)Reset
(T
A=−40 °C to +85 °C, VCC= 5.0 V ±10%, VSS= AVSS= 0.0 V)
ParameterSymbol Pin Name Condition
MB90560/565 Series
Value
UnitRemarks
Min.Max.
In normal
operation
Reset input timet
RSTHRST
16 t
CPns
Oscillator oscillation
time* + 16 t
CP
msIn stop mode
*: Oscillator oscillation time is the time to reach 90% amplitude. For a crystal oscillator, this is a few to several
dozen ms; for a F AR/ceramic oscillator, this is se veral hundred µs to a f ew ms, and for an external clock this is 0 ms .
• In normal operation
tRSTL
RST
0.2 VCC
0.2 VCC
• In stop mode
tRSTL
RST
0.2Vcc
0.2Vcc
X0
Internal
operation
clock
Internal
reset
90 % of
amplitude
Oscillator
oscillation time
16 tcp
Oscillator stabilization wait time
Execution of the instruction
63
MB90560/565 Series
(3) Power-On Reset
ParameterSymbolPin Name
(T
A=−40 °C to +85 °C, VCC= 5.0 V ±10%, VSS= AVSS= 0.0 V)
Condi-
tion
Value
UnitRemarks
Min.Max.
Power supply rise timet
RVCC
0.0530ms
Power supply cutoff timet
* : V
CC must be less than 0.2 V before power-on.
OFFVCC4msFor repeated operation
Notes : • The above rating values are for generating a power-on reset.
• Some internal registers are only initialized by a power-on reset. Always apply the power supply in
accordance with the above ratings if you wish to initialize these registers.
tR
VCC
2.7 V
0.2 V0.2 V
t
OFF
Sudden changes in the power supply voltage may cause a power-on reset.
The recommended practice if you wish to change the power supply voltage while the device is
operating is to raise the voltage smoothly as shown below. Also, changes to the supply voltage
should be performed when the PLL clock is not in use. The PLL clock may be used, however, if
the rate of voltage change is 1 V/s or less.
VCC
3.0 V
V
SS
Maintain RAM data
0.2 V
Recommended rate of voltage
rise is 50 mV/ms or less.
64
(4) UART0, UART1, and I/O Expansion Serial Timings
(T
A=−40 °C to +85 °C, VCC= 5.0 V ±10%, VSS= AVSS= 0.0 V)
ParameterSymbolPin NameCondition
MB90560/565 Series
Value
Unit Remarks
Min.Max.
Serial clock cycle timet
SCK ↓ → SOT delay
time
Valid SIN → SCK ↑t
SCK ↑ → valid
SIN hold time
Serial clock “H” pulse
width
Serial clock “L” pulse
width
SCK ↓ → SOT delay
time
Valid SIN → SCK ↑t
SCK ↑ → valid
SIN hold time
SCYCSCK0, SCK1
t
SLOV
IVSH
t
SHIX
t
SHSLSCK0, SCK1
SCK0, SCK1
SOT0, SOT1
SCK0, SCK1
SIN0, SIN1
SCK0, SCK1
SIN0, SIN1
Internal shift clock
mode, output pin load is
CL = 80 pF + 1 TTL
tSLSHSCK0, SCK14 tCPns
External shift clock
mode, output pin load is
CL = 80 pF + 1 TTL
t
SLOV
IVSH
t
SHIX
SCK0, SCK1
SOT0, SOT1
SCK0, SCK1
SIN0, SIN1
SCK0, SCK1
SIN0, SIN1
Notes : • These are the AC ratings for CLK synchronous mode.
• C
L is the load capacitor connected to the pin for testing.
• t
CP is the machine cycle period (unit = ns)
8 tCPns
−8080ns
100ns
60ns
4 tCPns
150ns
60ns
60ns
65
MB90560/565 Series
•
Internal shift clock mode
SCK
0.8 V0.8 V
tSLOV
SOT
SIN
•
External shift clock mode
SCK
0.2 VCC0.2 VCC
tSCYC
2.4 V
2.4 V
0.8 V
tIVSHtSHIX
0.8 V
CC
0.2 VCC
tSLSHtSHSL
0.8 VCC0.8 VCC
0.8 VCC
0.2 VCC
SOT
SIN
tSLOV
2.4 V
0.8 V
tIVSHtSHIX
0.8 V
CC
0.2 VCC
0.8 VCC
0.2 VCC
66
(5) Timer Input Timings
ParameterSymbolPin Name
MB90560/565 Series
(T
A=−40 °C to +85 °C, VCC= 5.0 V ±10%, VSS= AVSS= 0.0 V)
Condi-
tion
Value
UnitRemarks
Min.Max.
Input pulse width t
TIWH, tTIWL FRCK, IN0, IN1, TIN0, TIN14 tCPns
0.8 VCC0.8 VCC
(6) Timer Output Timings
ParameterSymbolPin Name
CLK ↑ → T
OUT change timetTO
CLK
0.2 VCC0.2 VCC
tTIWHtTIWL
(T
A=−40 °C to +85 °C, VCC= 5.0 V ±10%, VSS= AVSS= 0.0 V)
RTO0 to RTO5,
PPG0 to PPG5, TO0 to TO1
2.4 V
t
TO
Condi-
tion
Value
Min.Max.
30ns
Unit Remarks
T
OUT
2.4 V
0.8 V
(7) Trigger Input Timings
(T
A=−40 °C to +85 °C, VCC= 5.0 V ±10%, VSS= AVSS= 0.0 V)
ParameterSymbolPin NameCondition
Input pulse widtht
TRGLINT0 to INT7, IN0 to IN3
0.8 VCC0.8 VCC
0.2 VCC0.2 VCC
tTRGHtTRGL
Value
UnitRemarks
Min.Max.
5 t
CPns
In normal
operation
1µsIn stop mode
67
MB90560/565 Series
5.Electrical Characteristics for the A/D Converter
(TA=−40 °C to +85 °C, 3.0 V ≤ AVR, VCC= AVCC= 5.0 V ±10%, VSS= AVSS= 0.0 V)
ParameterSymbolPin Name
Min.Typ.Max.
Resolution10bit
Total error ±5.0LSB
Non-linearity error±2.5LSB
Differential linearity error±1.9LSB
Value
UnitRemarks
Zero transition voltageV
OTAN0 to AN7
AVSS
−3.5 LSB
+0.5
SS
AV
+4.5 LSB
mV
1 LSB = AVRH/1024
Full-scale transition
voltage
FSTAN0 to AN7
V
AVR
−6.5 LSB
AVR
−1.5 LSB
AVR
+1.5 LSB
mV
Conversion time 176 tCPns
Sampling time64 t
Analog port input
current
I
AINAN0 to AN710µA
CPns
Analog input voltageVAINAN0 to AN70AVRV
Reference voltageAVR2.7AV
AAVCC5mA
I
CCV
Power supply current
IAHAVCC5µA*
I
Reference voltage
supply current
Variation between
channels
* : Current when A/D converter is not used and CPU is in stop mode (V
RAVR400µA
I
RHAVR5µA*
AN0 to AN7 4LSB
CC= AVCC= AVR = 5.0 V)
Notes : • The L reference v oltage is fixed to AVSS. The relative error increases as AVR becomes smaller.
• Ensure that the output impedance of the e xternal circuit connected to the analog input meets the following
condition :
Output impedance of external circuit ≤ 10 kΩ (Sampling Time = 4.0 µs)
• If the output impedance of the external circuit is too high, the analog voltage sampling time may be too short.
• Equivalent circuit of analog input circuit
Analog input
Note : The values listed are an indication only.
68
MB90561/A, MB90562/A
R
ON= 2.2 kΩ approx.
C = 45 pF approx.
MB90F562
R
ON= 3.2 kΩ approx.
C = 30 pF approx.
MB90F562/B
R
ON= 2.6 kΩ approx.
C = 28 pF approx.
CRON
Comparator
6.Flash Memory Erase and Programming Performance
MB90560/565 Series
ParameterCondition
Sector erase time
T
Chip erase time5s
Word (16 bit width)
programming time
Erase/Program cycle10,000cycle
Data holding time100,000h
CC and AVR must not exceed VCC. Also, AVR must not exceed AVCC.
Average value
(operating current × operating ratio)
Average value
(operating current × operating ratio)
Average value
(operating current × operating ratio)
Average value
(operating current × operating ratio)
*2 : V
I and VO must not exceed VCC+ 0.3 V.
*3 : The maximum output current is the peak value for a single pin.
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.
70
2.Recommended Operating Conditions
Value
ParameterSymbol
Min.Max.
3.03.6VNormal operation (MB90V560)
MB90560/565 Series
(VSS= AVSS= 0.0 V)
UnitRemarks
Power supply voltageV
CC
2.73.6V
Normal operation (MB90F568, MB90567
and MB90568)
2.53.6VMaintaining state in stop mode
V
IH0.7 VCCVCC+ 0.3VCMOS input pin
Input “H” voltage
V
IHS0.8 VCCVCC+ 0.3VCMOS hysteresis input pin
V
IHMVCC− 0.3VCC+ 0.3VMD input pin
VILVSS− 0.30.3 VCCVCMOS input pin
Input “L” voltage
V
ILSVSS− 0.30.2 VCCVCMOS hysteresis input pin
V
ILMVSS− 0.3VSS+ 0.3VMD input pin
Operating temperatureTA−40+85 °C
WARNING: The recommended operating conditions are required in order to ensure the nor mal 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.
71
MB90560/565 Series
3.DC Characteristics
Parameter
Sym
Pin NameCondition
bol
(TA=−40 °C to +85 °C, VCC= 2.7 V to 3.6 V, VSS= AVSS= 0.0 V)
Value
UnitRemarks
Min.Typ.Max.
Output “H”
voltage
Output “L”
voltage
Input leak
current
Power
supply
current*
V
OH
V
OL
I
IL
I
CC
All output
pins
All output
pins
All output
pins
VCC
VCC= 3.0 V
I
OH=−2.0 mA
VCC= 3.0 V
I
OL= 2.0 mA
VCC= 3.0 V
V
SS < VI < VCC
For VCC= 3.3 V,
internal frequency = 8 MHz,
normal operation
For V
CC= 3.3 V,
internal frequency = 16 MHz,
normal operation
For V
CC= 3.3 V,
internal frequency = 8 MHz,
A/D operation in progress
For V
CC= 3.3 V,
internal frequency = 16 MHz,
A/D operation in progress
For V
CC= 3.3 V,
internal frequency = 8 MHz,
normal operation
For V
CC= 3.3 V,
internal frequency = 16 MHz,
normal operation
VCC− 0.5 VCC− 0.3V
0.20.4V
−5−15µA
1422mA MB90567/568
2740mA MB90567/568
1827mA MB90567/568
3245mA MB90567/568
1828mA MB90F568
3645mA MB90F568
For V
CC= 3.3 V,
internal frequency = 8 MHz,
2333mA MB90F568
A/D operation in progress
For V
CC= 3.3 V,
internal frequency = 16 MHz,
4150mA MB90F568
A/D operation in progress
Flash write or erase4050mA MB90F568
I
CCS
For VCC= 3.3 V,
internal frequency = 8 MHz,
sleep mode
For VCC= 3.3 V,
internal frequency = 16 MHz,
sleep mode
610mA
1420mA
MB90567/568
MB90F568
MB90567/568
MB90F568
ICCHStop mode, TA= 25 °C520µA
* : Value when low power mode bits (LPM0, 1) are set to “01” with an internal operating frequency of 8 MHz.
72
*
*
(Continued)
MB90560/565 Series
(Continued)
Parameter
Pull-up
resistor
Pull-down
resistor
Note : Current values are provisional and are subject to change without notice to allow for improvements to the
characteristics. The power supply current is measured with an external clock.
Sym-
bol
UP
R
R
DOWN MD22065200kΩ
Pin NameCondition
P00 to P07
P10 to P17
RST
, MD0,
MD1
Min.Typ.Max.
2065200kΩ
Value
UnitRemarks
73
MB90560/565 Series
4.AC Characteristics
(1) Clock Timings
(MB90567/568/F568 : T
Parameter
Clock frequencyf
Clock cycle timet
Input clock pulse width
Input clock rise/fall time
Sym
Pin Name
bol
CX0, X1
HCYLX0, X1
P
WH
PWL
tcr
tcf
X010ns
X0 5ns
A=−40 °C to +85 °C, VCC= 2.7 V to 3.6 V, VSS= AVSS= 0.0 V)
(MB90V560 : T
Condi-
tion
A=+25 °C, VCC= 2.7 V to 3.6 V, VSS= AVSS= 0.0 V)
Value
UnitRemarks
Min.Typ.Max.
312MHz MB90V560
316MHz
MB90567/568
MB90F568
83.3333nsMB90V560
62.5333ns
MB90567/568
MB90F568
Recommended duty
ratio = 30% to 70%
When using an
external clock
Internal operating clock
frequency
Internal operating clock
cycle time
• X0 and X1 clock timing
X0
CP
f
t
CP
1.512MHz MB90V560
1.516MHz
83.3666nsMB90V560
62.5666ns
tHCYL
PWHPWL
tcf
MB90567/568
MB90F568
MB90567/568
MB90F568
0.8 VCC
0.2 VCC
tcr
74
• PLL guaranteed operation range
e
Relationship between internal operating clock frequency and power supply voltage
3.6
MB90560/565 Series
PLL guaranteed operation range
(MB90567/568/F568 : 3.0 V to 3.6 V, fCP = 3 MHz to 16 MHz)
(MB90V560 : 3.0 V to 3.6 V, fCP = 3 MHz to 12 MHz)
Supply Voltage VCC (V)
3.0
2.7
Guaranteed operation range
for MB90V560
(3.0 V to 3.6 V,
CP = 1.5 MHz to 12 MHz)
f
1.5381216
Internal Clock fCP (MHz)
Guaranteed operation range for MB90567/568/F568
(3.0 V to 3.6 V, f
(2.7 V to 3.6 V, fCP = 1.5 MHz to 8 MHz)
CP = 1.5 MHz to 16 MHz)
PLL guaranteed
operation range
A/D converter
guaranteed
operation rang
Relationship between oscillation frequency and internal operating clock frequency
16
12
9
8
6
4
3
Internal Clock fCP (MHz)
2
1.5
×4×3×2×1
No multiplier
3468
Source Oscillation Clock fC (MHz)
1216
The AC ratings are specified for the following measurement reference voltages.
•
Input signal waveform
Hysteresis input pin
0.8 VCC
0.2 VCC
•
Output signal waveform
Output pin
2.4 V
0.8 V
Pins other than hysteresis input or MD input pins
0.7 V
CC
0.3 VCC
75
MB90560/565 Series
(2) Reset
ParameterSymbolPin Name Condition
(T
A=−40 °C to +85 °C, VCC= 2.7 V to 3.6 V, VSS= AVSS= 0.0 V)
Value
UnitRemarks
Min.Max.
In normal
operation
In stop
mode
Reset input timet
RSTLRST
16 t
CPns
Oscillator oscillation
time* + 16 t
CP
ms
*: Oscillator oscillation time is the time to reach 90% amplitude. For a crystal oscillator, this is a few to several
dozen ms; for a F AR/ceramic oscillator, this is se veral hundred µs to a f ew ms, and for an external clock this is 0 ms .
• In normal operation
tRSTL
RST
0.2 VCC
0.2 VCC
• In stop mode
tRSTL
RST
0.2Vcc
0.2Vcc
76
X0
Internal
operation
clock
Internal
reset
90 % of
amplitude
Oscillator
oscillation time
16 tcp
Oscillator stabilization wait time
Execution of the instruction
(3) Power-On Reset
(T
A=−40 °C to +85 °C, VCC= 2.7 V to 3.6 V, VSS= AVSS= 0.0 V)
ParameterSymbolPin Name
Power supply rise timet
RVCC
Condi-
tion
*
Value
Min.Max.
0.0530ms
Power supply cutoff timet
* : V
CC must be less than 0.2 V before power-on.
OFFVCC4msFor repeated operation
Notes : • The above rating values are for generating a power-on reset.
• Some internal registers are only initialized by a power-on reset. Always apply the power supply in
accordance with the above ratings if you wish to initialize these registers.
tR
MB90560/565 Series
UnitRemarks
VCC
2.7 V
0.2 V0.2 V
t
OFF
0.2 V
Sudden changes in the power supply voltage may cause a power-on reset.
The recommended practice if you wish to change the power supply voltage while the device is
operating is to raise the voltage smoothly as shown below. Also, changes to the supply voltage
should be performed when the PLL clock is not in use. The PLL clock may be used, however, if
the rate of voltage change is 1 V/s or less.
VCC
Recommended rate of voltage
rise is 50 mV/ms or less.
2.5 V
V
SS
Maintain RAM data
77
MB90560/565 Series
(4) UART0 and UART1
ParameterSymbolPin NameCondition
(T
A=−40 °C to +85 °C, VCC= 2.7 V to 3.6 V, VSS= AVSS= 0.0 V)
Value
Unit Remarks
Min.Max.
Serial clock cycle timet
SCK ↓ → SOT delay timet
SCYCSCK0, SCK1
SLOV
SCK0, SCK1
SOT0, SOT1
Internal shift clock
8 t
CPns
−8080ns
mode, output pin
Valid SIN → SCK ↑t
SCK ↑ → valid SIN hold timet
Serial clock “H” pulse widtht
SCK0, SCK1
IVSH
SHIX
SHSLSCK0, SCK1
SIN0, SIN1
SCK0, SCK1
SIN0, SIN1
load is
L= 80 pF + 1 TTL
C
100ns
60ns
CPns
4 t
Serial clock “L” pulse widthtSLSHSCK0, SCK14 tCPns
SCK ↓ → SOT delay timet
Valid SIN → SCK ↑t
SCK ↑ → valid SIN hold timet
SLOV
IVSH
SHIX
SCK0, SCK1
SOT0, SOT1
SCK0, SCK1
SIN0, SIN1
SCK0, SCK1
SIN0, SIN1
External shift clock
mode, output pin
load is
C
L= 80 pF + 1 TTL
150ns
60ns
60ns
Notes : • These are the AC ratings for CLK synchronous mode.
• CV is the load capacitor connected to the pin for testing.
• t
CP is the machine cycle period (unit = ns)
78
•
Internal shift clock mode
SCK
SOT
SIN
•
External shift clock mode
SCK
MB90560/565 Series
tSCYC
2.4 V
0.8 V0.8 V
tSLOV
2.4 V
0.8 V
tIVSHtSHIX
0.8 V
CC
0.2 VCC
tSLSHtSHSL
0.8 VCC0.8 VCC
0.2 VCC0.2 VCC
0.8 VCC
0.2 VCC
SOT
SIN
tSLOV
2.4 V
0.8 V
tIVSHtSHIX
0.8 V
CC
0.2 VCC
0.8 VCC
0.2 VCC
79
MB90560/565 Series
(5) Timer Input Timings
ParameterSymbolPin Name
(T
A=−40 °C to +85 °C, VCC= 2.7 V to 3.6 V, VSS= AVSS= 0.0 V)
Condi-
tion
Value
UnitRemarks
Min.Max.
Input pulse widtht
FRCK
TIN0 to1
TIWH, tTIWL FRCK, TIN0, TIN14 tCPns
0.8 VCC
tTIWHtTIWL
0.8 VCC
0.2 VCC0.2 VCC
(6) Timer Output Timings
(T
A=−40 °C to +85 °C, VCC= 2.7 V to 3.6 V, VSS= AVSS= 0.0 V)
ParameterSymbolPin NameCondition
CLK ↑ → T
time
OUT change
CLK
tTO
RTO0 to RTO5, PPG0 to PPG5
TO0, TO1
2.4 V
t
TO
Value
Unit Remarks
Min.Max.
30ns
T
OUT
(7) Trigger Input Timings
ParameterSymbolPin NameCondition
Input pulse widtht
INT0 to INT7
IN0 to IN3
80
2.4 V
0.8 V
A=−40 °C to +85 °C, VCC= 2.7 V to 3.6 V, VSS= AVSS= 0.0 V)
(T
TRGLINT0 to INT7, IN0 to IN3
0.8 VCC
tTRGHtTRGL
0.8 VCC
0.2 VCC0.2 VCC
Value
UnitRemarks
Min.Max.
5 t
CPns
In normal
operation
1µsIn stop mode
MB90560/565 Series
5.Electrical Characteristics for the A/D Converter
(MB90567/568/F568 : TA=−40 °C to +85 °C, 2.7 V ≤ AVR, VCC= AVCC= 2.7 V to 3.6 V, VSS= AVSS= 0.0 V)
(MB90V560 : TA=+25 °C, 3.0 V ≤ AVR, VCC= AVCC= 3.0 V to 3.6 V, VSS= AVSS= 0.0 V)
ParameterSymbolPin Name
Min.Typ.Max.
Resolution 10bit
Total error ±3.0LSB
Non-linearity error ±2.5LSB
Value
UnitRemarks
Differential linearity
error
Zero transition
voltage
Full-scale transition
voltage
Conversion time 66 t
Sampling time 32 t
Analog port input
current
Analog input voltageV
±1.9LSB
V
OTAN0 to AN7
V
FSTAN0 to AN7
AVSS
−1.5 LSB
AVR
−3.5 LSB
SS
AV
+0.5
+2.5 LSB
AVR
−1.5 LSB
+0.5 LSB
CPns
CPns
IAINAN0 to AN710µA
AINAN0 to AN70AVRV
Reference voltageAVR2.7AV
AAVCC15mA
I
Power supply current
IAHAVCC 5µA*
RAVR100200µA
Reference voltage
supply current
Variation between
channels
* : Current when A/D converter is not used and CPU is in stop mode (V
I
I
RHAVR 5µA*
AN0 to AN7 4LSB
CC= AVCC= AVR = 3.3 V)
SS
AV
AVR
CCV
mV
1 LSB = AVRH/1024
mV
Notes : • The L reference voltage is fixed to AV
• Ensure that the output impedance of the e xternal circuit connected to the analog input meets the following
condition :
Output impedance of MB90F568 external circuit ≤ 14 kΩ (Sampling Time = 4 µs)
Output impedance of MB90567/568 external circuit ≤ 7 kΩ (Sampling Time = 4 µs)
• If the output impedance of the external circuit is too high, the analog voltage sampling time may be too short.
SS. The relative error increases as AVR becomes smaller.
81
MB90560/565 Series
•
Equivalent circuit of analog input circuit
CRON
Comparator
Analog input
MB90567/568/F568
R
ON= 7.1 kΩ approx.
C = 48.3 pF approx.
Note : The values listed are an indication only.
82
6.Flash Memory Erase and Programming Performance
MB90560/565 Series
ParameterCondition
Sector erase time
T
Chip erase time5s
Word (16 bit width)
programming time
Erase/Program cycle10,000cycle
Data holding time100,000h
• Points to note regarding the MB90F568, 567, and 568 specifications
This section describes the specification differences between the MB90F568/567/568 and the MB90F562/F562B/
562/562A/561/561A.
(1) Functional differences
1) The 5 V to 3 V regulator has been removed in the MB96565 series.
The C pin has been changed to an N.C. pin.
2) The A/D converter unit in the MB96565 series has changed from a 5 V version to a 3 V version.
However, the conversion time and sampling time remain the same.
A=+ 25 °C
Vcc = 3.3 V
MinTypMax
115s
163,600µsExcludes system-level overhead
Value
UnitsRemarks
Excludes 00H programming prior
erasure
Excludes 00H programming prior
erasure
3) The maximum voltage that can be applied to I/O pins has changed from 5 V to 3 V in the MB96565 series.
4) Added transfer counter clear function to UART in the MB96565 series.
This function restores the UART to its initial state when “0” is written to the UART reset bit.
(2) Points to note when using the devices
The MB90F562, F562B, and F568 use P60 (14) as SIN1, P61 (15) as SOT1, and P40 (60) as SCK0 when
performing on-board programming.
Use the following pin settings when performing on-board programming.
Pin NamePin I/O Level*Remarks
MD2“H” level
Serial write mode settingsMD1“H” level
MD0“L” level
SIN1Serial data inputNormally shared with P60
SOT1Serial data outputNormally shared with P61
SCK0Serial clockNormally shared with P40
P00“L” level
P01“H” levelInput “L” level for PC writing
* : These settings are for using a Yokogawa Digital Computer Corporation writer f or on-board prog r amming. Alter-
natively, writing can be performed from a PC, but a special write program is required.
Note : Pins width and pins thickness include plating thickness.
0.17±0.06
18.70±0.40
(.736±.016)
(.007±.002)
Details of "A" part
+0.35
–0.20
3.00
(Mounting height)
+.014
–.008
.118
0~8°
1.20±0.20
(.047±.008)
0.42±0.08
(.017±.003)
3351
32
14.00±0.20
(.551±.008)
20
0.20(.008)
M
+0.15
–0.20
0.25
+.006
–.008
.010
(Stand off)
C
2001 FUJITSU LIMITED F64013S-c-4-4
Dimensions in mm (inches).
Note: The values in parentheses are reference values.
(Continued)
88
MB90560/565 Series
64-pin plastic LQFP
(FPT-64P-M09)
14.00±0.20(.551±.008)SQ
12.00±0.10(.472±.004)SQ
49
INDEX
64
116
0.65(.026)
Note : Pins width and pins thickness include plating thickness.
0.145±0.055
3348
0.32±0.05
(.013±.002)
32
17
0.13(.005)
M
(.0057±.0022)
0.10(.004)
0.10(.004)
"A"
Details of "A" part
+0.20
–0.10
1.50
+.008
–.004
.059
0.25(.010)
0~8°
0.50±0.20
(.020±.008)
0.60±0.15
(.024±.006)
(Mounting height)
0.10±0.10
(.004±.004)
(Stand off)
C
2001 FUJITSU LIMITED F64018S-c-2-4
Dimensions in mm (inches).
Note: The values in parentheses are reference values.
(Continued)
89
MB90560/565 Series
(Continued)
64-pin plastic SH-DIP
(DIP-64P-M01)
Note : Pins width and pins thickness include plating thickness.
+0.22
–0.55
58.00
INDEX-1
INDEX-2
+0.70
–0.20
4.95
+.028
–.008
.195
+0.20
–0.30
3.30
+.008
.130 –.012
C
2001 FUJITSU LIMITED D64001S-c-4-5
1.378
.0543
+0.40
–0.20
+.016
–.008
1.778(.0700)
2.283
0.47±0.10
(.019±.004)
+.009
–.022
0.25(.010)
17.00±0.25
(.669±.010)
+0.50
–0.19
0.70
+.020
–.007
.028
0.27±0.10
(.011±.004)
+0.50
–0
M
1.00
.039 –.0
+.020
19.05(.750)
0~15°
Dimensions in mm (inches).
Note: The values in parentheses are reference values.
90
MB90560/565 Series
FUJITSU LIMITED
All Rights Reserved.
The contents of this document are subject to change without notice.
Customers are advised to consult with FUJITSU sales
representatives before ordering.
The information and circuit diagrams in this document are
presented as examples of semiconductor device applications, and
are not intended to be incorporated in devices for actual use. Also,
FUJITSU is unable to assume responsibility for infringement of
any patent rights or other rights of third parties arising from the use
of this information or circuit diagrams.
The products described in this document are designed, developed
and manufactured as contemplated for general use, including
without limitation, ordinary industrial use, general office use,
personal use, and household use, but are not designed, developed
and manufactured as contemplated (1) for use accompanying fatal
risks or dangers that, unless extremely high safety is secured, could
have a serious effect to the public, and could lead directly to death,
personal injury, severe physical damage or other loss (i.e., nuclear
reaction control in nuclear facility, aircraft flight control, air traffic
control, mass transport control, medical life support system, missile
launch control in weapon system), or (2) for use requiring
extremely high reliability (i.e., submersible repeater and artificial
satellite).
Please note that Fujitsu will not be liable against you and/or any
third party for any claims or damages arising in connection with
above-mentioned uses of the products.
Any semiconductor devices have an inherent chance of failure. You
must protect against injury, damage or loss from such failures by
incorporating safety design measures into your facility and
equipment such as redundancy, fire protection, and prevention of
over-current levels and other abnormal operating conditions.
If any products described in this document represent goods or
technologies subject to certain restrictions on export under the
Foreign Exchange and Foreign Trade Law of Japan, the prior
authorization by Japanese government will be required for export
of those products from Japan.
F0204
FUJITSU LIMITED Printed in Japan
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.