IBM EM78P221/2N инструкция обслуживания

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70

Идти на страницу of

Хорошее руководство по эксплуатации

Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации IBM EM78P221/2N. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции IBM EM78P221/2N или обучающее видео для пользователей. Условием остается четкая и понятная форма.

Что такое руководство?

Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции IBM EM78P221/2N можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.

К сожалению немного пользователей находит время для чтения инструкций IBM EM78P221/2N, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.

Из чего должно состоять идеальное руководство по эксплуатации?

Прежде всего в инструкции IBM EM78P221/2N должна находится:
- информация относительно технических данных устройства IBM EM78P221/2N
- название производителя и год производства оборудования IBM EM78P221/2N
- правила обслуживания, настройки и ухода за оборудованием IBM EM78P221/2N
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам

Почему мы не читаем инструкций?

Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск IBM EM78P221/2N это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок IBM EM78P221/2N и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта IBM, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания IBM EM78P221/2N, как это часто бывает в случае бумажной версии.

Почему стоит читать инструкции?

Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства IBM EM78P221/2N, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.

После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции IBM EM78P221/2N. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.

Содержание руководства

  • Страница 1

    EM78P221/2N 8-Bit Microcontroller with OTP ROM Product Specification D OC . V ERSION 1.0 ELAN MICROELECTRONICS CORP. October 2007[...]

  • Страница 2

    T rademark Acknow ledgments: IBM is a registered trademark a nd PS/2 is a trademark of IBM. W indows is a trademark of Microsoft Corporation. ELAN and ELAN logo are trademarks of ELAN Mi croelectronics Corporation. Copyright © 2007 by ELAN Micr oelectronics Corporation All Rights Reserved Printed in T aiwan The contents of this specification are s[...]

  • Страница 3

    Contents Product Specification (V1.0) 10.19.2007 • iii (This specification is subject to change without further notice) Contents EM78P221/2N-V Package version .................................................................................... 1 EM78P221/2N-U Package version ........................................................................[...]

  • Страница 4

    Contents iv • Produc t Specification (V1.0) 1 0.19.2007 (This specification is subject to change without further notice) 6.2.27 Bank 2-R8 (Operatin g Mode Contro l Register) ................................................. 19 6.2.28 Bank 2-R9 ~RF (Reserve) .................................................................................. 19 6.2.[...]

  • Страница 5

    Contents Product Specification (V1.0) 10.19.2007 • v (This specification is subject to change without further notice) 7 Absolute Maximum Ratings ................................................................................... 53 8 DC Electrical Characteristics ................................................................................. 53[...]

  • Страница 6

    Contents vi • Product Specification (V1.0) 10.1 9.2007 (This specification is subject to change without further notice) Specification Revision History Doc. Version Revision Description Date 0.9 Preliminary version 2007/03/20 1.0 Initial released version 2007/10/19[...]

  • Страница 7

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 1 (This specification is subject to change without further notice) Read Me First ! Comparison between V-Package and U-Package version This series of microcont rollers comprise of the older V-package version an d the newer U-package version. In the newer U-pa[...]

  • Страница 8

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 2 • Product Specification (V1.0) 10.19.2007 (This specification is subject to change without further notice) 1 General Description EM78P221N and EM78P222N are 8-bit microproce ssors des igned and developed with low-power and high-speed CMOS technology . Each device in t he series has as an on-chip 4[...]

  • Страница 9

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 3 (This specification is subject to change without further notice) 3 Pin Assignment (1) 28-Pin DIP/SOP/SSOP P70 VSS P67 P57 P56/TCC P53/OSCI P52/OSCO VDD P81//RES ET P72/CIN+ P73/CIN- P71/CO/I NT1 P64 P65 P66 P55 P54 P50 P77/INT0 EM78P222N 1 2 3 4 5 6 7 8 9 [...]

  • Страница 10

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 4 • Product Specification (V1.0) 10.19.2007 (This specification is subject to change without further notice) 4 Pin Description 4.1 EM78P222N Symbol Pin No. Type Function P50~P57 1~2 11~12 17~18 26~27 I/O 8-bit General p urpose input/output pins Default value at power-on reset P60~P67 6 ~ 10 19 ~21 I[...]

  • Страница 11

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 5 (This specification is subject to change without further notice) 4.2 EM78P221N Symbol Pin No. Type Function P50~P57 1~2 11~14 22~23 I/O 8-bit General p urpose input/output pins Default value at power-on reset. P60~P67 6 ~ 10 15~17 I/O 8-bit General p urpos[...]

  • Страница 12

    EM78P221/2N 8-Bit Microcontroller with OTP ROM 6 • Product Specificati on (V1.0) 10.19.2007 (This specification is subj ect to change without further notice) 5 Block Diagram ROM R3 (Status Reg.) ACC Instru ction Decoder Instru ction Register ALU PC Interrupt Circuit 8-level stack (13 bit) Interrupt Control Register Oscill ation Generation RAM Mux[...]

  • Страница 13

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 7 (This specification is subject to change without further notice) 6 Function Description 6.1 Register Configuration Address Bank 0 Regist ers Bank 1 Registers Bank 2 Registers Bank 3 Registers 00 R0 (Indirect Addressing Register) 01 R1 (Memory switch regist[...]

  • Страница 14

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 8 • Product Specification (V1.0) 10.19.2007 (This specification is subject to change without further notice) 6.2 Registers Description 6.2.1 A (Accumulator) Internal data transfer operation, or inst ruction op erand holding usually involves the temporary storage function of the Accumulator. The Accu[...]

  • Страница 15

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 9 (This specification is subject to change without further notice) 6.2.3 R0 (Indirect Addressing Register) R0 is not a physically implemented register. Its major function is to perform as an indirect addre ss pointer. Any instru ction us ing R0 as a pointer,[...]

  • Страница 16

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 10 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) "JMP" instruction allows direct loading of the lower 10 program cou nter bits. Thus, "JMP" allows PC to jump to any location within a Page (1K). "CALL" instruc[...]

  • Страница 17

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 11 (This specification is subject to change without further notice) 6.2.7 R4 (Select Indirect Address) Bit s 7~6: not used, fixed to 0 all the time. Bit 5 ~ Bit 0: used to select registers (A ddress : 00 ~ 3F) in indire ct addressing mode. 6.2.8 Bank 0-R5 (P[...]

  • Страница 18

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 12 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) 6.2.13 Bank 0-RE (WUCR: Wake-up Control Register) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 EX1IF 0 0 ICWE 0 CMPWE 0 CMPIF Bit 7 (EX1IF): External interrupt flag. Set by INT1 pin, res[...]

  • Страница 19

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 13 (This specification is subject to change without further notice) Bit 1 (ICIF): Port 6 input st atus change interrupt fl ag. Set when Port 6 input changes. Reset by software. 0 = no interrupt occurs 1 = with interrupt request Bit 0 (TCIF): TCC overflow int[...]

  • Страница 20

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 14 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) 6.2.17 Bank 1-R9 (Reserve) Bit s 7~0: not used, fixed to 0 all the time 6.2.18 Bank 1-RA (CMPCON: Co mparator Control Register) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 EIS1 EIS0 CMP[...]

  • Страница 21

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 15 (This specification is subject to change without further notice) 6.2.19 Bank 1-RB (Pull- down Control Register) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 /PD7 /PD6 /PD5 /PD4 /PD3 /PD2 /PD1 /PD0 Bank 1-RB register is both readable a nd writable Bit 7[...]

  • Страница 22

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 16 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) 6.2.21 Bank 1-RD (Pull- high Control Register) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 /PH7 /PH6 /PH5 /PH4 /PH3 /PH2 /PH1 /PH0 Bank 1-RD register is both read able and writable. Bit[...]

  • Страница 23

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 17 (This specification is subject to change without further notice) Bit 4 ~ Bit 2 (PSW2 ~ PSW0): WDT prescaler bits PSW2 PSW1 PSW0 WDT Rate 0 0 0 1:2 0 0 1 1:4 0 1 0 1:8 0 1 1 1:16 1 0 0 1:32 1 0 1 1:64 1 1 0 1:128 1 1 1 1:256 Bit 0 (CMPIE): CMPIF interrupt [...]

  • Страница 24

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 18 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) 6.2.24 Bank 2-R5 (HDCR: High Drive Control Register for Port 6) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 HD67 HD66 HD65 HD64 HD63 HD62 HD61 HD60 [With Simulator]: function nonexisten[...]

  • Страница 25

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 19 (This specification is subject to change without further notice) 6.2.26 Bank 2-R7 (HSCR2: High Sink Control Register for Port 6) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 HS67 HS66 HS65 HS64 HS63 HS62 HS61 HS60 [With Simulator]: function nonexistent[...]

  • Страница 26

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 20 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) 6.2.30 Bank 3-R6 (IRC Control)-only for ICE Bit 7 6 5 4 3 2 1 0 EM78P221/2N ‘0’ ‘0’ ‘0’ ‘0’ ‘0’ ‘0’ ‘0’ ‘0’ ICE220N C3 C2 C1 C0 RCM1 RCM0 ‘0’ ‘0’ Bit[...]

  • Страница 27

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 21 (This specification is subject to change without further notice) 6.2.31 Bank 3-R7 (Noise and LVR Control) - only for ICE Bit 7 6 5 4 3 2 1 0 EM78P221/2N ‘0’ ‘0’ ‘0’ ‘0’ ‘0’ ‘0’ ‘0’ ‘0’ ICE220N “0” “0” “0” “0?[...]

  • Страница 28

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 22 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) 6.3 TCC/WDT and Prescaler There are two 8-bit counters available as prescale rs for the TCC and WDT. The PST0~PST2 bits of the CONT register are used to determin e the ratio of the TCC pres[...]

  • Страница 29

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 23 (This specification is subject to change without further notice) 8-bit Counte r WD T Prescaler 8 to 1 MUX WD T T im e o u t W DTE (Bank 1-RE) TCC P in MUX CLK (Fosc ) 8-bit Coun ter 8 to 1 MUX TE (CO NT) Data Bus TCC o verfl ow Interrupt TS (C ONT) TCC (R[...]

  • Страница 30

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 24 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) PCRD M U X IOD 0 1 INT PDRD P77, /INT0 P71, /INT1 EIS1,EIS0 PCW R D Q Q _ CLK P R C L PDW R D Q Q _ CLK P R C L P R C L CLK DQ Q _ PORT Note: CO2, Pull-high and Open-d rain are not shown in[...]

  • Страница 31

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 25 (This specification is subject to change without further notice) /SLE P T17 T10 T11 ICIE Interr upt ENI Instruc tion DISI Instruc tion Interr upt (Wake-up from SLEEP) Next Instructio n (Wake-up fr om SLEEP) CLK CLK CLK Q Q Q Q Q Q _ _ _ D D D P P P L L L [...]

  • Страница 32

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 26 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) 6.5 Reset and W ake-up 6.5.1 Reset and Wake-up Operation A reset is initiated by one of the following events : 1. Power-on reset 2. /RESET pin input "low" 3. WDT time-out (if ena [...]

  • Страница 33

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 27 (This specification is subject to change without further notice) The first two cases (1 & 2) will cause the EM78P221/2N to reset. The T and P flags of R3 can be used to determine the source of the reset (wake-up). Cases 3 & 4 are considered the co[...]

  • Страница 34

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 28 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) If Port 6 Input S tatus Change Interrupt is used to wake up the EM78P221/2N (as in Case b above), the following instruct ion s must be executed before SLEP: MOV A, @000110xxb ; Select WDT p[...]

  • Страница 35

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 29 (This specification is subject to change without further notice) The controller can be awak ened from sleep mode and idle mode. The wake-up signals are listed as follows: Signal Sleep Mode Normal Mode DISI + Bank 1-RF (EXIE) Bit 2 = 1 Next Instruction+ Se[...]

  • Страница 36

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 30 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) 6.5.1.2 Register Initial V alues after Reset The following t able summarizes the registers initialized values. Address Name Re set Type Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit N[...]

  • Страница 37

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 31 (This specification is subject to change without further notice) Address Name Reset Ty pe Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit Name P77 P76 P75 P74 P73 P72 P71 P70 Power-on U U U U U U U U /RESET & WDT U U U U U U U U 0x07 Bank 0-R7 Wak[...]

  • Страница 38

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 32 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) Address Name Reset Type Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit Name - - - ICE 220N 211N 212N ICE 220N 211N 212N ICE 220N 211N 212N C81 C80 Power-on 0 0 0 1 0 1 0 1 0 1 1 /RESET[...]

  • Страница 39

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 33 (This specification is subject to change without further notice) Address Name Reset Ty pe Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit Name - - - - - EXIE ICIE TCIE Power-on 0 0 0 0 0 0 0 0 /RESET & WDT 0 0 0 0 0 0 0 0 0xF Bank 1-RF Wake-up fro[...]

  • Страница 40

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 34 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) Address Name Reset Type Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit Name - - - - NRHL NRE LVR1 LVR0- Power-on U U U U 1 1 1 1 /RESET & WDT P P P P 1 1 1 1 0x07 Bank 3-R7 (only f[...]

  • Страница 41

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 35 (This specification is subject to change without further notice) 6.5.2 The T and P Status under Status Register A reset condition is initiated by one of the following events : 1. Power-on reset 2. /RESET pin input "low" 3. WDT time-out (if ena b[...]

  • Страница 42

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 36 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) 6.6 Interrupt The EM78P221/2N has four interrupt s as listed below : 1. TCC overflow interrupt 2. Port 6 Input S tatus Change Interrupt 3. External interrupt INT0, INT1 4. When the Comparat[...]

  • Страница 43

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 37 (This specification is subject to change without further notice) BANK0-RE/RF BANK0-RE/RF RD BANK0-RE/RF WR BANK1-RE/RF RD BANK1-RE/RF WR BANK1-RE/RF Fig. 6-8 Interrupt Input Circuit Interrupt Sources Interrupt occurs ENI/DISI Stack ACC Stack R3 RETI ACC R[...]

  • Страница 44

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 38 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) 6.7 Comparator The EM78P221/2N has one comparator comp rising of two analog inputs and on e output. The comparator can be utilized to wake up th e EM78P221/2N from sleep mode. The comparato[...]

  • Страница 45

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 39 (This specification is subject to change without further notice) NOTE ■ The highest priority of P71/INT1/CO is INT1. When EIS1=0, the working type of P71/INT1/CO is determined by CMPCOS1 and CMPCOS2. ■ The CO and P71of the P71/CO pins cannot be used a[...]

  • Страница 46

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 40 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) 6.7.3.2 Bank 1-RA (CMPCON: Comp arator Control Register) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 EIS1 EIS0 CMPOUT C MP CO S1 C MP CO S0 0 0 0 Bit 5 (CMPOUT): The result of the Comp [...]

  • Страница 47

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 41 (This specification is subject to change without further notice) 6.8 Oscillator 6.8.1 Oscillator M odes The EM78P221/2N can be operated in six different oscillator modes, such as High Crystal oscillator mode (HXT 1, 2), Low Cr ystal oscillator mode (LXT 1[...]

  • Страница 48

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 42 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) In most applications, Pin OSCI and Pin OSCO can be connected with a crystal or ceramic resonator to gen erate oscillation. Fig. 6-13 below depict s such a circuit. The same applies to the H[...]

  • Страница 49

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 43 (This specification is subject to change without further notice) Fig. 6-13-1 Parallel Mode Crystal/Resonator Circuit Diagram[...]

  • Страница 50

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 44 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) 6.8.3 External RC Oscillator Mode For some applications that do not requi re precise timing calculation, the RC oscillator (Fig. 6-14) could of fer a cost-ef fective oscillator configuratio[...]

  • Страница 51

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM Product Specification (V1.0) 10.19.2007 • 45 (This specification is subject to change without further notice) 6.8.4 Internal RC Oscillator M ode The EM78P221/2N of fers a versatile internal RC mo de with default frequency value of 4MHz. Internal RC oscillator mode has other frequencie s (1MHz, 16MHz[...]

  • Страница 52

    EM78P221/2N 8-Bit Microcontroller w ith OTP ROM 46 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) 6.9.2 Residual Voltage Protection When the battery is replaced, device po wer Vdd is removed but residual voltage remains. The residual voltage may trip below Vdd minimum, but not to zero. [...]

  • Страница 53

    EM78P221/2N 8-Bit Microcontroller with OTP ROM Product Specification (V1.0) 10.19.2007 • 47 (This specification is subject to change without further notice) L VR characteristics are set at Code Option Word 0, Bit s 10 and 9. Detailed operation mode is as follows: Word 0 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bi[...]

  • Страница 54

    EM78P221/2N 8-Bit Microcontroller with OTP ROM 48 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) Bits 12 ~ 11 (Ty pe 1, Ty pe 0): Type selection for EM78P221N or EM78P222N Type 1, Type 0 MCU Type 00 Not for use 01 Not for use 10 EM78P221N (24 pins) 11 EM78P222N (28 pins) Note: L VR1 and[...]

  • Страница 55

    EM78P221/2N 8-Bit Microcontroller with OTP ROM Product Specification (V1.0) 10.19.2007 • 49 (This specification is subject to change without further notice) 6.11.2 Code Option Register (Word 1) Word 1 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bi t 1 Bit 0 - - RESET ENB RCOU T NRHL NRE - C3 C2 C1 C0 RCM1 RCM0 Bit 12: Not[...]

  • Страница 56

    EM78P221/2N 8-Bit Microcontroller with OTP ROM 50 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) Bit 1 & Bit 0 (RCM1 & RC M 0): RC mode selection bit s RCM 1 RCM 0 Frequency (MHz) 1 1 4 (Defau lt) 1 0 16 0 1 1 0 0 455kHz 6.11.3 Customer ID Register (Word 2) Word 2 Bit 12 Bit 11 [...]

  • Страница 57

    EM78P221/2N 8-Bit Microcontroller with OTP ROM Product Specification (V1.0) 10.19.2007 • 51 (This specification is subject to change without further notice) Binary Instruction HEX Mnem onic Operation Status Affected 0 0000 0000 0000 0000 NOP No Operation None 0 0000 0000 0001 0001 DAA Decimal Adjust A C 0 0000 0000 0010 0002 CONTW A → CONT None[...]

  • Страница 58

    EM78P221/2N 8-Bit Microcontroller with OTP ROM 52 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) Binary Instruction HEX Mnem onic Operation Status Affected 0 0101 01rr rrrr 05rr INC R R+1 → R Z 0 0101 10rr rrrr 05rr DJZA R R-1 → A, skip if zero None 0 0101 11rr rrrr 05rr DJZ R R-1 ?[...]

  • Страница 59

    EM78P221/2N 8-Bit Microcontroller with OTP ROM Product Specification (V1.0) 10.19.2007 • 53 (This specification is subject to change without further notice) 7 Absolute Maximum Ratings Items Rating Temperature under bias -40 ° C to 85 ° C Storage temperature -65 ° C to 150 ° C Input voltage Vss-0. 3V to Vdd+0.5V Output voltage Vss-0.3V to Vdd+[...]

  • Страница 60

    EM78P221/2N 8-Bit Microcontroller with OTP ROM 54 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) Symbol Parameter Condition Min. Typ. Max. Unit IPH Pull-high curren t (Ports 50~53, 64~67) Pull-high active, input pin at VSS 50 − 90 μ A IPL Pull-lo w current (Ports 60~67) Pull-low acti[...]

  • Страница 61

    EM78P221/2N 8-Bit Microcontroller with OTP ROM Product Specification (V1.0) 10.19.2007 • 55 (This specification is subject to change without further notice) 8.1 Comp arator (OP) Characteristic Vdd = 5.0V, Vss=0V, Ta=25 ° C Symbol Parameter Condition Min. Typ. Max. Unit VOS Input Offset Voltage RL = 5.1K Note 1 − − 10 mV Vcm Input Commo n-Mod[...]

  • Страница 62

    EM78P221/2N 8-Bit Microcontroller with OTP ROM 56 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) 10 Timing Diagrams RESE T Timing (CLK="0") CLK /RESET NOP Instr uction 1 Executed Tdr h TCC Input Timing ( CLKS="0") CLK TCC Ttc c Ti ns A C Testi ng : Input is dr iven a[...]

  • Страница 63

    EM78P221/2N 8-Bit Microcontroller with OTP ROM Product Specification (V1.0) 10.19.2007 • 57 (This specification is subject to change without further notice) APPENDIX A Package Type OTP MCU Package Type Pin Count Package Size EM78P221NKS/NKJ Skinny DIP 24 pins 300mil EM78P221NMS/NMJ SOP 24 pins 300mil EM78P221NAMS/NAMJ SSOP 24 pins 209m il EM78P22[...]

  • Страница 64

    EM78P221/2N 8-Bit Microcontroller with OTP ROM 58 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) B Packaging Configuration B.1 24-Lead Plastic Skinny Dual in line (SDIP) — 300 mil TITL E: PDIP-24L SKI NNY 300MIL PACKAGE OUTLINE DIMENSION Un i t : m m Sc al e: F r ee F ile : K 2 4 Ma t[...]

  • Страница 65

    EM78P221/2N 8-Bit Microcontroller with OTP ROM Product Specification (V1.0) 10.19.2007 • 59 (This specification is subject to change without further notice) B.2 24-Lead Plastic Small Outline (SOP) — 300 mil TI TL E : S OP - 24L ( 300M I L ) P A CK A G E O UTL I NE DI MENS I ON Unit : mm Scal e: Free File : SO24 Mater ial: Edtio n: A Sheet:1 of [...]

  • Страница 66

    EM78P221/2N 8-Bit Microcontroller with OTP ROM 60 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) B.3 24-Lead Plastic Shrink Small Outline (SSOP) — 209 mil TI TL E : S S OP - 24L ( 209M I L ) P A CK A GE O UTL I NE DI ME NS I O N Unit : mm Scale: Free File : SSO24 Material: Edtion: A S[...]

  • Страница 67

    EM78P221/2N 8-Bit Microcontroller with OTP ROM Product Specification (V1.0) 10.19.2007 • 61 (This specification is subject to change without further notice) B.4 28- Lead Plastic Skinny Dual in line (SDIP) — 300 mil TITL E: PDIP-28L SKI NNY 300MIL PACKAGE OUTLI NE DIMENSI ON Unit : mm Scal e: Free File : K28 Mater ial: Edtio n: A Sheet:1 of 1 Sy[...]

  • Страница 68

    EM78P221/2N 8-Bit Microcontroller with OTP ROM 62 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) B.5 28-Lead Plastic Small Outline (SOP) — 300 mil TITL E: SOP-28L (300MI L) PACKAGE OUTLI NE DIMENSI ON Unit : mm Scal e: Free File : SO28 Mater ial: Edtio n: A Sheet:1 of 1 Sy m bal A A1 [...]

  • Страница 69

    EM78P221/2N 8-Bit Microcontroller with OTP ROM Product Specification (V1.0) 10.19.2007 • 63 (This specification is subject to change without further notice) B.6 28- Lead Plastic Shrink Small Outline (SSOP) — 209 mil TITLE: SSOP-28L (209MIL ) OUTLI NE PACKAGE PACKA OUTLI NE DIMENSI ON Unit : mm Scale: Free File : SSO28 Material: Edtion: A Sheet:[...]

  • Страница 70

    EM78P221/2N 8-Bit Microcontroller with OTP ROM 64 • Product Specification (V1.0) 10 .19.2007 (This specification is subject to change without further notice) C Quality Assurance and Reliability Test Category Test Conditions Remarks Solderability Solder temperature=245 ± 5 ° C, for 5 seconds up to the stopper using a rosin-type flux − Step 1: [...]