EM78P468N/L
8-Bit Microcontroller
Product
Specification
D
OC
. V
ERSION
1.5
ELAN MICROELECTRONICS CORP.
February 2007
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
©
2004~2007 by ELAN Microelectronics Corporation
All Rights Reserved
Printed in Taiwan, ROC
The contents of in this specification are subject to change without 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 to 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 out of 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 EXPRESS 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
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
USA:
Elan Information
Technology Group (U.S.A.)
1821 Saratoga Ave., Suite 250
Saratoga, CA 95070
U.S.A.
Tel: +1 408 366-8225
Fax: +1 408 366-8220
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
Contents
Contents
1
2
3
4
5
6
General Description ······················································································ 1
Features ········································································································· 1
Pin Assignment······························································································ 2
Block Diagram ······························································································· 3
Pin Description ······························································································ 4
Function Description····················································································· 6
6.1
Operational Registers......................................................................................... 6
6.1.1
6.1.2
6.1.3
6.1.4
6.1.5
6.1.6
6.1.7
6.1.8
6.1.9
6.1.10
6.1.11
6.1.12
6.1.13
6.1.14
6.1.15
6.1.16
6.1.17
R0/IAR (Indirect Addressing Register) ................................................................6
R1/TCC (Timer Clock Counter) ...........................................................................6
R2/PC (Program Counter)...................................................................................6
R3/SR (Status Register) .....................................................................................8
R4/RSR (RAM Select Register) ..........................................................................9
R5/Port 5 (Port 5 I/O Data and Page of Register Select.....................................9
R6/Port 6 (Port 6 I/O Data Register) ...................................................................9
R7/Port 7 (Port 7 I/O Data Register) ...................................................................9
R8/Port 8 (Port 8 I/O Data Register) .................................................................10
R9/LCDCR (LCD Control Register)...................................................................10
RA/LCD_ADDR (LCD Address) ........................................................................11
RB/LCD_DB (LCD Data Buffer) ........................................................................11
RC/CNTER (Counter Enable Register).............................................................11
RD/SBPCR (System, Booster and PLL Control Register) ................................12
RE/IRCR (IR and Port 5 Setting Control Register) ...........................................13
RF/ISR (Interrupt Status Register) ....................................................................14
Address: 10h~3Fh; R10~R3F (General Purpose Register) ..............................14
A (Accumulator).................................................................................................15
IOC50/P5CR (Port 5 I/O and Ports 7, 8 for LCD Segment Control Register)...15
IOC60/P6CR (Port 6 I/O Control Register) .......................................................16
IOC70/P7CR (Port 7 I/O Control Register) .......................................................16
IOC80/P8CR (Port 8 I/O Control Register) .......................................................16
IOC90/RAM_ADDR (128 Bytes RAM Address) ................................................16
IOCA0/RAM_DB (128 Bytes RAM Data Buffer)................................................16
IOCB0/CNT1PR (Counter 1 Preset Register)...................................................17
IOCC0/CNT2PR (Counter 2 Preset Register)...................................................17
IOCD0/HPWTPR (High-Pulse Width Timer Preset Register) ...........................17
IOCE0/LPWTPR (Low-Pulse Width Timer Preset Register) .............................18
IOCF0/IMR (Interrupt Mask Register) ...............................................................18
IOC61/WUCR (Wake-up and Sink Current of P5.7/IROUT Control Register) ..18
6.2
Special Purpose Registers ............................................................................... 15
6.2.1
6.2.2
6.2.3
6.2.4
6.2.5
6.2.6
6.2.7
6.2.8
6.2.9
6.2.10
6.2.11
6.2.12
6.2.13
Product Specification (V1.5) 02.15.2007
•
iii
Contents
6.2.14
6.2.15
6.2.16
6.2.17
6.2.18
6.2.19
6.2.20
6.2.21
IOC71/TCCCR (TCC Control Register) ............................................................19
IOC81/WDTCR (WDT Control Register)...........................................................20
IOC91/CNT12CR (Counters 1, 2 Control Register) ..........................................20
IOCA1/HLPWTCR (High/Low Pulse Width Timer Control Register).................21
IOCB1/P6PH (Port 6 Pull-high Control Register)..............................................22
IOCC1/P6OD (Port 6 Open Drain Control Register).........................................22
IOCD1/P8PH (Port 8 Pull High Control Register) .............................................22
IOCE1/P6PL (Port 6 Pull Low Control Register) ..............................................22
6.3
6.4
6.6
TCC and WDT Prescaler.................................................................................. 23
I/O Ports ........................................................................................................... 25
Oscillator .......................................................................................................... 30
6.6.1
6.6.2
6.6.3
6.6.4
Oscillator Modes................................................................................................30
Phase Lock Loop (PLL Mode)...........................................................................30
Crystal Oscillator/Ceramic Resonators (Crystal)...............................................31
RC Oscillator Mode with Internal Capacitor ......................................................32
External Power-on Reset Circuit .......................................................................33
Residue-Voltage Protection...............................................................................33
6.7
Power-on Considerations ................................................................................. 32
6.7.1
6.7.2
6.8
6.9
Interrupt ............................................................................................................ 34
LCD Driver........................................................................................................ 35
6.9.1
6.9.2
6.9.3
6.9.4
R9/LCDCR (LCD Control Register)...................................................................35
RA/LCD_ADDR (LCD Address) ........................................................................36
RB/LCD_DB (LCD Data Buffer) ........................................................................36
RD/SBPCR (System, Booster and PLL Control Registers) ..............................37
6.10 Infrared Remote Control Application/PWM Waveform Generate .................... 41
6.11 Code Options ................................................................................................... 45
6.12 Instruction Set ................................................................................................. 46
6.13 Timing Diagram ............................................................................................... 49
7
8
Absolute Maximum Ratings········································································ 50
Electrical Characteristic·············································································· 51
8.1
8.2
8.3
DC Electrical Characteristics............................................................................ 51
AC Electrical Characteristics ............................................................................ 53
Device Characteristic ....................................................................................... 54
9
Application Circuit······················································································· 66
iv
•
Product Specification (V1.5) 01.15.2007
Contents
APPENDIX
A
B
C
D
E
Package Type······························································································· 67
Package Information ··················································································· 68
EM78P468L Program Pin List ····································································· 71
ICE 468XA····································································································· 72
Quality Assurance and Reliability ······························································ 75
E.1 Address Trap Detect......................................................................................... 75
Specification Revision History
Doc. Version
1.0
1.1
1.2
Initial version
1. Added DC curve vs. Temperature.
2. Removed the LVD function
1. Added LQFP Package
1. Combined EM78P468N with EM78P468L Specification.
1.3
2. Deleted the wake-up function from Idle mode by TCC
time out.
3. Added power-on voltage detector in the Features section.
1. Modified the General Description, Features and Pin
Assignment.
1.4
2. Added Green Product Information.
3. Modified the Functional Block Diagram.
4. Added Appendix D Quality Assurance and Reliability.
1.5
Deleted all the packages for the EM78P468L
2007/02/15
2007/01/11
2006/05/05
Revision Description
Date
2004/04/10
2004/12/09
2005/03/15
Product Specification (V1.5) 02.15.2007
•
v