EM78P257 Datasheet PDF - ELAN Microelectronics

www.Datasheet-PDF.com

EM78P257
ELAN Microelectronics

Part Number EM78P257
Description 8-BIT MICROCONTROLLER
Page 30 Pages


EM78P257 datasheet pdf
Download PDF
EM78P257 pdf
View PDF for Mobile

No Preview Available !

EM78P257
8-Bit Microcontroller
with OTP ROM
Product
Specification
DOC. VERSION 1.5
ELAN MICROELECTRONICS CORP.
May 2007



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 © 2002~2007 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.
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)
1821 Saratoga Ave., Suite 250
Saratoga, CA 95070
USA
Tel: +1 408 366-8225
Fax: +1 408 366-8220
Shenzhen:
Elan Microelectronics
Shenzhen, Ltd.
3F, SSMEC Bldg., Gaoxin S. Ave. I
Shenzhen Hi-tech Industrial Park
(South Area) Shenzhen 518057
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



No Preview Available !

Contents
Contents
1 General Description .................................................................................................. 1
2 Features ..................................................................................................................... 1
3 Pin Assignment ......................................................................................................... 2
4 Pin Description.......................................................................................................... 3
4.1 EM78P257AP/AM .............................................................................................. 3
4.2 EM78P257AKM.................................................................................................. 4
4.3 EM78P257BP/BM/BKM...................................................................................... 5
5 Function Description ................................................................................................ 6
5.1 Operational Registers......................................................................................... 6
5.1.1 R0 (Indirect Addressing Register)......................................................................6
5.1.2 R1 (Timer Clock / Counter)/TCC .......................................................................6
5.1.3 R2 (Program Counter) & Stack/PC ....................................................................7
5.1.4 R3 (Status Register) ..........................................................................................9
5.1.5 R4 (RAM Select Register) .................................................................................9
5.1.6 R5 ~ R6 (Port 5 ~ Port 6) ................................................................................10
5.1.7 R7 (Port 7).......................................................................................................10
5.1.8 R9 (CMPOUT Status Register & TCC Status Register) ...................................10
5.1.9 RA (TCC Control Register 1) ...........................................................................10
5.1.10 RB (TCC Control Register 2)........................................................................... 11
5.1.11 RC (TCC Prescaler Counter)........................................................................... 11
5.1.12 RD (IR Control Register) ................................................................................. 11
5.1.13 RE (Mouse Control Register) ..........................................................................12
5.1.14 RF (Interrupt Status Register)..........................................................................13
5.1.15 R10 ~ R3F.......................................................................................................13
5.2 Special Purpose Registers ............................................................................... 14
5.2.1 A (Accumulator)...............................................................................................14
5.2.2 CONT (Control Register) .................................................................................14
5.2.3 IOC50 ~ IOC70 (I/O Port Control Registers) ...................................................15
5.2.4 IOC80 (TCC Control Register): .......................................................................15
5.2.5 IOC90 (CMP Control Register): .......................................................................16
5.2.6 IOCA0 (CO- Input Combination Sequence).....................................................21
5.2.7 IOCB0 (Pull-down Control Register)................................................................22
5.2.8 IOCC0 (Open-drain Control Register) .............................................................22
5.2.9 IOCD0 (Pull-high Control Register) .................................................................23
5.2.10 IOCE0 (WDT Control Register) .......................................................................23
5.2.11 IOCF0 (Interrupt Mask Register) .....................................................................24
5.2.12 IOC51 (TCCA Counter) ...................................................................................25
5.2.13 IOC61 (TCCBL Counter) /LSB Counter ...........................................................25
5.2.14 IOC71 (TCCBH Counter) /MSB Counter .........................................................25
Product Specification (V1.5) 05.02.2007
iii



No Preview Available !

Contents
5.2.15 IOC81 (TCCC Counter)...................................................................................25
5.2.16 IOC91 (Low-time Register)..............................................................................25
5.2.17 IOCA1 (High-time Register).............................................................................25
5.2.18 IOCB1 (Pulse Timer Register) .........................................................................25
5.3 TCC/WDT & Prescaler ..................................................................................... 26
5.4 I/O Ports ........................................................................................................... 27
5.5 Reset and Wake-up.......................................................................................... 29
5.5.1 Reset...............................................................................................................29
5.5.2 /RESET Configuration .....................................................................................37
5.5.3 The Status of RST, T, and P of the Status Register..........................................37
5.6 Interrupt ............................................................................................................ 38
5.7 Timer/Counter................................................................................................... 40
5.7.1 Overview .........................................................................................................40
5.7.2 Function Description........................................................................................40
5.7.3 Programming the Related Registers................................................................40
5.8 Comparator ...................................................................................................... 41
5.8.1 External Reference Signal...............................................................................42
5.8.2 Comparator Outputs........................................................................................43
5.8.3 Programming the Related Registers................................................................44
5.8.4 Interrupt...........................................................................................................44
5.8.5 Wake-up from Sleep Mode..............................................................................44
5.9 Oscillator .......................................................................................................... 45
5.9.1 Oscillator Modes .............................................................................................45
5.9.2 Crystal Oscillator/Ceramic Resonators (Crystal) .............................................45
5.9.3 External RC Oscillator Mode ...........................................................................46
5.9.4 RC Oscillator Mode with Internal Capacitor .....................................................48
5.9.5 Internal RC Oscillator Mode ............................................................................48
5.10 Power-on Considerations ................................................................................. 49
5.10.1 Programmable Oscillator Set-up Time.............................................................49
5.10.2 External Power-on Reset Circuit .....................................................................49
5.10.3 Residue-Voltage Protection .............................................................................50
5.11 Mouse Application Mode .................................................................................. 51
5.11.1 Overview & Features.......................................................................................51
5.11.1.1 Overview: .........................................................................................51
5.11.1.2 Features: ..........................................................................................51
5.11.2 Function Description........................................................................................52
5.11.3 Programming the Related Registers................................................................52
5.11.4 Mouse Mode Timing ........................................................................................55
5.12 Infrared Remote Application Mode ................................................................... 57
5.12.1 Overview & Features.......................................................................................57
5.12.1.1 Overview: .........................................................................................57
5.12.1.2 Features: ..........................................................................................57
iv Product Specification (V1.5) 05.02.2007



EM78P257 datasheet pdf
Download PDF
EM78P257 pdf
View PDF for Mobile


Related : Start with EM78P25 Part Numbers by
EM78P257 8-BIT MICROCONTROLLER EM78P257
ELAN Microelectronics
EM78P257 pdf
EM78P258N 8-Bit Microprocessor EM78P258N
ELAN Microelectronics
EM78P258N pdf
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