Manuale d’uso / di manutenzione del prodotto EM78M611E del fabbricante IBM
Vai alla pagina 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.
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il IBM EM78M611E è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del IBM EM78M611E - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso IBM EM78M611E imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul IBM EM78M611E ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il IBM EM78M611E, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del IBM EM78M611E.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il IBM EM78M611E. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo IBM EM78M611E insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.