EM78P447N
8-Bit Microcontroller
with OTP ROM
Product
Specification
D
OC
. V
ERSION
1.4
ELAN MICROELECTRONICS CORP.
Oct 2006
Trademark Acknowledgments:
IBM is a registered trademark and PS/2 is a trademark of IBM.
Windows is a trademark of Microsoft Corporation.
ELAN and ELAN logo
are trademarks of ELAN Microelectronics Corporation.
Copyright
©
2003~2006 by ELAN Microelectronics Corporation
All Rights Reserved
Printed in Taiwan
The contents of this specification are subject to change without further notice. ELAN Microelectronics assumes
no responsibility concerning the accuracy, adequacy, or completeness of this specification. ELAN
Microelectronics makes no commitment to update, or to keep current the information and material contained in
this specification. Such information and material may change to conform to each confirmed order.
In no event shall ELAN Microelectronics be made responsible for any claims attributed to errors, omissions, or
other inaccuracies in the information or material contained in this specification. ELAN Microelectronics shall
not be liable for direct, indirect, special incidental, or consequential damages arising from the use of such
information or material.
The software (if any) described in this specification is furnished under a license or nondisclosure agreement, and
may be used or copied only in accordance with the terms of such agreement.
ELAN Microelectronics products are not intended for use in life support appliances, devices, or systems. Use of
ELAN Microelectronics product in such applications is not supported and is prohibited.
NO PART OF THIS SPECIFICATION MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR
BY ANY MEANS WITHOUT THE EXPRESSED WRITTEN PERMISSION OF ELAN MICROELECTRONICS.
ELAN MICROELECTRONICS CORPORATION
Headquarters:
No. 12, Innovation Road 1
Hsinchu Science Park
Hsinchu, TAIWAN 30077
Tel: +886 3 563-9977
Fax: +886 3 563-9966
http://www.emc.com.tw
Hong Kong:
Elan (HK) Microelectronics
Corporation, Ltd.
Flat A, 19F., World Tech Centre
95 How Ming Street, Kwun
Tong Kowloon, HONG KONG
Tel: +852 2723-3376
Fax: +852 2723-7780
elanhk@emc.com.hk
Shenzhen:
Elan Microelectronics
Shenzhen, Ltd.
SSMEC Bldg., 3F, Gaoxin S. Ave.
Shenzhen Hi-Tech Industrial Park
Shenzhen, Guandong, CHINA
Tel: +86 755 2601-0565
Fax: +86 755 2601-0500
USA:
Elan Information
Technology Group (U.S.A)
1821 Saratoga Ave., Suite 250
Saratoga, CA 95070
USA
Tel: +1 408 366-8225
Fax: +1 408 366-8220
Europe:
Elan Microelectronics Corp.
(Europe)
Siewerdtstrasse 105
8050 Zurich, SWITZERLAND
Tel: +41 43 299-4060
Fax: +41 43 299-4079
http://www.elan-europe.com
Shanghai:
Elan Microelectronics
Shanghai, Ltd.
23/Bldg. #115 Lane 572, Bibo Road
Zhangjiang Hi-Tech Park
Shanghai, CHINA
Tel: +86 21 5080-3866
Fax: +86 21 5080-4600
Contents
Contents
1
2
3
4
General Description .................................................................................................. 1
Features ..................................................................................................................... 1
Pin Assignment ......................................................................................................... 3
Function Description ................................................................................................ 7
4.1
Operational Registers .........................................................................................7
4.1.1
4.1.2
4.1.3
4.1.4
4.1.5
4.1.6
4.1.7
4.1.8
R0 (Indirect Addressing Register) .......................................................................7
R1 (Time Clock/Counter).....................................................................................7
R2 (Program Counter) & Stack ...........................................................................8
R3 (Status Register) ..........................................................................................10
R4 (RAM Select Register).................................................................................10
R5~R7 (Port 5 ~ Port 7) ....................................................................................10
R8~R1F and R20~R3E (General Purpose Register)........................................10
R3F (Interrupt Status Register) .........................................................................11
A (Accumulator).................................................................................................11
CONT (Control Register)...................................................................................11
IOC5 ~ IOC7 (I/O Port Control Register) ..........................................................12
IOCB (Wake-up Control Register for Port 6).....................................................12
IOCE (WDT Control Register) ...........................................................................13
IOCF (Interrupt Mask Register).........................................................................14
4.2
Special Function Registers ...............................................................................11
4.2.1
4.2.2
4.2.3
4.2.4
4.2.5
4.2.6
4.3
4.4
4.5
TCC/WDT and Prescaler.................................................................................. 15
I/O Ports ........................................................................................................... 17
Reset and Wake-up.......................................................................................... 18
4.5.1
4.5.2
Reset .................................................................................................................18
Status of RST, T, and P of the Status Register..................................................22
4.6
4.7
Interrupt ............................................................................................................ 23
Oscillator .......................................................................................................... 24
4.7.1
4.7.2
Oscillator Modes................................................................................................24
Crystal Oscillator/Ceramic Resonators(Crystal)................................................25
Code Option Register (Word 0).........................................................................27
Customer ID Register (Word 1).........................................................................28
4.8
Code Option Register....................................................................................... 27
4.8.1
4.8.2
4.9
Power-on Considerations ................................................................................. 29
4.10 External Power-on Reset Circuit ...................................................................... 29
4.11 Residue-Voltage Protection.............................................................................. 30
4.12 Instruction Set .................................................................................................. 31
5
4.13 Timing Diagram ................................................................................................ 34
Absolute Maximum Ratings ................................................................................... 35
Product Specification (V1.4) 10.26.2006
iii
Contents
6
Electrical Characteristics ....................................................................................... 35
6.1
6.2
6.3
DC Electrical Characteristic.............................................................................. 35
AC Electrical Characteristic.............................................................................. 36
Device Characteristic ....................................................................................... 37
APPENDIX
A
B
C
Package Types......................................................................................................... 52
Package Information............................................................................................... 54
EM78P447N Program Pin List ................................................................................ 61
iv
•
Product Specification (V1.4) 10.26.2006
Contents
Specification Revision History
Doc. Version
1.0
1.1
1.2
1.3
1.4
Initial version
Added four kinds of package type
Added 28-skinny DIP package type
Added new 28-pin assignment
Modify code option WORD0 bit10,bit9 set to “1”
Revision Description
Date
2004/10/29
2005/03/30
2005/11/28
2006/07/27
2006/10/26
Product Specification (V1.4) 10.26.2006
v