Manuale d’uso / di manutenzione del prodotto EM78612 del fabbricante EMC
Vai alla pagina of 37
EM78612 Produc t Specif ication D OC .
T rademark Acknow ledgments : IBM is a r egister ed trad em a rk and PS/2 is a tradem ark of IBM. Wi ndow s is a tradem ark of Micr osoft C orporation.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 1 (This specification is subje ct to ch ang e w ithout further notice) .
EM78612 Universal Se rial Bus Microcontroller 2 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) 8 Absolu te Maxi mum Rati ngs .
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 3 (This specification is subje ct to ch ang e w ithout further notice) Specification Revision History Doc.
EM78612 Universal Se rial Bus Microcontroller 4 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) 1 Gener al Descrip tion The EM78 612 is a series of U niversal Seria l B us 8-bit RI SC m icrocontrollers.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 5 (This specification is subje ct to ch ang e w ithout further notice) • • • • Up to 12 general purposes I/O pi ns grouped int o two ports (Port 6 and 7).
EM78612 Universal Se rial Bus Microcontroller 6 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) 4 Pin Configurati on EM78612A P61 1 16 P60 P62 2 15 P64 P63 3 14 P65 P70 4 13 P71 P72 5 12 D+/P50 VSS 6 11 D-/P51 V3.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 7 (This specification is subje ct to ch ang e w ithout further notice) 5 Pin Description S y mbol I/O Function OSCI I 6MHz / 12MHz ceramic re sonato r i nput .
EM78612 Universal Se rial Bus Microcontroller 8 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) 6 Function Block Diagram Oscil.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 9 (This specification is subje ct to ch ang e w ithout further notice) Af t er reset Address 0x0000 Reset V ector 0x0001 Interrupt V ector 0x000A USB Application Interrupt V ector 0x03FF Page 0 0x0400 0x07FF Page 1 7.
EM78612 Universal Se rial Bus Microcontroller 10 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) R0 (I nd i rec t io n Add r e.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 11 (This specification is subje ct to ch ang e w ithout further notice) R2 (Prog ram Counter &.
EM78612 Universal Se rial Bus Microcontroller 12 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) R3 [2] Zero f lag. It will be set to 1 when the res ult of an ari thm etic or logic o peratio n is zero.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 13 (This specification is subje ct to ch ang e w ithout further notice) R4 ( R AM Select Registe r) Default V alue: (0B _0xxx_x xxx ) 76543210 - BK0 Ad5 Ad4 Ad3 Ad2 Ad1 Ad0 R4 (RA M select reg ister) contains the addr ess of the re gisters.
EM78612 Universal Se rial Bus Microcontroller 14 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) 0: Enab le the wak e-up f unc.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 15 (This specification is subje ct to ch ang e w ithout further notice) Therefore, before writing data int o the FIFO, the firmware will first check this bit to preve nt over writing th e existing data.
EM78612 Universal Se rial Bus Microcontroller 16 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) RF (Interrupt Status Regi ste.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 17 (This specification is subje ct to ch ang e w ithout further notice) CONT (Control Register) 7.
EM78612 Universal Se rial Bus Microcontroller 18 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) IOC5 ( Dat a Line I/O Control Registe r) Default V al ue: (0B_000 0_001 1) 76543 210 0 0 0 0 0 0 P51 P50 IOC5 [2~ 7] Undef ined re gisters.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 19 (This specification is subje ct to ch ang e w ithout further notice) 1 0 PS/2 M ode 1 1 USB Test Mode IOCA [ 2~5] Undefined registers. The def ault value is 0.
EM78612 Universal Se rial Bus Microcontroller 20 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) IOCD (Port 7 Pull-High Contro.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 21 (This specification is subje ct to ch ang e w ithout further notice) IOCF (Interrupt Mask Reg .
EM78612 Universal Se rial Bus Microcontroller 22 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) 7.3 I/O Port s The EM7 8612 has u p to t welve Gen eral P urposes I /O p ins, w hich ar e classifies into two port group s; Port 6 and Port 7.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 23 (This specification is subje ct to ch ang e w ithout further notice) Any of the Indiv idual pins of Port 6 and Port 7 can be defined to wakeup the MCU by setting th eir respectiv e b its, R8 and R9.
EM78612 Universal Se rial Bus Microcontroller 24 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) 7.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 25 (This specification is subje ct to ch ang e w ithout further notice) C. S pecia l registers and S pecial Contro l reg isters are all set to initi al value.
EM78612 Universal Se rial Bus Microcontroller 26 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) : : 7.6.2 Dual Clock Mode The EM 78612 has on e internal oscill ator for power sav ing applicatio n.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 27 (This specification is subje ct to ch ang e w ithout further notice) status f lags must be cleared by firm ware before leav ing the interrupt service routine and ena bling in terrupt.
EM78612 Universal Se rial Bus Microcontroller 28 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) 9 DC Electrica l Characteristic (T = 25 , VDD = 5 V , VSS = 0V) S y mble Parameter Condition Min Type Max Unit 3.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 29 (This specification is subje ct to ch ang e w ithout further notice) C IN Transceiver Capacita nce - - 20 pF V RG Output Voltage of Internal Regulator 3.
EM78612 Universal Se rial Bus Microcontroller 30 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) 10 A p plication Cricuit P51 J1 USB c onnect or 1 2 3 4 C5 30pF USB Ap plication Note3.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 31 (This specification is subje ct to ch ang e w ithout further notice) A ppe ndix A .
EM78612 Universal Se rial Bus Microcontroller 32 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) B. Instru ction Set Each instruct ion in the instr uction set is a 1 1-bi t word divide d int o an OP code and one or more operands.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 33 (This specification is subje ct to ch ang e w ithout further notice) INSTRUCT ION BIN A RY HEX.
EM78612 Universal Se rial Bus Microcontroller 34 • • • • Product Specification(V1. 0) 03.22.2006 (This specification i s subject to change without further notice) INSTRUCT ION BIN A RY HEX M N.
EM78612 Universal Se rial Bus Microcontroller Product Specification (V1. 0) 03.22.2006 • • • • 35 (This specification is subje ct to ch ang e w ithout further notice) EM78612 h as one COD E option reg isters, which are n ot part of the norm al program memor y.
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 EMC EM78612 è 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 EMC EM78612 - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso EMC EM78612 imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul EMC EM78612 ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il EMC EM78612, 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 EMC EM78612.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il EMC EM78612. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo EMC EM78612 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.