EM78P259N Datasheet PDF - ELAN Microelectronics


www.Datasheet-PDF.com

EM78P259N
ELAN Microelectronics

Part Number EM78P259N
Description 8-Bit Microprocessor
Page 30 Pages

EM78P259N datasheet pdf
View PDF for PC
EM78P259N pdf
View PDF for Mobile


No Preview Available !

EM78P259N
8-Bit Microprocessor
with OTP ROM
Product
Specification
DOC. VERSION 1.4
ELAN MICROELECTRONICS CORP.
January 2008



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~2008 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.
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
USA:
Elan Information
Technology Group (USA)
P.O. Box 601
Cupertino, CA 95015
USA
Tel: +1 408 366-8225
Fax: +1 408 366-8225
Shenzhen:
Elan Microelectronics
Shenzhen, Ltd.
3F, SSMEC Bldg., Gaoxin S. Ave. I
Shenzhen Hi-tech Industrial Park
(South Area), Shenzhen
CHINA 518057
Tel: +86 755 2601-0565
Fax: +86 755 2601-0500
Shanghai:
Elan Microelectronics
Shanghai, Ltd.
#23, Zone 115, Lane 572, Bibo Rd.
Zhangjiang Hi-Tech Park
Shanghai, CHINA 201203
Tel: +86 21 5080-3866
Fax: +86 21 5080-4600



No Preview Available !

Contents
Contents
1 General Description .................................................................................................. 1
2 Features ..................................................................................................................... 1
3 Pin Assignment ......................................................................................................... 2
4 Pin Description.......................................................................................................... 3
4.1 EM78P259ND14/SO14 ...................................................................................... 3
4.2 EM78P259NSO16A ........................................................................................... 4
4.3 EM78P259ND18/SO18 ...................................................................................... 5
4.4 EM78P259ND20/SO20/SS20 ............................................................................ 6
5 Block Diagram ........................................................................................................... 7
6 Function Description ................................................................................................ 8
6.1 Operational Registers......................................................................................... 8
6.1.1 R0 (Indirect Address Register) ...........................................................................8
6.1.2 R1 (Time Clock /Counter)....................................................................................8
6.1.3 R2 (Program Counter) and Stack........................................................................8
6.1.3.1 Data Memory Configuration ...............................................................10
6.1.4 R3 (Status Register) ..........................................................................................11
6.1.5 R4 (RAM Select Register).................................................................................11
6.1.6 R5 ~ R6 (Port 5 ~ Port 6) ..................................................................................12
6.1.7 R7 (Port 7).........................................................................................................12
6.1.8 R8 (AISR: ADC Input Select Register) ..............................................................13
6.1.9 R9 (ADCON: ADC Control Register).................................................................14
6.1.10 RA (ADOC: ADC Offset Calibration Register) ...................................................15
6.1.11 RB (ADDATA: Converted Value of ADC)...........................................................15
6.1.12 RC (ADDATA1H: Converted Value of ADC)......................................................16
6.1.13 RD (ADDATA1L: Converted Value of ADC) ......................................................16
6.1.14 RE (Interrupt Status 2 and Wake-up Control Register) .....................................16
6.1.15 RF (Interrupt Status 2 Register) ........................................................................17
6.1.16 R10 ~ R3F .........................................................................................................17
6.2 Special Purpose Registers ............................................................................... 18
6.2.1 A (Accumulator).................................................................................................18
6.2.2 CONT (Control Register)...................................................................................18
6.2.3 IOC50 ~ IOC70 (I/O Port Control Register) ......................................................19
6.2.4 IOC80 (Comparator and TCCA Control Register).............................................20
6.2.5 IOC90 (TCCB and TCCC Control Register)......................................................20
6.2.6 IOCA0 (IR and TCCC Scale Control Register) .................................................21
6.2.7 IOCB0 (Pull-down Control Register) .................................................................23
6.2.8 IOCC0 (Open-Drain Control Register) ..............................................................23
6.2.9 IOCD0 (Pull-high Control Register)...................................................................24
6.2.10 IOCE0 (WDT Control and Interrupt Mask Registers 2).....................................24
6.2.11 IOCF0 (Interrupt Mask Register).......................................................................25
Product Specification (V1.4) 01.25.2008
iii



No Preview Available !

Contents
6.2.12 IOC51 (TCCA Counter) .....................................................................................26
6.2.13 IOC61 (TCCB Counter) .....................................................................................26
6.2.14 IOC71 (TCCBH/MSB Counter) .........................................................................27
6.2.15 IOC81 (TCCC Counter).....................................................................................27
6.2.16 IOC91 (Low Time Register)...............................................................................28
6.2.17 IOCA1 (High Time Register) .............................................................................28
6.2.18 IOCB1 (High/Low Time Scale Control Register) ...............................................28
6.2.19 IOCC1 (TCC Prescaler Counter) ......................................................................29
6.3 TCC/WDT and Prescaler.................................................................................. 30
6.4 I/O Ports ........................................................................................................... 31
6.4.1 Usage of Port 5 Input Change Wake-up/Interrupt Function..............................34
6.5 Reset and Wake-up.......................................................................................... 34
6.5.1 Reset and Wake-up Operation..........................................................................34
6.5.1.1 Wake-up and Interrupt Modes Operation Summary ..........................37
6.5.1.2 Register Initial Values after Reset ......................................................39
6.5.1.3 Controller Reset Block Diagram.........................................................43
6.5.2 The T and P Status under STATUS (R3) Register ............................................44
6.6 Interrupt ............................................................................................................ 44
6.7 Analog-to-Digital Converter (ADC) ................................................................... 47
6.7.1 ADC Control Register (AISR/R8, ADCON/R9, ADOC/RA) ...............................47
6.7.1.1 R8 (AISR: ADC Input Select Register) ...............................................47
6.7.1.2 R9 (ADCON: AD Control Register) ....................................................48
6.7.1.3 RA (ADOC: AD Offset Calibration Register).......................................49
6.7.2 ADC Data Register (ADDATA/RB, ADDATA1H/RC, ADDATA1L/RD) ..............50
6.7.3 ADC Sampling Time ..........................................................................................50
6.7.4 AD Conversion Time .........................................................................................50
6.7.5 ADC Operation during Sleep Mode...................................................................50
6.7.6 Programming Process/Considerations..............................................................51
6.7.6.1 Programming Process........................................................................51
6.7.6.2 Sample Demo Programs ....................................................................52
6.8 Infrared Remote Control Application/PWM Waveform Generation.................. 54
6.8.1 Overview ...........................................................................................................54
6.8.2 Function Description..........................................................................................55
6.8.3 Programming the Related Registers .................................................................57
6.9 Timer/Counter................................................................................................... 58
6.9.1 Overview ...........................................................................................................58
6.9.2 Function Description..........................................................................................58
6.9.3 Programming the Related Registers .................................................................60
6.10 Comparator ...................................................................................................... 60
6.10.1 External Reference Signal ................................................................................61
6.10.2 Comparator Output............................................................................................61
6.10.3 Using a Comparator as an Operation Amplifier.................................................62
6.10.4 Comparator Interrupt .........................................................................................62
6.10.5 Wake-up from Sleep Mode................................................................................62
iv Product Specification (V1.4) 01.25.2008




EM78P259N datasheet pdf
Download PDF
EM78P259N pdf
View PDF for Mobile


Similiar Datasheets : EM78P257 EM78P258N EM78P259N

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   ::   Privacy Policy + Contact