REJ09B0193-0201
4
4502 Group
User's Manual
RENESAS 4-BIT CISC SINGLE-CHIP MICROCOMPUTER
4500 SERIES
Before using this material, please visit our website to confirm that this is the most
current document available.
Rev. 2.01
Revision date: Feb 02, 2005
www.renesas.com
Keep safety first in your circuit designs!
1.
Renesas Technology Corp. puts the maximum effort into making semiconductor products
better and more reliable, but there is always the possibility that trouble may occur with
them. Trouble with semiconductors may lead to personal injury, fire or property damage.
Remember to give due consideration to safety when making your circuit designs, with ap-
propriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of non-
flammable material or (iii) prevention against any malfunction or mishap.
Notes regarding these materials
1.
2.
3.
4.
5.
6.
7.
8.
These materials are intended as a reference to assist our customers in the selection of the
Renesas Technology Corp. product best suited to the customer's application; they do not
convey any license under any intellectual property rights, or any other rights, belonging to
Renesas Technology Corp. or a third party.
Renesas Technology Corp. assumes no responsibility for any damage, or infringement of
any third-party's rights, originating in the use of any product data, diagrams, charts, pro-
grams, algorithms, or circuit application examples contained in these materials.
All information contained in these materials, including product data, diagrams, charts, pro-
grams and algorithms represents information on products at the time of publication of these
materials, and are subject to change by Renesas Technology Corp. without notice due to
product improvements or other reasons. It is therefore recommended that customers con-
tact Renesas Technology Corp. or an authorized Renesas Technology Corp. product dis-
tributor for the latest product information before purchasing a product listed herein.
The information described here may contain technical inaccuracies or typographical errors.
Renesas Technology Corp. assumes no responsibility for any damage, liability, or other
loss rising from these inaccuracies or errors.
Please also pay attention to information published by Renesas Technology Corp. by vari-
ous means, including the Renesas Technology Corp. Semiconductor home page (http://
www.renesas.com).
When using any or all of the information contained in these materials, including product
data, diagrams, charts, programs, and algorithms, please be sure to evaluate all informa-
tion as a total system before making a final decision on the applicability of the information
and products. Renesas Technology Corp. assumes no responsibility for any damage, liabil-
ity or other loss resulting from the information contained herein.
Renesas Technology Corp. semiconductors are not designed or manufactured for use in a
device or system that is used under circumstances in which human life is potentially at
stake. Please contact Renesas Technology Corp. or an authorized Renesas Technology
Corp. product distributor when considering the use of a product contained herein for any
specific purposes, such as apparatus or systems for transportation, vehicular, medical,
aerospace, nuclear, or undersea repeater use.
The prior written approval of Renesas Technology Corp. is necessary to reprint or repro-
duce in whole or in part these materials.
If these products or technologies are subject to the Japanese export control restrictions,
they must be exported under a license from the Japanese government and cannot be im-
ported into a country other than the approved destination.
Any diversion or reexport contrary to the export control laws and regulations of Japan and/
or the country of destination is prohibited.
Please contact Renesas Technology Corp. for further details on these materials or the
products contained therein.
REVISION HISTORY
Rev.
Date
Page
1.00
Oct 09, 2002
–
First edition issued
2.00
Aug 27, 2004
All pages
1-4
1-5
1-24
1-26
1-30
1-31
1-32
1-41
1-50
1-51
2-43
3-8
3-30
3-35
2.01
Feb 02, 2005
1-2
1-4
1-29
1-49
1-104
1-105
2-33
3-31
3-42
4502 Group User’s Manual
Description
Summary
Words standardized: On-chip oscillator, A/D converter
“Ta=25°C” added.
____________
Description of RESET pin revised.
Fig.20 : Some description added.
Fig.22 : Note 5 added.
Some description revised.
Fig.25 : “DI” instruction added.
Table 11: Revised.
Table 15 : Port level revised, Note 6 added.
Fig.49 : Some description added.
Note on Power Source Voltage added.
Table 2.7.1 : Port level revised, Note 6 added.
Some description added.
Fig.3.3.3 : Some description revised.
Note on Power Source Voltage added.
Package name revised.
Package name revised.
• Timer 1 and timer 2 count start timing and count time when operation starts added.
• Timer 1 and timer 2 count start timing and count time when operation starts added.
Package name revised.
Package name revised.
(6) Timer 1 and timer 2 count start timing and count time when operation starts added.
(6) Timer 1 and timer 2 count start timing and count time when operation starts added.
Package outline revised.
BEFORE USING THIS USER’S MANUAL
This user’s manual consists of the following three chapters. Refer to the chapter appropriate to your conditions,
such as hardware design or software development.
1. Organization
q
CHAPTER 1 HARDWARE
This chapter describes features of the microcomputer and operation of each peripheral function.
q
CHAPTER 2 APPLICATION
This chapter describes usage and application examples of peripheral functions, based mainly on setting
examples of related registers.
q
CHAPTER 3 APPENDIX
This chapter includes necessary information for systems development using the microcomputer, such
as the electrical characteristics, the list of registers.
As for the Mask ROM confirmation form, the ROM programming confirmation form, and the Mark specification
form which are to be submitted when ordering, refer to the “Renesas Technology Corp.” Hompage (http:/
/www.renesas.com/en/rom).
As for the Development tools and related documents, refer to the Software and Tools (http://www.renesas.com/
en/tools) of “Renesas Technology Corp.” Homepage.
4502 Group
Table of contents
Table of contents
CHAPTER 1 HARDWARE
DESCRIPTION ................................................................................................................................ 1-2
FEATURES ...................................................................................................................................... 1-2
APPLICATION ................................................................................................................................ 1-2
PIN CONFIGURATION .................................................................................................................. 1-2
BLOCK DIAGRAM ......................................................................................................................... 1-3
PERFORMANCE OVERVIEW ....................................................................................................... 1-4
PIN DESCRIPTION ........................................................................................................................ 1-5
MULTIFUNCTION ..................................................................................................................... 1-5
PORT FUNCTION .................................................................................................................... 1-6
DEFINITION OF CLOCK AND CYCLE ................................................................................. 1-6
CONNECTIONS OF UNUSED PINS ..................................................................................... 1-7
PORT BLOCK DIAGRAMS ..................................................................................................... 1-8
FUNCTION BLOCK OPERATIONS ........................................................................................... 1-13
CPU .......................................................................................................................................... 1-13
PROGRAM MEMOY (ROM) .................................................................................................. 1-16
DATA MEMORY (RAM) ......................................................................................................... 1-17
INTERRUPT FUNCTION ....................................................................................................... 1-18
EXTERNAL INTERRUPTS .................................................................................................... 1-22
TIMERS ................................................................................................................................... 1-25
WATCHDOG TIMER .............................................................................................................. 1-30
A/D CONVERTER .................................................................................................................. 1-32
RESET FUNCTION ................................................................................................................ 1-37
VOLTAGE DROP DETECTION CIRCUIT ........................................................................... 1-40
RAM BACK-UP MODE .......................................................................................................... 1-41
CLOCK CONTROL ................................................................................................................. 1-46
ROM ORDERING METHOD ....................................................................................................... 1-48
LIST OF PRECAUTIONS ............................................................................................................ 1-49
CONTROL REGISTERS .............................................................................................................. 1-52
INSTRUCTIONS ............................................................................................................................ 1-56
SYMBOL .................................................................................................................................. 1-56
INDEX LIST OF INSTRUCTION FUNCTION ..................................................................... 1-57
MACHINE INSTRUCTIONS (INDEX BY ALPHABET) ....................................................... 1-61
MACHINE INSTRUCTIONS (INDEX BY TYPES) .............................................................. 1-90
INSTRUCTION CODE TABLE ............................................................................................ 1-102
BUILT-IN PROM VERSION ...................................................................................................... 1-104
Rev.2.01 Feb 02, 2005
REJ09B0193-0201
i