第一范文网 - 专业文章范例文档资料分享平台

EM78P143

来源:用户分享 时间:2025/5/28 11:45:05 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

EM78P143 8-Bit Microprocessor with OTP ROM Product Specification DOC. VERSION 1.7

ELAN MICROELECTRONICS CORP.

April 2016

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 ? 2016 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 1st 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

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

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

Contents

Contents

1 2 3 4

General Description ................................................................................................ 1 Features ................................................................................................................... 1 Pin Assignment ....................................................................................................... 2 Pin Description ........................................................................................................ 3 4.1 EM78P143MS10J/S ......................................................................................... 3 4.2 EM78P143SO14J ............................................................................................. 4 5 6

Block Diagram ......................................................................................................... 5 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 R5 (Port 5) ........................................................................................................... 9 6.1.7 R6 (LVD Control Register) ................................................................................ 10 6.1.8 R7 (MCSR: Miscellaneous Control and Status Register) ................................. 11 6.1.9 R8 (AISR: ADC Input Select Register) .............................................................. 12 6.1.10 R9 (ADCON: ADC Control Register) ................................................................. 13 6.1.11 RA (ADOC: ADC Offset Calibration Register) ................................................... 15 6.1.12 RB (ADDATAH: Converted Value of ADC) ........................................................ 15 6.1.13 RC (ADDATAL: ADC Converted Value) ............................................................ 15 6.1.14 RD (TBLP: LSB of Table Pointer Register for Instruction TBRD)...................... 16 6.1.15 RE (TBHP: MSB of Table Pointer Register for Instruction TBRD) .................... 16 6.1.16 RF (Interrupt Status Register) ........................................................................... 16 6.1.17 R10 ~ R3F ......................................................................................................... 17

6.2 Special Purpose Registers .............................................................................. 17

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

A (Accumulator) ................................................................................................. 17 CONT (Control Register) ................................................................................... 17 IOC50 (I/O Port Control Register) ..................................................................... 18 IOC60 (Pull-high Control Register) ................................................................... 18 IOC70 (Pull-down Control Register) ................................................................. 19 IOC80 (Open-Drain Control Register) ............................................................... 19 IOC90 (CMPCON: Comparator Control Register) ............................................ 20 IOCA0 ~ IOCC0: Reserved ............................................................................... 21 IOCD0 (Option Control Bit I) ............................................................................. 21 IOCE0 (Option Control Bits II) ........................................................................... 22

Product Specification (V1.7) 04.25.2016 ? iii

Contents

6.2.11 6.2.12 6.2.13 6.2.14 6.2.15 6.2.16 6.2.17 6.2.18 6.2.19 6.2.20 6.2.21 6.2.22

IOCF0 (Interrupt Mask Register) ....................................................................... 23 IOC51 (PWMCON: PWM Control Register) ...................................................... 24 IOC61 (TMRCON: Timer Control Register) ...................................................... 25 IOC71 (PRD1: PWM1 Time Period) .................................................................. 26 IOC81 (PRD2: PWM2 Time Period) .................................................................. 26 IOC91 (DT1: PWM1 Duty Cycle) ...................................................................... 26 IOCA1 (DT2:PWM2 Duty Cycle) ....................................................................... 26 IOCB1 (TMR1: PWM1 Timer) ........................................................................... 26 IOCC1 (TMR2: PWM2 Timer) ........................................................................... 26 IOCD1 (Wake-up Control Register) .................................................................. 27 IOCE1 (WDT Control Register) ......................................................................... 27 IOCF1: Reserve ................................................................................................ 28

6.3 TCC/WDT and Prescaler ................................................................................ 29

6.4 I/O Ports ......................................................................................................... 30

6.4.1 Usage of Port 5 Input Change Wake-up/Interrupt Function .............................. 33

6.5 Reset and Wake-up ........................................................................................ 33

6.5.1 Reset and Wake-up Operation .......................................................................... 33

6.5.1.1 Summary of Wake-up and Interrupt Modes Operation ...................... 36 6.5.1.2 Summary of Wake-up and Interrupt Modes Operation ...................... 37 6.5.1.3 Register Initial Values after Reset ...................................................... 39 6.5.1.4 Controller Reset Block Diagram ......................................................... 43

6.5.2 T and P Status under Status Register ............................................................... 44

6.6 Interrupt .......................................................................................................... 44 6.7 Analog-to-Digital Converter (ADC) .................................................................. 47

6.7.1 ADC Control Register (AISR/R8, ADCON/R9, ADOC/RA) ............................... 47

6.7.1.1 R8 (AISR: ADC Input Select Register) ............................................... 47 6.7.1.2 R9 (ADCON: AD Control Register) .................................................... 48 6.7.1.3 RA (ADOC: AD Offset Calibration Register) ....................................... 50

6.7.2 ADC Data Register (ADDATAH/RB, ADDATAL/RC) ......................................... 51 6.7.3 ADC Sampling Time .......................................................................................... 51 6.7.4 AD Conversion Time ......................................................................................... 51 6.7.5 ADC Operation during Sleep Mode .................................................................. 52 6.7.6 Programming Process/Considerations ............................................................. 52

6.7.6.1 Programming Process ........................................................................ 52 6.7.6.2 Sample Demo Progra ......................................................................... 53

6.8 Dual Sets of PWM (Pulse Width Modulation) .................................................. 55

6.8.1

6.8.2 6.8.3 6.8.4 6.8.5

Overview ........................................................................................................... 55 Increment Timer Counter (TMRX: TMR1 or TMR2) .......................................... 56 PWM Time Period (PRDX: PRD1 or PRD2) ..................................................... 56 PWM Duty Cycle (DTX: DT1 or DT2; DLX: DL1 or DL2) ................................. 57 Comparator X .................................................................................................... 57

iv ? Product Specification (V1.7) 04.25.2016

Contents

6.8.6 PWM Programming Process/Steps ................................................................... 57 6.8.7 PWM Cascade Mode ........................................................................................ 58

6.9 Timer .............................................................................................................. 58

6.9.1 6.9.2 6.9.3 6.9.4 6.9.5 6.10.1 6.10.2 6.10.3 6.10.4 6.11.1 6.11.2 6.11.3 6.11.4

Overview ........................................................................................................... 58 Functional Description ....................................................................................... 59 Programming the Related Registers ................................................................. 60 Timer Programming Process/Steps .................................................................. 60 Timer Cascade Mode ........................................................................................ 60 Comparator Reference Signal ........................................................................... 61 Comparator Output............................................................................................ 63 Comparator Interrupt ......................................................................................... 64 Wake-up from Sleep Mode................................................................................ 64 Oscillator Modes ............................................................................................... 65 Crystal Oscillator/Ceramic Resonators (Crystal) .............................................. 65 External RC Oscillator Mode ............................................................................. 66 Internal RC Oscillator Mode .............................................................................. 67

6.10 Comparator ..................................................................................................... 61

6.11 Oscillator ......................................................................................................... 65

6.12 Power-on Considerations ................................................................................ 68

6.12.1 Programmable WDT Time-out Period ............................................................... 68

6.12.2 External Power-on Reset Circuit ....................................................................... 68 6.12.2 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) ......................................................................... 71 6.13.3 Customer ID Register (Word 2) ......................................................................... 72

6.14 Low Voltage Detector ...................................................................................... 72

6.14.1 Low Voltage Reset (LVR) .................................................................................. 73 6.14.2 Low Voltage Detector (LVD) .............................................................................. 73

6.14.2.1 R6 (LVD Control Register) .................................................................. 73

6.14.3 Programming Process ....................................................................................... 74 6.15 Instruction Set ................................................................................................... 76

7 8

Absolute Maximum Ratings .................................................................................. 78 DC Electrical Characteristics ................................................................................ 78 8.1 AD Converter Characteristics .......................................................................... 80 8.2 Comparator Characteristics ............................................................................ 81

9 AC Electrical Characteristics ................................................................................ 82

10 Timing Diagrams ................................................................................................... 83

Product Specification (V1.7) 04.25.2016 ? v

搜索更多关于: EM78P143 的文档
EM78P143.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c0beg99auxa38gut0xsx29kcek7hlwh013x8_1.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top