Go to page of
Similar user manuals
-
Network Card
IBM EM78M611E
44 pages 0.6 mb -
Network Card
IBM uPD78P081(A2)
274 pages 1.38 mb -
Network Card
IBM EM78P221/2N
70 pages 0.74 mb -
Network Card
IBM PD78081
274 pages 1.38 mb -
Network Card
IBM ARTIC186
48 pages 0.45 mb -
Network Card
IBM LPCI-COM232-8
24 pages 0.22 mb -
Network Card
IBM PCI Special NIC 16/4
3 pages 0.02 mb -
Network Card
IBM MiEM78P468N
82 pages 0.82 mb
A good user manual
The rules should oblige the seller to give the purchaser an operating instrucion of IBM Elan EM78P259N/260N, 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 Elan EM78P259N/260N 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 Elan EM78P259N/260N. 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 Elan EM78P259N/260N should contain:
- informations concerning technical data of IBM Elan EM78P259N/260N
- name of the manufacturer and a year of construction of the IBM Elan EM78P259N/260N item
- rules of operation, control and maintenance of the IBM Elan EM78P259N/260N 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 Elan EM78P259N/260N 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 Elan EM78P259N/260N, 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 Elan EM78P259N/260N.
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 Elan EM78P259N/260N 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
EM78P259N/260N 8-Bit Microprocessor with OTP ROM Product Specification D OC . V ERSION 1.2 ELAN MICROELECTRONICS CORP. May 2007[...]
-
Page 2
T rademark Acknowledgments: IBM is a registered trad emark and PS/2 is a trademark of IBM. W indows is a trademark of Microsoft Corporation. ELAN and ELAN logo are trademarks of ELAN Microelectronics Corporation. Copy right © 2005~2007 by ELAN Microelectr onics Co rporation All Rights Reserved Printed in T aiwan The contents of this specification [...]
-
Page 3
Contents Product Specificat ion (V1.2) 0 5.18.2007 • iii Contents 1 General Description .................................................................................................. 1 2 Features ..................................................................................................................... 1 3 Pin Assignment ...........[...]
-
Page 4
Contents iv • Product Specifica tio n (V1.2) 05.18.2007 6.2.13 IOC61 (TCCB Counter) ......... ................... ....................... .................. .............. 23 6.2.14 IOC71 (TCCBH/M SB Counter) .......................... ....................... .................. ..... 24 6.2.15 IOC81 (TCCC Co unter) ..... ....................... .[...]
-
Page 5
Contents Product Specificat ion (V1.2) 0 5.18.2007 • v 6.1 1 Oscill ator ......................................................................................................... 60 6.1 1.1 Oscillator Mode s ...... ....................... .................. ....................... ....................... 60 6.1 1.2 Crystal Oscillato r/Ceramic Res[...]
-
Page 6
Contents vi • Product Specification (V1.2) 05.18.2007 Specificati on Revision History Doc. Version Revision Descr iption Date 1.0 Init ial official version 2005/06/ 16 1.1 Added the IRC d rift rate in the fe ature 2006/05/29 1.2 1. Improve d the contents and f ormat of the Featu res section, Fig.4-1 EM78P259N /260N Functional Bl ock Diagram , Fi [...]
-
Page 7
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 1 (This specificatio n is subject to change without f urther notice) 1 General Description The EM78P259N an d EM78P260N are 8-bit microproc essors designed and devel oped with lo w-power and high-spee d CMOS technology . Th e series has an on-c hip 2[...]
-
Page 8
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 2 • Product Specificatio n (V1.2) 05.18.2007 (This specification is sub ject to change without further notice) 3 Pin Assignment (1) 18-Pin DIP/SOP P52/ADC2 P53/ADC3 P54/TCC/VREF /RESET Vss P60//INT P61 /TC CA P62 /TC CB P63/TCCC P55 /OS CI P70/OSCO VDD P67/IR OUT P65/CIN+ EM78P259NP EM78P259NM 1 2 [...]
-
Page 9
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 3 (This specificatio n is subject to change without f urther notice) 5 Pin Description 5.1 EM78P259NP/M Symbol Pin No. Type Function P70 15 I/O General pur pose input/ou tput pin Default val ue after a power-on reset P60~P67 6~13 I/O General pur pose[...]
-
Page 10
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 4 • Product Specificatio n (V1.2) 05.18.2007 (This specification is sub ject to change without further notice) 5.2 EM78P260NP/M/KM Symbol Pin No. Type Function P70 16 I/O General pur pose input/ou tput pin Default val ue after a power-on reset P60~P67 7~14 I/O General pur pose input/ou tput pin Ope[...]
-
Page 11
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 5 (This specificatio n is subject to change without f urther notice) 6 Function Description 6.1 Operational Registers 6.1.1 R0 (Indirect Address Register) R0 is not a physically implemented register . Its major function is to perform as an indirect a[...]
-
Page 12
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 6 • Product Specificatio n (V1.2) 05.18.2007 (This specification is sub ject to change without further notice) "JMP" instruction allows direct load ing of the lower 10 program counter bits. Thus, "JMP" allow s PC to jump to any location with in a page. "CA LL" [...]
-
Page 13
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 7 (This specificatio n is subject to change without f urther notice) 6.1.3.1 Dat a Memory Configuration Address R PAGE registers IOCX0 PAGE registers 00 R0 (Indirect Ad dressing Register) Reserve 01 R1 (Time Clock Counter) CONT (Control Register) 02 [...]
-
Page 14
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 8 • Product Specificatio n (V1.2) 05.18.2007 (This specification is sub ject to change without further notice) 6.1.4 R3 (Status Regi ster ) Bit 7 Bit 6 Bi t 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RST IOCS PS0 T P Z DC C Bit 7 (RST): Bit of r eset type Set to “1” if wake-up from sleep on pin change, co[...]
-
Page 15
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 9 (This specificatio n is subject to change without f urther notice) 6.1.6 R5 ~ R6 (Port 5 ~ Port 6) R5 & R6 ar e I/O reg ister s The upper 2 bits of R5 are fixed to “0” (if EM78 P 259N is selected). Only the lower 6 bits of R5 a re available[...]
-
Page 16
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 10 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) Bit 3 & Bit 2 (RCM1, RCM0): IRC mod e selection bit s RCM 1 RCM 0 Frequenc y (MHz ) 1 1 4 (default) 1 0 8 0 1 1 0 0 455kHz 6.1.8 R8 (AISR: ADC Input Select Register) The AISR register[...]
-
Page 17
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 11 (This specificatio n is subject to change without f urther notice) 6.1.9 R9 (ADCON: A DC Control Register) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 VREFS CKR1 CKR0 ADRUN ADPD – ADIS1 ADIS0 Bit 7 (VREFS): Input source of the V ref of the A[...]
-
Page 18
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 12 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) Bit 1 ~ Bit 0 (ADIS1 ~ADIS0): Analog Input Select 00 = ADIN0/P50 01 = ADIN1/P51 10 = ADIN2/P52 1 1 = ADIN3/ P53 These bits can only be changed when the A DIF bit (see Section 6.1.14, RE ([...]
-
Page 19
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 13 (This specificatio n is subject to change without f urther notice) 6.1.12 RC (ADDATA1H: Converted Value of ADC) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 “0” “0” “0” “0” AD11 AD10 AD9 AD8 When AD conversion is comp leted, t h[...]
-
Page 20
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 14 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) Bit 2 (CMPWE): Comparator wake-up enable bit 0 = Disable Comparator wake-up 1 = Enable Comp arator wake-up When C omparator enters sleep mode, this bit must b e set to “Enable.“ Bit 1[...]
-
Page 21
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 15 (This specificatio n is subject to change without f urther notice) 6.2 S pecial Purpose Registers 6.2.1 A (Accumulator) Internal data transfer operation, or instruction operand holding usually involves the temporary storage function of the Accumul[...]
-
Page 22
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 16 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) Bit 2 ~ Bit 0 (PST2 ~ PST0): TCC prescaler bits PST2 PST1 PST0 TCC Ra t e 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 Note: Tcc time -out p[...]
-
Page 23
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 17 (This specificatio n is subject to change without f urther notice) Bit 1 (TCCA TS): TCCA signal source 0 =: internal instruction cycle clock. P61 is a bi-directional I/O pin. 1 = transit thr ough the TCCA pin Bit 0 (TCCA TE): TCCA signal edge 0 = [...]
-
Page 24
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 18 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 0 = increment if the tran sition from low to high takes place on the TCCC pin 1 = increment if the transition from high to low ta kes place on the TCCC pin 6.2.6 IO CA0 (IR and TCCC Scale[...]
-
Page 25
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 19 (This specificatio n is subject to change without f urther notice) Bit 6 ~ Bit 4 (TCCCS2 ~ TCCCS0): TCCC scale bits The TCC CS 2 ~ TCCCS0 b its of the IOCA0 register are used to determine the scale ratio of TC CC as shown below : TCCCS2 TCCCS1 TCC[...]
-
Page 26
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 20 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 6.2.7 IO CB0 (Pull-down Control Register) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 /PD57 /PD56 /PD55 /PD54 /PD53 /PD52 /PD51 /PD 50 Note: The IOCB0 register is bot h readable and w[...]
-
Page 27
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 21 (This specificatio n is subject to change without f urther notice) 6.2.9 IOCD0 (Pull-h igh Control Regi ster) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 /PH57 /PH56 /PH55 /PH54 /PH53 /PH52 /PH51 /PH 50 Note: The IOCD0 register is both readabl[...]
-
Page 28
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 22 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) Bit 5 (ADIE): ADIF inte rrupt enable bit 0 = disable ADIF interrupt 1 = ena ble ADIF interrupt Bit 4 (CMPIE ) : CMPIF interrupt enable bit. 0 = disable CMPIF interrupt 1 = enabl e CMP IF [...]
-
Page 29
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 23 (This specificatio n is subject to change without f urther notice) Bit 5 (TCCCIE): TCCCIF interrupt enable bit 0 = Disable TCCCIF interrupt 1 = Enable TCCCIF int errupt Bit 4 (TCCBIE): TCCB IF i nterru pt en able bit 0 = Disable TCCBIF inter rupt [...]
-
Page 30
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 24 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 6.2.14 IOC71 (TCC BH/MSB Counter) The IOC71 (TCCBH) is an 8-bit clock coun ter for the most significan t byte of TCCBX (TCCBH) . It can be read, written, and cleared on any reset conditio[...]
-
Page 31
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 25 (This specificatio n is subject to change without f urther notice) 6.2.16 IOC91 (Low Time Register) The 8-bit Low time register controls the active or Low segment of the pulse. The decimal va lue of its contents determines the n umber of oscillato[...]
-
Page 32
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 26 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) Bit 6 ~ Bit 4 (HTS2 ~ HTS0): High time sca le bits : HTS2 HTS1 HTS0 High time 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 3 (LTSE): Low[...]
-
Page 33
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 27 (This specificatio n is subject to change without f urther notice) 6.3 TCC/ WDT an d Prescaler There are two 8-bit counters available as prescalers that can be extended to 16-bit counter for the TCC and WDT re spectively . The PST2 ~ PST0 bits o f[...]
-
Page 34
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 28 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 8- Bi t c ount er WDT P r escaler 8 t o 1 M U X WD T Ti m e out WDTE (IO C E 0 ) TC C Pi n MUX 1CLK ( Fosc/ 1) 8- Bi t Count er ( I OC C1) 8 t o 1 M U X TE (CO N T) Dat a Bus TCC over f l[...]
-
Page 35
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 29 (This specificatio n is subject to change without f urther notice) PCWR PCRD PDWR PDRD IOD 0 1 M U X PORT Q Q _ D D Q Q _ CLK P R C L CLK P R C L Note: Open-drain is not shown in the figure. Fig. 6-3 I/O Port and I/O Control Registe r Circuit for [...]
-
Page 36
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 30 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) PCRD M U X IOD 0 1 PDRD P50 ~ P57 PCWR D Q Q _ CLK P R C L PDWR D Q Q _ CLK P R C L P R C L CLK DQ Q _ TI n POR T Note: Pull-hi gh (down) is not shown in the figure. Fig. 6-5 I/O Po rt an[...]
-
Page 37
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 31 (This specificatio n is subject to change without f urther notice) 6.4.1 Usage of Port 5 Inp ut Cha nge Wa ke- up/Interr upt Func tion (1) Wake-up (2) Wake-up and Interrupt (a) Before Sleep (a) Before Sleep 1. Disable WDT 1. Disable WDT 2. Read I/[...]
-
Page 38
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 32 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) All I/O port pins are configured as inpu t mode (hig h-impedance state) The W atchdog T imer and prescaler are cleared When power is switched on, the upper 3 bits of R3 is cle[...]
-
Page 39
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 33 (This specificatio n is subject to change without f urther notice) Case [c] If Comparator output st atus change is used to wake-up the EM78P259N/ 260N and CMPWE bit of the RE register is enabled before SLEP , WDT must be disabled by software. Henc[...]
-
Page 40
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 34 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 6.5.1.1 W ake-Up and Interrupt Modes Operation Summary All categories under Wake-up and Interru pt modes are summarized below. Signal Sleep Mode Normal Mode DISI + IOCF0 ( EXIE) Bit2=1 Ne[...]
-
Page 41
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 35 (This specificatio n is subject to change without f urther notice) Signal Sleep Mode Norma l Mo de RE (CMPWE) Bit2=0, IOCE0 (CMPIE) Bit4=0 IOCF0 (CMPIE) Bit4=0 Comparator output st atus changed wake-up is inv alid. Oscillator, TCC, T CCX and IR/PW[...]
-
Page 42
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 36 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 6.5. 1.2 Reg ister Ini tial V al ues after Re set The following summarizes the init ialized valu es for registers. Address Name Reset Type Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 [...]
-
Page 43
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 37 (This specificatio n is subject to change without f urther notice) Address Name Reset Type Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit Name /PH57 /P H56 /PH55 /PH54 /PH53 /PH 5 2 /PH51 /PH50 Power- on 1 1 1 1 1 1 1 1 /RESET and WDT 1 1 1 1[...]
-
Page 44
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 38 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject 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 HTR7 HTR6 HTR5 HTR4 HTR3 HTR2 HTR1 HTR0 Power- on 0 0 0 0 0 0 0 0 /RESET and W DT 0 0 0 0 0 0 0 0 N/A IOCA[...]
-
Page 45
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 39 (This specificatio n is subject to change without f urther notice) Address Name Reset Type Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit Name X BS X X X X X X Power-on 0 0 U U U U U U /RESET and WDT 0 0 P P P P P P 0x04 R4(RS R) Wake-up from[...]
-
Page 46
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 40 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) Address Na me Reset Type Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit Name “0” “0” “0” “0” AD11 AD 10 A D9 AD8 Power-on 0 0 0 0 U U U U /RESET and WDT 0 0 0 0 U U U[...]
-
Page 47
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 41 (This specificatio n is subject to change without f urther notice) 6.5.2 The T and P Status under STATUS (R3) R egister A reset condition is initiated by one of the following events : 1. Power-on reset 2. /RESET pin input "low " 3. WDT t[...]
-
Page 48
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 42 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) The ex tern al int erru pt has an on- chip d igit al nois e rej ecti on ci rcuit . Input puls e less than 8 system clock tim e is eliminated as noise. However, in Low Crystal oscilla tor [...]
-
Page 49
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 43 (This specificatio n is subject to change without f urther notice) INT ENI/DISI IOD RFWR IOCFRD IOCFW R IRQ n IRQ m RFRD IOC F /RES ET /IRQ n VCC RF CLK CLK Q Q D P R L C _ P R L C Q Q _ D Fig. 6-8 Interr upt Input Circuit Interrupt sources Interr[...]
-
Page 50
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 44 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 6.7 Analog-to-Digital Converter (ADC) The analog-to-digital circuitry consist of a 4-bit analog multiplexer; three control registers (AISR /R8, ADCON/R9, & ADOC/RA), three da ta regis[...]
-
Page 51
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 45 (This specificatio n is subject to change without f urther notice) Bit 1 (ADE1): AD converter enable bit of P51 pin 0 = Disable ADC1, P51 act s as I/O pin 1 = Enable ADC1 acts as analog input pin Bit 0 (ADE0): AD converter enable bit of P50 pin 0 [...]
-
Page 52
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 46 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) Bit 4 (ADRUN): ADC starts to RUN. 0 = res et on compl etio n of the c onve rsion. This bit cannot be rese t though so ftware. 1 = an A D conversion is started. This bit can be set by soft[...]
-
Page 53
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 47 (This specificatio n is subject to change without f urther notice) 6.7.2 ADC Data Register (ADDATA/RB, ADDATA1H/RC, ADDATA1L/RD) When the AD conversion is completed, the result is load ed to the ADDA T A, ADDA T A1H and ADDA T A1L registers. The A[...]
-
Page 54
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 48 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 3. ADWE bit of the RE register is set to “1.” Wake-up from ADC conversion (where it remains in operation during sleep mode). 4. Wake-up and executes the next instruction if ADIE bit o[...]
-
Page 55
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 49 (This specificatio n is subject to change without f urther notice) NOTE In order to obtain accurat e values, it is necessary to av oid any data tr ansition on th e I/O pins dur ing AD conversion . 6.7. 6.2 S ample Dem o Pr ogram s A. Define a Ge n[...]
-
Page 56
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 50 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) RETI INITIAL: MOV A,@0B00000001 ; To define P50 as an analog input MOV AISR,A MOV A,@0B00001000 ; To select P50 as an analog input channel, and AD power on MOV ADCON,A ; To define P50 as [...]
-
Page 57
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 51 (This specificatio n is subject to change without f urther notice) 6.8 Infrared Remote Contr ol Application/PWM W aveform Generation 6.8.1 Overview This LSI can easily output infrared carr i er or PWM standard waveform. As illustrated below , the [...]
-
Page 58
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 52 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) When an interrupt is generated by the High time down coun ter und erflow (if enabled), the next instruction will be fetched from Address 0 18 and 01BH (High time and Low time, respe ct iv[...]
-
Page 59
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 53 (This specificatio n is subject to change without f urther notice) The following figure shows LGP=0 an d HF= 1 . The IR OUT waveform modu lates the Fcarrier waveform at low time segments of the pu lse. When IRE goes low from high, the output wavef[...]
-
Page 60
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 54 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) The following figure show s LGP=1 and HF=1 . When this bit is set to high level, t he high time segment of the pulse is ignored. So , IROUT waveform output is determined by low time w idt[...]
-
Page 61
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 55 (This specificatio n is subject to change without f urther notice)[...]
-
Page 62
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 56 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 6.9 Timer/Counter 6.9.1 Overview Timer A (TCCA) is an 8-bit clock counter. Timer B (TCCB) is a 16-bit clock counter. Timer C (TCCC) is an 8-bit clock counter that can be extended to 16-bi[...]
-
Page 63
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 57 (This specificatio n is subject to change without f urther notice) Under TCCBH / MSB Counter (IOC71): TCCBH /MSB (I OC71) is an 8-bi t cl ock count er is for the most si gnifi cant byte of TCCBX (TCCBH). It can be read, written to, and cleared on [...]
-
Page 64
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 58 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 6.9.3 Programming the Related Registers When defining TCCX, refer to it s related registers operation as shown in the tables below . TCCX Related Control Registers : Address Name Bit 7 Bi[...]
-
Page 65
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 59 (This specificatio n is subject to change without f urther notice) 6.10.1 External Reference Signal The analog signal that is presented at Cin– compares to the signal at Cin+. The digital output (CO) of the comparator is adjusted accordingly by [...]
-
Page 66
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 60 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 6.10.3 Using a Comparator as an Operation Amplifier The comparator can be us ed as an operation amplifier if a feedback resistor is externally connected from the input to the output. In t[...]
-
Page 67
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 61 (This specificatio n is subject to change without f urther notice) 6.11 Oscillator 6.11.1 Oscillator Modes The EM78P259N/260N can be operated in four different oscillator modes, such as High Crystal oscilla tor mode (HXT), Low Crys tal o scillator[...]
-
Page 68
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 62 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 6.11.2 Crystal Oscillator/Ceramic Resonators (Crystal) The EM 78P2 59N/ 260N c an be dri ven by an ext ern al cl ock s ignal t hro ugh the O SCI pin as illustrated below . OSCI OSCO EM 78[...]
-
Page 69
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 63 (This specificatio n is subject to change without f urther notice) Circuit diagrams for serial and parallel modes Crysta l/Resonator : OSCI EM 78P259N EM 78P260N C 7404 330 330 Crysta l 7404 7404 Fig. 6-1 8 Serial Mode Cryst al/Resonat or Circuit [...]
-
Page 70
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 64 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) Based on the above reasons, it must be kept in mind that all supply voltage, the operation temperature, the components of the RC oscillator , the package types, and the way the PCB is lay[...]
-
Page 71
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 65 (This specificatio n is subject to change without f urther notice) 6.12 Pow er- on Considerations Any microcontroller is not warranted to sta rt operating properly before the power supply stabilizes in its steady state. The EM78P2 59N/260N POR vol[...]
-
Page 72
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 66 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 6.12.3 Residual Voltage Protection When the battery is replaced, device power (Vdd) is remo ve d but the residual voltage remains. The residual volt age may trip below Vdd minimum, but no[...]
-
Page 73
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 67 (This specificatio n is subject to change without f urther notice) 6.13 Code Option EM78P259N/260N has two Code option words and one Customer ID word that are not part of the normal pr ogram memory . Word 0 Word1 Word 2 Bit12 ~ Bit0 Bit12 ~ Bit0 B[...]
-
Page 74
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 68 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) Bit 3 (HLP): Pow er consumption selection 0 = Low power consumption, applies to working frequency at or bel ow 4MH z 1 = High power consumption, app li es to working frequency above 4MH z[...]
-
Page 75
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 69 (This specificatio n is subject to change without f urther notice) Bit 7 (WDTPS) : WDT Time -out Period Selection bit WDT Time Watchdo g Tim e * 1 18 ms 0 4.5 ms * These are theoretical values provided for reference onl y Bit 6 (CYES): Instruction[...]
-
Page 76
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 70 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) Convention: R = Register design ator that specifies which on e of the registers (including operation and general purpose registers) is to be utilized b y the instruction. b = Bit field de[...]
-
Page 77
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 71 (This specificatio n is subject to change without f urther notice) Instruction B inary HEX Mnemonic Operation Statu s Affec ted 0 0101 01rr rrrr 05rr INC R R+1 → R Z 0 0101 10rr rrrr 05rr DJZA R R-1 → A , ski p if z ero None 0 0101 11rr rrrr 0[...]
-
Page 78
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 72 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 8 DC Electrical Characteristics T a=25 ° C, V DD=5. 0V ± 5%, VSS=0V Symbol Param eter Condition Min Typ Ma x Unit Crystal: VDD t o 5V DC 20 MHz Crys tal: VD D to 3 V Two cy cles with tw[...]
-
Page 79
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 73 (This specificatio n is subject to change without f urther notice) Symbol Param eter Condition Min Typ Ma x Unit ICC1 Operating s upply current at two clocks (VDD to 3V) /RESET= 'High', Fosc=32kHz (Crystal ty pe,CLKS="0"), outp[...]
-
Page 80
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 74 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) 8.1 AD Conv erter Characteristics Vdd= 2.5V t o 5.5V , Vss =0V, T a=25 ° C Symbol Parameter Condition Min. Typ. Max. Unit V AREF 2.5 – Vdd V V ASS Analog referenc e voltage V AREF - V [...]
-
Page 81
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 75 (This specificatio n is subject to change without f urther notice) 8.2 Comparator (OP) Characteristics Vdd = 5.0V , Vss=0V , T a=25 ° C Symbol Parameter C ondition Min. Typ. Max. Unit SR Slew rat e - 0.1 0.2 - V/us Vos Input offset voltage - - - [...]
-
Page 82
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 76 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) I RC OS C Fr e que ncy ( V D D = 5V ) 0 1 2 3 4 5 6 7 8 9 10 - 4 0 - 2 0 0 2 55 07 08 5 T em p er at ur e ( ℃ ) Fr e que ncy ( M H z) Fig. 8-2 Intern al RC OSC Frequency vs. T emperatur[...]
-
Page 83
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 77 (This specificatio n is subject to change without f urther notice) 10 Timing Diagrams RESET Timing ( CLK="0") CLK /RESET NOP Instruction 1 Executed Tdrh TCC Input Timing (CLKS="0") CLK TCC Ttcc Tins A C Test ing : Input is driv[...]
-
Page 84
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 78 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) APPENDIX A Package Type OTP MCU Package Type Pin Count Package S ize EM78P259NPS/NPJ DIP 18 300mil EM78P259NMS/NMJ SOP 18 300mil EM78P260NPS/NPJ DIP 20 300mil EM78P260NMS/NMJ SOP 20 300mi[...]
-
Page 85
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 79 (This specificatio n is subject to change without f urther notice) B.2 18-Lead Plastic Small Outline (SOP) — 300 mil TITLE: SOP-18L(300MIL ) PACKAGE OUTLI NE DIMEN SION Unit : mm Scale: Free Materia l: Edtion: A Sheet:1 of 1 be Min No rmal Max 2[...]
-
Page 86
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 80 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) B.3 20-Lead Plastic Shrink Small Outline (SSOP) — 209 mil TITLE: SSOP-20L (209MI L) OU TLIN E PACKAGE PACKA OUTLI NE DIMENSI ON Unit : mm Scale: Free File : SSOP20 Material: Edtion: A S[...]
-
Page 87
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 81 (This specificatio n is subject to change without f urther notice) B.4 20-Lead Plastic Dual-in-line (PDIP) — 300 mil TITL E: PDIP-20L 300MIL PACKAGE OUTLI NE DIMENSION Unit : mm Scale: Free File : D20 Material: Edtion: A Sheet:1 of 1 Min N or ma[...]
-
Page 88
EM78P259N/260N 8-Bit Microprocessor with OTP ROM 82 • Product Specification (V1.2 ) 05.18.2007 (This specification is sub ject to change without further notice) B.5 20-Lead Plastic Small Outline (SOP) — 300 mil TITLE: SOP-20L(300MIL ) PACKAGE OUTLI NE DIMENSI ON Unit : m m Scale: Free File : SO20 Material: Edtion: A Sheet:1 of 1 be Sym bal A A1[...]
-
Page 89
EM78P259N/260N 8-Bi t Micr oproce ssor w ith OTP RO M Product Specificat ion (V1.2) 05.1 8.2007 • 83 (This specificatio n is subject to change without f urther notice) C Quality Assurance and Reliability Test Category Test Conditions Remarks Solderabilit y Solder temperature= 245 ± 5 ° C, for 5 seconds up to the stopper using a rosin-t ype flux[...]