EM78P259N 8-Bit Microprocessor with OTP ROM EM78P259N Errata document Specification Revision History Doc. Version Revision Description Date 1.0 Initial official version 2005/06/16 1.1 Added the IRC drift rate in the feature 2006/05/29 1. Improved the contents and format of the Features section, Fig.4-1 EM78P259N/260N Functional Block Diagram, Fig.6-2 TCC and WDT Block Diagram and Fig.6-11 IR/PWM System Block Diagram. 2. Modified Section 6.7 Analog-to-Digital Converter( ADC) 1.2 3. Modified Section 6.13.1 Code Option Register (Word 0) and Section 6.13.2 Code Option Register (Word 1) 2007/05/18 4. Added Internal RC Electrical Characteristics 5. Modified Section 8.1 AD Converter Characteristics, Section 8.2 Comparator (OP) Characteristics and Appendix A. Package Type. 1.3 Added EM78P2581N SOP 16-pin Package 2007/10/23 1. Added DIP、SOP 14-pin Package 1.4 2. Rename EM78P259N from EM78P2581N、 EM78P259N、EM78P260N Errata Document (V1.4) 11.30.2007 2007/11/30 •1 EM78P259N 8-Bit Microprocessor with OTP ROM Version1.3 to Version1.4 A. attached items 1 2. Page 1 Added DIP、 SOP 14Pin Package 2. Features Features CPU configuration All these four main frequencies can be trimmed by • 2K×13 bits on-chip ROM programming with four calibrated bits in the ICE259N • 80×8 bits on-chip registers (SRAM) Simulator. OTP is auto trimmed by ELAN Writer. • 8-level stacks for subroutine nesting • Less than 1.9 mA at 5V/4MHz • Typically 15 μA, at 3V/32kHz Peripheral configuration • 8-bit real time clock/counter (TCC) with selective signal sources, trigger edges, and overflow interrupt • 8-bit real time clock/counter (TCCA, TCCC) and 16-bit real time clock/counter (TCCB) with selective signal sources, trigger edges, and overflow interrupt • 4-bit channel Analog-to-Digital Converter with 12-bit resolution in Vref mode • Easily implemented IR (Infrared remote control) application circuit • One pair of comparators or OP • Typically 1 μA, during Sleep mode I/O port configuration • 3 bidirectional I/O ports : P5, P6, P7 • 17 I/O pins • Wake-up port : P5 • 8 Programmable pull-down I/O pins • 8 programmable pull-high I/O pins • 8 programmable open-drain I/O pins • External interrupt : P60 Operating voltage range • Operating voltage: 2.3V~5.5V (Commercial) • TCC, TCCA, TCCB, TCCC overflow interrupt • Operating voltage: 2.5V~5.5V (Industrial) • Operating temperature range • Operating temperature: 0°C ~70°C (Commercial) Input-port status changed interrupt (wake-up from sleep mode) • External interrupt • ADC completion interrupt • Comparators status change interrupt • IR/PWM interrupt • Operating temperature: -40°C ~85°C (Industrial) Operating frequency range • Crystal mode: DC~20MHz/2clks @ 5V, DC~100ns inst. cycle @ 5V DC~8MHz/2clks @ 3V, DC~250ns inst. cycle @ 3V • ERC mode: DC~16MHz/2clks @ 5V, DC~125ns inst. cycle @ 5V DC~8MHz/2clks @ 3V, DC~250ns inst. cycle @ 3V • IRC mode: Oscillation mode : 4MHz, 8MHz, 1MHz, 455kHz Drift Rate Internal RC Frequency Temperature Voltage Process (-40°C~85°C) (2.3V~5.5V) Total 4MHz ±10% ±5% ±4% ±19% 8MHz ±10% ±6% ±4% ±20% 1MHz ±10% ±5% ±4% ±19% 455kHz 2• Six available interrupts: ±10% ±5% ±4% ±19% Special features • Programmable free running watchdog timer (4.5ms:18ms) • Power saving Sleep mode • Selectable Oscillation mode • Power-on voltage detector (2.0V ± 0.1V) Package type: • 14-pin DIP 300mil • 14-pin SOP 150mil : EM78P259NSO14J/S • 16-pin SOP 150mil : EM78P259NSO16AJ/S • 18-pin DIP 300mil • 18-pin SOP 300mil : EM78P259NSO18J/S • 20-pin DIP 300mil • 20-pin SOP 300mil : EM78P259NSO20J/S • 20-pin SSOP 209mil : EM78P259NSS20J/S : EM78P259ND14J/S : EM78P259ND18J/S : EM78P259ND20J/S Errata Document (V1.4) 11.30.2007 EM78P259N 8-Bit Microprocessor with OTP ROM 2 3. Page 3 3. Pin Assignment Added DIP、 SOP 14Pin Package Pin Assignment (1) 14-Pin DIP/SOP (2) 16-Pin SOP P52/ADC2 1 14 P51/ADC1 P53/ADC3 2 13 P50/ADC0 P54/TCC/VREF 3 12 P55/OSCI /RESET 4 11 P70/OSCO Vss 5 10 VDD P60//INT 6 9 P67/IR OUT P61/TCCA 7 8 P66/CIN- Fig. 3-1 EM78P259N – 14 Pin P52/ADC2 1 16 P53/ADC3 2 15 P50/ADC0 P54/TCC/VREF 3 14 P55/OSCI /RESET 4 13 P70/OSCO Vss 5 12 VDD P67/IR OUT P51/ADC1 P60//INT 6 11 P61/TCCA 7 10 P66/CIN- P64/CO 8 9 P65/CIN+ Fig. 3-2 EM78P259N – 16 Pin (3) 18-Pin DIP/SOP (4) 20-Pin DIP/SOP/SSOP P52/ADC2 1 18 P51/ADC1 P56 1 20 P57 P53/ADC3 2 17 P50/ADC0 P52/ADC2 2 19 P51/ADC1 P54/TCC/VREF 3 16 P55/OSCI /RESET 4 15 P70/OSCO Vss 5 14 VDD P60//INT 6 13 P67/IR OUT P53/ADC3 3 18 P50/ADC0 P54/TCC/VREF 4 17 P55/OSCI /RESET 5 16 P70/OSCO Vss 6 15 VDD P61/TCCA 7 12 P66/CIN- P60//INT 7 14 P67/IR OUT P62/TCCB 8 11 P65/CIN+ P61/TCCA 8 13 P66/CIN- P63/TCCC 9 10 P64/CO P62/TCCB 9 12 P65/CIN+ P63/TCCC 10 11 P64/CO Fig. 3-3 EM78P259N – 18 Pin Fig. 3-4 EM78P259N – 20 Pin Errata Document (V1.4) 11.30.2007 •3 EM78P259N 8-Bit Microprocessor with OTP ROM 3 5. Page 5 5. Pin Description Pin Description 5.1 EM78P259N – 14 Pin Symbol Pin No. Type P70 11 I/O General purpose input/output pin Default value after a power-on reset P60, P61 P66, P67 6~9 I/O General purpose input/output pin Open-drain Default value after a power-on reset P50~P55 1~3 12~14 I/O General purpose input/output pin Pull-high/pull-down Default value after a power-on reset Wake up from sleep mode when the status of the pin changes OSCI 12 I Crystal type: Crystal input terminal or external clock input pin RC type: RC oscillator input pin OSCO 11 I/O Crystal type: Crystal input terminal or external clock input pin. RC type: clock output with a duration of one instruction cycle External clock signal input 4 I If set as /RESET and remains at logic low, the device will be reset Voltage on /RESET/Vpp must not exceed Vdd during normal mode TCC, TCCA 3, 7 I External Counter input TCC is defined by CONT <5> TCCA is defined by IOC80 <1> ADC0~ADC3 1, 2, 13, 14 I Analog to Digital Converter Defined by ADCON (R9) <1:0> IR OUT 9 O IR mode output pin, capable of driving and sinking current=20mA when the output voltage drops to 0.7Vdd and rise to0.3Vdd at Vdd=5V. VREF 3 I External reference voltage for ADC Defined by ADCON (R9) <7> /INT 6 I External interrupt pin triggered by a falling or rising edge Defined by CONT <7> VDD 10 – Power supply VSS 5 – Ground /RESET 4• Added DIP、 SOP 14Pin Package Function Errata Document (V1.4) 11.30.2007 EM78P259N 8-Bit Microprocessor with OTP ROM 4 Page 84 APPENDIX Added DIP、 SOP 14Pin Package APPENDIX A Package Type OTP MCU Package Type Pin Count Package Size EM78P259ND14J/S DIP 14 300 mil EM78P259NSO14J/S SOP 14 150 mil EM78P259NSO16AJ/S SOP 16 150 mil EM78P259ND18J/S DIP 18 300 mil EM78P259NSO18J/S SOP 18 300 mil EM78P259ND20J/S DIP 20 300 mil EM78P259NSO20J/S SOP 20 300 mil EM78P259NSS20J/S SSOP 20 209 mil Errata Document (V1.4) 11.30.2007 •5 EM78P259N 8-Bit Microprocessor with OTP ROM 5 Page 84 Added DIP、 SOP 14Pin Package APPENDIX APPENDIX B Package Information B.1 14-Lead Plastic Dual in line (PDIP) — 300 mil D 14 E1 8 C E eB 1 A 7 θ Symbal A A1 A2 c D E E1 eB B B1 L e θ Min 0.381 3.175 0.203 18.796 6.174 7.366 8.409 0.356 1.143 3.048 0 Normal Max 4.318 3.302 3.429 0.254 0.356 19.050 19.304 6.401 6.628 7.696 8.025 9.017 9.625 0.457 0.559 1.524 1.778 3.302 3.556 2.540(TYP) 15 A1 A2 L B e B1 TITLE: PDIP-14L 300MIL PACKAGE OUTLINE DIMENSION File : Edtion: A D14 Unit : mm Scale: Free Material: Sheet:1 of 1 6• Errata Document (V1.4) 11.30.2007 EM78P259N 8-Bit Microprocessor with OTP ROM B.2 14-Lead Plastic Small Outline (SOP) — 150 mil E Symbal A A1 b c E H D L e θ H Min 1.350 0.100 0.330 0.190 3.800 5.800 8.550 0.600 Normal Max 1.750 0.250 0.510 0.250 4.000 6.200 8.750 1.270 1.27(TYP) 0 8 e b c D A2 A TITLE: SOP-14L(150MIL) PACKAGE OUTLINE DIMENSION File : Edtion: A NSO14 Unit : mm Scale: Free Material: Sheet:1 of 1 B. modified items N.A. C. deleted items N.A. Errata Document (V1.4) 11.30.2007 •7