Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/newdedyk/domains/bkmanuals.com/public_html/includes/pages/manual_inc.php on line 26
IBM EM78P221/2N manuale d’uso - BKManuals

IBM EM78P221/2N manuale d’uso

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

Vai alla pagina of

Un buon manuale d’uso

Le regole impongono al rivenditore l'obbligo di fornire all'acquirente, insieme alle merci, il manuale d’uso IBM EM78P221/2N. La mancanza del manuale d’uso o le informazioni errate fornite al consumatore sono la base di una denuncia in caso di inosservanza del dispositivo con il contratto. Secondo la legge, l’inclusione del manuale d’uso in una forma diversa da quella cartacea è permessa, che viene spesso utilizzato recentemente, includendo una forma grafica o elettronica IBM EM78P221/2N o video didattici per gli utenti. La condizione è il suo carattere leggibile e comprensibile.

Che cosa è il manuale d’uso?

La parola deriva dal latino "instructio", cioè organizzare. Così, il manuale d’uso IBM EM78P221/2N descrive le fasi del procedimento. Lo scopo del manuale d’uso è istruire, facilitare lo avviamento, l'uso di attrezzature o l’esecuzione di determinate azioni. Il manuale è una raccolta di informazioni sull'oggetto/servizio, un suggerimento.

Purtroppo, pochi utenti prendono il tempo di leggere il manuale d’uso, e un buono manuale non solo permette di conoscere una serie di funzionalità aggiuntive del dispositivo acquistato, ma anche evitare la maggioranza dei guasti.

Quindi cosa dovrebbe contenere il manuale perfetto?

Innanzitutto, il manuale d’uso IBM EM78P221/2N dovrebbe contenere:
- informazioni sui dati tecnici del dispositivo IBM EM78P221/2N
- nome del fabbricante e anno di fabbricazione IBM EM78P221/2N
- istruzioni per l'uso, la regolazione e la manutenzione delle attrezzature IBM EM78P221/2N
- segnaletica di sicurezza e certificati che confermano la conformità con le norme pertinenti

Perché non leggiamo i manuali d’uso?

Generalmente questo è dovuto alla mancanza di tempo e certezza per quanto riguarda la funzionalità specifica delle attrezzature acquistate. Purtroppo, la connessione e l’avvio IBM EM78P221/2N non sono sufficienti. Questo manuale contiene una serie di linee guida per funzionalità specifiche, la sicurezza, metodi di manutenzione (anche i mezzi che dovrebbero essere usati), eventuali difetti IBM EM78P221/2N e modi per risolvere i problemi più comuni durante l'uso. Infine, il manuale contiene le coordinate del servizio IBM in assenza dell'efficacia delle soluzioni proposte. Attualmente, i manuali d’uso sotto forma di animazioni interessanti e video didattici che sono migliori che la brochure suscitano un interesse considerevole. Questo tipo di manuale permette all'utente di visualizzare tutto il video didattico senza saltare le specifiche e complicate descrizioni tecniche IBM EM78P221/2N, come nel caso della versione cartacea.

Perché leggere il manuale d’uso?

Prima di tutto, contiene la risposta sulla struttura, le possibilità del dispositivo IBM EM78P221/2N, l'uso di vari accessori ed una serie di informazioni per sfruttare totalmente tutte le caratteristiche e servizi.

Dopo l'acquisto di successo di attrezzature/dispositivo, prendere un momento per familiarizzare con tutte le parti del manuale d'uso IBM EM78P221/2N. Attualmente, sono preparati con cura e tradotti per essere comprensibili non solo per gli utenti, ma per svolgere la loro funzione di base di informazioni e di aiuto.

Sommario del manuale d’uso

  • Pagina 1

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

  • Pagina 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[...]

  • Pagina 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 ........................................................................[...]

  • Pagina 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.[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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 [...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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,[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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 [...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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?[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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 [...]

  • Pagina 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 [...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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 [...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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. [...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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 [...]

  • Pagina 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[...]

  • Pagina 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 ?[...]

  • Pagina 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+[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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 [...]

  • Pagina 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[...]

  • Pagina 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[...]

  • Pagina 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 [...]

  • Pagina 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:[...]

  • Pagina 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: [...]