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

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

Скачать:  PDF   ZIP

Document Outline

EM78P258N
8-Bit Microprocessor
with OTP ROM
Product
Specification
D
OC
. V
ERSION
1.0
ELAN MICROELECTRONICS CORP.
June 2005
Trademark Acknowledgments:
IBM is a registered trademark and PS/2 is a trademark of IBM.
Windows is a trademark of Microsoft Corporation.
LAN and ELAN logo
are trademarks of ELAN Microelectronics Corporati
E
on.
LAN Microelectronics Corporation
ed
rinted in Taiwan
ics assumes
ontained in
pecial incidental, or consequential damages arising from the use of such information
e or nondisclosure agreement, and
ces, or systems. Use of
NY MEANS WITHOUT THE EXPRESSED WRITTEN PERMISSION OF ELAN MICROELECTRONICS.
ELAN MICROELECTRONICS CORPORATION
d 1
http://www.emc.com.tw
Copyright
2005 by E
All Rights Reserv
P
The contents of this specification are subject to change without further notice. ELAN Microelectron
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 c
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, s
or material.
The software (if any) described in this specification is furnished under a licens
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, devi
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
A




















Headquarters:
No. 12, Innovation Roa
Hsinchu Science Park
Hsinchu, Taiwan 308
Tel: +886 3 563-9977
Fax: +886 3 563-9966
Hong Kong:
Elan (HK) Microelectronics
tre
i
NG
elanhk@emc.com.hk
Corporation, Ltd.
Rm. 1005B, 10/F Empire Cen
68 Mody Road, Tsimshatsu
Kowloon , HONG KO
Tel: +852 2723-3376
Fax: +852 2723-7780
USA:
Elan Information Technology
uite 250
ga, CA 95070
Fax: +1 408 366-8220
Group
1821 Saratoga Ave., S
Sarato
USA
Tel: +1 408 366-8223
Europe:
Elan Microelectronics Corp.
RLAND
http://www.elan-europe.com
(Europe)
Siewerdtstrasse 105
8050 Zurich, SWITZE
Tel: +41 43 299-4060
Fax: +41 43 299-4079
Shenzhen:
Elan Microelectronics
k
INA
Fax: +86 755 2601-0500
ibo Roa
Shenzhen, Ltd.
SSMEC Bldg., 3F, Gaoxin S. Ave.
Shenzhen Hi-Tech Industrial Par
Shenzhen, Guandong, CH
Tel: +86 755 2601-0565
Shanghai:
Elan Microelectronics
Shanghai Corporation, Ltd.
23/Bldg. #115 Lane 572, B
d
Park
Fax: +86 021 5080-4600
Zhangjiang Hi-Tech
Shanghai, CHINA
Tel: +86 021 5080-3866
Contents

Product Specification (V1.0) 06.16.2005
iii
Contents
1 General
Description ...................................................................................... 1
2 Features ......................................................................................................... 1
3 Pin
Configurations (Package) ...................................................................... 2
3.1 EM78P258NP/N
Pin
Assignments ..................................................................... 2
4 Functional
Block Diagram ............................................................................ 3
5 Pin
Descriptions ............................................................................................ 4
5.1 EM78P258NP/N Pin Description........................................................................ 4
6 Function
Description..................................................................................... 5
6.1 Operational
Registers......................................................................................... 5
6.1.1 R0 (Indirect Address Register) ...........................................................................5
6.1.2 R1 (Time Clock /Counter)....................................................................................5
6.1.3 R2
(Program
Counter) and Stack........................................................................5
6.1.3.1 Data
Memory Configuration .................................................................7
6.1.4 R3
(Status Register) ............................................................................................8
6.1.5 R4 (RAM Select Register)...................................................................................8
6.1.6 R5 ~ R6 (Port 5 ~ Port 6) ....................................................................................9
6.1.7 R7
(Port 7)...........................................................................................................9
6.1.8 R8 (AISR: ADC Input Select Register)..............................................................10
6.1.9 R9 (ADCON: ADC Control Register).................................................................11
6.1.10 RA (ADOC: ADC Offset Calibration Register) ...................................................12
6.1.11 RB (ADDATA: Converted Value of ADC)...........................................................12
6.1.12 RC (ADDATA1H: Converted Value of ADC)......................................................13
6.1.13 RD (ADDATA1L: Converted Value of ADC) ......................................................13
6.1.14 RE (Interrupt Status 2 & Wake-Up Control Register) ........................................13
6.1.15 RF (Interrupt Status 2 Register) ........................................................................14
6.1.16 R10 ~ R3F.........................................................................................................14
6.2 Special Purpose Registers ............................................................................... 15
6.2.1 A
(Accumulator).................................................................................................15
6.2.2 CONT
(Control Register)...................................................................................15
6.2.3 IOC50 ~ IOC70 (I/O Port Control Register) ......................................................16
6.2.4 IOC80
(TCCA
Control Register)........................................................................16
6.2.5 IOC90
(TCCB
and
TCCC
Control Register)......................................................17
6.2.6 IOCA0 (IR and TCCC Scale Control Register) .................................................17
6.2.7 IOCB0
(Pull-Down
Control Register).................................................................19
6.2.8 IOCC0
(Open-Drain Control Register) ..............................................................19
6.2.9 IOCD0
(Pull-high
Control Register)...................................................................20
6.2.10 IOCE0 (WDT Control & Interrupt Mask Registers 2) ........................................20
6.2.11 IOCF0 (Interrupt Mask Register).......................................................................21
6.2.12 IOC51 (TCCA Counter) .....................................................................................22
Contents
iv
Product Specification (V1.0) 06.16.2005
6.2.13 IOC61 (TCCB Counter).....................................................................................22
6.2.14 IOC71 (TCCBH / MSB Counter) .......................................................................22
6.2.15 IOC81 (TCCC Counter).....................................................................................23
6.2.16 IOC91 (Low-Time Register) ..............................................................................23
6.2.17 IOCA1 (High Time Register) .............................................................................24
6.2.18 IOCB1 High/Low Time Scale Control Register) ................................................24
6.2.19 IOCC1 (TCC Prescaler Counter) ......................................................................25
6.3 TCC/WDT and Prescaler.................................................................................. 25
6.4 I/O
Ports ........................................................................................................... 26
6.4.1 Usage of Port 5 Input Change Wake-up/Interrupt Function..............................29
6.5 RESET
and
Wake-up ....................................................................................... 29
6.5.1 RESET
and
Wake-up Operation .......................................................................29
6.5.1.1 Wake-Up and Interrupt Modes Operation Summary..........................32
6.5.1.2 Register
Initial
Values after Reset ......................................................34
6.5.1.3 Controller
Reset Block Diagram.........................................................38
6.5.2 The T and P Status under STATUS (R3) Register ............................................39
6.6 Interrupt ............................................................................................................ 39
6.7 Analog-To-Digital Converter (ADC) .................................................................. 42
6.7.1 ADC Control Register (AISR/R8, ADCON/R9, ADOC/RA) ...............................42
6.7.1.1 R8 (AISR: ADC Input Select Register)...............................................42
6.7.1.2 R9
(ADCON:
AD
Control Register) ....................................................43
6.7.1.3 RA (ADOC: AD Offset Calibration Register).......................................44
6.7.2 ADC Data Register (ADDATA/RB, ADDATA1H/RC, ADDATA1L/RD) ...............45
6.7.3 ADC
Sampling Time ..........................................................................................45
6.7.4 AD
Conversion Time .........................................................................................45
6.7.5 ADC
Operation
during Sleep Mode...................................................................45
6.7.6 Programming
Process/Considerations..............................................................46
6.7.6.1 Programming Process........................................................................46
6.7.6.2 Sample
Demo Programs....................................................................47
6.8 Infrared Remote Control Application/PWM Waveform Generation................... 49
6.8.1 Overview ...........................................................................................................49
6.8.2 Function
Description..........................................................................................50
6.8.3 Programming the Related Registers ................................................................52
6.9 Timer / Counter................................................................................................. 53
6.9.1 Overview ...........................................................................................................53
6.9.2 Function
Description..........................................................................................53
6.9.3 Programming the Related Registers .................................................................55
6.10 Oscillator .......................................................................................................... 55
6.10.1 Oscillator Modes................................................................................................55
6.10.2 Crystal Oscillator/Ceramic Resonators (XTAL) .................................................56
6.10.3 External RC Oscillator Mode.............................................................................58
6.10.4 Internal RC Oscillator Mode ..............................................................................59
Contents

Product Specification (V1.0) 06.16.2005
v
6.11 Power-on Considerations ................................................................................. 59
6.11.1 Programmable WDT Time-Out Period ..............................................................60
6.11.2 External Power-on Reset Circuit .......................................................................60
6.11.3 Residual Voltage Protection ..............................................................................60
6.12 Code Option ..................................................................................................... 62
6.12.1 Code Option Register (Word 0).........................................................................62
6.12.2 Code Option Register (Word 1).........................................................................63
6.12.3 Customer ID Register (Word 2).........................................................................64
6.13 Instruction Set .................................................................................................. 64
7 Absolute
Maximum Ratings ....................................................................... 66
8
DC Electrical Characteristics ..................................................................... 67
8.1 AD Converter Characteristics........................................................................... 68
8.2 Device
Characteristics...................................................................................... 69
9
AC Electrical Characteristic ....................................................................... 70
10 Timing
Diagrams ......................................................................................... 71




APPENDIX
A. Package
Types
Summary ........................................................................... 72
B Packaging
Configurations .......................................................................... 72
B.1 14-Lead Plastic Dual in line (PDIP) -- 300 mil................................................. 72
B.2 14-Lead Plastic Small Outline (SOP) -- 150 mil .............................................. 73
C Quality
Assurance
and Reliability.............................................................. 74
C.1 Address
Trap
Detect......................................................................................... 74