The MB91191/MB91192 are developed as one of the "32-bit single-chip microcontroller FR20 series"
around the new RISC architecture CPU as its cores, and the specifications for these products are optimized
for structures on which high-performance CPU processing power is required.
The functions and operations of the MB91191/MB91192 are described in this document specifically for
engineers who actually develop products using the MB91191 and MB91192. Please read through this
manual. For more information on various instructions, refer to "Instruction Manual".
Trademarks
■ Trademarks
FR is the abbreviation of FUJITSU RISC controller, which is a product of Fujitsu LIMITED.
Embedded Algorithm TM is a registered trademark of Advanced Micro Devices, Inc.
Other system and product names used in this manual are trademarks of the related companies and
organizations.
i
■ Organization of This Document
This manual contains the following 21 chapters and an appendix.
CHAPTER 1 Overview of MB91191/MB91192 Series
This chapter includes basic explanations including features of the MB91191/MB91192 series, block
diagrams, and a function outline.
CHAPTER 2 Handling Devices
This chapter describes points to note when using the MB91191/MB91192 series.
CHAPTER 3 CPU
This chapter provides basic explanations for such elements as the architecture, specifications, and
commands, etc., required to understand the CPU core functions of the FR series.
CHAPTER 4 External Bus Interface
This chapter describes an outline of the external bus interface, the register configuration/fun ctions, the
bus operation, and the bus timing, and program examples for the bus operation are explained.
CHAPTER 5 I/O Port
This chapter describes an outline of the I/O port and the register configuration/functions.
CHAPTER 6 FG Input
This chapter describes an outline of the FG input section, the register configuration/fu nctions, and their
operation.
CHAPTER 7 FRC Capture
This chapter describes an outline of the FRC capture section, the register configuratio n/functions, and
each input section operation.
CHAPTER 8 Programmable Pulse Generator (PPG0, 1)
This chapter describes an outline of the programmable pulse generator (PPG0, 1), the register
configuration/functions, and their operation.
CHAPTER 9 Real Timing Generator (RTG)
This chapter describes an outline of the real timing generator (RTG), the register configuration/
functions, and their operation.
CHAPTER 10 Timer
This chapter describes an outline of the timer section, the register configuration/functions, and timer
section operation.
CHAPTER 11 12-bit PWM
This chapter describes an outline of the PWM, the register configuration/functions, and the PWM
operations.
CHAPTER 12 8-bit Pulse Width Counter
This chapter describes an outline of the 8-bit pulse width counter, the register configuration/functions,
and 8-bit pulse width counter operations.
CHAPTER 13 External Interrupt
External interrupt comprises of the key input interrupt and external interrupt sections. This chapter
describes an outline of the external interrupt 1 (key input circuit) and exter nal interrupt (INT0 to 2), and
the register configuration/functions, and their operation.
ii
CHAPTER 14 Delayed Interrupt Module
This chapter describes an outline of the delayed interrupt m odule, the register configuration/functions,
and delayed interrupt module operations.
CHAPTER 15 Interrupt Controller
This chapter describes an outline of the interrupt controller, the register configuration/functions, and the
interrupt controller operations.
CHAPTER 16 10-bit A/D Converter
This chapter describes an outline of th e 10-bit A/D converter, the regi ster configuration/functions, and
the 10-bit A/D converter operations.
CHAPTER 17 Serial I/O
This chapter describes an outline of the serial I/O, the register configuration/functions, and the serial
data RAM and serial I/O operations.
CHAPTER 18 10-bit General-purpose Prescaler
This chapter describes an outline of the 10-bit general-purpose prescaler, the register configuration/
functions, and the 10-bit general-purpose prescaler operations.
CHAPTER 19 Bit Search Module
This chapter describes an outline of the bit search m odule, the register configuration/functions, the bit
search module operations, and save/return processes.
CHAPTER 20 Wait Controller
This chapter describes an outline of the wait control section, and the register configuration/functions.
CHAPTER 21 Flash Memory
This chapt er de sc ribe s an outl ine of th e fl ash mem ory , the register configuration/functions and the flash
memory operations.
Appendix
Details that could not be described within the body text, such as I/O map, interrupt vector, peripheral
circuit measurement speed, restrictions and commands list for us e o f th e M B 9119 1 /M B 9119 2 s erie s ar e
described in the appendix.
iii
• The contents of this document are subject to change without notice. Customers are advised to consult with
FUJITSU sales representatives before ordering.
• The information, su ch as des criptions o f function an d applicat ion circuit examples, in this d ocument are pres ented
solely for the purpose of reference t o show examples of operations and us es 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 co ntained herein.
• The products d escribed in this document a re designed, developed and ma nufactured as contemplated for general
use, including without limitation, ordinary industrial use, general office use, personal use, and household use, but
are not designed, de veloped and manufactured as cont emplated (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 semiconduct or devices have an inheren t chance of failure. You must protect against injury, da mage or loss
from such failures by incorporating safety design measures into your facility and equipment such as redundancy,
fire protection, and prevention of over-cu rr e nt leve ls an d oth er abnormal operating conditions.
• If any products described in this document represent goods or technologies subject to certain restrictions on export
under the Foreig n Exchan ge and Fore ign Trad e Law o f Japan, the pri or aut horizat ion by Japanese govern ment wil l
be required for export of those products from Japan.
The explanation concerning the main term used in this book is shown as follows.
Term Meaning
I-bus It is a bus of the widt h o f 16 bits for an intern al ins truction . Becaus e the FR20 series has
adopted internal Harvard Architecture, the instruction and data are the independent
buses. The bus converter is connected with I-BUS.
D-bus It is a data bus of the width of the internal 32 bits. An internal resource is con nected
with D-bus.
C-bus It is an internal multiplex bus. The C-bus connects to the I-bus and D-bus via the switch.
The external interface module is connected with C-BUS. The external data bus
multiplexes data and instructions.
R-bus It is a data bus of the width of the internal 16 bits. R-bus is connected with D-bus
through the adaptor.
Various I/O, the clock generation block, and the interruption controller are connected
with R-bus.
The R-bus is 16-bit width, so the address and data are multiplexed. If the CPU accesses
these resources, it takes a number of cycles.
E-unit It is an operation execution unit.
φIt is a system clock. It is a clock output from the clock generation block to the each
internal resource connected with R-bus. The system clock at the highest speed shows
the same cycle as source oscillation but is divided into 1, 1/2, 1/4, and 1/8 (or 1/2, 1/4,
1/8, and 1/16) by PCK1 and PCK0 of the clock generator GCR register.
θIt is a system clock. It is an operation clock of resource and CPU connected with buses
other than R-bus.
The system clock at the highest speed shows the same cycle as source oscillation but is
divided into 1, 1/2, 1/4, and 1/8 (or 1/2, 1/4, 1/8, and 1/16) by CCK1 and CCK0 of the
clock generator GCR register.
v
vi vii
CONTENTS
CHAPTER 1Overview of MB91191/MB91192 Series ..................................................... 1
1.1Feature of MB91191/MB91192 Series ............................................................................................... 2
1.2Block Diagram of All MB91191/MB91192 Series ............................................................................... 4
3.12.7Stop Status .................................................................................................................................. 70
3.12.8Sleep Status ......................................................................................................................... ....... 73
3.12.9State Transition in Standby Mode ............................................................................................... 76
3.12.10 Gear Function ................................................................................................................. ...... ....... 77
3.12.11 Clock Series Diagram .................................................................................................................. 80
3.12.12 Clock Series of Peripheral Resource ........................................................................................... 81
3.12.13 Watchdog Function ...................................................................................................................... 82
CHAPTER 4External Bus Interface .............................................................................. 85
4.1Overview of External Bus Interface .................................................................................................. 86
5.8Port A, B ......................................................................................................................................... 135
5.9Port C, D ......................................................................................................................................... 137
Appendix CMeasurement accuracy of peripheral circuit ........................................................................ 308
Appendix DRestrictions for Using MB91191/MB91192 series ............................................................... 309
Appendix EInstruction List ...................................................................................................................... 310
E.1Instruction list of FR series ............................................................................................................. 314
x
CHAPTER 1
Overview of MB91191/
MB91192 Series
This chapter includes basic explanations including
features of the MB91191/MB91192 series, block
diagrams, and a function outline.
1.1 Feature of MB91191/MB91192 Series
1.2 Block Diagram of All MB91191/MB91192 Series
1.3 Package Dimension
1.4 Pin Assignment
1.5 Pin Function Description
1.6 I/O Circuit Type
1
CHAPTER 1 Overview of MB91191/MB91192 Series
1.1Feature of MB91191/MB91192 Series
The MB91191/MB91192 series is a single-chip microcontroller with a built-in peripheral I/
O resource suited to software servo control of VTRs that require high-speed CPU
processing, featuring a 32-bit RISC-CPU (FR20 series) at its core.
Dimensions in mm (inches).
Note: The values in parentheses are reference values.
FPT-120P-M05
Note 1)* : These dimensions do not include resin protrusion.
Note 2) Pins width and pins thickness include plating thickness.
Note 3) Pins width do not include tie bar cutting remainder.
MB91191/MB91192 series is available in one type of packages.
■ Package Dimension (LQFP-120)
Figure 1.3-1 Package Dimension of FTP-120-M05
5
CHAPTER 1 Overview of MB91191/MB91192 Series
0.35 0.05
5
■ Package Dimension (FLGA-144)
Figure 1.3-2 Package dimension of FLGA-144
(INDEX AREA)
11.00
0.05 S Q.
1.10
0.10
(0.80)
0.05
0.05
9.10
3 0.450.05
144
0.65
0.755
.175
0.45
0.050
0.08
M
5.175
0.7550.050
0.45
6
1.4Pin Assignment
Figure 1.4-1 and Figure 1.4-2 show the pin assignment of the MB91191/MB91192 series.
For the MB91191 series, the FLGA- 144 package does not suppl y. It only supplies for the MB9119 2
series.
8
1.5Pin Function Description
Table 1.5-1 lists the pin function of MB91191/MB91192 series.
The numbers shown in the tables has nothing to do with package pin numbers. For pin
numbers, see "1.4 Pin Assignment".