Be sure to refer to the “Check Sheet” for the latest cautions on development.
“Check Sheet” is seen at the following support page
URL : http://www.fujitsu.com/global/services/microelectronics/product/micom/support/index.html
“Check Sheet” lists the minimal requirement items to be checked to prevent problems beforehand in system development.
FUJITSU LIMITED
CONTENTS
■ Objectives and Intended Reader
The MB91350A series is one of the FR60 family of microcontrollers. The FR60 fam ily of microcontroll ers
is based on the FR30/40 family of CPUs, which u se a 32-b it high-performance RI SC CPU as the core CPU.
The FR60 family offers enhanced bus access. The MB91350A series is a single-chip microcontroller with
built-in peripheral resources. The MB91350A series is ideal for embedded control applications th at require
high-performance or high-speed CPU processing.
This manual is intended for engineers who will develop products using the MB91 350A seri es and describes
the functions and operations of the MB91350A series. Read this manual thoroughly.
For more information on instructions, see the "Instructions Manual".
Note : FR, which is an abbreviation of FUJITSU RISC controller, is a product of FUJITSU LIMITED.
■ Trademark
The company names and brand names herein are the trademarks or registered trademarks of their respective
owners.
■ License
Purchase of Fujitsu I2C components conveys a licence under the Philips I2C Patent Rights to use, these
2
components in an I
defined by Philips.
C system provided that the system conforms to the I2C Standard Specification as
■ Organization of This Manual
This manual consists of the following 19 chapters and an appendix.
CHAPTER 1 OVERVIEW
This chapter provides basic information required to u nderstand the MB91 350A series. It covers features
and dimensions, and presents a block diagram of the MB91350A series.
CHAPTER 2 HANDLING THE DEVICE
This chapter provides precautions on handling the device.
CHAPTER 3 CPU AND CONTROL UNITS
This chapter provides basic information required to understand the MB91350A series core CPU
functions. It covers architecture, specifications, and instructions.
CHAPTER 4 EXTERNAL BUS INTERFACE
This chapter describes basic items related to the external bus interface, register configuration/functions,
bus operation, bus timing, and procedures for setting the registers.
CHAPTER 5 I/O PORT
This chapter describes the I/O ports and the configuration and functions of registers.
i
CHAPTER 6 8/16-bit Up/Down Counters/Timer and U-Timers
This chapter outlines the 8/16-bit up/down counter/timer an d U-TIMER and explains the configuration
and functions of the registers and timer operations.
CHAPTER 7 16-BIT FREE-RUNNING TIMER AND 16-BIT RELOAD TIMER
This chapter outlines the 16-bit free-running timer and 16-bit reload timer and explains the
configuration and functions of the registers and timer operations.
This chapter gives an outline of the PPG (Programmable Pulse Generator) timer and explains the
register configuration and functions and the timer operations.
CHAPTER 9 INTERRUPT CONTROLLER
This chapter describes the overview of the interrupt controller, the configuration and functions of
registers, and interrupt controller operation.
CHAPTER 10 EXTERNAL INTERRUPT AND NMI CONTROLLER
This chapter outlines the external interrupt/NMI controller and explains the configuration and functions
of the registers and operations of the external interrupt/NMI controller.
CHAPTER 11 REALOS-RELATED HARDWARE
This chapter outlines the delayed interrupt module and bit search module, and explains the
configuration and functions of registers and operations.
CHAPTER 12 A/D CONVERTER
This chapter outlines the A/D converter and explains the configuration and functions of registers and
the A/D converter operations.
CHAPTER 13 8-BIT D/A CONVERTER
This chapter gives an overview of the 8-bit D/A converter, register configuration and functions, an d 8bit D/A converter operation.
CHAPTER 14 UART, SERIAL I/O INTERFACE (SIO), INPUT CAPTURE MODULE, AND
OUTPUT COMPARE MODULE
This chapter outlines the UART, SIO, input capture, and output compare, and expl ains the configuration
and functions of registers. It also explains UART, SIO, input capture, and output compare operations.
CHAPTER 15 I
This chapter describes the overview of the I
2
and I
C interface operation.
2
C INTERFACE
2
C interface, the configuration and functions of registers,
CHAPTER 16 DMA CONTROLLER (DMAC)
This chapter describes the overview of the DMAC, the configuration and functions of registers, and
DMAC operation.
CHAPTER 17 FLASH MEMORY
This chapter provides an outline of flash memory and explains its register configuration, register
functions, and operations.
CHAPTER 18 MB91F355A/F353A/F356B/F357B SERIAL PROGRAMMING CONNECTION
This chapter describes the serial onboard writing connection (Fujitsu standard) using the AF220/AF210 /
AF120/AF110 Flash Microcontroller Programmer by Yokogawa Digital Computer Corporation.
ii
CHAPTER 19 DATA INTERNAL RAM/INSTRUCTION INTERNAL RAM ACCESS
RESTRICTION FUNCTIONS
This chapter outlines a function that restricts access to data internal RAM and instruction internal RAM.
It also explains the configuration and functions of reg isters and internal RAM operatio ns.
APPENDIX
This appendix consists of the following parts: I/O map, interrupt vectors, pin state for each CPU state,
and the instruction lists.
iii
• The contents of this document are subject to change without notice.
Customers are advised to consult with sales representatives before ordering.
• The information, such as descriptions of function and application circuit examples, in this document are presented solely for the
purpose of reference to show examples of operations and uses of FUJITSU semiconductor device; FUJITSU does not warrant
proper operation of the device with respect to use based on such information. When you develop equipment incorporating the
device based on such information, you must assume any responsibility arising out of such use of the information. FUJITSU
assumes no liability for any damages whatsoever arising out of the use of the information.
• Any information in this document, including descriptions of function and schematic diagrams, shall not be construed as license
of the use or exercise of any intellectual property right, such as patent right or copyright, or any other right of FUJITSU or any
third party or does FUJITSU warrant non-infringement of any third-party's intellectual property right or other right by using such
information. FUJITSU assumes no liability for any infringement of the intellectual property rights or other rights of third parties
which would result from the use of information contained herein.
• The products described in this document are designed, developed and manufactured as contemplated for general use, including
without limitation, ordinary industrial use, general office use, personal use, and household use, but are not designed, developed
and manufactured as contemplated (1) for use accompanying fatal risks or dangers that, unless extremely high safety is secured,
could have a serious effect to the public, and could lead directly to death, personal injury, severe physical damage or other loss
(i.e., nuclear reaction control in nuclear facility, aircraft flight control, air traffic control, mass transport control, medical life
support system, missile launch control in weapon system), or (2) for use requiring extremely high reliability (i.e., submersible
repeater and artificial satellite).
Please note that FUJITSU will not be liable against you and/or any third party for any claims or damages arising in connection
with above-mentioned uses of the products.
• Any semiconductor devices have an inherent chance of failure. You must protect against injury, damage or loss from such
failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and
prevention of over-current levels and other abnormal operating conditions.
• Exportation/release of any products described in this document may require necessary procedures in accordance with the
regulations of the Foreign Exchange and Foreign Trade Control Law of Japan and/or US export control laws.
• The company names and brand names herein are the trademarks or registered trademarks of their respective owners.
61.1 Features"Table 1.1-2 Comparison of Functions: Internal Memory (Products whose
Memory Capacity is to be Extended and the Configuration of Memory are Currently under Study.)" was changed.
(The column for MB91351A was added.)
7, 81.2 Block Diagram"Figure 1.2-1 MB91F353A/353A/352A/351A Block Diagram" was changed.
"Figure 1.2-2 MB91355A/354A/F355A/F356B/F357B Block Diagram" was
changed.
121.4 Pin Layout"■ Pin layout of the MB91352A and MB91F353A (LQFP-120)" was deleted.
463.1 Memory Space"Figure 3.1-1 MB91F355A, MB91355A, MB91F353A, MB91353A and
MB95F357B Memory Maps" was changed.
(Internal ROM → Internal RAM)
47"Figure 3.1-2 MB91351A Memory Map " was added.
"Figure 3.1-3 MB91354A and MB91352A Memory Map" was changed.
(Internal ROM → Internal RAM)
48"Figure 3.1-4 MB91F356B Memory Map" was added.
xi
PageChanges (For details, refer to main body.)
483.1 Memory Space"■ Memory Map" was changed.
(For the MB91V350A, a 512K-byte internal ROM area is used as emulation
RAM for the MB91355A, F355A, 353A, and F353A memory map. In addi-
tion, the instruction internal RAM is extended from 8 KB to 16 KB. → For the
MB91V350A, with the memory map of the MB91355A/F355A/353A/F353A/
F357B, the 512K bytes area of the internal ROM, and with the memory map of
the MB91F356B, the 256K bytes area of the internal ROM, is the emulation
RAM. In addition, internal RAM(Instruction) is extended from 8K bytes to16K
bytes.)
1744.2.2 ACR0 to ACR7
(Area Configuration Registers)
2304.10 Procedure for Setting
a Register
238
to
244
2466.1 8/16-bit Up/Down
2716.2.2 U-TIMER Registers"■ Reload Register (UTIMR)" was changed.
2756.2.3 Operation of the U-
34810.3 Operation of the
5.2 I/O Port Registers"Table 5.2-1 Initial Values and Functions of the Port Function Registers
Counters/Timers
TIMER
External Interrupt and
NMI Controller
"Notes:" was changed.
"(Set both ASR and ACR at the same ti me us ing wo rd access. When acces sing
ASR and ACR using half word, please set ACR after setting ASR.)" was
added.
"■ Procedure for Setting the External Bus Interface" was changed.
(PFRs)" was changed.
("*2" was deleted.)
"■ Overview of the 8/16-bit Up/Down Counters/Timers" was changed.
(The MB91F355A/355A/354A/V350A→ The MB91F355A/355A/354A/
F356B/F357B)
("Note:" was added.)
"■ Calculation of Baud Rate" was changed.
("Note:" was added.)
"■ Operating Procedure for an External Interrupt" was changed.
("1. Terminal and general-purpose I/O port used as external interrupt input are
set to input port." was added.)
38413.3 8-bit D/A Converter
Operation
413, 41414.2.2 Serial I/O Interface
Registers
45015.2.2 Bus Control Regis-
ter (IBCR)
451
to
454
47916.2.1 DMAC ch0 to ch4
Control/Status Registers A
"Table 13.3-1 Logical Expressions for D/A Converter Output Voltage" was
changed.
(Values specified in DADR1 DADR2 DADR3 → Values specified in DADR0
DADR1 DADR2)
"[Bits 15, 14, and 13] Shift clock selection bits (SMD2, SMD1, SMD0: Serial
shift clock mode)" was changed.
"[Bit 12] MSS (Master Slave Select)" was changed.
("Note:" was changed.)
"■ Bus Control Register (IBCR)" was changed.
("Note:" was changed.)
"■ [Bits 28 to 24] IS4 to 0 (Input Select)*: Transfer Source Selection" was
changed.
xii
PageChanges (For details, refer to main body.)
49416.3.1 Overview of Opera-
tion
"● Fly-by transfer (I/O → memory)" was changed.
(Access areas used for MB91350A fly-by transfer must be external areas. →
Access areas used for MB91F355A/F356B/F357B/355A fly-by transfer must
be external areas.)
53417.1 Outline of Flash
536"Figure 17.1-3 Memory Map of MB91F356B Flash Memory" was added.
Memory
"Summary of 17.1 Outline of Flash Memory" was changed.
537, 538"■ Sector Address Table of Flash Memory" was changed.
54417.2.2 Flash Memory W ait
"[Bits 2 to 0] WTC2, WTC1, and WTC0 (wait cycle bits)" was changed.
Register (FLWC)
55917.5.2 Data Writing"■ How to Specify Address" was changed.
56818.1 Basic Configuration
of MB91F355A/F353A/
F356B/F357B
Serial Programming Con-
"■ Basic Configuration of MB91F355A/F353A/F356B/F357B Serial Programming Connection" was changed.
("Either a program operating in single-chip mode or a program operating in
internal ROM external bus mode is selected to write." was added.)
nection
56918.2 Pins Used for Fujitsu
Standard Serial Onboard
"Table 18.2-1 Function of Pins Used for Fujitsu Standard Serial Onboard Writing" was changed.
Writing
57318.5 Other Precautionary
Information
"● Oscillation Clock Frequency" was changed.
(4.0 MHz and 12.0 MHz → 10.0 MHz and 12.5 MHz)
"● Port State for Write Operations on Flash Memory" was changed.
(reset state except → initial state in the single-chip mode except)
584APPENDIX A I/O Map"Address 00009C
of Table A-1 I/O Map" was changed.
H
("*1" was added.)
The vertical lines marked in the left side of the page show the changes.
xiii
xiv
CHAPTER 1
OVERVIEW
The FR family is a standard single-chip microcontroller
that has a 32-bit high-performance RISC CPU as well as
internal I/O resources and bus control configuration for
embedded controllers that require high-performance or
high-speed CPU processing.
This model is an FR60 family model that is based on the
FR30/40 family of CPUs, and offers enhanced bus
access. The FR family is a single-chip microcontroller
with built-in peripheral resources.
1.1 Features
1.2 Block Diagram
1.3 Package Dimensions
1.4 Pin Layout
1.5 List of Pin Functions
1.6 Input-output Circuit Forms
1
CHAPTER 1 OVERVIEW
1.1Features
This section describes the features of the FR60 family microcontrollers.
■ FR CPU Features
•32-bit RISC, load/store architecture, five stages pipeline
•Maximum operating frequency of 50 MHz [PLL used: Oscillation at 12.5 MHz]
•16-bit fixed-length instructions (basic instructions), one instruction per cycle
•Memory-to-memory transfer, bit processing, instructions including barrel shift, etc.--instructions
appropriate for embedded applications
•Function entry and exit instructions, multi load/store instructions of register content--instructions
compatible with high-level languages
•Register interlock function to facilitate assembly- language coding
•Built-in multiplier/instruction-level support
•Signed 32-bit multiplication: 5 cycles
•Interrupts (saving of PC and PS): 6 cycles, 16 priority lev els
•Harvard architecture enabling simultaneous execution of both program access and data access
•Instructions compatible with the FR family
■ Bus Interface
•Maximum operating frequency of 25 MHz
•24-bit address full output (16M bytes space) capability
•8/16-bit data output
•Prefetch buffer installed
•Use of unused data/address pins as general-purpose I/O ports
•Totally independent 4-area chip select outputs that can be configured in units as small as 64K bytes
•Supported interface for each type of memory
•Basic bus cycle (2 cycles)
•Automatic wait cycle generator that can be programmed for each area and can insert waits.
•External wait cycle using RDY input
•DMA support of fly-by transfer capable of wait control for independent I/O
•Signed 16-bit multiplication: 3 cycles
(21-bit address full output (2M bytes space) capability: MB91F353A/351A/35 2A/353A)
SRAM and ROM/FLASH
Page mode FLASHROM and page mode ROM interface
(The MB91F353A/351A/352A/353A does not support fly-by transfer.)
2
■ Internal Memory
Table 1.1-1 provides details about internal memory.
•Fly-by transfer supported between external I/O and memory
•Transfer data size that can be selected from 8, 16, and 32 bits
•Multibyte transfer supported (defined by software)
•DMAC descriptor I/O area (200 to 240
(The MB91F353A/351A/352A/353A does not have an external interface.)
External pin transfer is not supported. Demand transfer and fly-by transfer cannot be used.
■ Bit Search Module (Used by REALOS)
•Searches for the position of the first bit varying between 1 and 0 in the MSB of a word
■ Various Timers
•16-bit reload timer; 4 channels (including 1 channel for REALOS)
The internal clock can be selected using divide by 2, 8, or 32.
(For ch3, divide by 64 or 128 can also be selected.)
Note 1)* : Values do not include resin protrusion.
Resin protrusion is +0.25(.010)Max(each side).
Note 2) Pins width and pins thickness include plating thickness
Note 3) Pins width do not include tie bar cutting remainder.
0.145±0.055
89132
88
(.006±.002)
0.08(.003)
Details of "A" part
P-LFQFP176-24×24-0.50
+0.20
–0.10
1.50
(Mounting height)
+.008
–.004
.059
INDEX
176
1
LEAD No.
C
2003 FUJITSU LIMITED F176006S-c-4-6
0.50(.020)
0.22±0.05
(.009±.002)
0.08(.003)
0.10±0.10
0˚~8˚
45
44
M
"A"
0.50±0.20
(.020±.008)
0.60±0.15
(.024±.006)
Dimensions in mm (inches).
Note: The values in parentheses are reference values.
Note 1) * : These dimensions do not include resin protrusion.
Resin protrusion is +0.25(.010) MAX(each side).
Note 2) Pins width and pins thickness include plating thickness.
Note 3) Pins width do not include tie bar cutting remainder.
+.016
SQ
60
0.08(.003)
P-LFQFP120-16×16-0.50
Details of "A" part
+0.20
–0.10
1.50
(Mounting height)
+.008
.059 –.004
10
INDEX
120
130
LEAD No.
0.50(.020)
C
2002 FUJITSU LIMITED F120033S-c-4-4
0.22±0.05
(.009±.002)
31
0.08(.003)
0~8
"A"
+0.05
–0.03
M
0.145
.006
+.002
–.001
Dimensions in mm (inches).
Note: The values in parentheses are reference values.
˚
0.60±0.15
(.024±.006)
0.10±0.05
(.004±.002)
(Stand off)
0.25(.010)
1.4Pin Layout
88
Figure 1.4-1 , Figure 1.4-2 show the FR60 family pin layouts.
■ Pin Layout of the MB91F355A/354A/355A/F356B/F357B
The installed package is FPT-176P-M02.
Figure 1.4-1 Pin Layout of the MB91F355A/354A/355A/F356B/F357B