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

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

Скачать:  PDF   ZIP
EM78P159N
8-Bit
Microcontroller
with OTP ROM
Product
Specification
D
OC
.
V
ERSION
1.0
ELAN
MICROELECTRONICS
CORP.
March 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
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.
Rm. 1005B, 10/F Empire Centre
68 Mody Road, Tsimshatsui
Kowloon , HONG KONG
Tel: +852 2723-3376
Fax: +852 2723-7780
elanhk@emc.com.hk
USA :
Elan Information
Technology Group (USA)
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
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
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
Product Specification (V1.0) 03.10.2006
iii
Contents
1
General Description .................................................................................................. 1
1.1
Comparison between EM78P159N, EM78P154N, and EM78P157N ................ 1
2
Features ..................................................................................................................... 1
3
Pin Assignments and Descriptions ......................................................................... 3
3.1
EM78P159NP and EM78P159NM Pin Description ............................................ 4
3-2
EM78P159NAS Pin Description ......................................................................... 4
3.3
EM78P159NKM Pin Description ........................................................................ 5
4
Function Description ................................................................................................ 6
4.1 Operational
Registers......................................................................................... 6
4.1.1
R0 (Indirect Addressing Register) .......................................................................6
4.1.2
R1 (Time Clock /Counter)....................................................................................6
4.1.3
R2 (Program Counter) & Stack ...........................................................................7
4.1.4
R3 (Status Register) ............................................................................................8
4.1.5
R4 (RAM Select Register)...................................................................................9
4.1.6
R5 ~ R6 (Port 5 ~ Port 6) ....................................................................................9
4.1.7
RD (Manual Calibration Register) .......................................................................9
4.1.8
RE (Wake Up Control Register) ........................................................................10
4.1.9
RF (Interrupt Status Register) ...........................................................................10
4.1.10
R10 ~ R3F.........................................................................................................10
4.2 Special Purpose Registers ............................................................................... 11
4.2.1
A (Accumulator).................................................................................................11
4.2.2
CONT (Control Register)...................................................................................11
4.2.3
IOC5 ~ IOC6 (I/O Port Control Register) ..........................................................12
4.2.4
IOCA (Prescaler Counter Register)...................................................................12
4.2.5
IOCB (Pull-Down Control Register)...................................................................12
4.2.6
IOCC (Open-Drain Control Register) ................................................................13
4.2.7
IOCD (Pull-High Control Register) ....................................................................13
4.2.8
IOCE (WDT Control Register)...........................................................................14
4.2.9
IOCF (Interrupt Mask Register).........................................................................15
4.3 TCC/WDT & Prescaler ..................................................................................... 15
4.4 I/O
Ports ........................................................................................................... 16
4.4.1
Usage of Port 6 Input Change Wake-up/Interrupt Function..............................18
4.5 RESET
and
Wake-up ....................................................................................... 19
4.5.1
RESET ..............................................................................................................19
4.5.2
The Summary of the Initialized Values for Registers ........................................22
4.5.3
The Status of RST, T, and P of STATUS Register.............................................24
4.6 Interrupt ............................................................................................................ 25

Contents
iv
Product Specification (V1.0) 03.10.2006
4.7 Oscillator .......................................................................................................... 26
4.7.1
Oscillator Modes................................................................................................26
4.7.2
Crystal Oscillator/Ceramic Resonators (XTAL) .................................................27
4.7.3
External RC Oscillator Mode.............................................................................28
4.7.4
Internal RC Oscillator Mode ..............................................................................29
4.8 CODE Option Register ..................................................................................... 30
4.8.1
Code Option Register (Word 0).........................................................................30
4.8.2
Customer ID Register (Word 1).........................................................................31
4.8.3
Customer ID Register (Word 2).........................................................................32
4.9 Power On Considerations ................................................................................ 32
4.10 External Power On Reset Circuit..................................................................... 32
4.11 Residue-Voltage Protection............................................................................. 33
4.12 Instruction Set ................................................................................................. 34
4.13 Timing Diagrams ............................................................................................. 37
5
Absolute Maximunm Ratings................................................................................. 38
6
Electrical Characteristics ....................................................................................... 38
6.1 DC Electrical Characteristic.............................................................................. 38
6.2 AC Electrical Characteristic.............................................................................. 39
APPENDIX
A
Package Types......................................................................................................... 40
B
Package Information............................................................................................... 40
C
Quality Assurance and Reliability ......................................................................... 42
C.1 Reliability
Test .................................................................................................. 42
C.2 Power-On Reset and Vdd Voltage Drop/Rise Timing Test ............................... 43
C.3 Address
Trap
Detect......................................................................................... 43
Specification Revision History
Doc. Version
Revision Description
Date
1
.0
Initial
Release
Version
2006/03/10
EM78P159N
8-Bit Microcontroller with OTP ROM
Product Specification (V1.0) 03.10.2006
1
(This specification is subject to change without further notice)
1 General
Description
EM78P159N is an 8-bit microprocessor designed and developed with low-power,
high-speed CMOS technology. It is equipped with 1K*13-bits Electrical One Time
Programmable Read Only Memory (OTP-ROM). It provides three PROTECTION bits
to prevent user's code in the OTP memory from being intruded. 8 OPTION bits are also
available to meet user's requirements.
With its OTP-ROM feature, the EM78P159N is able to offer a convenient way of
developing and verifying user's programs. Moreover, user can take advantage of
ELAN Writer to easily program his development code.
1.1 Comparison between EM78P159N, EM78P154N, and
EM78P157N
To find out what similarities and differences are between EM78P159N EM78P154N
and EM78P157N, click the following link.
AN-001 EM78P154N/159N introduction and comparison with EM78P157N
2 Features
Operating voltage range
:
2.1V~5.5V at 0
C~70C
2.3V~5.5V at 40
C~85C
Operating frequency range (base on 2 clocks )
:
Crystal mode
:
DC~20MHz at 5.0V, DC~8MHz at 3.0V, DC~4MHz at 2.1V
ERC mode
:
DC~4MHz at 5.0~2.1V
IRC mode
:
4 choices of frequencies available; i.e., 8M, 4M, 1M, & 455kHz
IRC
mode
:
All these four main frequencies can be trimmed by programming with four
calibrated bits in the ICE159N Simulator. OTP is auto trimmed by DWTR.
Temperature, Voltage, and Process changes will influence the frequency drift
Frequency deviation is only
4.5% after auto trimming (based on Vdd=5V,
Ta=25
C)
Fast set-up time only requires about 2ms in high XTAL and 32CLKS in IRC mode
from wake up to operating mode