ADVANCED AND EVER ADVANCING
MITSUBISHI ELECTRIC
.
MITSUBISHI 16-BIT SINGLE-CHIP MICROCOMPUTER
M16C FAMILY
M30240 Group
User’s manual
http://www.infomicom.maec.co.jp/indexe.htm
Before using this manual, please visit this website to confirm that this is the most
current document available.
MITSUBISHI
ELECTRIC
Rev. G
Revised October 15, 2001
Keep safety first in your circuit designs!
v
Mitsubishi Electric Corporation puts the maximum ef f ort into making semiconductor products better and more
reliable, but there is alway s the possibility that trouble may occur with them. Trouble with semiconductors may
lead to personal injury , f ire or property damage. Remember to giv e due consideration to saf ety when making y our
circuit designs, with appropriate measures such as (i) placement of substitutiv e, auxiliary circuits, (ii) use of non-
f lammable material or (iii) prev ention against any malf unction or misha
p.
Notes regarding these materials
v
v
v
These materials are intended as a ref erence to assist our customers in the selection of the Mitsubishi
semiconductor product best suited to the customer’s application; they do not conv ey any license under any
intellectual property rights, or any other rights, belonging to Mitsubishi Electric Corporation or a third party .
Mitsubishi Electric Corporation assumes no responsibility f or any damage, or inf ringement of any third-party ’s
rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application
examples contained in these materials.
All inf ormation contained in these materials, including product data, diagrams, charts, programs and algorithms
represents inf ormation on products at the time of publication of these materials, and are subject to change by
Mitsubishi Electric Corporation without notice due to product improv ements or other reasons. It is theref ore
recommended that customers contact Mitsubishi Electric Corporation or an authorized Mitsubishi Semiconductor
product distributor f or the latest product inf ormation bef ore purchasing a product listed herein.
The inf ormation described here may contain technical inaccuracies or ty pographical errors. Mitsubishi Electric
Corporation assumes no responsibility f or any damage, liability , or other loss rising f rom these inaccuracies or
errors.
Please also pay attention to inf ormation published by Mitsubishi Electric Corporation by v arious means, including
the Mitsubishi Semiconductorhome page (http://www.mitsubishichips.com).
When using any or all of the inf ormation contained in these materials, including product data, diagrams, charts,
programs, and algorithms, please be sure to ev aluate all inf ormation as a total sy stem bef ore making a f inal
decision on the applicability of the inf ormation and products. Mitsubishi Electric Corporation assumes no
responsibility f or any damage, liability or other loss resulting f rom the inf ormation contained herein.
v
v
Mitsubishi Electric Corporation semiconductors are not designed or manuf actured f or use in a dev ice or sy stem
that is used under circumstances in which human lif e is potentially at stake. Please contact Mitsubishi Electric
Corporation or an authorized Mitsubishi Semiconductor product distributor when considering the use of a product
contained herein f or any specif ic purposes, such as apparatus or sy stems f or transportation, v ehicular, medical,
aerospace, nuclear, or undersea repeater use.
v
v
The prior written approv al of Mitsubishi Electric Corporation is necessary to reprint or reproduce in whole or in part
thesematerials.
If these products or technologies are subject to the Japanese export control restrictions, they must be exported
under a license f rom the Japanese gov ernment and cannot be imported into a country other than the approv ed
destination.
Any div ersion or reexport contrary to the export control laws and regulations of Japan and/or the country of
destination is prohibited.
v
Please contact Mitsubishi Electric Corporation or an authorized Mitsubishi Semiconductor product distributor f or
f urther details on these materials or the products contained therein.
Preface
This user’s manual describes the function
and features of Mitsubishi’s M30240 16-
bit microcontroller. The software features
are explained to help designers take full
advantage of the M16C functions.
For details about the software, please
refer to the “M16C/60 development series
software manual”, and for the develop-
ment support tools, please refer to the
related instruction manual.
This manual is comprised of six chapters. Use the suggested chapters as a reference
for the following topics:
Chapter 1: Hardware
Understanding hardware specifications
Chapter 2: Peripheral Functions Usage
Understanding how to use peripheral features and operation timing
Chapter 3: Universal Serial Bus
UnderstandingUSB applications
Chapter 4: Interrupts
Understanding interrrupt timing
Chapter 5: Built-in PROM version
Understanding how to use PROM
Chapter 6: Standard Characteristics
Understanding standard data
This manual also includes a quick reference for special function registers located
immediately after the table of contents.
How to use this Manual
This user’s manual is written for the M30240 Group.
The user is expected to have the basic knowledge of electric and logic circuits and
microcomputers.
This manual is used for the products listed in the table below. These products have
similar features except for the memories, which differ from one product to another.
This manual gives descriptions of the M30240.
Type
M30240M5-XXXXFP
M30240M6-XXXXFP
M30240ECFP
ROM Capacity
40K bytes
48K bytes
128K bytes
RAM Capacity
3K bytes
3K bytes
5K bytes
Package Type
80P6N-A
80P6N-A
80P6N-A
Remarks
Mask ROM Version
Mask ROM Version
One-time PROM version