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