没有合适的资源?快使用搜索试试~ 我知道了~
EM78P520N介绍
需积分: 10 2 下载量 37 浏览量
2014-04-09
10:51:49
上传
评论
收藏 1.3MB PDF 举报
温馨提示
试读
124页
我找了好久才找到的,这是个pdf文档介绍
资源推荐
资源详情
资源评论
EM78P520N
8-Bit Microprocessor
with OTP ROM
Product
Specification
D
OC
.
V
ERSION
1.3
ELAN
MICROELECTRONICS CORP.
February 2014
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
© 2009~2014 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
webmaster@emc.com.tw
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
USA:
Elan Information
Technology Group (U.S.A.)
PO Box 601
Cupertino, CA 95015
U.S.A.
Tel: +1 408 366-8225
Fax: +1 408 366-8225
Shenzhen:
Elan Microelectronics
Shenzhen, Ltd.
8A Floor, Microprofit Building
Gaoxin South Road 6
Shenzhen Hi-tech Industrial Park
South Area, Shenzhen
CHINA 518057
Tel: +86 755 2601-0565
Fax: +86 755 2601-0500
elan-sz@elanic.com.cn
Shanghai:
Elan Microelectronics
Shanghai, Ltd.
6F, Ke Yuan Building
No. 5 Bibo Road
Zhangjiang Hi-Tech Park
Shanghai, CHINA 201203
Tel: +86 21 5080-3866
Fax: +86 21 5080-0273
elan-sh@elanic.com.cn
Contents
Product Specification (V1.3) 02.05.2014 • iii
Contents
1 General Description.................................................................................................. 1
2 Features ..................................................................................................................... 1
3 Pin Assignment ......................................................................................................... 2
4 Pin Description.......................................................................................................... 4
5 Block Diagram........................................................................................................... 9
6 Function Description .............................................................................................. 10
6.1 Register Configuration...................................................................................... 10
6.1.1 R PAGE Register Configuration........................................................................10
6.2 Register Operations ......................................................................................... 10
6.2.1 R0 (Indirect Addressing Register) .....................................................................10
6.2.2 R1 (TCC)...........................................................................................................10
6.2.3 R2 (Program Counter) ...................................................................................... 11
6.2.4 R3 (LVD Control and Status).............................................................................12
6.2.5 R4 (RAM Select Register).................................................................................13
6.2.6 Bank 0 R5 (RAM Bank Select Register) ...........................................................13
6.2.7 Bank 0 R7 (Port 7) ............................................................................................13
6.2.8 Bank 0 R8 (Port 8) ............................................................................................13
6.2.9 Bank 0 R9 (Port 9) ............................................................................................14
6.2.10 Bank 0 RA (Port A) ............................................................................................14
6.2.11 Bank 0 RB (Port B) ...........................................................................................14
6.2.12 Bank 0 RC SCCR (System Clock Control Register).........................................14
6.2.13 Bank 0 RD TWTCR (TCC and WDT Timer Control Register) ..........................15
6.2.14 Bank 0 RE IMR (Interrupt Mask Register) ........................................................ 16
6.2.15 Bank 0 RF ISR (Interrupt Status Register)........................................................ 16
6.2.16 Bank 1 R5 LCDCR (LCD Control Register) ......................................................17
6.2.17 Bank 1 R6 LCDAR (LCD Address Register).....................................................17
6.2.18 Bank 1 R7 LCDBR (LCD Data Buffer) ..............................................................18
6.2.19 Bank 1 R8 LCDVCR (LCD Voltage Control Register).......................................18
6.2.20 Bank 1 R9 LCDCCR (LCD COM Control Register 3) .......................................19
6.2.21 Bank 1 RA LCDSCR0 (LCD Segment Control Register 0)...............................19
6.2.22 Bank 1 RB LCDSCR1 (LCD Segment Control Register 1)...............................19
6.2.23 Bank 1 RC LCDSCR2 (LCD Segment Control Register 2) ..............................20
6.2.24 Bank 1 RE EIMR (External Interrupt Mask Register)........................................20
6.2.25 Bank 1 RF EISR (External Interrupt Status Register).......................................20
6.2.26 Bank 2 R5 T1CR (Timer 1 Control Register) ....................................................21
6.2.27 Bank 2 R6 TSR (Timer Status Register) ...........................................................22
6.2.28 Bank 2 R7 T1PD (Timer 1 Period Buffer)..........................................................23
6.2.29 Bank 2 R8 T1TD (Timer 1 Duty Buffer).............................................................23
6.2.30 Bank 2 R9 T2CR (Timer 2 Control Register) ....................................................23
Contents
iv • Product Specification (V1.3) 02.05.2014
6.2.31 Bank 2 RA T2PD (Timer 2 Period Buffer) .........................................................24
6.2.32 Bank 2 RB T2TD (Timer 2 Duty Buffer) ............................................................24
6.2.33 Bank 2 RC SPIS (SPI Status Register).............................................................24
6.2.34 Bank 2 RD SPIC (SPI Control Register)...........................................................25
6.2.35 Bank 2 RE SPIR (SPI Read Buffer)..................................................................26
6.2.36 Bank 2 RF SPIW (SPI Write Buffer)..................................................................26
6.2.37 Bank 3 R5 URC (UART Control Register) ........................................................27
6.2.38 Bank 3 R6 URS (UART Status).........................................................................28
6.2.39 Bank 3 R7 URRD (UART_RD Data Buffer) ......................................................28
6.2.40 Bank 3 R8 URTD (UART_TD Data Buffer) .......................................................29
6.2.41 Bank 3 R9 ADCR (A/D Control Register)..........................................................29
6.2.42 Bank 3 RA ADICH (A/D Input Control Register) ............................................... 30
6.2.43 Bank 3 RB ADICL (A/D Input Control Register) ................................................30
6.2.44 Bank 3 RC ADDH (AD High 8-bit Data Buffer)..................................................30
6.2.45 Bank 3 RD ADDL (AD Low 4-bit Data Buffer) ...................................................30
6.2.46 Bank 3 RE EIESH (External Interrupt Edge Select High Byte
Control Register) ..............................................................................................31
6.2.47 Bank 3 RF EIESL (External Interrupt Edge Select Low Byte
Control Register) ..............................................................................................31
6.2.48 Bank 4 R5 LEDDCR (LED Drive Control Register) ..........................................32
6.2.49 Bank 4 R6 WBCR (Watch Timer and Buzzer Control Register) ......................32
6.2.50 Bank 4 R7 P7IOCR (Port 7 I/O Control Register).............................................33
6.2.51 Bank 4 R8 P8IOCR (Port 8 I/O Control Register).............................................33
6.2.52 Bank 4 R9 P9IOCR (Port 9 I/O Control Register).............................................33
6.2.53 Bank 4 RA PAIOCR (Port A I/O Control Register) ............................................33
6.2.54 Bank 4 RB PBIOCR (Port B I/O Control Register)............................................34
6.2.55 Bank 4 RC PCIOCR (Port C I/O Control Register) ...........................................34
6.2.56 Bank 4 RF WKCR (Wake-up Control Register) ................................................34
6.2.57 Bank 5 R6 UARC2 (UART Control Register 2).................................................34
6.2.58 Bank 5 R7 P7PHCR (Port 7 Pull-high Control Register) ..................................35
6.2.59 Bank 5 R8 P8PHCR (Port 8 Pull-high Control Register) ..................................35
6.2.60 Bank 5 R9 P9PHCR (Port 9 Pull-high Control Register) ..................................35
6.2.61 Bank 5 RA PAPHCR (Port A Pull-high Control Register)..................................35
6.2.62 Bank 5 RB PBPHCR (Port B Pull-high Control Register) .................................36
6.2.63 Bank 5 RC PCPHCR (Port C Pull High Control Register) ................................36
6.2.64 Bank 6 R6 LVRCR (Low Voltage Reset Control Register)................................36
6.2.65 Bank 6 R7 P7ODCR (Port 7 Open Drain Control Register) .............................36
6.2.66 Bank 6 R8 P8ODCR (Port 8 Open Drain Control Register) .............................37
6.2.67 Bank 6 R9 P9ODCR (Port 9 Open Drain Control Register) .............................37
6.2.68 Bank 6 RA PAODCR (Port A Open Drain Control Register) .............................37
6.2.69 Bank 6 RB PBODCR (Port B Open Drain Control Register) ............................37
6.2.70 Bank 6 RC (Port C) ...........................................................................................37
6.2.71 R10~R3F (General Purpose Register) .............................................................37
Contents
Product Specification (V1.3) 02.05.2014 • v
6.3 TCC/WDT Prescaler......................................................................................... 38
6.4 I/O Port ............................................................................................................. 39
6.5 Reset and Wake-up.......................................................................................... 40
6.6 Oscillator .......................................................................................................... 50
6.6.1 Oscillator Modes ...............................................................................................50
6.6.2 Crystal Oscillator/Ceramic Resonators (Crystal) ..............................................50
6.6.3 RC Oscillator Mode with Internal Capacitor......................................................53
6.6.4 Phase Lock Loop (PLL Mode) ..........................................................................53
6.7 Power-on Considerations ................................................................................. 55
6.7.1 External Power-on Reset Circuit.......................................................................55
6.7.2 Residue-Voltage Protection ..............................................................................56
6.8 Interrupt ............................................................................................................ 57
6.9 LCD Driver........................................................................................................ 58
6.9.1 R5 LCDCR ( LCD Control Register) .................................................................59
6.9.2 R6 LCDADDR (LCD Address Register)............................................................60
6.9.3 R7 LCDBR (LCD Data Buffer) .......................................................................... 61
6.9.4 R8 LCDVCR (LCD Voltage Control Register)...................................................61
6.10 A/D Converter................................................................................................... 69
6.10.1 ADC Data Register............................................................................................70
6.10.2 A/D Sampling Time ...........................................................................................70
6.10.3 A/D Conversion Time ........................................................................................70
6.11 UART (Universal Asynchronous Receiver/Transmitter).................................... 71
6.11.1 UART Mode ......................................................................................................72
6.11.2 Transmitting ......................................................................................................73
6.11.3 Receiving .......................................................................................................... 73
6.11.4 Baud Rate Generator........................................................................................74
6.11.5 UART Timing.....................................................................................................74
6.12 SPI (Serial Peripheral Interface)....................................................................... 75
6.12.1 Overview and Features.....................................................................................75
6.12.2 SPI Function Description ..................................................................................77
6.12.3 SPI Signal and Pin Description .........................................................................78
6.12.4 Programming the Related Registers.................................................................80
6.12.5 SPI Mode Timing...............................................................................................83
6.13 Timer/Counter 1................................................................................................ 84
6.13.1 Timer Mode .......................................................................................................85
6.13.2 T1OUT Mode ....................................................................................................85
6.13.3 Capture Mode ...................................................................................................85
6.13.4 PWM Mode .......................................................................................................86
6.13.5 16-Bit Mode.......................................................................................................86
剩余123页未读,继续阅读
资源评论
zw1152002378
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功