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

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

Скачать:  PDF   ZIP

EM78451
8-Bit
Microcontroller
Product
Specification
D
OC
. V
ERSION
1.2
ELAN MICROELECTRONICS CORP.
May 2004

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 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.
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)
Siewerdtstrasse 105
8050 Zurich, SWITZERLAND
Tel: +41 43 299-4060
Fax: +41 43 299-4079
http://www.elan-europe.com
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
Shanghai:
Elan Microelectronics
Shanghai Corporation, Ltd.
23/Bldg. #115 Lane 572, Bibo Road
Zhangjiang Hi-Tech Park
Shanghai, CHINA
Tel: +86 021 5080-3866
Fax: +86 021 5080-4600
Contents
Product Specification (V1.2) 05.27.2004
iii
Contents
1 GENERAL
DESCRIPTION................................................................................................... 1
2 FEATURES........................................................................................................................... 1
3 PIN
ASSIGNMENT ............................................................................................................... 2
4 FUNCTION
DESCRIPTION.................................................................................................. 3
4.1 Operational
Registers .................................................................................................. 4
4.1.1 R0
(Indirect
Address Register) ...................................................................................... 4
4.1.2 R1
(TCC) ....................................................................................................................... 4
4.1.3 R2
(Program
Counter) & Stack...................................................................................... 4
4.1.4 R3
(Status Register) ...................................................................................................... 5
4.1.5 R4 (RAM Select Register) ............................................................................................. 6
4.1.6 R5~R8
(Port 5 ~ Port8).................................................................................................. 6
4.1.7 R9
(Port9) ...................................................................................................................... 6
4.1.8 RA (SPIRB: SPI Read Buffer)........................................................................................ 8
4.1.9 RB (SPIWB: SPI Write Buffer)....................................................................................... 8
4.1.10 RC (SPIS: SPI Status Register) .................................................................................... 8
4.1.11 RD (SPIC: SPI Control Register)................................................................................... 8
4.1.12 RE (TMR1: Timer1 register) .......................................................................................... 9
4.1.13 RF (PWP: Pulse width preset register)........................................................................ 10
4.1.14 R20~R3E (General Purpose Register)........................................................................ 10
4.1.15 R3F (Interrupt Status Register) ................................................................................... 10
4.2 Special Purpose Registers ......................................................................................... 10
4.2.1 A
(Accumulator) ........................................................................................................... 10
4.2.2 CONT
(Control Register) ............................................................................................. 10
4.2.3 IOC5 ~ IOC9 (I/O Port Control Register)......................................................................11
4.2.4 IOCC
(T1CON:
Timer1
control register) .......................................................................11
4.2.5 IOCD
(Pull-high
Control Register) ............................................................................... 12
4.2.6 IOCE
(WDT
Control Register) ..................................................................................... 12
4.2.7 IOCF
(Interrupt Mask Register) ................................................................................... 13
4.3 TCC/WDT
Presacler .................................................................................................. 15
4.4 I/O
Ports ..................................................................................................................... 15
4.5 SERIAL PERIPHERAL INTERFACE MODE.............................................................. 17
4.5.1 Overview
& Features ................................................................................................... 17
4.5.2 SPI
Function
Description............................................................................................. 19
4.5.3 SPI Signal & Pin Description ....................................................................................... 21
4.5.4 Programming the related registers .............................................................................. 22
4.5.5 SPI
Mode Timing ......................................................................................................... 25
4.5.6 Software
Application of SPI ......................................................................................... 26
4.6 Timer
1 ....................................................................................................................... 30
4.6.1 Overview...................................................................................................................... 30
4.6.2 Function
description .................................................................................................... 30

Contents
iv
Product Specification (V1.2) 05.27.2004
4.6.3 Programmed the related registers............................................................................... 31
4.7 RESET
and
Wake-up ................................................................................................. 32
4.8 Interrupt...................................................................................................................... 37
4.9 Oscillator .................................................................................................................... 38
4.9.1 Oscillator Modes.......................................................................................................... 38
4.9.2 Crystal
Oscillator/Ceramic Resonators (XTAL) ........................................................... 39
4.9.3 RC
Oscillator Mode ..................................................................................................... 40
4.10 Code Option Register................................................................................................. 42
4.11 Instruction Set ............................................................................................................ 43
4.12 Timing Diagrams ........................................................................................................ 46
5 ABSOLUTE
MAXIMUM
RATING ....................................................................................... 47
6 ELECTRICAL
CHARACTERISTICS.................................................................................. 47
6.1 DC
Characteristic ....................................................................................................... 47
6.2 AC
Characteristic ....................................................................................................... 48
7 APPLICATION
CIRCUIT .................................................................................................... 49
APPENDIX
A Package
Types: ................................................................................................................. 50






Specification Revision History
Doc. Version
Revision Description
Date
1.0 Initial
version
1.1
Change Power on reset content
06/30/2003
1.2
Cancel Code Option LVDD
05/27/2004



EM78451
8-Bit Microcontroller
Product Specification (V1.2) 05.27.2004
1
(This specification is subject to change without further notice)
1 GENERAL
DESCRIPTION
The EM78451 is an 8-bit microprocessor designed and developed with low-power and
high speed CMOS technology. Its operation kernel is implemented with RISC-like
architecture, and it is available in the mask ROM version. This device is also equipped
with the Serial Peripheral Interface (SPI) function and an easy-implemented RS-232.
The EM78451 is extremely suitable for wired communication. In fact, there are only
fifty-eight (58) easy-to-learn instructions required plus the user's program can be
emulated with the EMC In-Circuit Emulator (ICE).
2 FEATURES
Operating voltage ranges between: 2.3V~5.5V.
Operating temperature ranges between: 0
C~70
C.
Operating frequency ranges between (based on 2 clocks):
1Crystal mode: DC~20MHz at 5V, DC~8MHz at 3V, DC~4MHz at 2.3V.
RC mode: DC~4MHz at 5V, DC~4MHz at 3V, DC~4MHz at 2.3V.
Low power consumption:
Less then 3 mA at 5V/4MHz
Typically 10
A during sleep mode
(SPI) Serial Peripheral Interface is also available.
4K
13 bits on chip ROM (EM78451).
11 Special function registers.
140
8 bits On- chip general-purpose registers.
5 Bi-directional I/O ports (35 I/O pins).
3 LED Direct sinking pins with internal serial resistors.
Built-in RC oscillator with external serial resistor, 10% variation.
Built-in power-on reset.
Five stacks designed for subroutine nesting.
8-bit Real time clock/counter (TCC) with overflow interrupt.
Two to four machine -clocks for each instruction cycle.
Power down mode.
I/O ports have a Programmable wake-up function from sleep circuit.
Programmable free running on-chip watchdog timer.
12 Wake-up pins.