Instruction/ maintenance manual of the product EM78M611E IBM
Go to page of 44
E M 7 8 M 6 1 1 E .
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.
Contents Product Specification (V1.11) 04.2 0.2006 • • • • iii 1 Genera l Desc ript ion ...................................
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 ....................................
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 pti.
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 .
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-Cha.
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.
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.
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.
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 Osc.
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 ript.
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.
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.
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 A.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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 D.
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.
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.
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.
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 pp.
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.
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 func.
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.
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 Chann.
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.
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.
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.
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.
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 .
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 .
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.
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 .
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 .
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.
An important point after buying a device IBM EM78M611E (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought IBM EM78M611E yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data IBM EM78M611E - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, IBM EM78M611E you will learn all the available features of the product, as well as information on its operation. The information that you get IBM EM78M611E will certainly help you make a decision on the purchase.
If you already are a holder of IBM EM78M611E, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime IBM EM78M611E.
However, one of the most important roles played by the user manual is to help in solving problems with IBM EM78M611E. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device IBM EM78M611E along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center