IBM MiEM78P468N manual

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
71
72
73
74
75
76
77
78
79
80
81
82

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of IBM MiEM78P468N, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of IBM MiEM78P468N one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of IBM MiEM78P468N. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of IBM MiEM78P468N should contain:
- informations concerning technical data of IBM MiEM78P468N
- name of the manufacturer and a year of construction of the IBM MiEM78P468N item
- rules of operation, control and maintenance of the IBM MiEM78P468N item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of IBM MiEM78P468N alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of IBM MiEM78P468N, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the IBM service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of IBM MiEM78P468N.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the IBM MiEM78P468N item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    EM78P468N/L 8-Bit Microcontroller Product Specification D OC . V ERSION 1.5 ELAN MICR OELECTR ONICS COR P. February 2007[...]

  • Page 2

    T radem ark Acknowledgments: IBM is a registered trademark and PS/2 is a tradem ark of IBM. W indows is a tra demark of Microsoft Corporati on. ELAN and ELAN logo are trademarks of EL AN Micr oelectronics Corporat ion. Copy ri ght © 2004~2007 by ELAN Microelectronics Corporation All Rights Reserved Pr inte d in T aiwan , R OC The contents o f in t[...]

  • Page 3

    Contents Product Specif ication (V1. 5) 02.15.20 07 • iii Contents 1 General Description ······· ········ ········ ········ ········· ········ ··········· ········ ········ ········ ··· 1 2 Featu res ······· ········ ········ ······?[...]

  • Page 4

    Contents iv • Produ ct Specification (V1.5) 01. 15.2007 6.2.14 IOC7 1/TCCCR (TCC Control Register) ........... ...... ........ ...... ......... ...... ......... ..... 19 6.2.15 IOC8 1/W D TCR ( W DT Control Register) ... ...... ......... ..... ......... ...... ......... ......... .. 20 6.2. 16 IOC91/CN T12CR (Coun ters 1, 2 Co ntrol Reg ister) ..[...]

  • Page 5

    Contents Product Specif ication (V1. 5) 02.15.20 07 • v APPENDIX A Package T ype ······ ········ ········ ········· ·········· ········· ········ ········ ········ ··········· ········ · 67 B Package Informa tion ······ ········ ·····?[...]

  • Page 6

    Contents vi • Pr oduct Specific ati on ( V1.5) 01.15.20 07[...]

  • Page 7

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 1 (This specification is subject to change without further notice) 1 Gene ral Description The EM78P468N/L is an 8- bit microprocessor design ed and de veloped with low- power and high-speed CMOS technology . Integrated onto a single chip are on chip Wat[...]

  • Page 8

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 2 • Produ ct Specific ati on ( V1.5) 02.15.20 07 (This specification is subject to change without further notice) 3 Pi n A ssignment (1) 64-Pin QF P EM78P468 NQ QFP- 64 12345 6789 1 0 1 1 SEG14 SEG13 SEG12 SEG10 SEG 9 SEG 8 SEG 7 SEG 6 SEG 5 VLCD2 VLCD3 /RESET GND R-OSCI OSCO VDD XIN XOUT P5.4/I NT 0 P5[...]

  • Page 9

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 3 (This specification is subject to change without further notice) Input Pin Outp ut Pi n Input/Outp ut Pin Digital I/O Pin/LCD O utput Pin LCD Outpu t Pin 4 Block Diagram ROM R3 (St atus Reg.) ACC Instr uction Decoder Instr uction Register ALU PC Inter[...]

  • Page 10

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 4 • Produ ct Specific ati on ( V1.5) 02.15.20 07 (This specification is subject to change without further notice) 5 Pin Desc ription T able 1 (a) Pin Descr iption for Pa ckage of QFP6 4 and LQ FP64 Sy mbol Pin No. Ty pe Functio n P5. 4/INT0 3 2 I/O 1-bit G eneral p urpose i nput/output pin/e xternal in [...]

  • Page 11

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 5 (This specification is subject to change without further notice) T able 2 (b) Pin Descr iption for Pa ckage of QFP4 4 an d LQ F P44 Sy mbol Pin No. Ty pe Funct ion P5. 4/INT0 2 1 I/O 1-bit Gener al purpose i np ut/output pi n/external i nterrupt. The [...]

  • Page 12

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 6 • Produ ct Specific ati on ( V1.5) 02.15.20 07 (This specification is subject to change without further notice) 6 Function Description 6.1 Oper ational Register s 6.1.1 R0/IAR (In direct Addr essing Reg ister) (Add ress: 0 0h) R0 i s not a ph ysica lly im plemen ted re gister . Its m ajor f uncti on i[...]

  • Page 13

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 7 (This specification is subject to change without further notice) A1 1 A1 0 A9 A8 A7 ~ A0 R3 CA L L RET RETL RETI 00 PAGE0 0000~03FF 01 PAGE1 0400~07FF 10 PAGE2 0800~0BFF 11 PAGE3 0C00~0F F F PC STACK LEVEL 1 STACK LEVEL 2 STACK LEVEL 3 STACK LEVEL 4 S[...]

  • Page 14

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 8 • Produ ct Specific ati on ( V1.5) 02.15.20 07 (This specification is subject to change without further notice) 6.1.4 R3/ SR (Status R egist er) (Add ress: 0 3h) Bit 7 Bit 6 Bit 5 Bi t 4 Bit 3 Bit 2 Bit 1 Bit 0 − PS1 PS0 T P Z DC C Bit 7 : Not used Bits 6 ~ 5 (PS1 ~ 0): Pag e sele ct bit s PS1 PS0 R[...]

  • Page 15

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 9 (This specification is subject to change without further notice) 6.1.5 R4/R SR (RAM Select Register) (Add ress: 0 4h) Bit 7 Bit 6 Bit 5 Bi t 4 Bit 3 Bit 2 Bit 1 Bit 0 RBS1 RBS0 RSR5 RSR4 RSR3 RSR2 RSR1 RSR0 Bi ts 7 ~ 6 (RBS1 ~ RBS0): deter mi ne which[...]

  • Page 16

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 10 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) 6.1.9 R8/Por t 8 (Port 8 I/O Data Register ) (Add ress: 0 8h) Bit 7 Bit 6 Bit 5 Bi t 4 Bit 3 Bit 2 Bit 1 Bit 0 R8 7 R86 R 85 R84 R8 3 R8 2 R81 R80 Bit s 7~ 0: 8-bit I/O regi sters of Port 8 [...]

  • Page 17

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 11 (This specification is subject to change without further notice) 6.1.11 RA/LCD_ADDR (LCD Address) (Address: 0Ah) Bit 7 Bit 6 Bit 5 Bi t 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 LCD _A 4 LCD _A 3 LCD _A 2 LCD _A 1 LCD _A 0 Bit s 7~ 5: Not used, fixed to “0?[...]

  • Page 18

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 12 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) Bit 1 (CNT2 EN): Co unter 2 en able bit CNT2E N = “0” : Disable Co unter 2 . Stop c ounting operati on. CNT2E N = “1” : Enable Coun ter 2. Sta rt coun ting opera tio n. Bit 0 (CNT1 E[...]

  • Page 19

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 13 (This specification is subject to change without further notice) CPU Operati on Mode Green M o d e fm :s to p fs : os cillat io n CPU : u sin g f s No r m a l M o d e fm:o s c illatio n fs : os c illatio n CPU : u s i n g fos c IDLE Mode fm :s to p f[...]

  • Page 20

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 14 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) Bit 4 : No t used Bit 3 (IRO UTE): Define the funct ion of P5 .7/IROUT pin. IROUTE = “0” : for bi- dir ection al gen eral I /O pin. IROUTE = “1” : for IR or PWM outpu t pi n , the co[...]

  • Page 21

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 15 (This specification is subject to change without further notice) 6.2 S pecial Purpose Registers 6.2.1 A (Accumulator) Inter na l dat a t ransfe r ope r a tion, or instr uctio n operan d hol ding u su all y in vo lve s th e tempor ary stor age f unct [...]

  • Page 22

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 16 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) 6.2.3 IO C60/P6CR (Po rt 6 I/O Contr ol Register) (Address: 06h, Bit 0 of R5 = “0”) Bit 7 Bit 6 Bit 5 Bi t 4 Bit 3 Bit 2 Bit 1 Bit 0 IOC67 IOC66 IOC65 IOC64 IO C63 IOC62 IO C61 IOC60 Bit[...]

  • Page 23

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 17 (This specification is subject to change without further notice) 6.2.8 IOCB0/CNT1PR (Co unter 1 Pres et Registe r) (Addr ess: 0Bh , Bit 0 of R5 = “0”) Bit 7 Bit 6 Bit 5 Bi t 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit 7 Bit 6 Bit 5 Bi t 4 Bit 3 Bit 2 Bit 1 Bit[...]

  • Page 24

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 18 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) 6.2.11 IO CE0/LPWTP R (Low-Pulse W idth Ti mer Preset R egister) (Addr ess: 0Eh , Bit 0 of R5 = “0”) Bit 7 Bit 6 Bit 5 Bi t 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit 7 Bit 6 Bit 5 Bi t 4 Bit 3 Bit 2[...]

  • Page 25

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 19 (This specification is subject to change without further notice) Bit 2 (/WUE8L): 0/1 → enabl e/disable P 8.0~P8. 3 pin ch ange wake -up fu nction Bit 1 (/WUE6H): 0/1 → enable /disabl e P6.4 ~P6.7 pin chan ge wake-u p funct ion Bit 0 (/WUE6L): 0/1[...]

  • Page 26

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 20 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) 6.2.15 IOC81/WDTCR (WDT Con tr ol Regi st er) (Address: 08h, Bit 0 of R5 = “1”) Bit 7 Bit 6 Bit 5 Bi t 4 Bit 3 Bit 2 Bit 1 Bit 0 − − − − WD TE WD T P 2 WD T P 1 WD TP 0 Bit s 7 ~[...]

  • Page 27

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 21 (This specification is subject to change without further notice) B it 3 (CN T 1S): Co un ter 1 c lock so urce s elect 0/1 → Fs/ Fm* Bits 2~0 ( CNT1P2 ~ CNT1 P20): Count er 1 pres caler sele ct bit s CNT1P2 CNT1P1 CNT1P0 Counter 1 Scale 0 0 0 1:2 0 [...]

  • Page 28

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 22 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) 6.2.18 IOCB1/P6PH ( Port 6 Pull -high Contr ol Register) (Address: 0Bh, Bit 0 of R5 = “1”) Bit 7 Bit 6 Bit 5 Bi t 4 Bit 3 Bit 2 Bit 1 Bit 0 PH67 PH66 PH65 PH64 PH63 PH62 PH61 PH60 Bit 7 [...]

  • Page 29

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 23 (This specification is subject to change without further notice) 6.3 T CC and WDT Prescaler Two 8- bit cou nter s are av ailab le as pr esca lers for the T CC (Time Clock Count er) and W DT (Wat chdog Ti mer). The T CCP2~ TCCP0 b i ts of the IO C71 r[...]

  • Page 30

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 24 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) WDT Setting Flowchart N START Use W DT function ? Y Setting WD T prescaler (IOC81 register) Enable WDT (bit 3 of IOC81) END Enable WDT function : set bit 7 of Code optio n W ord 0 to "0[...]

  • Page 31

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 25 (This specification is subject to change without further notice) 6.4 I/O Port s The I/O registers, (Por t 5, Port 6, Port 7 an d Port 8), are bi-direc tional tri -state I/O ports . Port 6 a nd P ort 8 are pull e d-hig h internally by software; Po rt [...]

  • Page 32

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 26 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) T abl e 2 Summar y of Regi sters I n it iali zed V alues Address Name Reset Type Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bi t 2 Bit 1 Bit 0 Bit Na me IOC57 IOC56 IOC55 I OC54 P8HS P8L S P7HS P7LS Powe[...]

  • Page 33

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 27 (This specification is subject to change without further notice) Address Name Reset Type Bit 7 Bit 6 Bit 5 Bi t 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit Na me INT_ED GE INT TS TE PS RE TCCP2 TCCP 1 TCCP 0 Po wer-o n 1 0 1 1 1 1 1 1 /R ESE T & W DT 1 0 1 1 1[...]

  • Page 34

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 28 • Pr odu ct Specification (V1.5) 02. 15. 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 Bi t 0 Bit Name R57 R 56 R 55 R54 X X X IOCPAGE Po wer-on 1 1 1 1 U U U 0 /RESET & WDT 1 1 1 1 U U U 0 0x05 R5 (Port 5) [...]

  • Page 35

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 29 (This specification is subject to change without further notice) The c ontro ller can be a waken ed from slee p mod e and idle mode. The w ake-up sign als are list ed as f ollow s: W ake-up Signal Sleep Mode Idle Mod e Green Mode Normal M ode TCC tim[...]

  • Page 36

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 30 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) 6.6 Oscill ator 6.6.1 Oscil lator Mo des The E M 78 P468 N/EM78 P468L can op erate in thre e diff erent oscil lator mod es i. e., a.) Mai n oscilla tor (R-OSC I, OSCO), such as RC os cilla t[...]

  • Page 37

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 31 (This specification is subject to change without further notice) Bits 6~4 (CLK2~0) of RD: main clock se lection bit s for PLL mode (code optio n select) CLK2 CL K1 CL K0 Main c lock Example Fs=32. 768KHz 0 0 0 Fs × 13 0 4. 26 MH z 0 0 1 Fs × 65 2.1[...]

  • Page 38

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 32 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) 6.6.4 RC Oscillator Mode wi th Intern al C apa cit o r If bo th preci sion and c ost are ta ken in to cons ideration, th is LS I also of fers a special osc illatio n mode, which ha s an on -[...]

  • Page 39

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 33 (This specification is subject to change without further notice) 6.7.1 Ex ternal Po wer-on R eset Circ uit This circuit impl e ments an ext ernal RC to pr o duce a rese t pu lse (s ee Fi g. 6-1 0). Th e pulse widt h (tim e const ant) shoul d be k ept[...]

  • Page 40

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 34 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) 6.8 Interrupt This LSI ha s eight inter rupt source s as li sted b elow:  TCC over flow inte rrup t.  External in terrupt P5 .4/INT0 pin  Ext ernal i nter rupt P 5.5/ INT1 pi n  [...]

  • Page 41

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 35 (This specification is subject to change without further notice) T a ble 3 I nter rupt V ect or Inter rupt V ector Interru pt S t at us 0003H TCC overflow inter rupt. 0006H E xternal int errupt P5 .4/INT0 pi n 0009H E xternal int errupt P5 .5/INT1 pi[...]

  • Page 42

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 36 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) When th e LCD function is dis abled, a ll commo n/segmen t output is set to grou nd (GND ) level Bit 3 : No t used Bit 2 (LCDTYPE): LC D drive w avefor m t ype s ele ct bit LCDTYPE = “0”[...]

  • Page 43

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 37 (This specification is subject to change without further notice) 6.9.4 RD/SBPCR (System, Booster and PLL Control Registers) Bit 7 Bi t 6 Bit 5 Bit 4 Bit 3 Bit 2 Bi t 1 Bit 0 − CLK2 CLK1 CLK0 IDLE BF1 BF0 CPUS Bit 2 ~ 1 ( BF1 ~ 0 ): LCD boo ster f r[...]

  • Page 44

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 38 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) Boos ting circ uits conn ection fo r LCD v oltage VDD VLCD2(2*VDD/3) VLCD3( 1*VDD/3) GND VA VB Ex ternal c ircuit for 1/3 B ias VDD VLCD2(VDD/ 2) VLCD3(VDD/ 2) GND VA VB Ex ternal circui t f[...]

  • Page 45

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 39 (This specification is subject to change without further notice) 1 fra me COM 0 COM 1 SEG N SEG N - CO M0 VDD VLC D2,3 GN D VDD VLC D2,3 GN D VDD VLC D2,3 GN D VDD VLC D2,3 GN D -VLCD2,3 -VD D VDD VLC D2,3 GN D -VLCD2,3 -VD D SEG N - CO M1 ON OFF 1/2[...]

  • Page 46

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 40 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) 1 fra me COM 0 COM 1 COM 2 SEG N SEG N - COM0 VDD VLC D2 VLC D3 GN D VDD VLC D2 VLC D3 GN D VDD VLC D2 VLC D3 GN D VDD VLC D2 VLC D3 GN D VDD VLC D3 GN D -VLCD3 -VDD SEG N - COM1 ON OFF 1/3 [...]

  • Page 47

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 41 (This specification is subject to change without further notice) 6.10 Infr ared Remote Co ntrol Applic ation/ PWM W aveform Gener ate This LSI can o ut put infrared carrier i n user-friendly o r in PWM s t andard waveform. The IR and PWM waveform gen[...]

  • Page 48

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 42 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) The IROUT ou tput wave form is furthe r explai ned in t he follo wing fig ures: Fig. 6-21 LGP=0, H F=1 , the IRO UT wa veform can modula te Fc arrier wavefor m when in low -puls e w idth t i[...]

  • Page 49

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 43 (This specification is subject to change without further notice) Fcarrier low-pulse width high-pulse w idth IRO U T start HF IRE hi gh-p ulse wi dt h low -p u ls e w idth IR disable Always high-leve l F i g. 6- 2 3 L GP= 0, I ROU T Pi n Out p ut Wav [...]

  • Page 50

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 44 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) IR/PWM Function Enable Fl ow chart (a) IR appli catio n (b) P W M ap pli cation Fig. 27 IR/PWM Function Enable Flowchart SET P5.7 to Output state (IOC 50) SET P5.7 fo r IR /P WM F uncti o n [...]

  • Page 51

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 45 (This specification is subject to change without further notice) 6.1 1 Code Options The EM7 8P4 68N/L has o ne Code Opti on w ord th at is not a part of the normal prog ram memor y. The opt ion bit s cann o t be acces se d dur in g nor ma l prog ram [...]

  • Page 52

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 46 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) Bit 3 (HLP): P ower consump tion selec tion. If the sys tem usually runs in g reen mode, it must be s et to low p ower cons umpti on to help suppo rt t he e nerg y savin g is sue. It is reco[...]

  • Page 53

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 47 (This specification is subject to change without further notice) Convention : R = Reg ister designator that spe cifies which one of the registers (inclu ding operation and gene ral purpose registers) is to b e utiliz ed by the in struction. b = Bit f[...]

  • Page 54

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 48 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) Bina ry Instru ct io n Hex Mnemonic Op er ati on Status Affected 0 0110 00rr rrrr 06rr RRC A R R(n) → A(n- 1), R(0) → C, C → A(7 ) C 0 0110 01rr rr rr 06rr RRC R R(n) → R(n- 1), R(0)[...]

  • Page 55

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 49 (This specification is subject to change without further notice) 6.13 Timing Diagram RESET Timi n g ( CLK= " 0 " ) CLK / RES ET NOP Inst ru ct io n 1 Exec u t ed Tdr h T C C I nput T im i ng (C L K S = "0 ") CLK TCC Ttcc Tins AC T[...]

  • Page 56

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 50 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) 7 A bsolu te Max im um Ra tin gs Rating Items Sy m bol Condit ion Min . Max . Unit Supply voltage VDD − GND- 0. 3 +7.0 V Input v oltage V I Po rt 5 ~ Port 8 GND-0.3 VDD+0. 3 V Output volta[...]

  • Page 57

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 51 (This specification is subject to change without further notice) 8 Electrica l Characteristic 8.1 DC Electrical Characte ristics Ta = - 4 0 ° C ~ 85 ° C, V DD= 5. 0V , G ND= 0 V Symbol Parameter Condition Min. Ty p. Max. Unit FXT Crys t al : VDD to[...]

  • Page 58

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 52 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) Ta = - 4 0 ° C ~ 85 ° C, V DD= 3. 0V , G ND= 0 V Symbol Parameter Condition Min. Ty p. Max. Unit FXT Crys t al : VDD to 5 V Two cyc l es with two clocks 32 .7 68 8M 10M kHz Fs Sub-oscillat[...]

  • Page 59

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 53 (This specification is subject to change without further notice) 8.2 A C Electr ical Characterist ics Ta = - 4 0 ° C ~ 85 ° C, V D D= 5 V ± 5%, GND=0V Sy mbol Parameter Conditio ns Min Typ Max Unit Dclk Input CLK duty cycle − 45 50 5 5 % Crystal[...]

  • Page 60

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 54 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) 8.3 Device Charac teristic The gra phs p rovid e d i n th e foll o win g pag es were d e rived base d on a l im ited numbe r of samp les an d are s how n her e for r e fer ence on ly. Th e d[...]

  • Page 61

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 55 (This specification is subject to change without further notice) Vi h/ Vil ( Por t 7, Por t 8 A l l I nput pins wi t h schmi t t inver te r ) 0 0.5 1 1.5 2 2.5 22 . 533 . 544 . 555 . 5 Vd d ( Vo lt ) Vih V il (V olt ) Vih Max. (-4 0 ℃ to +85 ℃ ) [...]

  • Page 62

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 56 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) P5. 7 Voh/ I oh (VDD=5V, I RO CS="1") -50 -40 -30 -20 -10 0 012 345 Voh (Vo l t ) Ioh (mA ) Max : -40 ℃ Ty p : + 2 5 ℃ Min : +85 ℃ P 5 .7 V o h /Io h (V D D =3 V , IR OC S = [...]

  • Page 63

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 57 (This specification is subject to change without further notice) P5. 7 Voh/ I oh ( VDD = 5V, I RO CS="0") 0 10 20 30 40 50 60 70 80 012 345 Voh (Vol t ) Io h (mA ) Max : -40 ℃ Ty p : + 2 5 ℃ Min : +85 ℃ P5. 7 Voh/ Ioh ( V DD=3 V, I R [...]

  • Page 64

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 58 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) P5.4~ 5.6, PO RT 6, 7, 8 Voh/Ioh (V DD= 5V ) 0 10 20 30 40 50 60 70 80 90 012 345 Voh (Vol t ) Io h (m A ) Min : +85 ℃ Ty p : + 2 5 ℃ Max : -40 ℃ P5.4~5.6, POR T 6, 7, 8 V oh/Ioh ( V D[...]

  • Page 65

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 59 (This specification is subject to change without further notice) Typ ica l R C OSC Freque ncy ( R- O SC I P in) 0 0. 3 0. 6 0. 9 1. 2 1. 5 1. 8 2. 1 2. 4 2 2 .5 3 3 .5 4 4.5 5 5 .5 VDD ( Vo l t ) Frequency (M Hz ) R = 51 K R = 100 K R = 300 K T y pic[...]

  • Page 66

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 60 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) Fig. 8-13 Typic al ERIC OSC Fr equency vs. Temperat ur e (Xin Pin) Ther e are fou r co nditio ns or modes f or the O perat ing C urrent I CC1 t o ICC4 . T hese condit io ns ar e as fol low s[...]

  • Page 67

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 61 (This specification is subject to change without further notice) Ty pic a l I CC3 v s . Te m e ra t ur e 0 0. 4 0. 8 1. 2 1. 6 2 -4 0 -2 0 0 2 5 5 0 70 85 T em p erat u re ( ℃ ) C urre nt (mA ) VDD=5V VDD=3V Fig. 8-1 4 Typi cal Power Cons umptio n [...]

  • Page 68

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 62 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) Ty pic a l I C C2 v s. T em er a t u r e 0 5 10 15 20 25 30 - 4 0 - 2 00 2 55 0 7 08 5 Tem p erat u re ( ℃ ) C urre nt (u A ) VDD=5V VDD=3 V Fig. 8-16 Typical Power Co nsumption o n Green [...]

  • Page 69

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 63 (This specification is subject to change without further notice) Ty pic a l I CC1 vs . T e m e r a tur e 0 5 10 15 20 - 4 0 - 2 0 0 2 5 5 07 08 5 T em p er at u re ( ℃ ) Cur r e nt ( uA ) VDD=5V VDD=3 V Fig. 8-18 Typi c al Power Consu mptio n on Id[...]

  • Page 70

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 64 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) Ty pic a l I S B v s . Te m e ra ture 0 0. 2 0. 4 0. 6 0. 8 1 - 4 0 - 2 0 0 2 55 0 7 08 5 T em p er at u re ( ℃ ) Cur r en t ( u A) VDD= 5V VDD=3V Fig. 8-20 Typic al Power Consumptio n on [...]

  • Page 71

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 65 (This specification is subject to change without further notice) Fig. 8-22 Operat i ng Voltage under Te mperature R ange of 0 ° C to 7 0 ° C Fig. 8-23 Operati ng Voltage under Temperat ure Range of -40 ° C to +85 ° C[...]

  • Page 72

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 66 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) 9 App lica tion C irc uit LCD P A N EL COM0 | COM3 SEG0 | SEG3 1 5 1 6 2 7 3 8 4 D 9 E A F B G C P6 . 0 P6 . 1 P6 . 2 P6 . 3 P6 . 4 P6 . 5 P6 . 6 P6 . 7 VDD IR O UT EM 78P468N Fig. 9 -1 IR O[...]

  • Page 73

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 67 (This specification is subject to change without further notice) A PPENDIX A Pack age T y pe Name Pac kage T y pe P in Count Package Siz e EM 78P 46 8LH Di ce 59 − EM78P468N Q QFP 64 14 mm × 20 mm EM78P468N QS/NQJ QFP 64 14 mm × 20 mm EM78P468NA [...]

  • Page 74

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 68 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) B Pack age I nfo rmat ion QFP – 64 TITLE: QFP-64 L(14*20 MM ) FOOTPRINT 5.0mm PACKAGE OU TLINE DI MENSI ON Unit : mm Scal e: Free File : QFP 64L Material: Edtion: A Sheet:1 of 1 A1 Symbal [...]

  • Page 75

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 69 (This specification is subject to change without further notice) LQFP – 64 TI TLE: LQFP 64L ( 7*7 MM ) FOOT PRINT 2.0 mm PACKAGE OU TLINE DIME N SION Un it : m m Scal e: Fr ee Fi l e : LQF P 64 L Ma te r i a l : E d tio n : A S h e e t:1 o f 1 L1 L[...]

  • Page 76

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 70 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) QFP – 44 TITLE: QFP-44L( 10*10 M M) FOOTPR INT 3.2m m PACKAGE OU TLINE DIMENS ION Unit : mm Scale: Free Fil e : QFP44 Mater ial: Edtion: A Shee t:1 of 1 c Sym b al A A1 A2 b c E1 E L L1 e [...]

  • Page 77

    EM 78P468N/EM78P 468L 8-Bit Microcontroller Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 71 (This specification is subject to change without further notice) C EM78P468N/L Prog ram Pin L ist D W R T is used to prog ram the EM78 P468N /L IC’s . The con necto r of DWTR are sel ect by C ON4 (EM7 8P451), and the softwar e is sele cted by EM78P[...]

  • Page 78

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 72 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) D ICE 468 XA D.1 ICE 468 XA Oscill ato r Circu it (J P 5 ) Mode 1 : Main osci lla t or : Cr ystal mode, Sub os c il lat or: Cr yst al mode Su b oscillat or Ma i n o scillato r GN D GN D R- O[...]

  • Page 79

    EM 78P468N/EM78P 468L 8-Bit Microcontrol ler Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 73 (This specification is subject to change without further notice) Mode 4 : Main osci llat or : Cr ystal m ode, Sub os cil lat or : RC mod e Su b os ci llat or Ma i n o scillato r GND GN D R - OSCI OSC O GN D GND Xin Xo u t Xin R- O S C I VD D VD D Cr[...]

  • Page 80

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 74 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) D.2 I CE 468XA Output P in Assignme nt ( JP 3) 1 2 3 VB 5 7 9 1 11 31 51 71 92 12 3 2 5 2 72 93 13 33 53 73 94 14 34 54 74 95 15 35 55 75 9 4 6 8 1 01 21 41 61 82 02 22 42 6 2 83 03 23 43 63[...]

  • Page 81

    EM 78P468N/EM78P 468L 8-Bit Microcontrol ler Product Specif ication ( V 1. 5) 02. 1 5. 2 0 07 • 75 (This specification is subject to change without further notice) E Quality A ss urance an d Reliability Test Categor y Tes t C ond iti ons Remarks Solde rability Sol der tem p e ra t ur e= 245 ± 5°C, for 5 seconds up to the stopper using a rosin-t[...]

  • Page 82

    EM78P468N/E M78P468L 8-Bit Mi crocontroller 76 • Pr odu ct Specification (V1.5) 02. 15. 2007 (This specification is subject to change without further notice) CONTENTS ..... ......... ........ ........... ........ ........ ........ ........ ........... ......... ........ ........ ........ III 6.1 Operational Regis ters · ········· ···[...]