1 EM78P153K. 8-Bit Microcontroller with OTP ROM. Product specification DOC. VERSION ELAN MICROELECTRONICS CORP. October 2012. 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 2012 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 .
2 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.
3 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: Hong Kong: USA: No. 12, Innovation 1st Road Elan (HK) Microelectronics Elan Information Hsinchu Science Park Corporation, Ltd. Technology Group Hsinchu, TAIWAN 30076 Flat A, 19F., World Tech Centre 95 ( ). Tel: +886 3 563-9977 How Ming Street, Kwun Tong PO Box 601. Fax: +886 3 563-9966 Kowloon, HONG KONG Cupertino, CA 95015. Tel: +852 2723-3376 Fax: +852 2723-7780 Tel: +1 408 366-8225.
4 Fax: +1 408 366-8225. Korea: Shenzhen: Shanghai: Elan Korea Electronics Elan Microelectronics ELAN Microelectronics Company, Ltd. Shenzhen, Ltd. Shanghai, Ltd. 301 Dong-A Building 8A Floor, Microprofit Building 6F, Ke Yuan Building 632 Kojan-Dong, Namdong-ku Gaoxin South Road 6 No. 5 Bibo Road Incheon City, KOREA Shenzhen Hi-tech Industrial Park Zhangjiang Hi-Tech Park Tel: +82 32 814-7730 South Area, Shenzhen Shanghai, CHINA 201203. Fax: +82 32 813-7730 CHINA 518057 Tel: +86 21 5080-3866. Tel: +86 755 2601-0565 Fax: +86 21 5080-0273. Fax: +86 755 2601-0500 Contents Contents 1 General Description .. 1. 2 Features .. 1. 3 Pin Assignment .. 2. 4 Pin 3. 5 Functional Description.
5 4. Operational 4. R0 (Indirect Addressing Register) ..4. R1 (Timer Clock/Counter) ..4. R2 (Program Counter and Stack)..5. R3 (Status Register)..6. R4 (RAM Select Register)..7. R5 ~ R6 (Port 5 ~ Port 6) ..7. RF (Interrupt Status Register) ..7. R10 ~ Special Function 8. A (Accumulator)..8. CONT (Control Register)..8. IOC5 ~ IOC6 (I/O Port Control Register) ..9. IOCB (Pull-down Control Register) ..9. IOCC (Open-drain Control Register)..9. IOCD (Pull-high Control Register)..10. IOCE (WDT Control Register)..10. IOCF (Interrupt Mask Register).. 11. TCC/WDT and 11. I/O Ports .. 12. Reset and 15. Summary of Registers Initialized Status of RST, T, and P of the Status Interrupt.
6 20. Oscillator .. 21. Oscillator Modes ..21. Crystal Oscillator/Ceramic Resonators (Crystal) ..22. External RC Oscillator Internal RC Oscillator Code Option 26. Code Option Register (Word 0) ..26. Code Option Register (Word 1) ..27. Code Option Register (Word 2) ..28. Product specification ( ) iii Contents Power-on Considerations .. 29. Programmable Oscillator Set-up Time .. 29. External Power-on Reset 29. Residue-Voltage Protection .. 30. Instruction Set .. 31. 6 Absolute Maximum Ratings .. 34. 7 Electrical Characteristics .. 34. DC Characteristics .. 34. AC 36. Device 37. 8 Timing Diagrams .. 58. APPENDIX. A Ordering and Manufacturing Information .. 59. B Package 60. C Package 61.
7 specification Revision History Doc. Version Revision Description Date Official original specification 2011/11/22. 1. Added Ordering and Manufacturing Information 2. Modified the Instruction Table, not the Instruction Set 3. Added diagram of Voltage to Frequency Curve in Section Device Characteristics 2012/05/28. 4. Modified the part number 5. Modified the description about POR and LVR in the Features section 1. Fixed up the part number issues 2012/08/07. 2. Added 10-Pin SSOP Package Added diagrams of Temperature relative measurements 2012/10/23. iv Product specification ( ) EM78P153K. 8-Bit Microcontroller with OTP ROM. 1 General Description The EM78P153K is an 8-Bit microprocessor designed and developed with low-power and high-speed CMOS.
8 Technology. The device has an on-chip 1024 13-bit Electrical One Time Programmable Read Only Memory (OTP-ROM). It provides a protection bit to prevent intrusion of user's OTP memory code. Fifteen Code option bits are also available to meet user's requirements. With enhanced OTP-ROM features, the EM78P153K provides a convenient way of developing and verifying user's programs. Moreover, this OTP device offers the advantages of easy and effective program updates, using development and programming tools. Users can avail of the ELAN Writer to easily program their development code. 2 Features CPU configuration Crystal mode: 1k 13 bits on-chip ROM DC ~ 20 MHz / 2clks @ 5V. 32 8 bits on-chip registers (SRAM, general DC ~ 8 MHz / 2clks @ 3V.)
9 Purpose) DC ~ 4 MHz / 2clks @ 5-level stacks for subroutine nesting ERC mode: Less than mA at 5V / 4 MHz DC ~ 2 MHz / 2clks @ Typically 15 A at 3V / 32kHz Peripheral configuration Typically 1 A during Sleep mode 8-Bit Real Time Clock/Counter (TCC) with selective signal sources, trigger edges, and I/O port configuration overflow interrupt 2 bidirectional I/O ports : P5, P6 Power-on reset and 3 programmable level 12 I/O pins voltage reset Wake-up port : P6 POR: (Default), LVR: , , 6 Programmable pull-down I/O pins 2-/ 4 clocks per instruction cycle selected by 7 programmable pull-high I/O pins code option 7 programmable open-drain I/O pins High EFT immunity External interrupt : P60 Three available interrupts: Operating voltage range: TCC overflow interrupt ~ at 0 ~ 70 C (Commercial) Input-port status changed interrupt (wake-up from sleep mode).
10 ~ at -40 ~ 85 C (Industrial). External interrupt Operating frequency range (base on 2 clocks): Special features IRC mode: Programmable free running Watchdog Timer Drift Rate Power saving sleep mode Internal RC Freq. Temp. Selectable oscillation mode Voltage Process Total (-40~85 C). Programmable prescaler of oscillator set-up time 4 MHz 1% 3% @ ~ 2% 6%. Package type: 16 MHz 1% 1% @ ~ 2% 4%. 14-pin DIP 300mil : EM78P153KD14J. 8 MHz 1% 2% @ ~ 2% 5%. 14-pin SOP 150mil : EM78P153 KSO14J. 1 MHz 1% 3% @ ~ 2% 6%. 10-pin SSOP 150mil : EM78P153 KSS10J. 10-pin SSOP 150mil : EM78P153 KASS10J. Note: These are all green products which do not contain hazardous substances. Product specification ( ) 1.