The FR family* is a series of standard single-chip microcontrollers that feature a variety of built-in I/O resources
and bus control functions, and that employ a high-performance 32-bit RISC CPU for embedded control applications
that demand powerful and fast CPU processing capabilities.
This product is one of the FR60 family based on the FR30/40 family CPU with enhanced bus access. The FR60
family is a line of single-chip oriented microcontrollers that incorporate a wealth of peripheral resources.
The FR60 family is optimized for embedded control applications that require high CPU processing power, such
as DVD players, navigation equipment, high performance fax machines, and printer controllers.
* : FR, the abbreviation of FUJITSU RISC controller, is a line of products of FUJITSU Limited.
■ FEATURES
1.FR CPU
• 32-bit RISC, load/store architecture with a five-stage pipeline
• Maximum operating frequency : 50 MHz (using the PLL at an oscillation frequency of 12.5 MHz)
• Capable of simultaneous operation of up to 5 channels (external → external : 3 channels)
• 3 transfer sources (external pin, internal peripheral or software) :
Activation sources are software-selectable (transfer can be activated by UART0/1/2).
• Addressing using 32-bit full addressing mode (increment, decrement, fixed)
• Fly-by transfer support (between external I/O and memory)
• Selectable transfer data size : 8, 16, or 32-bit
• Multi-byte transfer capability (selected by software)
• DMAC descriptor in IO areas (200
(The MB91F353A/353A/352A/351A does not have an external interface.)
External pin transfer is not supported. Demand transfer and fly-by transfer cannot be used.
H to 240H, 1000H to 1024H)
5.Bit search module (for REALOS)
• Search a single word starting from the MSB for the position of the first bit changed from 1 to 0.
(Continued)
2
MB91350A Series
6.Various timers
• 4 channels of 16-bit reload timer (including 1 channel for REALOS) :
Internal clock frequency divider selectable from 2/8/32 (division by 64/128 selectable only for ch.3)
• 8-bit data serial transfer : 3 channels (MB91F353A/353A/352A/351A : 2 channels)
• Shift clock selectable from among three internal and one external
• Shift direction selectable (transfer from LSB or MSB)
9.Interrupt controller
• Total number of external interrupts : 17 (MB91F353A/353A/352A/351A : 9)
(One non-maskable interrupt pin and 16/8 ordinary interrupt pins that can be used for wakeup in stop mode.)
• Interrupts from internal peripherals
• Programmable priorities (16 levels) for all interrupts except the non-maskable interrupt
P20 to P27Can be used as ports while in external bus 8-bit mode.
D24 to D31
P30 to P37Can be used as ports while in single-chip mode.
A00 to A07
P40 to P47Can be used as ports while in single-chip mode.
A08 to A15
P50 to P57Can be used as ports while in single-chip mode.
A16 to A20
P60 to P64
A21 to A23
P65 to P67
I/O
circuit
type*
C
C
C
C
C
C
3
Bit 16 to bit 23 of the external data bus.
Valid only in external bus mode.
Bit 24 to bit 31 of the external data bus.
Valid only in external bus mode.
Bit 0 to bit 7 of the external address bus.
Valid only in external bus mode.
Bit 8 to bit 15 of the external address bus.
Valid only in external bus mode.
Bit 16 to bit 20 of the external address bus.
Valid only in external bus mode.
Can be used as ports while in single-chip mode or when the
external address bus is not used.
Bit 21 to bit 23 of the external address bus.
Valid only in external bus mode.
Can be used as ports while in single-chip mode or when the
external address bus is not used.
Function
49⎯DA2⎯D/A converter output pin
50 to 57113 to 120AN0 to AN7GAnalog input pins
58 to 61⎯AN8 to AN11GAnalog input pins
TOT0 to TOT3
67 to 70⎯
PP0 to PP3
OC0
7197
PO0
Reload timer output ports.
This pin is valid when timer output is enabled.
D
General-purpose I/O ports.
This pin is valid when the timer output function is
disabled.
Output compare output pin
General-purpose I/O port.
D
This pin can be used as a port when the output compare
output is not used.
(Continued)
7
MB91350A Series
Pin no.
1
LQFP*
LQFP*
72⎯
7398
74 to 78⎯
8170
82⎯
2
OC3 to OC7
PO3 to PO7
Pin name
OC1
PO1
OC2
PO2
PPG0
PN0
PPG1
PN1
I/O
circuit
type*
D
D
D
D
D
3
Function
Output compare output pin
General-purpose I/O port.
This pin can be used as a port when the output compare
output is not used.
Output compare output pin
General-purpose I/O port.
This pin can be used as a port when the output compare
output is not used.
Output compare output pins
General-purpose I/O ports.
These pins can be used as ports when the output compare
outputs are not used.
PPG timer output pin
General-purpose I/O port.
This pin can be used as a port when the PPG timer output is
not used.
PPG timer output pin
General-purpose I/O port.
This pin can be used as a port when the PPG timer output is
not used.
8371
84⎯
8572
86⎯
PPG2
PN2
PPG3
PN3
PPG4
PN4
PPG5
PN5
PPG timer output pin
General-purpose I/O port.
D
This pin can be used as a port when the PPG timer output is
not used.
PPG timer output pin
General-purpose I/O port.
D
This pin can be used as a port when the PPG timer output is
not used.
PPG timer output pin
General-purpose I/O port.
D
This pin can be used as a port when the PPG timer output is
not used.
PPG timer output pin
General-purpose I/O port.
D
This pin can be used as a port when the PPG timer output is
not used.
(Continued)
8
MB91350A Series
Pin no.
LQFP*
1
8773
8874
LQFP*
2
Pin name
SI6
AIN0
TRG0
PM0
SO6
BIN0
TRG1
PM1
I/O
circuit
type*
D
D
3
Function
Data input for serial I/O6.
Since this input is always used when serial I/O6 input is
operating, output using the port must be stopped beforehand
unless this operation is the intended operation.
Input for the up/down counter.
Since this input is always used when input is enabled, output
using the port must be stopped beforehand unless this operation
is the intended operation.
External trigger input for PPG timer 0.
Since this input is always used when input is enabled, output
using the port must be stopped beforehand unless this operation
is the intended operation.
General-purpose I/O port.
This pin can be used as a port when serial I/O, up/down counter,
and PPG timer output are not used.
Data output from serial I/O6.
This function is valid when data output from serial I/O6 is
enabled.
Input for the up/down counter.
Since this input is always used when input is enabled, output
using the port must be stopped beforehand unless this operation
is the intended operation.
External trigger input for PPG timer 1.
Since this input is always used when input is enabled, output
using the port must be stopped beforehand unless this operation
is the intended operation.
General-purpose I/O port.
This pin can be used as a port when serial I/O, up/down counter,
and PPG timer output are not used.
8975
SCK6
ZIN0
TRG2
PM2
Clock I/O for serial I/O 6.
This function is valid when clock output from serial I/O6 is
enabled or when an external shift clock input is used.
Input for the up/down counter.
Since this input is always used when input is enabled, output
using the port must be stopped beforehand unless this operation
is the intended operation.
D
External trigger input for PPG timer 2.
Since this input is always used when input is enabled, output
using the port must be stopped beforehand unless this operation
is the intended operation.
General-purpose I/O port.
This pin can be used as a port when serial I/O, up/down counter,
and PPG timer output are not used.
(Continued)
9
MB91350A Series
Pin no.
LQFP*
1
9078
9179
9280
LQFP*
2
Pin name
SI7
4
AIN1*
TRG3
PM3
S07
4
BIN1*
TRG4
PM4
SCK7
4
ZIN1*
TRG5*
4
PM5
I/O
circuit
type*
D
D
D
3
Function
Data input for serial I/O7.
Since this input is always used when serial I/O7 input is
operating, output using the port must be stopped beforehand
unless this operation is the intended operation.
Input for the up/down counter.
Since this input is always used when input is enabled, output
using the port must be stopped beforehand unless this operation
is the intended operation.
External trigger input for PPG timer 3.
Since this input is always used when input is enabled, output
using the port must be stopped beforehand unless this operation
is the intended operation.
General-purpose I/O port.
This pin can be used as a port when serial I/O, up/down counter,
and PPG timer output are not used.
Data output from serial I/O7.
This function is valid when data output from serial I/O7 is
enabled.
Input for the up/down counter.
Since this input is always used when input is enabled, output
using the port must be stopped beforehand unless this operation
is the intended operation.
External trigger input for PPG timer 4.
Since this input is always used when input is enabled, output
using the port must be stopped beforehand unless this operation
is the intended operation.
General-purpose I/O port.
This pin can be used as a port when serial I/O, up/down counter,
and PPG timer output are not used.
Clock I/O for serial I/O7.
This function is valid when clock output from serial I/O7 is
enabled or when an external shift clock input is used.
Input for the up/down counter.
Since this input is always used when input is enabled, output
using the port must be stopped beforehand unless this operation
is the intended operation.
External trigger input for PPG timer 5.
Since this input is always used when input is enabled, output
using the port must be stopped beforehand unless this operation
is the intended operation.
General-purpose I/O port.
This pin can be used as a port when serial I/O, up/down counter,
and PPG timer output are not used.
(Continued)
10
MB91350A Series
Pin no.
1
LQFP*
LQFP*
9442
9541
98 to 10381 to 86
2
INT0 to INT5
Pin name
SDA
PL0
SCL
PL1
I/O
circuit
type*
F
F
E
3
DATA I/O pin for the I
This pin is valid when standard mode I
2
C bus.
2
C operation is
enabled.
Output using the port must be stopped beforehand unless this
operation is intended (open drain output).
General-purpose I/O port.
Function
This pin can be used as a port when I
2
C operation is disabled
(open drain output).
Clock I/O pin for the I
This pin is valid when standard mode I
2
C bus.
2
C operation is
enabled.
Output using the port must be stopped beforehand unless this
operation is intended (open drain output).
General-purpose I/O port.
This pin can be used as a port when I
2
C operation is disabled
(open drain output).
External interrupt inputs.
Since these inputs are always used when the corresponding
external interrupts are enabled, output using the ports must
be stopped beforehand unless this operation is the intended
operation.
10487
10588
PK0 to PK5General-purpose I/O ports
External interrupt input.
Since this input is always used when the corresponding
INT6
external interrupt is enabled, output using the port must be
stopped beforehand unless this operation is the intended
operation.
E
External clock input pin for the free-run timer.
Since this input is always used when it is selected as the
FRCK
external clock input for the free-run timer, output using the port
must be stopped beforehand unless this operation is the
intended operation.
PK6General-purpose I/O port
External interrupt input.
Since this input is always used when the corresponding
INT7
external interrupt is enabled, output using the port must be
stopped beforehand unless this operation is the intended
operation.
E
External trigger for the A/D converter.
ATG
Since this input is always used when it is selected as the A/D
activation source, output using the port must be stopped
beforehand unless this operation is the intended operation.
PK7General-purpose I/O port
(Continued)
11
MB91350A Series
Pin no.
1
LQFP*
LQFP*
106 to 113⎯
11689
11790
11891
11992
12093
12194
12299
I/O
2
Pin name
circuit
type*
3
External interrupt inputs.
Since these inputs are always used when the corresponding
INT8 to INT15
external interrupts are enabled, output using the ports must
E
be stopped beforehand unless this operation is the intended
operation.
PJ0 to PJ7General-purpose I/O ports
Data input for UART0.
SI0
Since this input is always used when UART0 input is operating, output using the port must be stopped beforehand unless
D
this operation is the intended operation.
PI0General-purpose I/O port
SO0
Data output from UART0.
This function is valid when UART0 data output is enabled.
D
PI1
General-purpose I/O port.
This function is valid when UART0 data output is disabled.
Clock I/O for UART0.
SCK0
This function is valid when UART0 clock output is enabled or
when an external clock input is used.
D
General-purpose I/O port.
PI2
This function is valid when UART0 clock output is disabled or
when an external clock input is not used.
Data input for UART1.
SI1
Since this input is always used when UART1 input is
operating, output using the port must be stopped beforehand
D
unless this operation is the intended operation.
PI3General-purpose I/O port
SO1
Data output from UART1.
This function is valid when UART1 data output is enabled.
D
PI4
General-purpose I/O port.
This function is valid when UART1 data output is disabled.
Clock I/O for UART1.
SCK1
This function is valid when UART1 clock output is enabled or
when an external clock input is used.
D
General-purpose I/O port.
PI5
This function is valid when UART1 clock output is disabled or
when an external clock input is not used.
Data input for UART2.
SI2
Since this input is always used when UART2 input is
operating, output using the port must be stopped beforehand
D
unless this operation is the intended operation.
PH0General-purpose I/O port
Function
(Continued)
12
MB91350A Series
Pin no.
1
LQFP*
LQFP*
123100
124101
125102
126103
2
I/O
Pin name
SO2
PH1
circuit
type*
D
3
Data output from UART2.
This function is valid when UART2 data output is enabled.
General-purpose I/O port.
This function is valid when UART2 data output is disabled or
when an external shift clock input is used.
Clock I/O for UART2.
SCK2
This function is valid when UART2 clock output is enabled or
when an external clock input is used.
D
General-purpose I/O port.
PH2
This function is valid when UART2 clock output is disabled or
when an external clock input is not used.
Data input for UART3.
SI3
Since this input is always used when UART3 input is operating, output using the port must be stopped beforehand unless
D
this operation is the intended operation.
PH3General-purpose I/O port
SO3
Data output from UART3.
This function is valid when UART3 data output is enabled.
D
PH4
General-purpose I/O port.
This function is valid when UART3 data output is disabled.
Function
127104
128⎯
129⎯
Clock I/O for UART3.
SCK3
This function is valid when UART3 clock output is enabled or
when an external clock input is used.
D
General-purpose I/O port.
PH5
This function is valid when UART3 clock output is disabled or
when an external clock input is not used.
Data input for UART4.
SI4
Since this input is always used when UART4 input is operating, output using the port must be stopped beforehand unless
D
this operation is the intended operation.
PG0General-purpose I/O port
SO4
Data output from UART4.
This function is valid when serial I/O4 data output is enabled.
D
PG1
General-purpose I/O port.
This function is valid when serial I/O4 data output is disabled.
(Continued)
13
MB91350A Series
Pin no.
LQFP*
1
130⎯
131⎯
132⎯
133⎯
LQFP*
2
I/O
Pin name
circuit
type*
3
Clock I/O for UART4.
SCK4
This function is valid when serial I/O4 clock output is enabled or
when an external clock input is used.
D
General-purpose I/O port.
PG2
This function is valid when serial I/O4 clock output is disabled
or when an external clock input is not used.
Data input for serial I/O5.
SI5
Since this input is always used when serial I/O5 input is
operating, output using the port must be stopped beforehand
D
unless this operation is the intended operation.
PG3General-purpose I/O port
SO5
Data output from serial I/O5.
This function is valid when serial I/O5 data output is enabled.
D
PG4
General-purpose I/O port.
This function is valid when serial I/O5 data output is disabled.
Clock I/O for serial I/O5.
SCK5
This function is valid when serial I/O5 clock output is enabled or
when an external shift clock input is used.
D
General-purpose I/O port.
PG5
This function is valid when serial I/O5 clock output is disabled
or when an external clock input is not used.
Function
13451NMI
HNMI (non-maskable interrupt) input
13561X1ABClock (oscillation) output (sub clock)
13760X0ABClock (oscillation) input (sub clock)
HMode pins 2 to 0.
These pins set the basic operating mode. Connect the pins to
V
138 to 14052 to 54MD2 to MD0
J
CC or VSS.
Input circuit type :
The production version (MASK ROM version) is the "H" type.
The Flash ROM version is the "J" type.
14158X0AClock (oscillation) input (main clock)
14357X1AClock (oscillation) output (main clock)
14455INIT
IExternal reset input
DMA external transfer request input.
147⎯
DREQ2
Since this input is always used when it is selected as the DMA
activation source, output using the port must be stopped
C
beforehand unless this operation is the intended operation.
PC0General-purpose I/O port
(Continued)
14
MB91350A Series
Pin no.
LQFP*
1
148⎯
149⎯
150⎯
LQFP*
2
I/O
Pin name
circuit
type*
3
DMA external transfer request acceptance output.
DACK2
This function is valid when DMA transfer request acceptance
output is enabled.
C
General-purpose I/O port.
PC1
This function is valid when DMA transfer request acceptance
output is enabled.
DMA external transfer end output.
DEOP2
This function is valid when DMA external transfer end output is
enabled.
DMA external transfer stop input.
DSTP2
C
This function is valid when DMA external transfer stop input is
enabled.
General-purpose I/O port.
PC2
This function is valid when DMA external transfer end output
and external transfer stop input are disabled.
DMA external transfer request input.
DREQ0
Since this input is always used when it is selected as the DMA
activation source, output using the port must be stopped
C
beforehand unless this operation is the intended operation.
PB0General-purpose I/O port
Function
151⎯
152⎯
153⎯
DMA external transfer request acceptance output.
DACK0
This function is valid when DMA transfer request acceptance
output is enabled.
C
General-purpose I/O port.
PB1
This function is valid when DMA transfer request acceptance
output is disabled.
DMA external transfer end output.
DEOP0
This function is valid when DMA external transfer end output is
enabled.
DMA external transfer stop input.
DSTP0
C
This function is valid when DMA external transfer stop input is
enabled.
General-purpose I/O port.
PB2
This function is valid when DMA external transfer end output
and external transfer stop input are disabled.
DMA external transfer request input.
DREQ1
Since this input is always used when it is selected as the DMA
activation source, output using the port must be stopped
C
beforehand unless this operation is the intended operation.
PB3General-purpose I/O port.
(Continued)
15
MB91350A Series
Pin no.
LQFP*
1
154⎯
155⎯
156⎯
LQFP*
2
Pin name
DACK1
PB4
DEOP1
DSTP1
PB5
IOWR
PB6
I/O
circuit
type*
C
C
C
3
Function
DMA external transfer request acceptance output.
This function is valid when DMA transfer request acceptance
output is enabled.
General-purpose I/O port.
This function is valid when DMA external transfer request
acceptance output is disabled.
DMA external transfer end output.
This function is valid when DMA external transfer end output
is enabled.
DMA external transfer stop input.
This function is valid when DMA external transfer stop input is
enabled.
General-purpose I/O port.
This function is valid when DMA external transfer end output
and external transfer stop input are disabled.
Write strobe output for DMA fly-by transfer.
This function is valid when write strobe output for DMA fly-by
transfer is enabled.
General-purpose I/O port.
This function is valid when write strobe output for DMA fly-by
transfer is disabled.
157⎯
15866
15967
16068
IORD
PB7
CS0
PA0
CS1
PA1
CS2
PA2
Read strobe output for DMA fly-by transfer.
This function is valid when read strobe output for DMA fly-by
transfer is enabled.
C
General-purpose I/O port.
This function is valid when read strobe output for DMA fly-by
transfer is disabled.
Chip select 0 output.
This function is valid in external bus mode.
C
General-purpose I/O port.
This function is valid in single-chip mode.
Chip select 1 output.
This function is valid when chip select 1 output is enabled.
C
General-purpose I/O port.
This function is valid when chip select 1 output is disabled.
Chip select 2 output.
This function is valid when chip select 2 output is enabled.
C
General-purpose I/O port.
This function is valid when chip select 2 output is disabled.
(Continued)
16
MB91350A Series
Pin no.
LQFP*
1
16169
16445
16546
LQFP*
2
Pin name
CS3
PA3
RDY
IN0
P80
BGRNT
IN1
I/O
circuit
type*
C
D
D
3
Function
Chip select 3 output.
This function is valid when chip select 3 output is enabled.
General-purpose I/O port.
This function is valid when chip select 3 output is disabled.
External ready input.
This function is valid when external ready input is enabled.
Input capture input pin.
Since this input is always used when it is selected for input
capture input, output using the port must be stopped
beforehand unless this operation is the intended operation.
General-purpose I/O port.
This function is valid when external ready input is disabled.
External bus open acceptance output.
Outputs an “L” level when the external bus is open.
This function is valid when output is enabled.
Input capture input pin.
Since this input is always used when it is selected for input
capture input, output using the port must be stopped
beforehand unless this operation is the intended operation.
16647
16748
P81
BRQ
IN2
P82
RD
P83
General-purpose I/O port.
This function is valid when external bus open acceptance is
disabled.
External bus open request input.
A high level is input to this pin to request for the external bus
to be made open.
This function is valid when input is enabled.
Input capture input pin.
D
Since this input is always used when it is selected for input
capture input, output using the port must be stopped
beforehand unless this operation is the intended operation.
General-purpose I/O port.
This function is valid when external bus open request is
disabled.
External bus read strobe output.
This function is valid in external bus mode.
D
General-purpose I/O port.
This function is valid in single-chip mode.
(Continued)
17
MB91350A Series
(Continued)
Pin no.
LQFP*
1
LQFP*
2
Pin name
I/O
circuit
type*
3
Function
WR0
16849
P84
External bus write strobe output.
This function is valid in external bus mode.
D
General-purpose I/O port.
This function is valid in single-chip mode.
External bus write strobe output.
WR1
This function is valid when WR1
is enabled.
Input capture input pin.
16950
IN3
Since this input is always used when it is selected for input
D
capture input, output using the port must be stopped beforehand unless this operation is the intended operation.
General-purpose I/O port.
P85
This function is valid when external bus write enable output is
disabled.
System clock output.
SYSCLK
17062
P90
This function is valid when system clock output is enabled. A
clock having the same frequency as the external bus operat-
C
ing frequency is output (stopped in stop mode).
General-purpose I/O port.
This function is valid when system clock output is disabled.
17163P91CGeneral-purpose I/O port
output in external bus mode
Memory clock output.
MCLK
172⎯
P92
This function is valid when memory clock output is enabled. A
clock having the same frequency as the external bus operat-
C
ing frequency is output (stopped in sleep mode).
General-purpose I/O port.
This function is valid when memory clock output is disabled.
17364P93CGeneral-purpose I/O port
AS
17465
P94
Address strobe output.
This function is valid when address strobe output is enabled.
C
General-purpose I/O port.
This function is valid when address load output is disabled.
*1 : FPT-176P-M02
*2 : FPT-120P-M21
*3 : Refer to “■ I/O CIRCUIT TYPE” for details on the I/O circuit types.
*4 : These functions are not supported on the FPT-120P-M21.
18
[Power supply and GND pins]
Pin number
1
LQFP*
LQFP*
MB91350A Series
2
Pin nameFunction
17, 35, 65, 79, 93, 96,
114, 136, 145, 162, 175
18, 36, 66, 80, 97, 115,
142, 146, 163, 176
45107DAVSD/A converter GND pin
46108DAVCD/A converter power supply pin
62109AV
63110AVRHA/D converter reference power supply pin
64111AV
*1 : FPT-176P-M02
*2 : FPT-120P-M21
18, 40, 43, 59,
76, 96, 112
19, 44, 56, 77,
95
VSS
V
CC
CCA/D converter analog power supply pin
SS/AVRLA/D converter analog GND pin
GND pins. Use the same potential for all
pins.
3.3 V power supply pins. Use the same
potential for all pins.
Latch-up may occur in a CMOS IC if a voltage greater than V
pin or if an above-rating voltage is applied between V
CC and VSS. A latch-up,if it occurs, significantly increases
CC or less than VSS is applied to an input or output
the power supply current and may cause thermal destruction of an element. When you use a CMOS IC, don’t
exceed the absolute maximum rating.
• Treatment of Unused Pins
Do not leave unused input pins open, as this may cause a malfunction. Handle by using a pull-up or pull-down
resistor.
• Power Supply Pins
In products with multiple V
CC and VSS pins, the pins of the same potential are internally connected in the device
to avoid abnormal operations including latch-up. However, you must connect the pins to the external power
supply and ground lines in order 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 output current rating. Moreover,
connect the current supply source to the V
It is also advisable to connect a ceramic bypass capacitor of approximately 0.1 µF between V
CC and VSS pins of this device at the low impedance.
CC and VSS pins
near this device.
• Crystal Oscillator Circuit
Noise near the X0, X1, X0A and X1A pins may cause the device to malfunction. Design the printed circuit board
so that X0, X1, X0A, X1A, the crystal oscillator (or ceramic oscillator), and the bypass capacitor to ground are
located close to the device as possible.
It is strongly recommended that the PC board artwork be designed such that the X0, X1, X0A and X1A pins are
surrounded by ground plane, as stable operation can be obtained by using this layout.
Please ask the crystal maker to evaluate the oscillational characteristics of the crystal and this device.
• Notes on Using an External Clock
When using an external clock, as a general rule you should simultaneously supply the clock signal to X0 and a
clock signal with the reverse phase to X1. However, the stop mode (oscillator stop mode) must not be used
under this configuration (This is because the X1 pin stops at High level output in STOP mode) .
Using an external clock (normal)
X0
X1
MB91350A series
Note : STOP mode (oscillation stop mode) cannot be used.
• Clock Control Block
Hold the signal for the oscillation stabilization wait time when inputting a Low level to the INIT pin.
23
MB91350A Series
• Notes on Using the Sub Clock
When the X0A and X1A pins are not connected to an oscillator, pull down the X0A pin and leave the X1A pin open.
Using an external clock (normal)
X0
OPEN
X1
MB91350A series
• Treatment of NC and OPEN Pins
Pins marked as NC and OPEN must be left open.
• Mode Pins (MD0 to MD2)
These pins should be connected directly to the V
CC or VSS pins.
To prevent the device erroneously switching to test mode due to noise, design the printed circuit board such that
the distance between the mode pins and V
CC or VSS pins is as short as possible and the connection impedance
is low.
• Operation at Start-up
The INIT
Immediately after the power supply is turned on, the Low level input needs to be held to the INIT
pin must be at Low level when the power supply is turned on.
pin for the
oscillation stabilization wait time of the oscillator circuit to ensure that the oscillator has time to settle (For INIT
via the INIT
pin, the oscillation stabilization wait time setting is initialized to the minimum value).
• Oscillation Input at Power On
When the power is turned on, maintain the clock input until the device is released from the oscillation stabilization
wait state.
• Precautions While Operating in PLL Clock Mode
On this microcontroller, if the crystal oscillator is disconnected or the external reference clock input stops while
PLL clock mode is selected, the microcontroller may continue to operate at the free-run frequency of the selfoscillating circuit within the PLL. However, Fujitsu does not guarantee this operation.
• External Bus Setting
This model guarantees an external bus frequency of 25 MHz.
If the base clock frequency is set to 50 MHz when the DIVR1 (external bus base clock division setting register)
register is still set to the default value, the external bus frequency will be set to 50 MHz. When you change the
base clock frequency, change the base clock frequency after setting the external bus within 25 MHz.
• MCLK and SYSCLK
The difference between MCLK and SYSCLK is that MCLK stops in SLEEP/STOP mode but SYSCLK stops only
in STOP mode. Use the clock that is appropriate for each application.
Upon initialization, MCLK is disabled (PORT) and SYSCLK is enabled. To use MCLK, the port function register
(PFR) needs to be set to enable the use of the clock.
24
MB91350A Series
• Pull-up Control
If a pull-up resistor is provided to a pin that is used as an external bus pin, there is no guarantee that the pin will
conform to the specifications given in “■ ELECTRICAL CHARACTERISTICS 4. AC Characteristics (4) Normal
Bus Access Read/Write Operation, (5) Multiplex Bus Access Read/Write operation and (7) Hold Timing”.
Furthermore, even if a port has been configured to use a pull-up resistance, this setting is invalid during stop
mode with HIZ=1 and during hardware standby mode.
• Sub Clock Select
At least one NOP instruction needs to be executed immediately after switching the clock source from main clock
mode to sub clock mode.
(Idi#0x0b, r0)
(Idi#_CLKR, r12)
stbr0, @r12// sub-clock mode
nop// Must insert NOP instruction
• Bit Search Module
The BSD0, BSD1, and BDSC registers can only be accessed in words.
•D-bus Memory
Do not set the code area to memory on the D-bus because instructions cannot be fetched from the D-bus.
Executing an instruction fetch to the D-bus area will cause incorrect data to be interpreted as code, possibly
causing the device to run out of control.
• Low Power Consumption Mode
When entering sleep or stop mode, be sure to read the standby control register (STCR) immediately after writing
to it.
More specifically, use the following sequence.
Furthermore, after recovering from standby mode, set the I flag, ILM, and ICR registers such that the CPU
branches to the interrupt handler for the interrupt that triggered the controller to recover from standby mode.
(Idi#value_of_standby, r0)
(Idi#_STCR, r12)
stbr0, @r12// set STOP/SLEEP bit
Idub @r12, r0// Must read STCR
Idub @r12, r0// after reading, go into standby mode
NOP// Must insert NOP × 5
NOP
NOP
NOP
NOP
• Switching the Function of Shared Ports
Use the Port Function Register (PFR) to switch between using an external pin as a port or a shared pin. Note,
however, that bus pins are switched depending on the external bus settings.
25
MB91350A Series
•Prefetch
If prefetch is enabled in a area that is configured as little endian, limit access to the corresponding area to
word-length (32-bit) access.
Byte or halfword does not allow a proper access to data.
• I/O Port Access
Ports can only be accessed in bytes.
• Built-in RAM
Immediately after a reset is released, the internal RAM capacity restriction function begins operating, allowing
only 4 Kbytes to be used for both data and program execution irrespective of the on-chip RAM capacity.
Update the setting to clear the restriction function.
At least one NOP instruction is required immediately after updating this setting.
Please refer to the “MB91350A Series HARDWARE MANUAL CHAPTER 19 DATA INTERNAL RAM/INSTRUCTION INTERNAL RAM ACCESS RESTRICTION FUNCTIONS” for the details.
•Flash Memory
In programming mode, Flash memory cannot be used for the interrupt vector table (However, a reset can be
performed) .
• Notes on the PS Register
As the PS register is processed in advance by some instructions, when the debugger is being used, the following
exception handling may result in execution breaking in an interrupt handling routine or the displayed values of
the flags in the PS register being updated.
As the microcontroller is designed to carry out reprocessing correctly upon returning from such an EIT event,
the operation before and after the EIT always proceeds according to specification.
1. The following behavior may occur if any of the following occurs in the instruction immediately after a DIVOU/
DIVOS instruction :
(a) a user interrupt or NMI is accepted; (b) single-step execution is performed; or (c) execution breaks due
to a data event or from the emulator menu.
• The D0 and D1 flags are updated in advance.
• An EIT handling routine (user interrupt, NMI, or emulator) is executed.
• Upon returning from the EIT, the DIVOU/DIVOS instruction is executed and the D0 and D1 flags are
updated to the same values as in (1).
2. The following behavior occurs when an ORCCR, STILM, MOV Ri or PS instruction is executed to enable a
user interrupt or NMI source while that interrupt is in the active state.
• The PS register is updated in advance.
• The EIT handling routine (user interrupt, NMI, or emulator) is executed.
• Upon returning from the EIT, the above instructions are executed and the PS register is updated to the
same value as in (1).
26
MB91350A Series
[Note on Debugger]
• Single-Step Execution of the RETI Command
If single-step execution is used in an environment where an interrupt occurs frequently, the corresponding
interrupt handling routine will be executed repeatedly to the exclusion of other processing. This will prevent the
main routine and the handlers for low priority level interrupts from being executed (For example, if the time-base
timer interrupt is enabled, stepping over the RETI instruction will always break on the first line of the time-base
timer interrupt handler) .
Disable the corresponding interrupt when the corresponding interrupt handling routine no longer needs debugging.
• Break Function
If the range of addresses that cause a hardware break (including event breaks) is set to the address of the
current system stack pointer or to an area that contains the stack pointer, execution will break after each
instruction regardless of whether the user program actually contains data access instructions.
To prevent this, do not set (word) access to the area containing the address of the system stack pointer as the
target of the hardware break (including event breaks).
• Internal ROM area
Do not set DMAC transfer destination to an address in the internal ROM area.
• Simultaneous Occurrence of a Software Break (INTE instruction) and a User Interrupt/NMI
When a software break and a user interrupt/NMI occur simultaneously, the emulator debugger may react as
follows.
• The debugger stops pointing to a location other than a programmed breakpoint.
• The program does not resume execution correctly after breaking.
If this symptom occurs, use a hardware break in place of the software break. When using a monitor debugger,
do not set a break at the relevant location.
• A malfunction may occur if the stack pointer is in an area that is configured for DSU operand break. Do not
set a data event breaks that apply to accesses to an area that contains the address of the system stack pointer.
The FR family CPU is a high performance core based on a RISC architecture while incorporating advanced
instructions for embedded controller applications.
1.Features
• RISC architecture
Basic instructions : Executed at 1 instruction per cycle
• Enhanced I/O manipulation instructions
Memory-to-memory transfer instructions
Bit manipulation instructions
• High code efficiency
Basic instruction word length : 16-bit
• Low-power consumption
Sleep mode and stop mode
• Gear function
30
MB91350A Series
2.Internal architecture
The FR-family CPU has a Harvard architecture in which the instruction and data buses are separated. A
32-bit ↔ 16-bit bus converter is connected to the 32-bit bus (F-bus), providing an interface between the CPU
and peripheral resources. A Harvard ↔ Princeton bus converter is connected to both the I-bus and D-bus,
providing an interface between the CPU and the bus controller.
FR CPU
D-busI-bus
32
Data
RAM
32-bit
16-bit
bus converter
16
D address
D data
Address
Data
I address
I data
32
32
32
32
32
Harvard
Princeton
bus
converter
External address
24
External data
16
R-bus
Peripheral resourcesInternal I/Obus controller
F-bus
31
MB91350A Series
3.Programming model
• Basic programming model
32-bit
[Initial Value]
GENERAL
PURPOSE
REGISTERS
Program counter
Program status
Table base register
Return pointer
System stack pointer
User stack pointer
R0
R1
R12
R13
R14
R15
PC
PS
TBR
RP
SSP
USP
AC
FP
SP
⎯ILM⎯SCRCCR
XXXX XXXXH
XXXX XXXXH
0000 0000H
32
Multiplication and division
result registers
MDH
MDL
4.Registers
• General purpose registers
MB91350A Series
32-bit
[Initial Value]
R0
R1
R12
R13
R14
R15
AC
FP
SP
XXXX XXXXH
XXXX XXXXH
0000 0000H
Registers R0 to R15 are general-purpose registers. The registers are used as the accumulator and memory
access pointers for CPU operations.
Of these 16 registers, the registers listed below are intended for special applications. Some instructions have
been enhanced for this purpose.
The initial values of R0 to R14 after a reset are indeterminate. R15 is initialized to 00000000
H (SSP value).
• PS (Program Status)
This register holds the program status and is divided into the ILM, SCR, and CCR.
The undefined bits in the following illustration are all reserved bits. Reading these bits always returns “0”. Writing
to them has no effect.
bit 31bit 20bit 16
PS
ILMSCRCCR
bit 10bit 7bit 8bit 0
⎯⎯
33
MB91350A Series
• CCR (Condition Code Register)
CCR
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
⎯⎯ SINZVC
Initial Value
- - 00XXXX
B
S : Stack flag. Cleared to “0” by a reset.
I : Interrupt enable flag. Cleared to “0” by a reset.
N : Negative flag. The initial value after a reset is indeterminate.
Z : Zero flag. The initial value after a reset is indeterminate.
V : Overflow flag. The initial value after a reset is indeterminate.
C : Carry flag. The initial value after a reset is indeterminate.
• SCR (System Condition Code Register)
bit 10 bit 9 bit 8
SCRXX0
D1D0T
Initial Value
B
Flag for stepwise division
Stores intermediate data for stepwise division operations.
Step trace trap flag
A flag specifying whether the step trace trap function is enabled or not.
The step trace trap function is used by the emulator. This function cannot be used by a user program while
using the emulator.
• ILM
bit 20 bit 19 bit 18 bit 17 bit 16
ILM4 ILM3 ILM2 ILM1 ILM0
ILM01111
Initial Value
B
This register stores the interrupt level mask value. The value in the ILM register is used as the level mask.
Initialized to “15” (01111B) by a reset.
• PC (Program Counter)
bit 31bit 0
PC
Initial Value
XXXXXXXX
H
The program counter contains the address of the instruction currently being executed.
The initial value after a reset is indeterminate.
• TBR (Table Base Register)
bit 31bit 0
TBR
Initial Value
000FFC00
H
The table base register contains the start address of the vector table used for handling EIT events.
The initial value after a reset is 000FFC00
H.
34
• RP (Return Pointer)
MB91350A Series
bit 31bit 0
RP
Initial Value
XXXXXXXX
H
The return pointer contains the address to which to return from a subroutine.
When the CALL instruction is executed, the value in the PC is transferred to the RP.
When the RET instruction is executed, the value in the RP is transferred to the PC.
The initial value after a reset is indeterminate.
• SSP (System Stack Pointer)
bit 31bit 0
SSP
Initial Value
00000000
H
The SSP is the system stack pointer and functions as R15 when the S flag is “0”.
The SSP can be specified explicitly.
The SSP is also used as the stack pointer that specifies the stack for saving the PS and PC when an EIT event
occurs.
The initial value after a reset is 00000000
H.
• USP (User Stack Pointer)
bit 31bit 0
USP
Initial Value
XXXXXXXX
H
The USP is the user stack pointer and functions as R15 when the S flag is “1”.
The USP can be specified explicitly.
The initial value after a reset is indeterminate.
This pointer cannot be used by the RETI instruction.
• Multiply & Divide Registers
bit 31bit 0
MDH
MDL
These registers are 32-bit wide registers that store the results of multiplication and division operations.
The initial value after a reset is indeterminate.
35
MB91350A Series
■ MODE SETTINGS
The FR family uses mode pins (MD2 to MD0) and a mode register (MODR) to set the operation mode.
1.Mode Pins
The MD2, MD1, and MD0 pins specify how the mode vector fetch is performed.
Mode Pins
Mode name
MD2MD1MD0
000internal ROM mode vectorInternal
001external ROM mode vectorExternal
Values other than those listed in the table are prohibited.
2.Mode Register (MODR)
The data that is written to the mode register from the address at 000F FFF8H by the mode vector fetch is called
the mode data.
After the mode register (MODR) , has been set, the device operates according to the configured operating mode.
The mode register is set by all of the reset sources. User programs cannot write to the mode register.
Reset vector access
area
Remarks
The bus width is specified by the
mode register.
Note : No data exists at the address (0000 07FF
H) of the mode register in the previous FR family.
[Register description]
MODRInitial Value
000F FFF8
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
HXXXXXXXXB
00000ROMAWTH1WTH0
Operating mode setting bits
[bit7-bit3] Reserved bit
Always set these bits to “00000
B”. Operation is not guaranteed if these bits are set to a value other than “00000B”.
[bit2] ROMA (internal ROM enable bit)
The ROMA bit is used to set whether to enable the internal F-bus RAM and F-bus ROM areas.
ROMAFunctionRemarks
0
1
External ROM
mode
Internal ROM
mode
Internal F-bus RAM is valid; the area (8 0000
H to 10 0000H) of internal ROM is used
as an external area.
Internal F-bus RAM and F-bus ROM are valid.
[bit1, bit0] WTH1, WTH0 (Bus width setting bits)
Used to set the bus width to be used in external bus mode.
In external bus mode, the BW1 and BW0 bits of AMD0 (CS0 area) are set to the value of these bits.
WTH1WTH0functionRemarks
008-bit bus width
external bus mode
0116-bit bus width
10⎯Setting prohibited
11single chip modesingle chip mode
36
MB91350A Series
■ MEMORY SPACE
1.Memory space
The FR family has 4 Gbytes of logical address space (232 addresses) available to the CPU by linear access.
• Direct Addressing Areas
The following address space areas are used as I/O areas.
These areas are called direct addressing areas. The addresses of operands in these areas can be specified
directly within an instruction.
The size of the directly addressable areas depends on the size of the data being accessed as shown below.
→ Byte data access : 000
H to 0FFH
→ Half word data access : 000H to 1FFH
→ Word data access : 000H to 3FFH
2.Memory Map
Memory Map of MB91F355A/F353A/F357B/355A/353A
0000 0000H
0000 0400H
0001 0000H
0003 E000H
0004 0000H
0004 4000H
0005 0000H
0008 0000H
Single chip
mode
I/O
I/O
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
16 Kbytes (Stack)
Access
disabled
Internal ROM
external bus mode
I/O
I/O
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
16 Kbytes (Stack)
Access
disabled
External area
External ROM
external bus mode
I/O
I/O
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
16 Kbytes (Stack)
Access
disabled
Direct
addressing area
Refer to
“■ I/O MAP”.
Built-in ROM
512 Kbytes
0010 0000H
Access
Built-in ROM
512 Kbytes
External area
External area
disabled
FFFF FFFFH
• Each mode is set depending on the mode vector fetch after INIT
is negated.
• The available area of internal RAM is restricted immediately after a reset is released. At least one NOP
instruction is required immediately after overwriting the setting for the available RAM area.
37
MB91350A Series
Memory Map of MB91354A
0000 0000
0000 0400
0001 0000
0003 E000
0004 0000
0004 2000
0005 0000
0008 0000
000A 0000
0010 0000
Single chip mode
H
H
H
H
H
H
H
H
H
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
8 Kbytes (Stack)
Access
disabled
Built-in ROM
384 Kbytes
H
Access
disabled
I/O
I/O
Internal ROM
external bus mode
I/O
I/O
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
8 Kbytes (Stack)
Access
disabled
External area
Access
disabled
Built-in ROM
384 Kbytes
External area
External ROM
external bus mode
I/O
I/O
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
8 Kbytes (Stack)
Access
disabled
External area
Direct
addressing area
Refer to “■ I/O MAP”.
FFFF FFFF
• Each mode is set depending on the mode vector fetch after INIT
H
is negated.
• The available area of internal RAM is restricted immediately after a reset is released. At least one NOP
instruction is required immediately after overwriting the setting for the available RAM area.
38
Memory Map of MB91352A
MB91350A Series
0000 0000H
0000 0400H
0001 0000H
0003 E000H
0004 0000H
0004 2000H
0005 0000H
000A 0000H
0010 0000H
Single chip
mode
I/O
I/O
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
8 Kbytes (Stack)
Access
disabled
Built-in ROM
384 Kbytes
Access
disabled
Internal ROM
external bus mode
I/O
I/O
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
8 Kbytes (Stack)
Access
disabled
External area
Built-in ROM
384 Kbytes
External area
External ROM
external bus mode
I/O
I/O
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
8 Kbytes (Stack)
Access
disabled
External area
Direct
addressing area
Refer to
“■ I/O MAP”.
FFFF FFFFH
• Each mode is set depending on the mode vector fetch after INIT
is negated.
• The available area of internal RAM is restricted immediately after a reset is released. At least one NOP
instruction is required immediately after overwriting the setting for the available RAM area.
39
MB91350A Series
Memory Map of MB91351A
0000 0000H
0000 0400H
0001 0000H
0003 E000H
0004 0000H
0004 4000H
0005 0000H
000A 0000H
0010 0000H
Single chip
mode
I/O
I/O
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
16 Kbytes (Stack)
Access
disabled
Built-in ROM
384 Kbytes
Access
disabled
Internal ROM
external bus mode
I/O
I/O
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
16 Kbytes (Stack)
Access
disabled
External area
Built-in ROM
384 Kbytes
External area
External ROM
external bus mode
I/O
I/O
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
16 Kbytes (Stack)
Access
disabled
External area
Direct
addressing area
Refer to
“■ I/O MAP”.
FFFF FFFFH
• Each mode is set depending on the mode vector fetch after INIT
is negated.
• The available area of internal RAM is restricted immediately after a reset is released. At least one NOP
instruction is required immediately after overwriting the setting for the available RAM area.
40
Memory Map of MB91F356B
MB91350A Series
0000 0000
0000 0400
0001 0000
0003 E000
0004 0000
0004 4000
0005 0000
0008 0000
000C 0000
0010 0000
FFFF FFFF
Single chip mode
H
H
H
H
H
H
H
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
16 Kbytes (Stack)
Access
disabled
H
H
Built-in ROM
H
256 Kbytes
Access
disabled
H
I/O
I/O
Internal ROM
external bus mode
I/O
I/O
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
16 Kbytes (Stack)
Access
disabled
External area
Access
disabled
Built-in ROM
256 Kbytes
External area
External ROM
external bus mode
I/O
I/O
Access
disabled
Built-in RAM
8 Kbytes
(Execute instruction)
Built-in RAM
16 Kbytes (Stack)
Access
disabled
External area
Direct
addressing area
Refer to “■ I/O MAP”.
• Each mode is set depending on the mode vector fetch after INIT
is negated.
• The available area of internal RAM is restricted immediately after a reset is released. At least one NOP
instruction is required immediately after overwriting the setting for the available RAM area.
41
MB91350A Series
■ I/O MAP
This shows the locations of each of the registers for the peripheral resources in memory space.
[How to read the table]
Address
000000
Note : Initial values of register bits are represented as follows :
“1” : Initial value is “1”.
“0” : Initial value is “0”.
“X” : Initial value is “X”.
“−” : No physical register at this location
H
+ 0 + 1 + 2 + 3
PDR0 [R/W] B
XXXXXXXX
PDR1 [R/W] B
XXXXXXXX
Read/write attribute, Access unit
Initial value after a reset
Register name (First-column register at address 4n; second-column register at
address 4n + 2)
Location of left-most register (When using word access, the register
in column 1 is the MSB side of the data.)
Register
PDR2 [R/W] B
XXXXXXXX
PDR3 [R/W] B
(B : Byte, H : Half Word, W : Word)
XXXXXXXX
Block diagram
T-unit
Port Data Register
42
MB91350A Series
Address
Register
+0+1+2+3
000000
000004H
000008
00000C
000010H
000014H
000018
H⎯⎯⎯⎯⎯⎯⎯⎯
PDR4[R/W]B
H
PDR8[R/W]B
PDRC[R/W]B*
H
PDRG[R/W]B*
PDRK[R/W]B
H
PDRO[R/W]B
XXXXXXXX
--XXXXXX
3
-----XXX
3
--XXXXXX
XXXXXXXX
XXXXXXXX
PDR5[R/W]B
XXXXXXXX
PDR9[R/W]B
---XXXXX
PDRH[R/W]B
--XXXXXX
PDRL[R/W]B
------XX
PDRP[R/W]B*
----XXXX
3
00001CH⎯⎯⎯⎯
000020
000024
H⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯Reserved
H
SMCS5[R/W]B,H*
00000010_----00--
3
PDR2[R/W]B
XXXXXXXX
PDR6[R/W]B
XXXXXXXX
PDRA[R/W]B
----XXXX
PDR3[R/W]B
XXXXXXXX
⎯⎯⎯⎯
PDRB[R/W]B*
XXXXXXXX
⎯⎯⎯⎯
PDRI[R/W]B
--XXXXXX
PDRM[R/W]B
--XXXXXX
PDRJ[R/W]B*
XXXXXXXX
PDRN[R/W]B
--XXXXXX
⎯⎯⎯⎯⎯⎯⎯⎯
SES5[R/W]B*
------00
3
SDR5[R/W]B*
XXXXXXXX
3
3
3
Block
T-unit port
data
register*
3
R-bus port
data
register*
SIO5*
3
3
000028H
00002C
000030
000034H
000038
SMCS6[R/W]B,H
00000010_----00--
H
H⎯⎯⎯⎯⎯⎯⎯⎯
CDCR6[R/W]B
H⎯⎯⎯⎯
SMCS7[R/W]B,H
00000010_----00--
0---1111
⎯⎯⎯⎯ *
SRCL5[W]B*
--------
1
3
SES6[R/W]B
------00
SES7[R/W]B
------00
CDCR5[R/W]B*
0---1111
CDCR7[R/W]B
0---1111
SRCL6[W]B
--------
SDR6[R/W]B
XXXXXXXX
SDR7[R/W]B
XXXXXXXX
3
⎯⎯⎯⎯ *
⎯⎯⎯⎯ *
1
1
SRCL7[W]B
--------
SIO6
SIO7
SIO
prescaler 5*
SIO
prescaler 6, 7
SIO5 to
3
SIO7*
00003CH⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯Reserved
External
interrupts
(INT0 to INT7)
Delay
interrupt
Reload
timer 0
000040
000044
000048
00004C
EIRR0[R/W]B,H,W
H
H
H
H⎯⎯⎯⎯
00000000
DICR[R/W]B,H,W
-------0
TMRLR[W]H,W
XXXXXXXX_XXXXXXXX
ENIR0[R/W]B,H,W
HRCL[R/W]B,H,W
00000000
0--11111
ELVR0[R/W]B,H,W
00000000
⎯⎯⎯⎯
TMR[R]H,W
XXXXXXXX_XXXXXXXX
TMCSR[R/W]B,H,W
----0000_00000000
(Continued)
3
43
MB91350A Series
Address
000050
000054
000058
00005C
000060
000064
000068
00006C
000070
+0+1+2+3
H
H⎯⎯⎯⎯
H
H⎯⎯⎯⎯
SSR[R/W]B,H,W
H
H
H
H
H
00001000
SSR[R/W]B,H,W
00001000
SSR[R/W]B,H,W
00001000
TMRLR[W]H,W
XXXXXXXX_XXXXXXXX
TMRLR[W]H,W
XXXXXXXX_XXXXXXXX
SIDR[R/W]B,H,W
UTIM[R]H(UTIMR[W]H)
00000000_00000000
UTIM[R]H(UTIMR[W]H)
00000000_00000000
SIDR[R/W]B,H,W
XXXXXXXX
SIDR/SODR
[R/W]B,H,W
XXXXXXXX
XXXXXXXX
Register
SCR[R/W]B,H,W
SCR[R/W]B,H,W
SCR[R/W]B,H,W
TMR[R]H,W
XXXXXXXX_XXXXXXXX
TMCSR[R/W]B,H,W
----0000_00000000
TMR[R]H,W
XXXXXXXX_XXXXXXXX
TMCSR[R/W]B,H,W
----0000_00000000
SMR[R/W]B,H,W
00000100
DRCL[W]B
UTIMC[R/W]B
--------
SMR[R/W]B,H,W
00000100
DRCL[W]B
UTIMC[R/W]B
--------
SMR[R/W]B,H,W
00000100
00--0---
0--00001
00--0---
0--00001
00--0---
Block
Reload
timer 1
Reload
timer 2
UART0
U-TIMER/
UART0
UART1
U-TIMER/
UART1
UART2
000074
000078
00007C
000080
000084
H
ADCS2[R/W]B,H,W
H
ADTH0[R]B,H,W
H
ADTH2[R]B,H,W
H
H⎯⎯⎯⎯
UTIM[R]H(UTIMR[W]H)
00000000_00000000
X000XX00
XXXXXXXX
XXXXXXXX
000088H⎯⎯⎯⎯
00008C
H⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯Reserved
ADCS1[R/W]B,H,W
000X0000
ADTL0[R]B,H,W
000000XX
ADTL2[R]B,H,W
000000XX
DACR2
[R/W]B,H,W*
3
-------0
DADR2
[R/W]B,H,W*
3
XXXXXXXX
DRCL[W]B
--------
ADCT[R/W]H,W
XXXXXXXX_XXXXXXXX
ADTH1[R]B,H,W
XXXXXXXX
ADTH3[R]B,H,W
XXXXXXXX
DACR1[R/W]B,H,W
-------0
DADR1[R/W]B,H,W
XXXXXXXX
UTIMC[R/W]B
0--00001
ADTL1[R]B,H,W
000000XX
ADTL3[R]B,H,W
000000XX
DACR0[R/W]B,H,W
-------0
DADR0[R/W]B,H,W
XXXXXXXX
000090H⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ *
000094
IBCR[R/W]B,H,W
H
00000000
ITMK[R/W]B,H,W
00----11_11111111
IBSR[R]B,H,W
00000000
ITBA[R/W]B,H,W
------00_00000000
ISMK[R/W]B,H,W
01111111
ISBA[R/W]B,H,W
-0000000
U-TIMER/
UART2
A/D
converter
successive
approxima-
tions
D/A
converter*
1
Reserved
2
I
C interface000098H
3
44
00009C
H⎯⎯⎯⎯ *
2
IDAR[R/W]B,H,W
00000000
ICCR[R/W]B,H,W
0-011111
IDBL[R/W]B,H,W
-------0
(Continued)
MB91350A Series
Address
0000A0
0000A4
0000A8H
0000AC
0000B0
0000B4H
0000B8
0000BC
0000C0
0000C4
0000C8
0000CCH
Register
Block
+0+1+2+3
H⎯⎯⎯⎯⎯⎯⎯⎯*
H⎯⎯⎯⎯⎯⎯⎯⎯ *
TMRLR[W]H,W
XXXXXXXX_XXXXXXXX
H⎯⎯⎯⎯
RCR1[W]B,H,W*
H
00000000
CCRH0[R/W]B,H,W
00000000
CCRH1[R/W]B,H,W*
H
H⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯Reserved
H
H
H
00000000
SSR[R/W]B,H,W
00001000
UTIM[R]H(UTIMR[W]H)
00000000_00000000
SSR[R/W]B,H,W*
00001000
3
RCR0[W]B,H,W
00000000
CCRL0[R/W]B,H,W
00001000
3
CCRL1[R/W]B,H,W*
00001000
SIDR[R/W]B,H,W
XXXXXXXX
3
SIDR[R/W]B,H,W*
XXXXXXXX
UTIM[R]H(UTIMR[W]H)*
00000000_00000000
1
1
⎯⎯⎯⎯⎯⎯⎯⎯ *
⎯⎯⎯⎯ *
1
⎯⎯⎯⎯ *
TMR[R]H,W
XXXXXXXX_XXXXXXXX
TMCSR[R/W]B,H,W
----0000_00000000
UDCR1[R]B,H,W*
00000000
⎯⎯⎯⎯
3
⎯⎯⎯⎯
SCR[R/W]B,H,W
00000100
⎯⎯⎯⎯
3
SCR[R/W]B,H,W*
00000100
3
⎯⎯⎯⎯
3
UDCR0[R]B,H,W
00000000
CSR0[R/W]B,H,W
00000000
CSR1[R/W]B,H,W*
00000000
SMR[R/W]B,H,W
00--0---
UTIMC[R/W]B
0--00001
3
SMR[R/W]B,H,W*
00--0---
UTIMC[R/W]B*
0--00001
1
1
Reserved
Reload
timer 3
8/16-bit
Up/Down
counter
3
0, 1*
3
UART3
U-TIMER/
UART3
3
UART4*
3
U-TIMER/
UART4*
3
3
0000D0H
0000D4H
0000D8
0000DC
0000E0
EIRR1[R/W]B,H,W*
00000000
00000000_00000000
H
H
H⎯⎯⎯⎯
XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX
3
ENIR1[R/W]B,H,W*
TCDT[R/W]H,W
IPCP1[R]H,W
IPCP3[R]H,W
ICS23[R/W]B,H,W
00000000
00000000
3
ELVR1[R/W]B,H,W*
00000000
⎯⎯⎯⎯
TCCS[R/W]B,H,W
3
00000000
interrupts
(INT8 to
INT15)*
16-bit
free-run
timer
3
IPCP0[R]H,W
XXXXXXXX_XXXXXXXX
External
IPCP2[R]H,W
XXXXXXXX_XXXXXXXX
⎯⎯⎯⎯
ICS01[R/W]B,H,W
00000000
16-bit input
capture
(Continued)
45
MB91350A Series
Address
Block
+0+1+2+3
Register
0000E4
0000E8H
0000EC
0000F0H
0000F4
0000F8
H
OCCP1[R/W]H,W*
XXXXXXXX_XXXXXXXX
OCCP3[R/W]H,W*
XXXXXXXX_XXXXXXXX
H
OCCP5[R/W]H,W*
XXXXXXXX_XXXXXXXX
OCCP7[R/W]H,W*
XXXXXXXX_XXXXXXXX
H
H
OCS23[R/W]B,H,W
11101100_00001100
OCS67[R/W]B,H,W*
11101100_00001100
3
OCCP0[R/W]H,W
XXXXXXXX_XXXXXXXX
3
OCCP2[R/W]H,W
XXXXXXXX_XXXXXXXX
3
OCCP4[R/W]H,W*
XXXXXXXX_XXXXXXXX
3
OCCP6[R/W]H,W*
3
16-bit
3
output
compare*
XXXXXXXX_XXXXXXXX
OCS01[R/W]B,H,W
11101100_00001100
3
OCS45[R/W]B,H,W*
3
11101100_00001100
0000FCH⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯Reserved
000100
000114
000118
to
H
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯Reserved
H
H
GCN10[R/W]H
00110010_00010000
⎯⎯⎯⎯
GCN20[R/W]B
00000000
PPG control 0
00011CH⎯⎯⎯⎯⎯⎯⎯⎯Reserved
3
000120
000124
000128
00012CH
000130
000134
000138
00013CH
000140
000144
H
PTMR0[R]H,W
11111111_11111111
PCSR0[W]H,W
XXXXXXXX_XXXXXXXX
PPG0
H
H
PDUT0[W]H,W
XXXXXXXX_XXXXXXXX
PTMR1[R]H,W*
3
11111111_11111111
PDUT1[W]H,W*
3
XXXXXXXX_XXXXXXXX
H
PTMR2[R]H,W
11111111_11111111
PCNH0[R/W]B,H,W
00000000
PCSR1[W]H,W*
XXXXXXXX_XXXXXXXX
PCNH1[R/W]B,H,W*
00000000
PCSR2[W]H,W
XXXXXXXX_XXXXXXXX
PCNL0[R/W]B,H,W
00000000
3
3
PCNL1[R/W]B,H,W*
00000000
PPG1*
3
3
PPG2
H
H
PDUT2[W]H,W
XXXXXXXX_XXXXXXXX
PTMR3[R]H,W*
3
11111111_11111111
PDUT3[W]H,W*
3
XXXXXXXX_XXXXXXXX
H
PTMR4[R]H,W
11111111_11111111
PCNH2[R/W]B,H,W
00000000
PCSR3[W]H,W*
XXXXXXXX_XXXXXXXX
PCNH3[R/W]B,H,W*
00000000
PCSR4[W]H,W
XXXXXXXX_XXXXXXXX
PCNL2[R/W]B,H,W
00000000
3
3
PCNL3[R/W]B,H,W*
00000000
PPG3*
3
3
PPG4
H
PDUT4[W]H,W
XXXXXXXX_XXXXXXXX
PCNH4[R/W]B,H,W
00000000
PCNL4[R/W]B,H,W
00000000
(Continued)
46
MB91350A Series
Address
000148
00014CH
000150
to
0001FC
000200
000204
000208
00020CH
000210
Register
Block
+0+1+2+3
H
PTMR5[R]H,W*
11111111_11111111
PDUT5[W]H,W*
XXXXXXXX_XXXXXXXX
H
3
PCSR5[W]H,W*
XXXXXXXX_XXXXXXXX
3
PCNH5[R/
W]B,H,W*
3
00000000
3
PCNL5[R/
W]B,H,W*
00000000
PPG5*
3
3
⎯⎯⎯⎯Reserved
H
H
H
H
00000000_0000XXXX_XXXXXXXX_XXXXXXXX
00000000_00000000_XXXXXXXX_XXXXXXXX
00000000_0000XXXX_XXXXXXXX_XXXXXXXX
DMACA0[R/W]B,H,W *
DMACB0[R/W]B,H,W
DMACA1[R/W]B,H,W *
4
4
DMACB1[R/W]B,H,W
00000000_00000000_XXXXXXXX_XXXXXXXX
H
00000000_0000XXXX_XXXXXXXX_XXXXXXXX
DMACA2[R/W]B,H,W *
4
000214
000218
00021CH
000220
000224
H
H
00000000_00000000_XXXXXXXX_XXXXXXXX
00000000_0000XXXX_XXXXXXXX_XXXXXXXX
00000000_00000000_XXXXXXXX_XXXXXXXX
H
H
00000000_0000XXXX_XXXXXXXX_XXXXXXXX
00000000_00000000_XXXXXXXX_XXXXXXXX
DMACB2[R/W]B,H,W
DMACA3[R/W]B,H,W *
DMACB3[R/W]B,H,W
DMACA4[R/W]B,H,W *
DMACB4[R/W]B,H,W
000228H⎯⎯⎯⎯
00022C
00023C
000240
to
H
⎯⎯⎯⎯Reserved
H
H
0XX00000_XXXXXXXX_XXXXXXXX_XXXXXXXX
DMACR[R/W]B
000244H
to
00027C
000280
H
FRLR[R/W]B,H,W*
H
------01
2
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
⎯⎯⎯⎯Reserved
DMAC
4
4
DMAC
Limit on
F-bus RAM
capacity
(Continued)
47
MB91350A Series
Address
000284
to
00038C
000390
000394
to
0003EC
0003F0
0003F4
0003F8
0003FC
000400
+0+1+2+3
H
H
DRLR[R/W]B,H,W*
H
H
H
H
H
H
H
H
------01
DDRG[R/W]B*
--000000
Register
⎯⎯⎯⎯Reserved
2
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
⎯⎯⎯⎯Reserved
BSD0[W]
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
BSD1[R/W]
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
BSDC[W]
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
BSRR[R]
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
3
DDRH[R/W]B
--000000
DDRI[R/W]B
--000000
DDRJ[R/W]B*
Block
Limit on D-bus
RAM capacity
Bit search
module
3
00000000
000404H
000408
DDRK[R/W]B
00000000
H
DDRO[R/W]B
00000000
DDRL[R/W]B
------00
DDRP[R/W]B*
----0000
3
00040CH⎯⎯⎯⎯
000410
PFRG[R/W]B*
H
--00-00-
000414H⎯⎯⎯⎯
000418H
00041C
000420
H
PFRO[R/W]B
00000000
H⎯⎯⎯⎯Reserved
PCRG[R/W]B*
--000000
3
PFRH[R/W]B
--00-00-
PFRL[R/W]B
------00
PFRP[R/W]B*
3
----0000
3
PCRH[R/W]B
--000000
000424H⎯⎯⎯⎯⎯⎯⎯⎯
000428
00042C
to
00043C
H
PCRO[R/W]B
00000000
H
H
PCRP[R/W]B*
----0000
3
⎯⎯⎯⎯Reserved
DDRM[R/W]B
--000000
DDRN[R/W]B
--000000
⎯⎯⎯⎯
PFRI[R/W]B
--00-00-
PFRM[R/W]B
--00-00-
⎯⎯⎯⎯
PFRN[R/W]B
--000000
⎯⎯⎯⎯
PCRI[R/W]B
--000000
PCRM[R/W]B
--000000
⎯⎯⎯⎯
PCRN[R/W]B
--000000
⎯⎯⎯⎯⎯⎯⎯⎯
R-bus data
direction
register*
3
R-bus port
function
register*
3
R-bus pull-up
control
register*
3
(Continued)
48
MB91350A Series
Address
000440
000444
000448
00044C
000450
000454
000458
00045C
000460
000464
000468
+0+1+2+3
ICR00[R/W]B,H,W
H
H
H
H
H
H
H
H
H
H
H
---11111
ICR04[R/W]B,H,W
---11111
ICR08[R/W]B,H,W
---11111
ICR12[R/W]B,H,W
---11111
ICR16[R/W]B,H,W
---11111
ICR20[R/W]B,H,W
---11111
ICR24[R/W]B,H,W
---11111
ICR28[R/W]B,H,W
---11111
ICR32[R/W]B,H,W
---11111
ICR36[R/W]B,H,W
---11111
ICR40[R/W]B,H,W
---11111
Register
ICR01[R/W]B,H,W
---11111
ICR05[R/W]B,H,W
---11111
ICR09[R/W]B,H,W
---11111
ICR13[R/W]B,H,W
---11111
ICR17[R/W]B,H,W
---11111
ICR21[R/W]B,H,W
---11111
ICR25[R/W]B,H,W
---11111
ICR29[R/W]B,H,W
---11111
ICR33[R/W]B,H,W
---11111
ICR37[R/W]B,H,W
---11111
ICR41[R/W]B,H,W
---11111
ICR02[R/W]B,H,W
---11111
ICR06[R/W]B,H,W
---11111
ICR10[R/W]B,H,W
---11111
ICR14[R/W]B,H,W
---11111
ICR18[R/W]B,H,W
---11111
ICR22[R/W]B,H,W
---11111
ICR26[R/W]B,H,W
---11111
ICR30[R/W]B,H,W
---11111
ICR34[R/W]B,H,W
---11111
ICR38[R/W]B,H,W
---11111
ICR42[R/W]B,H,W
---11111
ICR03[R/W]B,H,W
---11111
ICR07[R/W]B,H,W
---11111
ICR11[R/W]B,H,W
---11111
ICR15[R/W]B,H,W
---11111
ICR19[R/W]B,H,W
---11111
ICR23[R/W]B,H,W
---11111
ICR27[R/W]B,H,W
---11111
ICR31[R/W]B,H,W
---11111
ICR35[R/W]B,H,W
---11111
ICR39[R/W]B,H,W
---11111
ICR43[R/W]B,H,W
---11111
Block
Interrupt
controller unit
00046C
000470
to
00047C
000480
000484
000488
00048CH
000490
000494
ICR44[R/W]B,H,W
H
H
H
H
H
H⎯⎯⎯⎯
---11111
RSRR[R/W]B,H,W
10000000
CLKR[R/W]B,H,W
00000000
ICR45[R/W]B,H,W
STCR[R/W]B,H,W
WPCR[R/W]B
00---000
OSCR[R/W]B
H
H
00---000
RSTOP0[W]B
00000000
---11111
ICR46[R/W]B,H,W
---11111
ICR47[R/W]B,H,W
---11111
⎯⎯⎯⎯
00110011
WPR[W]B,H,W
XXXXXXXX
TBCR[R/W]B,H,W
00XXXX00
DIVR0[R/W]B,H,W
00000011
OSCCR[R/W]B
XXXXXXX0
CTBR[W]B,H,W
XXXXXXXX
DIVR1[R/W]B,H,W
00000000
⎯⎯⎯⎯
Clock control
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯Clock timer
Main clock
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
oscillation
stabilization
wait timer
RSTOP1[W]B
00000000
RSTOP2[W]B
00000000
RSTOP3[W]B
-----000
Peripheral
stop control
(Continued)
unit
49
MB91350A Series
Address
Register
+0+1+2+3
000498
00049C
0005FC
000600
000604H
000608
00060C
H⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯Reserved
H
to
H
H⎯⎯⎯⎯⎯⎯⎯⎯
DDR4[R/W]B
DDR5[R/W]B
00000000
H
DDRC[R/W]B*
H
DDR8[R/W]B
--000000
3
-----000
DDR9[R/W]B
00000000
---00000
⎯⎯⎯⎯Reserved
DDR2[R/W]B
00000000
DDR6[R/W]B
00000000
DDRA[R/W]B
----0000
DDR3[R/W]B
00000000
⎯⎯⎯⎯
DDRB[R/W]B*
00000000
⎯⎯⎯⎯
000610H⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
000614H⎯⎯⎯⎯⎯⎯⎯⎯
000618
00061CH
H
PFR8[R/W]B
PFRB2[R/W]B*
--1--0--
3
00----00
PFR9[R/W]B
---010-1
PFRC[R/W]B*
---00000
3
PFR6[R/W]B
11111111
PFRA[R/W]B
----1111
⎯⎯⎯⎯
PFRB1[R/W]B*
00000000
⎯⎯⎯⎯⎯⎯⎯⎯
3
3
Block
T-unit data
direction
register*
3
T-unit port
function
register*
3
000620
000624H
000628
00062CH
000630
to
00063C
H⎯⎯⎯⎯⎯⎯⎯⎯
H
PCRC[R/W]B*
H
H
PCR4[R/W]B
00000000
PCR8[R/W]B
--000000
3
-----000
PCR5[R/W]B
00000000
PCR9[R/W]B
00000000
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
PCR2[R/W]B
00000000
PCR6[R/W]B
00000000
PCRA[R/W]B
00000000
PCR3[R/W]B
00000000
⎯⎯⎯⎯
PCRB[R/W]B*
00000000
T-unit pull-up
3
control
register*
________Reserved
(Continued)
3
50
MB91350A Series
Address
000640
000644
000648
00064C
000650
000654
000658
00065C
000660
000664
000668
Register
Block
+0+1+2+3
H
H
H
H
H
H
H
H
H
H
H
ASR0[R/W]H,W
00000000_00000000
ASR1[R/W]H,W
00000000_00000000
ASR2[R/W]H,W
00000000_00000000
ASR3[R/W]H,W
00000000_00000000
ASR4[R/W]H,W
00000000_00000000
ASR5[R/W]H,W
00000000_00000000
ASR6[R/W]H,W
00000000_00000000
ASR7[R/W]H,W
00000000_00000000
AWR0[R/W]B,H,W
01111111_11111111
AWR2[R/W]B,H,W
XXXXXXXX_XXXXXXXX
AWR4[R/W]B,H,W
XXXXXXXX_XXXXXXXX
ACR0[R/W]B,H,W
1111XX00_00000000
ACR1[R/W]B,H,W
XXXXXXXX_XXXXXXXX
ACR2[R/W]B,H,W
XXXXXXXX_XXXXXXXX
ACR3[R/W]B,H,W
XXXXXXXX_XXXXXXXX
ACR4[R/W]B,H,W
XXXXXXXX_XXXXXXXX
ACR5[R/W]B,H,W
XXXXXXXX_XXXXXXXX
ACR6[R/W]B,H,W
XXXXXXXX_XXXXXXXX
ACR7[R/W]B,H,W
XXXXXXXX_XXXXXXXX
AWR1[R/W]B,H,W
XXXXXXXX_XXXXXXXX
AWR3[R/W]B,H,W
XXXXXXXX_XXXXXXXX
AWR5[R/W]B,H,W
XXXXXXXX_XXXXXXXX
T-unit
00066C
000670
H
H⎯⎯⎯⎯
AWR6[R/W]B,H,W
XXXXXXXX_XXXXXXXX
000674H⎯⎯⎯⎯
000678
00067C
000680H
000684
to
0007F8
0007FC
000800
to
000AFC
IOWR0[R/W]B,H,W
H
H⎯⎯⎯⎯
XXXXXXXX
CSER[R/W]B,H,W
00000001
H
H
H⎯⎯⎯⎯
H
H
IOWR1[R/W]B,H,W
IOWR2[R/W]B,H,W
XXXXXXXX
⎯⎯⎯⎯⎯⎯⎯⎯
⎯⎯⎯⎯Reserved
MODR[W] *
5
XXXXXXXX
⎯⎯⎯⎯Reserved
AWR7[R/W]B,H,W
XXXXXXXX_XXXXXXXX
XXXXXXXX
⎯⎯⎯⎯
TCR[W]B,H,W
0000XXXX
⎯⎯⎯⎯⎯⎯⎯⎯Mode register
(Continued)
51
MB91350A Series
Address
000B00
000B04
000B08
000B0C
000B10
000B14
to
000B1C
000B20
000B24
000B28
000B2C
000B30
H
H
H
H
H
H
H
H
H
H
H
H
Register
+0+1+2+3
ESTS0[R/W]
X0000000
ECTL0[R/W]
0X000000
ECNT0[W]
XXXXXXXX
EWPT[R]
00000000_00000000
EDTR0[W]
XXXXXXXX_XXXXXXXX
ESTS1[R/W]
XXXXXXXX
ECTL1[R/W]
00000000
ECNT1[W]
XXXXXXXX
ESTS2[R]
1XXXXXXX
ECTL2[W]
000X0000
EUSA[W]
XXX00000
⎯⎯⎯⎯
EDTR1[W]
XXXXXXXX_XXXXXXXX
⎯⎯⎯⎯
EIA0[W]
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
EIA1[W]
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
EIA2[W]
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
EIA3[W]
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
EIA4[W]
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
Block
⎯⎯⎯⎯
ECTL3[R/W]
00X00X11
EDTC[W]
0000XXXX
DSU
(EVA chip
only)
52
000B34
000B38
000B3C
000B40
000B44
000B48
000B4C
000B50
H
H
H
H
H
H
H
H
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
EIA5[W]
EIA6[W]
EIA7[W]
EDTA[R/W]
EDTM[R/W]
EOA0[W]
EOA1[W]
EPCR[R/W]
(Continued)
MB91350A Series
Address
000B54
000B58
000B5C
000B60
000B64
000B68
000B6C
000B70
to
000BFC
000C00
Register
+0+1+2+3
H
H
H
H
H
H
H
H
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
EPSR[R/W]
EIAM0[W]
EIAM1[W]
EOAM0/EODM0[W]
EOAM1/EODM1[W]
EOD0[W]
EOD1[W]
⎯⎯⎯⎯Reserved
H
HTest register (access is not allowed.)
Block
DSU
(EVA chip
only)
Interrupt
controller unit
000C04
to
000C14
000C18H
to
000FFC
001000
001004
001008
00100C
001010
001014
001018
00101C
H
Test register (access is not allowed.)R-bus test
H
⎯⎯⎯⎯Reserved
H
H
H
H
H
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
DMASA0[R/W]W
DMADA0[R/W]W
DMASA1[R/W]W
DMADA1[R/W]W
DMAC
H
H
H
H
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
DMASA2[R/W]W
DMADA2[R/W]W
DMASA3[R/W]W
DMADA3[R/W]W
(Continued)
53
MB91350A Series
(Continued)
Address
+0+1+2+3
Register
Block
001020
H
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
DMASA4[R/W]W
DMAC
001024
001028
to
001FFC
007000
007004
007008
H
H
H
H
H
H⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
FLCR[R/W]
0110X000
FLWC[R/W]
00010011
XXXXXXXX_XXXXXXXX_XXXXXXXX_XXXXXXXX
DMADA4[R/W]W
⎯⎯⎯⎯Reserved
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Flash
memory
00700CH⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
007010
007014
0070FF
H⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
H
to
H
⎯⎯⎯⎯Reserved
*1 : This is a test register. Access is disabled.
*2 : The available area of internal RAM is restricted immediately after a reset is released. This setting therefore
needs to be changed before using the internal RAM.
In addition, at least one NOP instruction is required immediately after overwriting the setting for the available
RAM area.
*3 : This register does not exist on the MB91F353A/353A/352A/351A. Access is disabled.
*4 : The 16 low-order bits (DTC [15 : 0]) of DMACA0 to DMACA4 cannot be byte-accessed.
*5 : This register is accessed by the mode vector fetch. It cannot be accessed during normal operation.
54
MB91350A Series
3.Vector table
Interrupt number
Interrupt source
1016
Reset000⎯3FC
Mode vector101⎯3F8
System reserved202⎯3F4
System reserved303⎯3F0
System reserved404⎯3EC
System reserved505⎯3E8
System reserved606⎯3E4
Coprocessor absent trap707⎯3E0
Coprocessor error trap808⎯3DC
INTE instruction909⎯3D8
System reserved100A⎯3D4
System reserved110B⎯3D0
Step trace trap120C⎯3CC
NMI request (tool)130D⎯3C8
Undefined instruction exception140E⎯3C4
Interrupt delay source bit633FICR47300
System reserved (Used by REALOS)6440⎯2FC
System reserved (Used by REALOS)6541⎯2F8
H000FFF00H⎯
H000FFEFCH⎯
H000FFEF8H⎯
System reserved6642⎯2F4H000FFEF4H⎯
System reserved6743⎯2F0
H000FFEF0H⎯
System reserved6844⎯2EC
56
H000FFEECH⎯
(Continued)
(Continued)
Interrupt source
Interrupt number
1016
Interrupt
level
MB91350A Series
Offset
TBR default
address
Resource
number
System reserved6945⎯2E8
System reserved7046⎯2E4
H000FFEE8H⎯
H000FFEE4H⎯
System reserved7147⎯2E0H000FFEE0H⎯
System reserved7248⎯2DC
System reserved7349⎯2D8
H000FFEDCH⎯
H000FFED8H⎯
System reserved744A⎯2D4H000FFED4H⎯
System reserved754B⎯2D0
System reserved764C⎯2CC
H000FFED0H⎯
H000FFECCH⎯
System reserved774D⎯2C8H000FFEC8H⎯
System reserved784E⎯2C4
System reserved794F⎯2C0
Used by INT instruction
80
to
255
50
to
FF
⎯
H000FFEC4H⎯
H000FFEC0H⎯
2BCH
to
000
000FFEBCH
H
to
000FFC00
⎯
H
57
MB91350A Series
■ PERIPHERAL RESOURCES
1.Interrupt Controller
(1) Description
The interrupt controller manages interrupt reception and arbitration.
Hardware configuration
This module consists of the following components :
• ICR register
• Interrupt priority determination circuit
• Interrupt level and interrupt number (vector) generator
• HOLD request removal request generator
• Main functions
This module has the following major functions :
• Detect NMI and interrupt requests
• Prioritize interrupts (according to level and number)
• Notify interrupt level of selected interrupt request (to CPU)
• Notify interrupt number of selected interrupt request (to CPU)
• Request (to the CPU) to return from stop mode in response to an NMI or interrupt request with interrupt level
other than "11111
• Issue requests to the bus master to cancel HOLD requests
B"
58
(2) Register list
Interrupt Control Register (ICR)
ICR00
ICR01
ICR02
ICR03
ICR04
ICR05
ICR06
ICR07
ICR08
ICR09
ICR10
ICR11
ICR12
ICR13
ICR14
ICR15
ICR16
ICR17
ICR18
ICR19
ICR20
ICR21
ICR22
ICR23
ICR24
ICR25
ICR26
ICR27
ICR28
ICR29
ICR30
ICR31
MB91350A Series
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
(Continued)
59
MB91350A Series
(Continued)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
ICR32
ICR33
ICR34
ICR35
ICR36
ICR37
ICR38
ICR39
ICR40
ICR41
ICR42
ICR43
ICR44
ICR45
ICR46
ICR47
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
⎯⎯⎯ICR4ICR3ICR2ICR1ICR0
Hold request cancel request register (HRCL)
HRCL
⎯MHALTI⎯LVL4LVL3LVL2LVL1LVL0
60
(3) Block diagram
MB91350A Series
RI00
UNMIWAKEUP
Determine order of priority
5
NMI
LEVEL determination
ICR00
VECTOR
determination
R-bus
("1" when LEVEL ≠ 11111B)
HLDREQ
Cancel
NMI
request
6
LEVEL,
VECTOR
Genera-
tion
LEVEL4 to LEVEL0
MHALTI
VCT5 to VCT0
61
MB91350A Series
2.External Interrupt/NMI Control
(1) Description
The external interrupt control unit is the block that controls external interrupt requests input to NMI
and INT0 to
INT15. The level that is detected as a request can be selected from “H”, “L”, rising edge, or falling edge (except
for NMI).
Note : The MB91F353A/353A/352A/351A does not have INT8 to INT15.
(2) Register list
External interrupt enable register (ENIR)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
EN6EN7EN5EN4EN3EN2EN1EN0
External interrupt request register (EIRR)
bit 15bit 14bit 13bit 12bit 11bit 10bit 9bit 8
ER6ER7ER5ER4ER3ER2ER1ER0
Request level setting register (ELVR)
bit 15bit 14bit 13bit 12bit 11bit 10bit 9bit 8
LA7LB7LB6LA6LB5LA5LB4LA4
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
LA3LB3LB2LA2LB1LA1LB0LA0
The above registers (for 8 channels) are available in 2 sets; there are a total of 16 channels.
(3) Block diagram
R-bus
Interrupt
8
17
Interrupt enable register
Gate
Request F/F
Edge detection circuit
17
request
8
16
Interrupt source register
Interrupt level setting register
INT0 to INT15
NMI
62
MB91350A Series
3.REALOS-related Hardware
REALOS-related hardware is used by the real-time OS. Therefore, it cannot be used by user programs when
REALOS is used.
• Delay interrupt module
(1) Description
The delayed interrupt module generates a task switching interrupt.
This module enables software to issue or cancel an interrupt request to the CPU.
(2) Register list
Delayed Interrupt Control Register (DICR)
(3) Block diagram
Interrupt
request
bit 7bit 6bit 5
⎯⎯⎯⎯⎯⎯⎯DLYI
R-bus
bit 4
bit 3bit 2bit 1bit 0
DLYI
63
MB91350A Series
• Bit Search Module
(1) Description
The bit search module searches data written to an input register for “0”, “1”, or a change point and returns the
detected bit position.
(2) Register list
bit 31bit 0
0 detection data register (BSD0)
1 detection data register (BSD1)
Data register for transition detection (BSDC)
Detection result register (BSRR)
(3) Block diagram
D-bus
Address decoder
Input latch
Input detection
mode
Creating 1 detection data
Input bit search circuit
Search results
64
MB91350A Series
4.8/16-bit Up/Down Counter
(1) Description
This block is the up/down counter/timer consisting of six event input pins, two 8-bit up/down counter, two 8-bit
reload/compare registers, and their control circuit.
The MB91F355A/F356B/F357B/355A/354A/V350A contains 2 channels of 8-bit up/down counter in this block.
The MB91F353A/353A/352A/351A contains 1 channel of 8-bit up/down counter in this block. It is not possible
to use in 16-bit mode.
This module has the following features.
• 8-bit count register enabling counting from (0)d to (255)d
(enabling counting from (0)d to (65535)d in 16 bits × 1 operation mode)
• Four different count modes available with selectable count clocks
Count modeTimer mode
Up/down count mode
Phase difference count mode (2 Multiplication)
Phase difference count mode (4 Multiplication)
• In timer mode, the ability to select the count clock input to use from among two internal clock circuits
Count clock
(When operating at
25 MHz)
• In up/down count mode, the ability to select the edge detection of the external pin input signals
Detection edgeFalling edge detection
80 ns (12.5 MHz : Frequency division by 2)
320 ns (3.125 MHz : Frequency division by 8)
Rising edge detection
Detection at rising edge, falling edge, or both edges
Edge detection disabled
• The phase difference count mode is suitable for counting encoders such as motor encoders, and facilitates to
count the angle of revolution and number of revolutions to a high precision by inputting the A phase, B phase,
and Z phase outputs from the encoder
• ZIN pin has two selectable functions (valid in all modes)
ZIN pinCounter clear function
Gate function
• Compare and reload functions that can be used separately or in combination. When both functions are used
in combination, up/down counting can be performed at an arbitrary width.
Compare/reload
function
• Count direction flag used to identify the preceding count direction
• Capable of independently controlling the generation of interrupts for compare match, reload (underflow),
overflow, or on count direction change
Compare function (output interrupt request on compare match)
Compare function (output interrupt request and clear counter on compare
match)
Reload function (output interrupt request and reload on underflow)
Compare/reload function
(output interrupt request and clear counter on compare match; output interrupt
request and reload on underflow)
Compare/reload disabled
65
MB91350A Series
(2) Register list
• Up/down count register (UDCR)
Up/down count register ch.0 (UDCR0)
bit 7
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
D06D07D05D04D03D02D01D00
Up/down count register ch.1 (UDCR1)
bit 15
*
bit 14bit 13bit 12bit 11bit 10bit 9bit 8
D14D15D13D12D11D10D09D08
• Reload compare register (RCR)
Reload compare register ch.0 (RCR0)
bit 7
Reload compare register ch.1 (RCR1)
bit 15
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
D06D07D05D04D03D02D01D00
*
bit 14bit 13bit 12bit 11bit 10bit 9bit 8
D14D15D13D12D11D10D09D08
• Counter status register (CSR)
Counter status register ch.0, ch.1 (CSR0, CSR1*)
bit 7
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
CITECSTRUDIECMPFOVFFUDFFUDF1UDF0
• Counter control register (CCRL)
Counter control register ch.0, ch.1 (CCRL0, CCRL1*)
bit 7
Reserved
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
CTUT UCRERLDEUDCCCGSCCGE1CGE0
• Counter control register (CCRH)
Counter control register ch.0 (CCRH0)
bit 15
bit 14bit 13bit 12bit 11bit 10bit 9bit 8
CDCFM16ECFIECLKSCMS1CMS0CES1CES0
• Counter control register ch.1 (CCRH1)*
bit 15
Reserved
bit 14bit 13bit 12bit 11bit 10bit 9bit 8
CDCFCFIECLKSCMS1CMS0CES1CES0
* : Access to the UDCR1, RCR1, CSR1, CCRL1, CCRH1 registers is prohibited on the MB91F353A/353A/
352A/351A.
66
(3) Block diagram
• 8/16-bit up/down counter (ch.0)
MB91350A Series
Data bus
ZIN0
CGE1 CGE0 CGSC
Edge/level detection
Up/down
AIN0
BIN0
select
Prescaler
UDCC
CES1CES0
CMS0
CMS1
count
clock
Count
Clock
RCR0 (Reload
compare register ch.0)
CTUT
UCRE
Counter clear
Reload
control
RLDE
UDCR0 (up/down UDCR0
counter register ch.0)
CSTR
UDF1 UDF0 CDCF
M16E
UDFF OVFF
To ch.1
Carry
CMPF
UDIE
CITE
CLKS
CFIE
Interrupt output
67
MB91350A Series
•8/16-bit up/down counter (ch.1)
CGE1 CGE0 CGSC
Data bus
8bits
RCR1 (Reload
compare register ch.1)
ZIN0, ZIN1
Edge/level detection
Up/down
AIN1
BIN1
Prescaler
CLKS
UDCC
CES1CES0
CMS1
count
clock
select
CMS0
Count
Clock
CTUT
Reload
control
UCRE
Counter clear
8bits
RLDE
UDCR1 (up/down
counter register ch.1)
CSTR
UDF1 UDF0 CDCF
CMPF
UDFF OVFF
UDIE
CITE
CFIE
68
Interrupt output
MB91350A Series
5.16-bit Reload Timer
(1) Description
The 16-bit timer consists of a 16-bit down counter, 16-bit reload register, internal clock, clock generation prescaler,
and control register.
The clock source can be selected from among three internal clocks (prepared by frequency dividing the machine
clock by 2/8/32, and also by 64/128 only for ch.3) and an external event.
The interrupt can be used to initiate a DMA transfer.
The MB91F353A/353A/352A/351A does not have timer outputs (TOT0 to TOT3).
This timer has 4 built-in channels.
(2) Register list
Control status register (TMCSR)
bit 15
bit 14bit 13bit 12bit 11bit 10bit 9bit 8
ReservedReserved Reserved
⎯⎯CSL2CSL1CSL0
(ch.3 only)
bit 7
Reserved
16-bit timer register (TMR)
bit 15
16-bit reload register (TMRLR)
bit 15
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
⎯OUTLRELDINTEUFCNTETRG
bit 0
bit 0
69
MB91350A Series
(3) Block diagram
16
R-bus
16
7
16-bit reload register (TMRLR)
16-bit timer register (TMR) UF
Count enable
Clock selector
3
φ
φ2φ
35
1
2
2
Machine clock input
φ
φ
7
6
2
2
(ch.3 only)
CSL2
CSL1
CSL0
EXCK
Prescaler
clear
IN CTL.
Reload
OUT
CTL.
Re-trigger
RELD
OUTL
INTE
UF
CNTE
TRG
External timer output
(TOT0 to TOT3)
TOE0 to TOE3
IRQ
Note : The MB91F353A/353A/352A/351A does not have external timer outputs (TOT0 to TOT3).
70
MB91350A Series
6.PPG (Programmable Pulse Generator)
The PPG can efficiently output highly precise PWM wave forms.
The MB91F353A/353A/352A/351A contains 3 channels of PPG timer.
The MB91F355A/F356B/F357B/355A/354A/V350A contains 6 channels of PPG timer.
(1) Description
Each channel consists of a 16-bit down counter, 16-bit data register with cycle setting buffer, 16-bit compare
register with duty ratio setting buffer, and pin control unit.
The count clocks for the 16-bit down counter can be selected from the following 4 types : (peripheral clock φ, φ/4, φ/16, φ/64)
The counter is initialized to "FFFF
PPG outputs (PPG0 to PPG5) are provided for each channel.
Note : The MB91F353A/353A/352A/351A contains 3 channels of PPG outputs PPG (0, 2, 4). There is no
PPG (1, 3, 5).
(2) Register list
H" at a reset or counter borrow.
General control register 10 (GCN10)
General control register 20 (GCN20)
Timer register (PTMR0 to PTMR5)
Cycle setting register (PCSR0 to PCSR5)
Duty setting register (PDUT0)
bit 15
bit 0
71
MB91350A Series
(3) Block diagram (overall configuration for 1 channel)
16-bit reload timer ch.0
TRG input
PPG timer ch.0
16-bit reload timer ch.1
General control
TRG input
PPG timer ch.1
register 10
(resource select)
General control
register 20
4
External TRG0 to
TRG3
External TRG4
TRG input
PPG timer ch.2
TRG input
PPG timer ch.3
TRG input
PPG timer ch.4
TRG input
External TRG5
PPG timer ch.5
Note : The MB91F353A/353A/352A/351A does not have PPG1, PPG3, PPG5 and external TRG5.
PPG0
PPG1
PPG2
PPG3
PPG4
PPG5
72
MB91350A Series
7.U-TIMER (16-bit timer for UART baud rate generation)
(1) Description
The U-TIMER is a 16-bit timer for generating the baud rate for the UART. An arbitrary baud rate can be set
depending on the combination of the chip operating frequency and U-TIMER reload value.
The MB91F353A/353A/352A/351A contains 4 channels of this timer.
The MB91F355A/F356B/F357B/355A/354A/V350A contains 5 channels of this timer.
(2) Register list
U-TIMER register (UTIM)
Reload register (UTIMR)
U-TIMER control register (UTIMC)
(3) Block diagram
bit 15
bit 15
φ
(Peripheral clock)
bit 15bit 0
UTIMR (reload register)
load
UTIM (U-TIMER)
clock
bit 8 bit 7
bit 0
bit 0
underflow
control
f.f.
to UART
73
MB91350A Series
8.UART
(1) Description
The UART is a serial I/O port for asynchronous (start-stop) or CLK synchronous communication. This module
has the features listed below.
The MB91F353A/353A/352A/351A contains 4 channels of UART.
The MB91F355A/F356B/F357B/355A/354A/V350A contains 5 channels of UART.
• Full duplex double buffer
• Asynchronous (start-stop synchronized) or CLK synchronized transmission
• Supports multi-processor mode
• Completely programmable baud rate.
Arbitrary baud rate set by built-in timer (Refer to the section for "U-timer".)
• Variable baud rate can be input from an external clock.
• UART (ch.0 to ch.2) can start DMA transfers using interrupts (ch.3 and ch.4 cannot start DMA transfers).
• Capable of clearing DMAC interrupt source by writing to DRCL register
(2) Register list
Serial input register/serial output register (SIDR/SODR)
bit 7
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
D6D7D5D4D3D2D1D0
Serial status register (SSR)
bit 7
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
OREPEFRERDRFTDREBDSRIETIE
Serial mode register (SMR)
bit 7
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
MD0MD1⎯⎯CS0⎯⎯⎯
Serial control register (SCR)
bit 7
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
PPENSBLCLA/DRECRXETXE
DRCL register (DRCL)
bit 7
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
⎯⎯⎯⎯⎯⎯⎯⎯
74
(3) Block diagram
Control
signal
MB91350A Series
RX interrupt
(to CPU)
From U-TIMER
External clock
SCK
SI (Receive data)
Receive status
decision circuit
Clock
selection
circuit
Reception
clock
Reception control
detection circuit
Received bit
Received parity
RX shifter
circuit
Start bit
Counter
Counter
complete
Transmission clock
RX
SCK (clock)
TX interrupt
(to CPU)
Transmission
control circuit
Transmission
start
Transmission bit
Counter
Transmission
parity Counter
SO (Send data)
TX shifter
Start trans-
mission
SMR
Register
For DMA
received error generating
signal (to DMAC)
MD1
MD0
SCR
CS0
Register
SIDRSODR
R - bus
PEN
P
SBL
CL
A/D
REC
RXE
TXE
SSR
Register
PE
ORE
FRE
RDRF
TDRE
BDS
RIE
TIE
Control signal
75
MB91350A Series
9.Extended I/O serial interface (SIO)
(1) Description
This block is an 8-bit × 1 channel serial I/O interface that allows data transfer using clock synchronization.
LSB-first or MSB-first transfer mode can be selected for data transfer.
The MB91F353A/353A/352A/351A contains 2 channels of this SIO.
The MB91F355A/F356B/F357B/355A/354A/V350A contains 3 channels of this SIO.
The serial I/O interface operates in 2 modes :
• Internal shift clock mode : Data is transferred synchronized with the internal clock.
• External shift clock mode : Data is transferred synchronized with a clock supplied via the external pin (SCK).
In this mode, data can also be transferred using CPU instructions by operating the
general-purpose port that shares the external pin (SCK) .
(2) Register list
Serial mode control status register (SMCS)
bit 15
bit 14bit 13bit 12bit 11bit 10bit 9bit 8
SMD1SMD2SMD0SIESIRBUSYSTOPSTRT
bit 7
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
⎯⎯⎯⎯MODEBDS⎯⎯
SIO test register (SES)
bit 15
bit 14bit 13bit 12bit 11bit 10bit 9bit 8
⎯⎯⎯⎯⎯⎯TST1TST0
SDR (Serial Data Register) (SDR)
bit 7
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
D6D7D5D4D3D2D1D0
SIO prescaler control register (CDCR)
bit 15
bit 14bit 13bit 12bit 11bit 10bit 9bit 8
⎯MD⎯⎯DIV3DIV2DIV1DIV0
DMAC interrupt source clear register (SRCL)
bit 7
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
⎯⎯⎯⎯⎯⎯⎯⎯
76
(3) Block diagram
MB91350A Series
Internal data bus
(MSB first) D0 to D7(LSB first) D0 to D7
Select transmitting direction
SI6, SI7
SDR (Serial Data Register)
SO6, SO7
SCK6, SCK7
Control circuit
Internal clock
21 0
SMD2 SMD1 SMD0 SIESIR BUSY STOP STRT MODE BDS
Interrupt
request
Internal data bus
Initial Value
Read
Write
Shift clock counter
SCE
PFR
Register
77
MB91350A Series
10. 16-bit free-run timer
(1) Description
The 16-bit free-run timer consists of a 16-bit up counter, control register, and status register. The count values
of this timer are used as the base timer for the output compare and input capture modules.
• Four count clock frequencies are available.
• An interrupt can be generated on counter overflow.
• The counter can be initialized upon a match with compare register 0 of the output compare unit, depending
on the mode.
(2) Register list
Timer data register (upper) (TCDT)
bit 15
Timer data register (lower) (TCDT)
bit 7
bit 14bit 13bit 12bit 11bit 10bit 9bit 8
T14T15T13T12T11T10T9T8
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
T06T07T05T04T03T02T01T00
Timer control status register (lower) (TCCS)
bit 7
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
IVFECLKIVFESTOPMODECLRCLK1CLK0
(3) Block diagram
ECLKIVFIVFESTOPMODECLRCLK1CLK0
R-bus
Timer data register
(TCDT)
Interrupt
Clock
Divider
Clock
select
φ
FRCK
78
To internal circuit (T15 to T00)
Comparator
MB91350A Series
11. Input Capture
(1) Description
This module detects the rising or falling edge or both edges of an external input signal and then, stores the value
of the 16-bit free-run timer in a register. In addition, the module can generate an interrupt upon detection of an
edge.
The input capture module consists of input capture data registers and a control register.
Each input capture unit has a corresponding external input pin.
• The detection edge of the external input can be selected from among 3 types.
Rising edge
Falling edge
Both edges
• An interrupt can be generated upon detection of a valid edge in the external input.
(2) Register list
Input capture data register (upper) (IPCP)
bit 15
bit 14bit 13bit 12bit 11bit 10bit 9bit 8
CP14CP15CP13CP12CP11CP10CP09CP08
Input capture data register (lower) (IPCP)
bit 7
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
CP06CP07CP05CP04CP03CP02CP01CP00
Input capture control register (ICS23)
bit 7
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
ICP2ICP3ICE3ICE2EG31EG30EG21EG20
Input capture control register (ICS01)
bit 7
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
ICP0ICP1ICE1ICE0EG11EG10EG01EG00
79
MB91350A Series
(3) Block diagram
16-bit timer counter value
(T15 to T00)
Input capture data register
ch.0, ch.2
16-bit timer counter value
R-bus
(T15 to T00)
Input capture data register
ch.1, ch.3
Edge
detection
EG11EG10EG01EG00
EG31EG30EG21EG20
Edge
detection
ICP1ICP0ICE1ICE0
ICP3ICP2ICE3ICE2
IN0, IN2
Input pin
IN1, IN3
Input pin
Interrupt
Interrupt
80
MB91350A Series
12. Output Compare
(1) Description
The output compare module consists of a 16-bit compare register, compare output latch, and control register.
When the 16-bit free-run timer value matches the compare register value, the output level is inverted and an
interrupt is issued.
The MB91F353A/353A/352A/351A contains 2 channels of this block.
The MB91F355A/F356B/F357B/355A/354A/V350A contains 8 channels of this block.
This module has the following features.
• The output compare is able to operate independent of each of 8 compare register. There are output pins and
interrupt flags corresponding to each of the compare registers.
• A pair of compare registers can be used to control the output terminal.
The output terminal is reversed by using two compare registers.
• Capable of setting the initial value for each output pin.
• Interrupts can be generated upon a compare match.
• The ch.0 compare register is used as the compare clear register for the 16-bit free-run timer.
(2) Register list
Compare register (OCCP)
bit 15
Compare register (OCCP)
bit 7
Output control register (OCS01)
bit 15bit 14bit 13bit 12bit 11bit 10bit 9bit 8
Output control register (OCS23)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
bit 14bit 13bit 12bit 11bit 10bit 9bit 8
C14C15C13C12C11C10C09C08
bit 6bit 5bit 4bit 3bit 2bit 1bit 0
C06C07C05C04C03C02C01C00
⎯⎯⎯CMOD⎯⎯OTD1OTD0
ICP0ICP1ICE1ICE0⎯⎯CST1CST0
81
MB91350A Series
(3) Block diagram
(Only ch.0 is used as a free-run timer
clear register.)
Output compare
register
Compare circuit
Output compare
register
R-bus
Compare circuit
CST1CST0
16-bit free-run timer
OTD1OTD0
Compare
output latch
CMOD
Compare
output latch
ICP1ICP0ICE1ICE0
OTE0, OTE2,
OTE4, OTE6
Output
(ch.0, ch.2, ch.4, ch.6)
OTE0 and OTE7 exist in PFR0.
OTE1, OTE3,
OTE5, OTE7
Output
(ch.1, ch.3, ch.5, ch.7)
Interrupt output
Interrupt output
82
13. I2C Interface
(1) Description
2
C interface is a serial I/O port supporting the Inter-IC bus, operating as a master/slave device on the I2C
The I
bus. It has the following features :
• Master/slave transmission and reception
• Arbitration function
• Clock sync function
• Slave address and general call address detection function
• Transmission direction detection function
• Repeated start condition generation and detection function
• Bus error detection function
• 10-bit/7-bit slave address
• Slave address receive acknowledge control when in master mode
• Support for composite slave addresses
• Capable of interrupt when a transmission or bus error occurs
The A/D converter converts the analog input voltage into a digital value. It has the following features :
• Conversion time : 1.48 µs minimum per channel
• Employing serial / parallel conversion type for sample and hold circuit.
• 10-bit resolution (switchable between 8 and 10 bits)
• Programmatic selection of the analog input from among 12 channels
(The MB91F353A/353A/352A/351A are input 8 channels.)
• Conversion mode
Single conversion mode : Converts 1 selected channel a single time.
Scan conversion mode : Scanning conversion of up to 4 channels.
• Converted data is stored in a data buffer (a total of 4 data buffers) .
• An interrupt request to the CPU can be generated upon completion of A/D conversion. The interrupt can be
used to start a DMA transfer.
• The startup source can be selected from among software, external trigger (falling edge), and reload timer ch.2
(rising edge).
(2) Register list
Control status register (ADCS2/ADCS1)
Conversion time setting register (ADCT)
Converted data register 0 (ADTH0/ADTL0)
Converted data register 1 (ADTH1/ADTL1)
Converted data register 2 (ADTH2/ADTL2)
Converted data register 3 (ADTH3/ADTL3)
bit 15bit 0
ADTH2
bit 8 bit 7
ADCS1ADCS2
ADTL0ADTH0
ADTL1ADTH1
ADTL2
ADTL3ADTH3
86
(3) Block diagram
Analog input
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
AN8
AN9
AN10
AN11
MB91350A Series
AVCC, AVRH, AVSS/AVRL
M
P
X
S/H
10-bit
A/D
Convertor
ADT0
M
ADT1
P
ADT2
X
ADT3
R-bus
Control logic
16-bit reload timer ch.2
External input
Note : The MB91F353A/353A/352A/351A does not have inputs AN8 to AN11.
Interrupt
87
MB91350A Series
15. 8-bit D/A converter
(1) Description
This block contains 3 channels of 8-bit D/A converters and D/A converter registers that can be used to control
the independent output of each channel. The block has the following features.
• Power saving function
• 3.3 V interface
Note : The MB91F353A/353A/352A/351A contains 2 channels of D/A converter.
(2) Register list
D/A data register 0 to 2 (DADR0 to DADR2)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
DA6DA7DA5DA4DA3DA2DA1DA0
D/A control register 0 to 2 (DACR0 to DACR2)
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
⎯⎯⎯⎯⎯⎯⎯DAE
Note : The MB91F353A/353A/352A/351A does not have DADR2, DACR2.
(3) Block diagram
R-bus
D/A control
DAE0
STOPSTOP
D/AD/A
DAE1
PD
D/A
converter
PD
D/A
converter
D/A
DAE2
PD
STOP
D/A
converter
88
D/A output 0D/A output 1
D/A output 2
MB91350A Series
16. DMAC (DMA Controller)
(1) Description
This module provides direct memory access (DMA) transfers in the FR family devices.
The DMAC enables high speed transfers for various data without CPU intervention, thereby improving system
performance.
• Hardware configuration
The main components of this module are as follows :
• Independent DMA channels × 5 channels
• 5 channels independent access control circuits
• 32-bit address registers (Supports reloading : 2 per channel)
• 16-bit transfer count registers (Supports reloading : 1 per channel)
• 4-bit block count registers (1 per channel)
• External transfer request input pins : DREQ0, DREQ1, and DREQ2. For ch.0 to ch.2 only
Note : The MB91F353A/353A/352A/351A do not have an external interface.
• External transfer request acceptance output pins : DACK0, DACK1, and DACK2. For ch.0 to ch.2 only
Note : The MB91F353A/353A/352A/351A do not have an external interface.
• DMA end output pins : DEOP0, DEOP1, and DEOP2. For ch.0 to ch.2 only
Note : The MB91F353A/353A/352A/351A do not have an external interface.
• Fly-by transfer (memory to I/O and I/O to memory). For ch.0 to ch.2 only
Note : The MB91F353A/353A/352A/351A do not support fly-by transfer.
• 2-cycle transfer
• Main functions
This module has the following major functions for data transfer :
• Supports data transfer over multiple independent channels (5 channels)
(1) Priority order (ch.0
(2) Order can be reversed for ch.0 and ch.1
(3) DMAC activation triggers
• External dedicated pin input (edge detection/level detection for ch.0 to ch.2 only)
Note : The MB91F353A/353A/352A/351A do not have an external interface.
• Internal peripheral request (Interrupt request sharing, including external interrupts)
• Software request (register write)
(4)Transmission mode
• Demand transfer, burst transfer, step transfer, or block transfer
• Addressing mode : 32-bit full addressing (increment, decrement, or fixed)
(address increment can be in the range - 255 to + 255)
• Data length : Byte, halfword, or word
• Single-shot or reload operation selectable
> ch.1 > ch.2 > ch.3 > ch.4)
89
MB91350A Series
(2) Register Description
ch.0 Control/statusRegister A
Register B
ch.1 Control/statusRegister A
Register B
ch.2 Control/statusRegister A
Register B
ch.3 Control/statusRegister A
Register B
ch.4 Control/statusRegister A
Register B
Overall control register
bit 31bit 0
(DMACA0)
(DMACB0)
(DMACA1)
(DMACB1)
(DMACA2)
(DMACB2)
(DMACA3)
(DMACB3)
(DMACA4)
(DMACB4)
(DMACR)
ch.0 Transfer source address register
ch.1 Transfer source address register
ch.2 Transfer source address register
ch.3 Transfer source address register
ch.4 Transfer source address register
(DMASA0)
(DMADA0)
(DMASA1)
(DMADA1)
(DMASA2)
(DMADA2)
(DMASA3)
(DMADA3)
(DMASA4)
(DMADA4)
90
(3) Block diagram
MB91350A Series
To bus
control-
ler
DMA transfer request
to bus controller
Read
Write
Read/write
control
DDNO
Bus control block
Access
Counter buffer
Counter
Buffer
Selector
DTC two-stage register
Counter
Buffer
Selector
BLK register
DDNO register
Selector
DSAD two-stage register
Write back
back
Write
DTCR
Priority circuit
transition
DMA control
DMA start
source select
circuit &
request
acceptance
control
State
circuit
SADM, SASZ [7:0] SADR
Peripheral start request/
Stop input
External pin start request/
Stop input
DSS [3:0]
To interrupt controller
ERIR, EDIR
peripheral interrupt
Clear
TYPE, MOD, WS
IRQ [4:0]
MCLREQ
X-bus
Bus control block
address
Address counter
Write back
Counter buffer
DDAD two-stage register
SelectorSelector
DADM, DASZ [7:0] DADR
5-channel DMAC block diagram
91
MB91350A Series
■ ELECTRICAL CHARACTERISTICS
1.Absolute Maximum Rating
ParameterSymbol
MinMax
Power supply voltage*
Analog power supply voltage*
Analog power supply voltage*
Analog reference voltage*
Input voltage*
1
Input voltage (N-ch open-drain) *
Analog pin input voltage*
Output voltage*
Maximum clamp currentI
Total maximum clamp currentΣ|I
“L” level maximum output currentI
“L” level maximum output current
(N-ch open-drain)
“L” level average output currentI
“L” level average output current
(N-ch open-drain)
“L” level total maximum output currentΣI
“L” level total average output currentΣI
“H” level maximum output currentI
“H” level average output currentI
“H” level total maximum output currentΣI
“H” level total average output currentΣI
Power consumptionP
1
1
1
1
VCCVSS− 0.5VSS+ 4.0V*2
DAVCVSS− 0.5VSS+ 4.0V*3
AVCCVSS− 0.5VSS+ 4.0V*3
AVRHVSS− 0.5VSS+ 4.0V*3
VIVSS− 0.5VCC+ 0.5V*8
1
1
1
VINDVSS− 0.5VSS+ 5.5V
VIAVSS− 0.5AVCC+ 0.5V*8
VOVSS− 0.5VCC+ 0.5V
CLAMP− 2.0+ 2.0mA*7
CLAMP|⎯20mA*7
OL⎯10mA*4
OLND⎯20mA
I
OLAV⎯8mA*5
I
OLAVND⎯15mA
OL⎯100mA
OLAV⎯50mA*6
OH⎯ − 10mA*4
OHAV⎯ − 4mA*5
OH⎯ − 50mA
OHAV⎯ − 20mA*6
D⎯850mW
Operating temperatureTa− 40+ 85°C
Storage temperatureT
STG⎯ + 125 °C
Rating
UnitRemarks
*1 : The parameter is based on VSS= DAVS = AVSS= 0 V.
*2 : V
CC must not be lower than VSS− 0.3 V.
*3 : Be careful not to exceed "V
CC+ 0.3 V" , for example, when the power is turned on.
*4 : The maximum output current is the peak value for a single pin.
*5 : The average output current is the average current for a single pin over a period of 100 ms.
*6 : The total average output current is the average current for all pins over a period of 100 ms.
92
(Continued)
MB91350A Series
(Continued)
*7 : • Relevant pins : Ports 2, 3, 4, 5, 6, 8, 9, A, H, I, K, M, N, O and AN (A/D input) : MB91F353A/353A/352A/351A
Ports 2, 3, 4, 5, 6, 8, 9, A, B, C, G, H, I, J, K, M, N, O, P and AN (A/D input) :
MB91F355A/F356B/F357B/355A/354A
• Use within recommended operating conditions.
• Use at DC voltage (current).
• + B signals are input signals that exceed the V
• A limiting resistance should always be applied to +B signals by connecting the resistance between the +B
signal and the microcontroller.
• The value of the limiting resistance should be set so that when the + B signal is applied the input current to
the microcontroller pin does not exceed rated values, either instantaneously or for prolonged periods.
• Note that when the microcontroller drive current is low, such as in low power consumption mode, the + B
input potential can increase the potential at the V
devices.
• Note that if a + B input is applied when the microcontroller is off (not fixed at 0 V), power is supplied
through the pin, possibly causing the microcontroller to partially operate.
• Note that if a + B input is applied when the power supply is turned on, power is supplied through the pin,
possibly resulting in a power-supply voltage at which power-on reset does not work.
• Ensure that a + B input pin does not form an open circuit.
• Note that analog I/O pins other than the A/D input pins (such as the LCD drive and comparator input pins) cannot input + B.
• Sample recommended circuits :
CC voltage.
CC pin via a protective diode, possibly affecting other
• Input/output equivalent circuits
Protective diode
Vcc
Limiting
P-ch
resistance
+ B input (0 V to 16 V)
N-ch
R
I must not exceed the rated voltage. However, If the maximum current to/from an input is limited by some
*8 : V
means using external components, the I
CLAMP rating supersedes the VI rating.
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.
93
MB91350A Series
2.Recommended Operating Conditions
( Other than MB91F356B/F357B)
ParameterSymbol
V
Power supply voltage
CC3.03.6VDuring normal operation
V
CC3.03.6VHold RAM status at stop
Val ue
MinMax
(V
SS= DAVS = AVSS= 0 V)
UnitRemarks
DAVCV
SS− 0.3VSS+ 3.6
Analog power supply voltage
AVCCVSS− 0.3VSS+ 3.6
Analog reference voltageAVRHAV
SSAVCCV
Operating temperatureTa− 40+ 85°C
(MB91F356B/F357B only)
Val ue
ParameterSymbol
UnitRemarks
MinMax
CC2.73.6VDuring normal operation
V
V
Power supply voltage
CC2.73.6VHold RAM status at stop
V
CC3.03.6V
DAVCV
SS− 0.3VSS+ 3.6
Analog power supply voltage
AV
CCVSS− 0.3VSS+ 3.6
Analog reference voltageAVRHAV
SSAVCCV
− 40+ 85°C
Operating temperatureTa
0+70°C
V
(V
SS= DAVS = AVSS= 0 V)
When writing or erasing
Flash memory
V
When writing or erasing
Flash memory*
* : Including the F355A/F353A
WARNING: The recommended operating conditions are required in order to ensure the normal operation of the
semiconductor device. All of the device’s electrical characteristics are warranted when the device is
operated within these ranges.
Always use semiconductor devices within their recommended operating condition ranges. Operation
outside these ranges may adversely affect reliability and could result in device failure.
No warranty is made with respect to uses, operating conditions, or combinations not represented on
the data sheet. Users considering application outside the listed conditions are advised to contact their
FUJITSU representatives beforehand.
94
MB91350A Series
3.DC Characteristics
(VCC= 3.0 V to 3.6 V, VCC= 2.7 V to 3.6 V (MB91F356B/F357B only) , VSS= DAVS = AVSS= 0 V, Ta = − 40 °C to + 85 °C)
Parameter
“H” level
input voltage
“L” level
input voltage
Symbol
V
IH
VIHS
VIHST
IL
V
VILS
VILST
Pin name
Port 2, 3, 4, 5, 6,
9, A
Port 2, 3, 4, 5, 6,
9, A, B, C
Port 8, H, I, M,
N, O, MD0,
MD1, MD2,
INIT
, NMI
Port 8, G, H, I,
M, N, O, P,
MD0, MD1,
MD2, INIT
, NMI
Port K, L
Port J, K, L
Port 2, 3, 4, 5, 6,
9, A
Port 2, 3, 4, 5, 6,
9, A, B, C
Port 8, H, I, M,
N, O, MD0,
MD1, MD2,
INIT
, NMI
Port 8, G, H, I,
M, N, O, P,
MD0, MD1,
MD2, INIT
, NMI
Port K, L
Port J, K, L
Conditions
⎯
⎯V
MinTypMax
V
CC×
0.65
VCC× 0.8
SS⎯
Val ue
⎯
V
CC+ 0.3
5.25
CC× 0.25
V
VCC× 0.2
UnitRemarks
MB91F353A/353A/
352A/351A
MB91F355A/F356B/
F357B/355A/354A
Hysteresis input
MB91F353A/353A/
352A/351A
Hysteresis input
V
MB91F355A/F356B/
F357B/355A/354A
Hysteresis input withstand voltage of 5 V
MB91F353A/353A/
352A/351A
Hysteresis input withstand voltage of 5 V
MB91F355A/F356B/
F357B/355A/354A
MB91F353A/353A/
352A/351A
MB91F355A/F356B/
F357B/355A/354A
Hysteresis input
MB91F353A/353A/
352A/351A
Hysteresis input
V
MB91F355A/F356B/
F357B/355A/354A
Hysteresis input withstand voltage of 5 V
MB91F353A/353A/
352A/351A
Hysteresis input withstand voltage of 5 V
MB91F355A/F356B/
F357B/355A/354A
(Continued)
95
MB91350A Series
CC= 3.0 V to 3.6 V, VCC= 2.7 V to 3.6 V (MB91F356B/F357B only) , VSS= DAVS = AVSS= 0 V, Ta = − 40 °C to + 85 °C)
(V
Parameter
“H” level
output
voltage
“L” level
output
voltage
Symbol
V
OH
V
OL1
Pin nameConditions
Port 2, 3, 4,
5, 6, 8, 9, A,
H, I, J, K, M,
N, O
CC= 3.0 V,
Port 2, 3, 4,
V
I
OH=−4.0 mA
5, 6, 8, 9, A,
B, C, G, H,
I, J, K, M, N,
O, P
Port 2, 3, 4,
5, 6, 8, 9, A,
H, I, K, M,
N, O
CC= 3.0 V,
Port 2, 3, 4,
V
I
OL= 4.0 mA
5, 6, 8, 9, A,
B, C, G, H,
I, J, K, M, N,
O, P
MinTypMax
VCC− 0.5⎯VCCV
V
SS⎯0.4V
Val ue
UnitRemarks
MB91F353A/
353A/352A/351A
MB91F355A/
F356B/F357B/
355A/354A
MB91F353A/
353A/352A/351A
MB91F355A/
F356B/F357B/
355A/354A
Input leak
current
(High-Z
Output
Leakage
Current)
Pull-up
resistance
Power
supply
current
V
OL2Port L
I
LIAll input pin
Setting pin
R
UP
INIT
Pull Up
CCVCC
I
,
VCC= 3.0 V,
I
OL= 15.0 mA
VCC= 3.6 V,
0
<VI<VCC
VCC= 3.6 V,
V
I= 0.45 V
fC=
12.5 MHz,
V
CC=
3.3 V
Flash
MASK
Flash
MASK
− 5⎯+ 5µA
2550200kΩ
160220
125150
⎯
mA
85100
7590
N-ch
open-drain
MB91F353A/
353A/352A/351A
Multiply by 4RUN
When operating
at
CLKB : 50 MHz
CLKT : 25 MHz
CLKP : 25 MHz
MB91F353A/
353A/352A/351A
Multiply by 2RUN
When operating
at
CLKB : 25 MHz
CLKT : 25 MHz
CLKP : 12.5 MHz
96
(Continued)
MB91350A Series
(Continued)
CC= 3.0 V to 3.6 V, VCC= 2.7 V to 3.6 V (MB91F356B/F357B only) , VSS= DAVS = AVSS= 0 V, Ta = − 40 °C to + 85 °C)
(V
Parameter
Power
supply
current
Symbol
Pin nameConditions
MinTypMax
CC
I
fC= 12.5 MHz,
V
CC= 3.3 V
I
CCS100140
VCC
⎯
Val ue
160220
UnitRemarks
MB91F355A/
F356B/F357B/
355A/354A
Multiply by 4RUN
When operating at
CLKB : 50 MHz
CLKT : 25 MHz
CLKP : 25 MHz
MB91F353A/
353A/352A/351A
mA
Multiply by 4RUN
When operating at
CLKB : 50 MHz
CLKT : 25 MHz
CLKP : 25 MHz
MB91F355A/
F356B/F357B/
355A/354A
Sleep
CLKP : When operating at 25 MHz
Input
capacitance
I
I
CCH
CCL
Ta =+ 25 °C,
V
CC= 3.3 V
1100µAAt stop
0.33.0
Ta =+ 25 °C,
f
C= 32.768 kHz,
V
ICCLS0.22.0
I
CCT5120µA
CC= 3.3 V
Other than
V
CC, VSS,
C
AV
IH
CC, AVSS,
⎯⎯515pF
DAVC,
DAVS
Sub RUN
When operating at
CLKB : 32.768 kHz
CLKT : 32.768 kHz
mA
CLKP : 32.768 kHz
Sub-sleep
When operating at
CLKP : 32.768 kHz
When operating in
watch mode
(Main Off, STOP)
97
MB91350A Series
4.AC Characteristics
(1) Clock Timing
Parameter
Symbol
Pin
name
(V
CC= 3.0 V to 3.6 V, VCC= 2.7 V to 3.6 V (MB91F356B/F357B only) ,
V
SS= DAVS = AVSS= 0 V, Ta = − 40 °C to + 85 °C)
Value
Conditions
UnitRemarks
MinTypMax
Clock
frequency
Clock cycle timet
Clock
frequency
Internal operating
clock frequency
Internal operating
clock cycle time
Clock
frequency
Clock cycle timet
Input clock pulse
width
Internal operating
clock frequency
Internal operating
clock cycle time
f
C
10
12.5MHz
MAIN PLL
(When operating at max
internal frequency
X0,
C80100ns
X1
⎯
(50 MHz) = 12.5 MHz
self-oscillation with ×
4 PLL)
C1025MHz
f
⎯
fCP
f
CPP
CPTExternal bus
f
tCP20
t
CPP
CPTExternal bus
t
fC
C28.630.5133.3µs
⎯
f
CP,
f
CPP,
f
CPT
t
CP,
t
CPP,
t
CPT
When a minimum
value of 12.5 MHz is
input as the X0 clock
⎯
frequency and x4
multiplication is set
for the PLL of the
oscillator circuit
X0A,
X1A
X0,
X1
When a standard
value of 32.768 kHz is
⎯
input as the X0A
clock frequency
⎯
P
WH/tC
PWL/tC
2.94*
40
3032.76835kHz
40
2*32.768 kHz
⎯
30.51500*µs
50
25
340*ns
60%
MAIN self-oscillation
(frequency-halved input)
CPU
MHz
Peripheral
CPU
Peripheral
SUB self-oscillation
* : The values assume a gear cycle of 1/16.
• Conditions for measuring the clock timing ratings
t
C
P
WH
98
0.8 V
CC
0.2 V
CC
P
WL
Output pin
C = 50 pF
• Operation Guaranteed Range (Other than MB91F356B/F357B)
CC (V)
V
Operation Guaranteed Range (Ta = − 40 °C to + 85 °C)
f
CPP is represented by the shaded area.
3.6
3.0
Power supply
0
50252.94
Internal clock
• External/internal clock setting range
fCP, fCPP
(MHz)
MB91350A Series
(MHz)
50
CP
f
Oscillation input clock f
C = 12.5 MHz
CPU (CLKB) :
Peripheral (CLKP)
Internal clock
fCPP,
f
CPT
25
12.5
External bus (CLKT) :
CPU : Peripheral division
4 : 42 : 21 : 2
ratios
CPU : Peripheral division ratio
Notes : • When the PLL is used, the external clock input must fall between 10.0 MHz and 12.5 MHz.
• Set the PLL oscillation stabilization wait time longer than 454.5 µs.
• The internal clock gear setting should not exceed the relevant value in the table in “(1) Clock timing ratings”.
99
MB91350A Series
• Operation Guaranteed Range (MB91F356B/F357B only)
For Flash memory wait of 2 (FLWC register : WTC[2 : 0] = 010)
VCC (V)
Operation Guaranteed Range (Ta = − 40 °C to + 85 °C)
f
3.6
3.0
2.8
Power supply
2.7
0502533402.94
Internal clock
CPP is represented by the shaded area.
fCP, fCPP
(MHz)
For Flash memory wait of 3 (FLWC register : WTC[2 : 0] = 011)
VCC (V)
Operation Guaranteed Range (Ta = − 40 °C to + 85 °C)
f
3.6
Power supply
2.7
050252.94
CPP is represented by the shaded area.
fCP, fCPP
Internal clock
(MHz)
100
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.