Preliminary User’s Manual
78K0/Dx1
8-bit Single-Chip Microcontroller
µPD780800(A), µPD780801(A), µPD780802(A),
µPD780803(A), µPD78F0803(A),
µPD780804(A), µPD780806(A), µPD78F0806(A),
µPD780807(A), µPD780809(A), µPD78F0809(A),
µPD780810(A), µPD780811(A), µPD780812(A),
µPD780813(A), µPD78F0813(A)
Document No. U19323EE1V0UM00
Date Published June 2008
©
NEC Electronics Corporation 2008
Printed in Germany
Notes for CMOS Devices
1. VOLTAGE APPLICATION WAVEFORM AT INPUT PIN
Waveform distortion due to input noise or a reflected wave may cause malfunction. If the input of
the CMOS device stays in the area between VIL (MAX) and VIH (MIN) due to noise, etc., the
device may malfunction. Take care to prevent chattering noise from entering the device when the
input level is fixed, and also in the transition period when the input level passes through the area
between VIL (MAX) and VIH (MIN).
2. HANDLING OF UNUSED INPUT PINS
Unconnected CMOS device inputs can result in malfunction. If an input pin is unconnected, it is
possible that an internal input level may be generated due to noise, etc., causing malfunction.
CMOS devices behave differently than Bipolar or NMOS devices. Input levels of CMOS devices
must be fixed high or low by using pull-up or pulldown circuitry. Each unused pin should be con-
nected to VDD or GND via a resistor if there is a possibility that it will be an output pin. All handling
related to unused pins must be judged separately for each device and according to related specifi-
cations governing the device.
3. PRECAUTION AGAINST ESD
A strong electric field, when exposed to a MOS device, can cause destruction of the gate oxide
and ultimately degrade the device operation. Steps must be taken to stop generation of static elec-
tricity as much as possible, and to quickly dissipate it should it occur. Environmental control must
be adequate. When it is dry, a humidifier should be used. It is recommended to avoid using insula-
tors that easily build up static electricity. Semiconductor devices must be stored and transported in
an anti-static container, static shielding bag or conductive material. All test and measurement tools
including work benches and floors should be grounded. The operator should be grounded using a
wrist strap. Semiconductor devices must not be touched with bare hands. Similar precautions
need to be taken for PW boards with mounted semiconductor devices.
4. STATUS BEFORE INITIALIZATION
Power-on does not necessarily define the initial status of a MOS device. Immediately after the
power source is turned ON, devices with reset functions have not yet been initialized. Hence,
power-on does not guarantee output pin levels, I/O settings or contents of registers. A device is not
initialized until the reset signal is received. A reset operation must be executed immediately after
power-on for devices with reset functions.
5. POWER ON/OFF SEQUENCE
In the case of a device that uses different power supplies for the internal operation and external
interface, as a rule, switch on the external power supply after switching on the internal power sup-
ply. When switching the power supply off, as a rule, switch off the external power supply and then
the internal power supply. Use of the reverse power on/off sequences may result in the application
of an overvoltage to the internal elements of the device, causing malfunction and degradation of
internal elements due to the passage of an abnormal current. The correct power on/off sequence
must be judged separately for each device and according to related specifications governing the
device.
6. INPUT OF SIGNAL DURING POWER OFF STATE
Do not input signals or an I/O pull-up power supply while the device is not powered. The current
injection that results from input of such a signal or I/O pull-up power supply may cause malfunction
and the abnormal current that passes in the device at this time may cause degradation of internal
elements. Input of signals during the power off state must be judged separately for each device
and according to related specifications governing the device.
2
Preliminary User’s Manual U19323EE1V0UM00
Legal Notes
•
The information contained in this document is being issued in advance of the production
cycle for the product. The parameters for the product may change before final production or
NEC Electronics Corporation, at its own discretion, may withdraw the product prior to its pro-
duction.
Not all products and/or types are available in every country. Please check with an NEC Elec-
tronics sales representative for availability and additional information.
No part of this document may be copied or reproduced in any form or by any means without the prior
written consent of NEC Electronics. NEC Electronics assumes no responsibility for any errors that
may appear in this document.
NEC Electronics does not assume any liability for infringement of patents, copyrights or other intel-
lectual property rights of third parties by or arising from the use of NEC Electronics products listed in
this document or any other liability arising from the use of such products. No license, express,
implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of
NEC Electronics or others.
Descriptions of circuits, software and other related information in this document are provided for
illustrative purposes in semiconductor product operation and application examples. The incorpora-
tion of these circuits, software and information in the design of a customer's equipment shall be
done under the full responsibility of the customer. NEC Electronics assumes no responsibility for any
losses incurred by customers or third parties arising from the use of these circuits, software and
information.
While NEC Electronics endeavors to enhance the quality, reliability and safety of NEC Electronics
products, customers agree and acknowledge that the possibility of defects thereof cannot be elimi-
nated entirely. To minimize risks of damage to property or injury (including death) to persons arising
from defects in NEC Electronics products, customers must incorporate sufficient safety measures in
their design, such as redundancy, fire-containment and anti-failure features.
NEC Electronics products are classified into the following three quality grades: "Standard", "Special"
and "Specific". The "Specific" quality grade applies only to NEC Electronics products developed
based on a customer-designated "quality assurance program" for a specific application. The recom-
mended applications of an NEC Electronics product depend on its quality grade, as indicated below.
Customers must check the quality grade of each NEC Electronics product before using it in a partic-
ular application.
"Standard": Computers, office equipment, communications equipment, test and measurement
equipment, audio and visual equipment, home electronic appliances, machine tools, personal elec-
tronic equipment and industrial robots.
"Special": Transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-
disaster systems, anti-crime systems, safety equipment and medical equipment (not specifically
designed for life support).
"Specific": Aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems,
life support systems and medical equipment for life support, etc.
The quality grade of NEC Electronics products is "Standard" unless otherwise expressly specified in
NEC Electronics data sheets or data books, etc. If customers wish to use NEC Electronics products in
applications not intended by NEC Electronics, they must contact an NEC Electronics sales representa-
tive in advance to determine NEC Electronics' willingness to support a given application.
Note:
(1) "NEC Electronics" as used in this statement means NEC Electronics Corporation and also
includes its majority-owned subsidiaries.
(2) "NEC Electronics products" means any product developed or manufactured by or for NEC
Electronics (as defined above).
Preliminary User’s Manual U19323EE1V0UM00
3
•
•
•
•
•
•
Regional Information
Some information contained in this document may vary from country to country. Before using any
NEC product in your application, please contact the NEC office in your country to obtain a list of
authorized representatives and distributors. They will verify:
•
•
•
•
•
•
Device availability
Ordering information
Product release schedule
Availability of related technical literature
Development environment specifications (for example, specifications for third-party tools and
components, host computers, power plugs, AC supply voltages, and so forth)
Network requirements
In addition, trademarks, registered trademarks, export restrictions, and other legal issues may also
vary from country to country.
NEC Electronics America Inc.
Santa Clara, California
Tel: 408-588-6000
800-366-9782
Fax: 408-588-6130
800-729-9288
NEC Electronics (Europe) GmbH
Duesseldorf, Germany
Tel: 0211-65 030
Fax: 0211-65 03 1327
Succursale Française
Vélizy-Villacoublay, France
Tel:
01-30-67 58 00
Fax: 01-30-67 58 99
Filiale Italiana
Milano, Italy
Tel: 02-66 75 41
Fax: 02-66 75 42 99
Branch The Netherlands
Eindhoven, The Netherlands
Tel:
040-265 40 10
Fax: 040-244 45 80
NEC Electronics (China) Co., Ltd
Beijing, P.R. China
Tel:
010-8235-1155
NEC Electronics Hong Kong Ltd.
Tyskland Filial
Taeby, Sweden
Tel:
08-638 7200
Fax: 08-638 7222
NEC Electronics Korea Ltd.
United Kingdom Branch
Milton Keynes, UK
Tel:
01908-691-133
Fax: 01908-670-290
NEC Electronics Singapore Pte. Ltd.
Singapore
Tel:
65-6253-8311
Fax: 65-6250-3583
NEC Electronics Taiwan Ltd.
Taipei, Taiwan
Tel:
02-8175-9600
Fax: 02-8175-9670
Seoul, Korea
Tel:
02-558-3737
Fax: 02-558-5141
Hong Kong
Tel:
2886-9318
Fax: 2886-9022/9044
4
Preliminary User’s Manual U19323EE1V0UM00
Preface
Readers
This manual has been prepared for engineers who want to understand the
functions of the 78K0/Dx1 microcontrollers and design and develop
application systems and programs for these devices.
78K0/Dx1 Series:
µPD780800(A), µPD780801(A), µPD780802(A), µPD780803(A),
µPD78F0803(A),
µPD780804(A), µPD780806(A), µPD78F0806(A),
µPD780807(A), µPD780809(A), µPD78F0809(A),
µPD780810(A), µPD780811(A), µPD780812(A), µPD780813(A),
µPD78F0813(A)
Purpose
This manual is intended for users to understand the functions of the
78K0/Dx1 Series.
The 78K0/Dx1 microcontrollers manual is separated into two parts: this
manual and the instruction edition (common to the 78K0 series).
78K0/Dx1
User’s Manual
(this Manual)
78K/0 series
User’s Manual
Instructions
Organization
•
•
•
•
Pin functions
Internal block functions
Interrupt
Other on-chip peripheral functions
•
•
•
•
CPU functions
Instruction set
Explanation of each instruction
Electrical specifications
How to Read This Manual
Before reading this manual, you should have general knowledge of electric
and logic circuits and microcontrollers.
• When you want to understand the function in general:
→
Read this manual in the order of the
CONTENTS.
• How to interpret the register format:
→
For the bit number enclosed in square, the bit name is defined as a reserved word in RA78K/0,
and in CC78K/0 and defined in the header file of hte IAR compiler.
• To make sure the details of the registers when you know the register name.
→
Refer to
Appendix C.
Conventions
Data significance:
Active low representations:
Note:
Caution:
Remark:
Numerical representations:
Higher digits on the left and lower digits on the right
xxx (overscore over pin and signal name)
Footnote for item marked with
Note
in the text
Information requiring particular attention
Supplementary information
Binary
... xxxx or xxxxB
Decimal
... xxxx
Hexadecimal ... xxxxH
User’s Manual U19323EE1V0UM00
5