EM78P259N Datasheet PDF - ELAN Microelectronics

www.Datasheet-PDF.com

EM78P259N
ELAN Microelectronics

Part Number EM78P259N
Description (EM78P260N / EM78P259N) 8-Bit Microprocessor
Page 30 Pages


EM78P259N datasheet pdf
Download PDF
EM78P259N pdf
View PDF for Mobile


No Preview Available !

www.DataSheet4U.com
EM78P259N/260N
8-Bit Microprocessor
with OTP ROM
Product
Specification
DOC. VERSION 1.0
ELAN MICROELECTRONICS CORP.
June 2005



No Preview Available !

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 308
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)
Shenzhen:
Elan Microelectronics
Shenzhen, Ltd.
Shanghai:
Elan Microelectronics
Shanghai Corporation, Ltd.
Siewerdtstrasse 105
8050 Zurich, SWITZERLAND
Tel:+41 43 299-4060
Fax:+41 43 299-4079
http://www.elan-europe.com
SSMEC Bldg., 3F, Gaoxin S. Ave.
Shenzhen Hi-Tech Industrial Park
Shenzhen, Guandong, CHINA
Tel: +86 755 2601-0565
Fax: +86 755 2601-0500
23/Bldg. #115 Lane 572, Bibo Road
Zhangjiang Hi-Tech Park
Shanghai, CHINA
Tel: +86 021 5080-3866
Fax: +86 021 5080-4600



No Preview Available !

Contents
Contents
1 General Description .................................................................................................. 1
2 Features ..................................................................................................................... 1
3 Pin Configuration (Package) .................................................................................... 2
3.1 EM78P259NP/M Pin Assignment....................................................................... 2
3.2 EM78P260NP/M/KM Pin Assignment ................................................................ 3
4 Functional Block Diagram........................................................................................ 3
5 Pin Description.......................................................................................................... 4
5.1 EM78P259NP/M Pin Description ....................................................................... 4
5.2 EM78P260NP/M/KM Pin Description ................................................................. 5
6 Function Description ................................................................................................ 6
6.1 Operational Registers......................................................................................... 6
6.1.1 R0 (Indirect Address Register) ............................................................................6
6.1.2 R1 (Time Clock /Counter)....................................................................................6
6.1.3 R2 (Program Counter) and Stack........................................................................6
6.1.3.1 Data Memory Configuration .................................................................8
6.1.4 R3 (Status Register) ............................................................................................9
6.1.5 R4 (RAM Select Register)...................................................................................9
6.1.6 R5 ~ R6 (Port 5 ~ Port 6) ..................................................................................10
6.1.7 R7 (Port 7).........................................................................................................10
6.1.8 R8 (AISR: ADC Input Select Register) ..............................................................11
6.1.9 R9 (ADCON: ADC Control Register).................................................................12
6.1.10 RA (ADOC: ADC Offset Calibration Register) ...................................................13
6.1.11 RB (ADDATA: Converted Value of ADC)...........................................................13
6.1.12 RC (ADDATA1H: Converted Value of ADC)......................................................14
6.1.13 RD (ADDATA1L: Converted Value of ADC) ......................................................14
6.1.14 RE (Interrupt Status 2 & Wake-Up Control Register) ........................................14
6.1.15 RF (Interrupt Status 2 Register) ........................................................................15
6.1.16 R10 ~ R3F .........................................................................................................15
6.2 Special Purpose Registers ............................................................................... 16
6.2.1 A (Accumulator).................................................................................................16
6.2.2 CONT (Control Register)...................................................................................16
6.2.3 IOC50 ~ IOC70 (I/O Port Control Register) ......................................................17
6.2.4 IOC80 (Comparator and TCCA Control Register).............................................17
6.2.5 IOC90 (TCCB and TCCC Control Register ).....................................................18
6.2.6 IOCA0 (IR and TCCC Scale Control Register) .................................................19
6.2.7 IOCB0 (Pull-Down Control Register).................................................................21
6.2.8 IOCC0 (Open-Drain Control Register) ..............................................................21
Product Specification (V1.0) 06.16.2005
iii



No Preview Available !

Contents
6.2.9 IOCD0 (Pull-high Control Register)...................................................................22
6.2.10 IOCE0 (WDT Control & Interrupt Mask Registers 2) ........................................22
6.2.11 IOCF0 (Interrupt Mask Register).......................................................................23
6.2.12 IOC51 (TCCA Counter) .....................................................................................24
6.2.13 IOC61 (TCCB Counter) .....................................................................................24
6.2.14 IOC71 (TCCBH/MSB Counter) .........................................................................25
6.2.15 IOC81 (TCCC Counter).....................................................................................25
6.2.16 IOC91 (Low-Time Register) ..............................................................................26
6.2.17 IOCA1 (High Time Register) .............................................................................26
6.2.18 IOCB1 High/Low Time Scale Control Register) ................................................26
6.2.19 IOCC1 (TCC Prescaler Counter) ......................................................................27
6.3 TCC/WDT and Prescaler.................................................................................. 28
6.4 I/O Ports ........................................................................................................... 29
6.4.1 Usage of Port 5 Input Change Wake-up/Interrupt Function..............................32
6.5 RESET and Wake-up ....................................................................................... 32
6.5.1 RESET and Wake-up Operation .......................................................................32
6.5.1.1 Wake-Up and Interrupt Modes Operation Summary..........................35
6.5.1.2 Register Initial Values after Reset ......................................................37
6.5.1.3 Controller Reset Block Diagram.........................................................42
6.5.2 The T and P Status under STATUS Register ....................................................42
6.6 Interrupt ............................................................................................................ 42
6.7 Analog-To-Digital Converter (ADC) .................................................................. 45
6.7.1 ADC Control Register (AISR/R8, ADCON/R9, ADOC/RA) ...............................45
6.7.1.1 R8 (AISR: ADC Input Select Register) ...............................................45
6.7.1.2 R9 (ADCON: ADC Control Register)..................................................46
6.7.1.3 RA (ADOC: ADC Offset Calibration Register) ....................................47
6.7.2 ADC Data Register (ADDATA/RB, ADDATA1H/RC, ADDATA1L/RD) ...............48
6.7.3 ADC Sampling Time ..........................................................................................48
6.7.4 AD Conversion Time .........................................................................................48
6.7.5 ADC Operation during Sleep Mode...................................................................48
6.7.6 Programming Process/Considerations..............................................................49
6.7.6.1 Programming Process........................................................................49
6.7.6.2 Sample Demo Programs ....................................................................50
6.8 Infrared Remote Control Application/PWM Waveform Generation................... 52
6.8.1 Overview ...........................................................................................................52
6.8.2 Function Description..........................................................................................53
6.8.3 Programming the Related Registers ................................................................55
6.9 Timer/Counter................................................................................................... 56
6.9.1 Overview ...........................................................................................................56
6.9.2 Function Description..........................................................................................56
6.9.3 Programming the Related Registers .................................................................58
iv Product Specification (V1.0) 06.16.2005



EM78P259N datasheet pdf
Download PDF
EM78P259N pdf
View PDF for Mobile


Related : Start with EM78P259 Part Numbers by
EM78P259N (EM78P260N / EM78P259N) 8-Bit Microprocessor EM78P259N
ELAN Microelectronics
EM78P259N pdf

Index :   0   1   2   3   4   5   6   7   8   9   A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z   

This is a individually operated, non profit site. If this site is good enough to show, please introduce this site to others.
Since 2010   ::   HOME   ::   Contact