没有合适的资源?快使用搜索试试~ 我知道了~
EM78P372N数据手册
需积分: 26 8 下载量 109 浏览量
2015-10-11
00:22:51
上传
评论 1
收藏 1.31MB PDF 举报
温馨提示
试读
104页
EM78P372N数据手册,内容非常详细
资源推荐
资源详情
资源评论
EM78P372N
8-Bit Microcontroller
with OTP ROM
Product
Specification
DOC. VERSION 1.1
ELAN
MICROELECTRONICS CORP.
May 2011
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 © 2010 ~ 2011 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 1
st
Road
Hsinchu Science Park
Hsinchu, TAIWAN 30076
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
Korea:
Elan Korea Electronics
Company, Ltd.
301 Dong-A Building
632 Kojan-Dong, Namdong-ku
Incheon City, KOREA
Tel: +82 32 814-7730
Fax: +82 32 813-7730
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
elan-sz@elanic.com.cn
Shanghai:
Elan Microelectronics
Shanghai, Ltd.
Rm101, #3 Lane 289, Bisheng Rd.,
Zhangjiang Hi-Tech Park
Pudong New Area, Shanghai
CHINA 201203
Tel: +86 21 5080-3866
Fax: +86 21 5080-0273
elan-sh@elanic.com.cn
Contents
Product Specification (V1.1) 05.24.2011 • iii
Contents
1 General Description.................................................................................................. 1
2 Features ..................................................................................................................... 1
3 Pin Assignment ......................................................................................................... 2
4 Pin Description.......................................................................................................... 3
5 Block Diagram........................................................................................................... 5
6 Functional Description ............................................................................................. 6
6.1 Operational Registers......................................................................................... 6
6.1.1 R0 (Indirect Address Register) ...........................................................................6
6.1.2 R1 (Time Clock/Counter).....................................................................................6
6.1.3 R2 (Program Counter) and Stack........................................................................6
6.1.3.1 Data Memory Configuration .................................................................8
6.1.4 R3 (Status Register) ............................................................................................9
6.1.5 R4 (RAM Select Register) ...................................................................................9
6.1.6 Bank 0 R5 ~ R7 (Port 5 ~ Port 7) ......................................................................10
6.1.7 Bank 0 R8 (AISR: ADC Input Select Register)..................................................10
6.1.8 Bank 0 R9 (ADCON: ADC Control Register) ....................................................12
6.1.9 Bank 0 RA (ADOC: ADC Offset Calibration Register).......................................13
6.1.10 Bank 0 RB (ADDATA: Converted Value of ADC) ..............................................14
6.1.11 Bank 0 RC (ADDATA1H: Converted Value of ADC)..........................................14
6.1.12 Bank 0 RD (ADDATA1L: Converted Value of ADC) ..........................................15
6.1.13 Bank 0 RE (Interrupt Status 2 and Wake-up Control Register).........................15
6.1.14 Bank 0 RF (Interrupt Status 2 Register) ............................................................16
6.1.15 Bank 1 R5 (TBHP: Table Point Register for Instruction TBRD) ........................17
6.1.16 Bank 1 R6 (TBLP: Table Point Register for Instruction TBRD) .........................17
6.1.17 Bank 1 R7 (PWMCON: PWM Control Register) ...............................................17
6.1.18 Bank 1 R8 (TMRCON: Timer Control Register) ................................................18
6.1.19 Bank 1 R9 (PRD1: PWM1 Time Period) ...........................................................18
6.1.20 Bank 1 RA (PRD2: PWM2 Time Period) ...........................................................19
6.1.21 Bank 1 RB (DT1: PWM1 Duty Cycle)................................................................19
6.1.22 Bank 1 RC (DT2:PWM2 Duty Cycle) ................................................................19
6.1.23 Bank 1 RE (LVD Interrupt and Wake-up Register)............................................19
6.1.24 Bank 1 RF (System Control Register)...............................................................20
6.1.25 R10 ~ R3F.........................................................................................................24
6.2 Special Purpose Registers ............................................................................... 24
6.2.1 A (Accumulator).................................................................................................24
6.2.2 CONT (Control Register)...................................................................................24
6.2.3 IOC50 ~ IOC70 (I/O Port Control Register) ......................................................25
6.2.4 IOC80 (Comparator Control Register) ..............................................................25
6.2.5 IOC90 (TMR1: PWM1 Timer)............................................................................26
Contents
iv • Product Specification (V1.1) 05.24.2011
6.2.6 IOCA0 (TMR2: PWM2 Timer) ...........................................................................26
6.2.7 IOCB0 (Pull-down Control Register) .................................................................26
6.2.8 IOCC0 (Open-drain Control Register)...............................................................26
6.2.9 IOCD0 (Pull-high Control Register)...................................................................27
6.2.10 IOCE0 (WDT Control Register and Interrupt Mask Register 2) ........................27
6.2.11 IOCF0 (Interrupt Mask Register).......................................................................28
6.2.12 IOC51 (High Sink Control Register 1) ...............................................................29
6.2.13 IOC61 (High Sink Control Register 2) ...............................................................29
6.2.14 IOC71 (High Driver Control Register 1) ............................................................30
6.2.15 IOC81 (High Driver Control Register 2) ............................................................30
6.2.16 IOCF1 (Pull-high Control Register) ...................................................................31
6.3 TCC/WDT and Prescaler.................................................................................. 31
6.4 I/O Ports ........................................................................................................... 33
6.4.1 Usage of Port 5 Input Change Wake-up/Interrupt Function..............................35
6.5 Reset and Wake-up.......................................................................................... 35
6.5.1 Reset and Wake-up Operation..........................................................................35
6.5.1.1 Wake-up and Interrupt Modes Operation Summary ..........................38
6.5.1.2 Register Initial Values after Reset ......................................................40
6.5.1.3 Controller Reset Block Diagram.........................................................45
6.5.2 T and P Status under the Status Register .........................................................45
6.6 Interrupt ............................................................................................................ 46
6.7 Analog-to-Digital Converter (ADC) ................................................................... 48
6.7.1 ADC Control Register (AISR/R8, ADCON/R9, ADOC/RA) ...............................49
6.7.1.1 Bank 0 R8 (AISR: ADC Input Select Register)...................................49
6.7.1.2 Bank 0 R9 (ADCON: ADC Control Register) .....................................50
6.7.1.3 RA (ADOC: AD Offset Calibration Register).......................................51
6.7.1.4 Bank 1 RF (IRC Switch Register).......................................................52
6.7.2 ADC Data Register (ADDATA/RB, ADDATA1H/RC, ADDATA1L/RD) ..............52
6.7.3 ADC Sampling Time..........................................................................................52
6.7.4 AD Conversion Time .........................................................................................52
6.7.5 ADC Operation during Sleep Mode...................................................................53
6.7.6 Programming Process/Considerations..............................................................53
6.7.6.1 Programming Process........................................................................53
6.7.6.2 Sample Demo Programs ....................................................................54
6.8 Dual Sets of PWM (Pulse Width Modulation)................................................... 56
6.8.1 Overview ...........................................................................................................56
6.8.2 Increment Timer Counter (TMRX: TMR1 or TMR2) ..........................................57
6.8.3 PWM Time Period (TMRX: TMR1 or TMR2).....................................................57
6.8.4 PWM Duty Cycle (DTX: DT1 or DT2; DLX: DL1 or DL2) ..................................57
6.8.5 Comparator X ....................................................................................................58
6.8.6 PWM Programming Process/Steps...................................................................58
Contents
Product Specification (V1.1) 05.24.2011 •v
6.9 Timer/Counter................................................................................................... 58
6.9.1 Overview ...........................................................................................................58
6.9.2 Functional Description.......................................................................................59
6.9.3 Programming the Related Registers .................................................................59
6.9.4 Timer Programming Process/Steps...................................................................60
6.10 Comparator ...................................................................................................... 60
6.10.1 External Reference Signal ................................................................................60
6.10.2 Comparator Outputs..........................................................................................60
6.10.3 Using Comparator as an Operation Amplifier....................................................61
6.10.4 Comparator Interrupt.........................................................................................61
6.10.5 Wake-up from Sleep Mode................................................................................62
6.11 Oscillator .......................................................................................................... 62
6.11.1 Oscillator Modes................................................................................................62
6.11.2 Crystal Oscillator/Ceramic Resonators (Crystal)...............................................64
6.11.3 External RC Oscillator Mode.............................................................................67
6.11.4 Internal RC Oscillator Mode ..............................................................................68
6.12 Power-on Considerations ................................................................................. 68
6.12.1 Programmable WDT Time-out Period ...............................................................68
6.12.2 External Power-on Reset Circuit .......................................................................69
6.12.3 Residual Voltage Protection ..............................................................................69
6.13 Code Option ..................................................................................................... 70
6.13.1 Code Option Register (Word 0).........................................................................70
6.13.2 Code Option Register (Word 1).........................................................................72
6.13.3 Customer ID Register (Word 2).........................................................................73
6.14 Low Voltage Detector/Low Voltage Reset ........................................................ 74
6.14.1 Low Voltage Reset ............................................................................................74
6.14.2 Low Voltage Detector ........................................................................................74
6.14.2.1 Bank 1 RE (LVD Interrupt and Wake-up Register).............................74
6.14.2.2 Bank 0 RE (Interrupt Status 2 and Wake-up Control Register)..........75
6.14.3 Programming Process.......................................................................................76
6.15 Instruction Set .................................................................................................. 77
7 Absolute Maximum Ratings................................................................................... 79
8 DC Electrical Characteristics................................................................................. 79
8.1 AD Converter Characteristics........................................................................... 81
8.2 Comparator Characteristics.............................................................................. 82
8.3 OP Characteristics............................................................................................ 82
8.4 VREF 2V/3V/4V Characteristics....................................................................... 83
9 AC Electrical Characteristics................................................................................. 84
10 Timing Diagrams..................................................................................................... 85
剩余103页未读,继续阅读
资源评论
Andy2012Gl
- 粉丝: 0
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功