Instruction/ maintenance manual of the product EM78612 EMC
Go to page 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.
An important point after buying a device EMC EM78612 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought EMC EM78612 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 EMC EM78612 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, EMC EM78612 you will learn all the available features of the product, as well as information on its operation. The information that you get EMC EM78612 will certainly help you make a decision on the purchase.
If you already are a holder of EMC EM78612, 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 EMC EM78612.
However, one of the most important roles played by the user manual is to help in solving problems with EMC EM78612. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device EMC EM78612 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