IBM EM78M611E 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

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of IBM EM78M611E, 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 EM78M611E 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 EM78M611E. 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 EM78M611E should contain:
- informations concerning technical data of IBM EM78M611E
- name of the manufacturer and a year of construction of the IBM EM78M611E item
- rules of operation, control and maintenance of the IBM EM78M611E 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 EM78M611E 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 EM78M611E, 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 EM78M611E.

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 EM78M611E 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

    E M 7 8 M 6 1 1 E                                 [...]

  • Page 2

    T rademark Acknowledgments: IBM is a registered trademark 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. Copyright © 2006 by ELAN Micr oelectronics Corporation All Rights Reserved Printed in T aiwan The con tents of th is s pecif icat ion a r[...]

  • Page 3

    Contents Product Specification (V1.11) 04.2 0.2006 • • • • iii             1 Genera l Desc ript ion ................................................................................................ 1 2 Featu res .......................[...]

  • Page 4

    Contents iv • • • • Product Specification (V1.1) 11.22 .2006 8.3 Ex tra Control Regi ster..................................................................................... 21 8.4 USB App licati on FIFO s ................................................................................... 21 8.5 USB App licati on ..........................[...]

  • Page 5

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 1 (This specification i s subject to change without further notice) 1 General Descri ption Th e EM 786 11 E is a se ri es of 8 -b it U niv er sal S er ia l B u s R IS C ar chi te ct ure mic ro con tr ol le r, M ult i- Ti me Pr og ra mmi n[...]

  • Page 6

    EM78M611E Universal Serial Bus Seri es Microcontroller 2 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice)  Built-in 8-b it RISC MCU  8-level stack s for subroutine nest ing and interrupt  8-bit real tim e clock/c ounter (TCC) with overf low interrupt  Six availabl[...]

  • Page 7

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 3 (This specification i s subject to change without further notice)  Built-in 2 4-Channel Ana log-to-Digital Con verter (ADC)  Up to 24 ch annels  Up to 10 bits r esolution  4 ADC con version rates: 25 6K/128K/64K/32 K  Bui[...]

  • Page 8

    EM78M611E Universal Serial Bus Seri es Microcontroller 4 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) 5 Pin A ssi gnment 1 2 3 4 5 6 7 8 9 10 11 12 29 30 35 36 37 38 39 40 VSS V3.3 D+/CLK.P74 D-/DATA/P75 P90 P91 P92/SE1/PW M1 P93/SE2/PW M2 P94/VPP VNN P64/AD20 P65/AD21 P6[...]

  • Page 9

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 5 (This specification i s subject to change without further notice) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 P56/AD6 P57/AD7 P60/AD16 P61/AD17 P62/AD18 P77 P76 VDD OSCI OSCO VSS V3.3 D+ / CLK /P74 D- / DATA /P75 P92/SE1/PW M1 P9[...]

  • Page 10

    EM78M611E Universal Serial Bus Seri es Microcontroller 6 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) 6 Pin Descripti on Symbol I/O Function P50 ~ P57 I/O General 8-bit bidirectional input/output port. All pins on this port can be internally pulled-high b y software contr[...]

  • Page 11

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 7 (This specification i s subject to change without further notice) 7 Block Diagra m Oscillator Timing Control Built-in RC Prescaler R1 (TCC) WDT Timer DA TA & CONTROL BUS OSCI OSCO R2 (PC) Stack 1 ALU A CC R3 (Status) ROM Instruction[...]

  • Page 12

    EM78M611E Universal Serial Bus Seri es Microcontroller 8 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) 8 Function Desc ription The EM78M6 11E mem ory is organized into three spaces, nam ely; User Progr am mem ory in 6 K × 13 bits ROM space, Data Memory in 14 4 bytes SRAM [...]

  • Page 13

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 9 (This specification i s subject to change without further notice) 8.2 Dat a Memory The Data Memory has 144 bytes SRAM space. It has al so an on-chip USB Application FIFO space for USB A pplic ation. Figur e 8-1 (next page) shows the org[...]

  • Page 14

    EM78M611E Universal Serial Bus Seri es Microcontroller 10 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) 8.2.2 O peration Registers The f ollowing subsections describe eac h of the Op eration Register s of the Special Purpose Regist ers. The Operation Registers are arranged[...]

  • Page 15

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 11 (This specification i s subject to change without further notice) A12 A11 A10 A9 A8 A7~A0 0000 Page 0 03FF 0400 Page 1 07FF 0800 Page 2 0BFF 1000 Page 0 13FF 1400 Page 0 17FF Stack 1 Stack 2 Stack 3 Stack 4 Stack 5 Stack 6 Stack 7 Stac[...]

  • Page 16

    EM78M611E Universal Serial Bus Seri es Microcontroller 12 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) R3 [2] Zero flag . It will be s et to 1 when the resu lt of an arithm etic or logic op eration is zero. R3 [3] Power down flag. It will be set to 1 during Power- on phas[...]

  • Page 17

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 13 (This specification i s subject to change without further notice) 8.2.2.5 R4 (R A M Select Reg ister) Default Value: (0B_00XX_ XXXX) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 BK1 BK0 Ad5 Ad4 Ad3 Ad2 Ad1 Ad0 R4 (RAM selec t regist[...]

  • Page 18

    EM78M611E Universal Serial Bus Seri es Microcontroller 14 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) 8.2.2.1 1 RA (EEPROM Control Register) D efault V alue: (0B_1 1 1 1_1 1 1 1) RA is a comm and register for EEPROM contro l. For detaile d usage of this r egister, refer [...]

  • Page 19

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 15 (This specification i s subject to change without further notice) 8.2.2.12 RD (USB A ppl ication FIFO Address Regist er) Default V alue: (0B_0000_0 000) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 0 0 UAD4 UAD3 UAD2 UAD1 UAD0 RD [...]

  • Page 20

    EM78M611E Universal Serial Bus Seri es Microcontroller 16 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) RF [2] USB Suspen d interrupt flag . It will be set when the EM78M611 E finds the USB Suspen d Signal on U SB bus. This b it is cleared b y the firmware. RF [3] USB Rese[...]

  • Page 21

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 17 (This specification i s subject to change without further notice) 8.2.3.2 CONT (Control Regist er) Default Value: (0B_001 1_1 1 1 1) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 LED INT TSR2 TSR1 TSR0 PSR2 PSR1 PSR0 Except for Bit 6[...]

  • Page 22

    EM78M611E Universal Serial Bus Seri es Microcontroller 18 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) 8.2.3.3 IO C5 ~IOC9 I/O (Port Di rection Con trol Registers) Default V alue: (0B_1 1 1 1 _1 1 1 1) These are I/O port (Port 5 ~ Port 7) di rect ion control registers. Ea[...]

  • Page 23

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 19 (This specification i s subject to change without further notice) IOCA [6, 7] Select the oper ation frequency in Dual Clock Mode. Four frequencies are available and ca n be chosen as Dual Clock Mode in runni ng the MCU program . Dual_F[...]

  • Page 24

    EM78M611E Universal Serial Bus Seri es Microcontroller 20 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) 8. 2.3.8 IOC E (S pec ial F unctio n Con trol Regis ter) Def ault V alue: (0B_ 1 101_01 1 1) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 /Dual clock /WUE W TE RUN De[...]

  • Page 25

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 21 (This specification i s subject to change without further notice) 8.2.3.9 IOCF ( Interrupt M ask Register) Defau lt V alue (0B_0000_ 0000) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 U SB H os t R esu me _I E SE 2 _I E SE 1 _I E Po[...]

  • Page 26

    EM78M611E Universal Serial Bus Seri es Microcontroller 22 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) Cou nter Po inter Da ta B yt e Po inte r o f EP 0 EP0 's F IF O 0 1 2 3 4 5 6 7 Bi-d irec tion al Un i-di rect iona l Da ta B yt e Po inte r o f EP 1 EP1 's F [...]

  • Page 27

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 23 (This specification i s subject to change without further notice) 8.5.2 De vice Address and Endpoints EM78M611E sup ports one device address an d three endpoints, EP0 for contro l endpoint, EP1 an d EP2 for interru pt endpoint. Sending[...]

  • Page 28

    EM78M611E Universal Serial Bus Seri es Microcontroller 24 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) : // Set the Port 6 to input port MOV A, @0xFF IOW PORT6 // Read the state of Port 6 MOV PORT6, PORT6 // Clear the RUN bit IOR 0xE AND A, 0B11101111 IOW 0xE : : 8.7.2 Du[...]

  • Page 29

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 25 (This specification i s subject to change without further notice) b) Signal from P .92 changes t o high, and P attern Counter value bigger than R 10 register value. c) P .92 rem ains high, and the Pattern Count er value is eq ual to 0X[...]

  • Page 30

    EM78M611E Universal Serial Bus Seri es Microcontroller 26 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) Pattern Detect A pplication (PDA) ca n calculate th e length of one p attern and inter rupt the MCU whi le the serial si gnal is transiting f rom high to low (or vise-ve[...]

  • Page 31

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 27 (This specification i s subject to change without further notice) high state, then t he “high pattern c ounter“ wil l increase; other wise the “low patter n counter” increases. As long as the signal state changes, the PDA will [...]

  • Page 32

    EM78M611E Universal Serial Bus Seri es Microcontroller 28 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) After the PD A function is enabled ( by setting IOC A[2] to 1), user ca n write a def ault value to the H igh Pattern count er register and Lo w Pattern cou nter registe[...]

  • Page 33

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 29 (This specification i s subject to change without further notice) ERE [0~2] PW M Clock Prescaler PS2 PS1 PS0 Clock (Hz) Period/2 55 (s) 0 0 0 Fosc/3 0.5µ 0 0 1 Fosc/6 1µ 0 1 0 Fosc/12 2µ 0 1 1 Fosc/24 4µ 1 0 0 Fosc/48 8µ 1 0 1 Fos[...]

  • Page 34

    EM78M611E Universal Serial Bus Seri es Microcontroller 30 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) ERA [0~4]: AD Channel Selector AD4 A D3 AD2 AD1 AD0 Channel I/O Port 0 0 0 0 0 0 P50 0 0 0 0 1 1 P51 0 0 0 1 0 2 P52 0 0 0 1 1 3 P53 0 0 1 0 0 4 P54 0 0 1 0 1 5 P55 0 0 [...]

  • Page 35

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 31 (This specification i s subject to change without further notice) ERC ( A D M SB Data Regis ter) Default Value: (0 B_0000_0000) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit 9 Bit 8 Bi t 7 Bit 6 Bi t 5 Bit 4 Bi t 3 Bit 2 2 bits A[...]

  • Page 36

    EM78M611E Universal Serial Bus Seri es Microcontroller 32 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) 9 Absolute Maxim um Ratings Symbol Min Max Unit Temperature under bias 0 70 º C Storage temperature -65 150 º C Input voltage -0.5 6.0 V Output voltage -0.5 6.0 V 10 D[...]

  • Page 37

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 33 (This specification i s subject to change without further notice) Symbol Parameter Condition Min T y pe Max Unit I OH2 Output High Voltage (P74, P75) I Sink = 5.0mA V DD = 5V − 5 − mA I OH3 Output High Voltage (Port 5 & Port 6 [...]

  • Page 38

    EM78M611E Universal Serial Bus Seri es Microcontroller 34 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) 11 Application Circ uit NOTE A. BC1 , BC2 : load Capacitor B. C1 (bypass capacitor) : that placed adjacent to V DD pin , to minimize noise. C. C2 , C3 (power capacitor) [...]

  • Page 39

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 35 (This specification i s subject to change without further notice) APPENDIX A Special Regis ter Map Operation Regi sters A d d r e s s Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit1 Bit 0 D e f au lt V a l u e 0x 00 R0 In di re ct A dd r[...]

  • Page 40

    EM78M611E Universal Serial Bus Seri es Microcontroller 36 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) Control Registe rs A d dress Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Default Value CO NT S7 I NT TS R2 SR1 TSR 0 PSR 2 PSR 1 PSR 0 0B_ 00 11_ 11 11 0x 05 IO[...]

  • Page 41

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 37 (This specification i s subject to change without further notice) B Instruction Set Each instruction in the instruction set is a 13-bit word divided into an OP code and one or m ore operands. All instructions are executed within one si[...]

  • Page 42

    EM78M611E Universal Serial Bus Seri es Microcontroller 38 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) Binary Instruction Hex Mnemonic Ope ration Status Affected 0 0001 10rr rrrr 01rr DECA R R-1 → A Z 0 0001 11rr rrrr 01rr DEC R R-1 → R Z 0 0010 00rr rrrr 02rr OR A,R [...]

  • Page 43

    EM78M611E Universal Serial Bus Seri es Microcontroller Product Specification (V1.11) 04.20.2007 • • • • 39 (This specification i s subject to change without further notice) C Code Option Re gister EM78M611E h as two Code option register s, which are not p art of the norm al program mem ory . T he option bits c annot be acces sed during norm[...]

  • Page 44

    EM78M611E Universal Serial Bus Seri es Microcontroller 40 • • • • Product Specification (V1.1) 11.22 .2006 (This specification i s subject to change without further notice) Bit 4 (/R.S.) : D- Pull-up Res istance 0 : Connect Res istor Switch 1 : Disconnect Resistor Switch Bit 5 (/AD_Ho ld) : Halts the MCU d uring AD con version 0 : Halts the[...]