ChipFind - документация

Электронный компонент: M306N5MCT

Скачать:  PDF   ZIP

Document Outline

RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER
M16C FAMILY / M16C/60 SERIES
M16C/6N5 Group
16
Rev. 1.00
Revision date: May 30, 2003
Hardware Manual
www.renesas.com
Before using this material, please visit our website to confirm that this is the most
current document available.
REJ09B0011-0100Z
Keep safety first in your circuit designs!
Notes regarding these materials
Renesas Technology Corporation puts the maximum effort into making semiconductor prod-
ucts 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.
These materials are intended as a reference to assist our customers in the selection of the
Renesas Technology Corporation 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 Corporation or a third party.
Renesas Technology Corporation assumes no responsibility for any damage, or infringe-
ment 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 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 Corporation without notice
due to product improvements or other reasons. It is therefore recommended that custom-
ers contact Renesas Technology Corporation or an authorized Renesas Technology Cor-
poration product distributor for the latest product information before purchasing a product
listed herein.
The information described here may contain technical inaccuracies or typographical errors.
Renesas Technology Corporation 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 Corporation by
various means, including the Renesas Technology Corporation 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 Corporation assumes no responsibility for any dam-
age, liability or other loss resulting from the information contained herein.
Renesas Technology Corporation semiconductors are not designed or manufactured for
use in a device or system that is used under circumstances in which human life is poten-
tially at stake. Please contact Renesas Technology Corporation or an authorized Renesas
Technology Corporation product distributor when considering the use of a product con-
tained 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 Corporation is necessary to reprint or
reproduce 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 Corporation for further details on these materials or
the products contained therein.
How to Use This Manual
This hardware manual provides detailed information on features in the M16C/6N5 Group microcomputer.
Users are expected to have basic knowledge of electric circuits, logical circuits and microcomputer.
Each register diagram contains bit functions with the following symbols and descriptions.
*1
Blank:Set to "0" or "1" according to your intended use
0:
Set to "0"
1:
Set to "1"
X:
Nothing is assigned
*2
RW: Read and write
RO: Read only
WO: Write only
:
Nothing is assigned
*3
Terms to use here are explained as follows.
Nothing is assigned
Nothing is assigned to the bit concerned. When write, set to "0" for new function in future plan.
Reserved bit
Reserved bit. Set the specified value.
Avoid this setting
The operation at having selected is not guaranteed.
Function varies depending on each operation mode
Bit function varies depending on peripheral function mode.
Refer to register diagrams in each mode.
Function
XXX register
Bit name
Bit
symbol
Symbol
XXX
Address
XXX
After reset
00
16
RW
RW
RW
RW
WO
RO
XXX
0
XXX
1
-
(b2)
-
(b3)
XXX bit
Reserved bit
XXX
7
Set to "0"
0: XXX
1: XXX
Nothing is assigned. When write, set to "0",
When read, its content is indeterminate.
XXX bit
0 0: XXX
0 1: XXX
1 0: Avoid this setting
1 1: XXX
b1 b0
XXX bit
Function varies depending on
each operation mode
XXX4
XXX
5
XXX
6
0
RW
RW
b7
b6
b5
b4
b3
b2
b1
b0
*1
*2
*3
M16C Family Documents
The following document is prepared with the M16C family.
Document
Contents
Short Sheet
Hardware overview
Data Sheet
Hardware overview and electrical characteristics
Hardware Manual
Hardware specifications (pin assignments, memory maps, specifications
of peripheral functions, electrical characteristics, timing charts)
Software Manual
Detailed description about instructions and microcomputer performance
by each instruction
Application Note
Application examples of peripheral functions
Sample programs
Introductory description about basic functions in M16C family
Programming method with the assembly and C languages
A-1
Table of Contents
Quick Reference to Pages Classified by Address
Overview ................................................................................................................................... 1
Applications ........................................................................................................................................................ 1
Performance Outline .......................................................................................................................................... 2
Block Diagram .................................................................................................................................................... 3
Product List ........................................................................................................................................................ 4
Pin Configuration ............................................................................................................................................... 5
Pin Description ................................................................................................................................................... 6
Memory ..................................................................................................................................... 8
Central Processing Unit (CPU) ................................................................................................. 9
(1) Data Registers (R0, R1, R2, and R3) ........................................................................................................... 9
(2) Address Registers (A0 and A1) .................................................................................................................... 9
(3) Frame Base Register (FB) .......................................................................................................................... 10
(4) Interrupt Table Register (INTB) ................................................................................................................... 10
(5) Program Counter (PC) ................................................................................................................................ 10
(6) User Stack Pointer (USP), Interrupt Stack Pointer (ISP) ............................................................................ 10
(7) Static Base Register (SB) ........................................................................................................................... 10
(8) Flag Register (FLG) .................................................................................................................................... 10
SFR ......................................................................................................................................... 11
Reset ....................................................................................................................................... 23
Hardware Reset ............................................................................................................................................... 23
Software Reset ................................................................................................................................................ 23
Watchdog Timer Reset ..................................................................................................................................... 23
Oscillation Stop Detection Reset ..................................................................................................................... 23
Processor Mode ...................................................................................................................... 26
(1) Types of Processor Mode ........................................................................................................................... 26
(2) Setting Processor Modes ........................................................................................................................... 26
Bus .......................................................................................................................................... 31
Bus Mode ......................................................................................................................................................... 31
Bus Control ...................................................................................................................................................... 32
(1) Address Bus .......................................................................................................................................... 32
(2) Data Bus ................................................................................................................................................ 32
(3) Chip Select Signal ................................................................................................................................. 32
(4) Read and Write Signals ......................................................................................................................... 34
(5) ALE Signal ............................................................................................................................................. 34
________
(6) The RDY Signal ..................................................................................................................................... 35
__________
(7) HOLD Signal .......................................................................................................................................... 36
(8) BCLK Output ......................................................................................................................................... 36
(9) External Bus Status When Internal Area Accessed ............................................................................... 38
(10) Software Wait ...................................................................................................................................... 38