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

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

Скачать:  PDF   ZIP
EM78P157N
8-Bit
Microcontroller
with OTP ROM
Product
Specification
ELAN
MICROELECTRONICS
CORP.
September 2005
Doc. Version 1.0

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
2005 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
1821 Saratoga Ave., Suite 250
Saratoga, CA 95070
USA
Tel: +1 408 366-8223
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 Corporation, Ltd.
23/Bldg. #115 Lane 572, Bibo Road
Zhangjiang Hi-Tech Park
Shanghai, CHINA
Tel: +86 021 5080-3866
Fax: +86 021 5080-4600
Contents
Product Specification (V1.0) 09.22.2005
iii
Contents
1 General
Description ......................................................................................1
2 Features .........................................................................................................1
3 Pin
Assignments
and Descriptions..............................................................2
3.1 Pin
Assignments................................................................................................. 2
3.2 Pin
Descriptions ................................................................................................. 3
3.2.1 EM78P157NBP and EM78P157NBM Pin Descriptions ......................................3
3.2.2 EM78P157NAP and EM78P157NAM Pin Descriptions ......................................3
3.2.3 EM78P157NAAS
Pin Descriptions......................................................................4
3.2.4 EM78P157NAKM
Pin Descriptions .....................................................................4
4 Function
Description.....................................................................................5
4.1 Operational
Registers......................................................................................... 5
4.1.1 Indirect
Addressing (R0) Register .......................................................................6
4.1.2 Time Clock / Counter (R1) Register ....................................................................6
4.1.3 Program Counter and Stack (R2) Register .........................................................6
4.1.4 Status
(R3) Register ............................................................................................7
4.1.5 RAM
Select
(R4) Register...................................................................................7
4.1.6 Port 5 ~ Port 6 (R5 ~ R6) Registers ....................................................................8
4.1.7 Interrupt
Status (RF) Register .............................................................................8
4.1.8 General Purpose (R10 ~ R3F) Registers............................................................8
4.2 Special Purpose Registers ................................................................................. 8
4.2.1 Accumulator
(A) Register ....................................................................................8
4.2.2 Control
(CONT ) Register....................................................................................9
4.2.3 I/O Port Control (IOC5 ~ IOC6) Registers...........................................................9
4.2.4 Prescaler
Counter (IOCA ) Register....................................................................9
4.2.5 Pull-Down
Control (IOCB) Register...................................................................10
4.2.6 Open-Drain
Control (IOCC ) Register ...............................................................10
4.2.7 Pull-High
Control
(IOCD) Register ....................................................................11
4.2.8 WDT
Control
(IOCE) Register...........................................................................11
4.2.9 IOCF
(Interrupt Mask Register).........................................................................12
4.3 TCC/WDT & Prescaler ..................................................................................... 12
4.4 I/O
Ports ........................................................................................................... 13
4.4.1 Port 6 Input Change Wake-up/Interrupt Function Usage..................................16
4.5 RESET
and
Wake-up ....................................................................................... 17
4.5.1 Summary of Initialized Values for Registers......................................................19
4.5.2 The Status of RST, T, and P of STATUS Register.............................................21
4.5.2.1 RST, T and P after RESET Values .....................................................21
4.5.2.2 Event
Affecting T and P Status...........................................................21
4.6 Interrupt ............................................................................................................ 22

Contents
iv
Product Specification (V1.0) 09.22.2005
4.7 Oscillator .......................................................................................................... 23
4.7.1 Oscillator Modes................................................................................................23
4.7.1.1 Oscillator
Modes
Defined by OSC, HLF, and HLP.............................23
4.7.1.2 The Summary of Maximum Operating Speeds ..................................23
4.7.2 Crystal
Oscillator/Ceramic Resonators (XTAL) .................................................23
4.7.2.1 Capacitor Selection Guide for Crystal Oscillator or
Ceramic
Resonator ............................................................................24
4.7.3 External
RC
Oscillator Mode.............................................................................25
4.7.3.1 RC
Oscillator Frequencies .................................................................26
4.8 CODE Option Register ..................................................................................... 26
4.8.1 Code
Option
Register (Word 0).........................................................................26
4.8.2 Customer ID Register (Word 1).........................................................................27
4.9 Power-On
Considerations ................................................................................ 28
4.10 External Power-On Reset Circuit .................................................................... 28
4.11 Residual-Voltage Protection ............................................................................. 29
4.12 Instruction Set .................................................................................................. 30
4.13 Timing Diagrams .............................................................................................. 32
4.13.1 AC Test Input/Output Waveform........................................................................32
4.13.2 RESET Timing (CLK = "0")................................................................................32
4.13.3 TCC Input Timing (CLKS = "0").........................................................................32
5 Absolute
Maximum Ratings........................................................................ 33
6 Electrical
Characteristics............................................................................ 33
6.1 DC Electrical Characteristic.............................................................................. 33
6.2 AC Electrical Characteristics ............................................................................ 34
6.3 Device
Characteristics...................................................................................... 35
6.3.1 Port 6 Vih/Vil vs. VDD (Input Pin with Schmitt Inverter)....................................35
6.3.2 Port 5 Input Threshold Voltage (Vth) vs. VDD...................................................35
6.3.3 Ports 5 & Port 6 Voh vs. Ioh, VDD=5V and 3V .................................................36
6.3.4 Ports 5 & Port 6 Vol vs. Iol, VDD=5V and 3V....................................................36
6.3.5 WDT Time Out Period vs. VDD (Prescaler Set to 1:1)......................................37
6.3.6 Typical RC OSC Frequency vs. VDD (Cext = 100pF, Temp. = 25
) ..............38
6.3.7 Typical RC OSC Frequency vs. VDD
(with R and C under Ideal Conditions) ..............................................................38
6.3.8 Typical and Maximum Operating Current
(ICC1/2/3/4)
vs. Temperature............................................................................39
6.3.9 Typical and Maximum Standby Current
(ISB1 and ISB2) vs. Temperature .....................................................................41
6.3.10 Operating Voltage under Temperature Range of 0
C to 70
C
and
40
C to 85
C ............................................................................................42
6.3.11 Operating Current Range (Based on High and Low Freq. @ =25
)
vs.
Voltage.........................................................................................................43
Contents
Product Specification (V1.0) 09.22.2005
v
APPENDIX
A Package
Types............................................................................................. 44
A..1 Package Detailed Information .......................................................................... 44
A.1.1 14-Lead Plastic Dual in line (PDIP) -- 300 Mil .................................................44
A.1.2 14-Lead Plastic Small Outline (SOP) -- 150 Mil...............................................45
A.1.3 18-Lead Plastic Dual in Line (PDIP) -- 300 Mil ................................................46
A.1.4 18-Lead Plastic Small Outline (SOP) -- 300 Mil...............................................47
A.1.5 20-Lead Plastic Small Outline (SSOP) -- 209 Mil ............................................48
B Quality
Assurance
and Reliability .............................................................. 49
C Address
Trap Detect.................................................................................... 50