IBM EM78P312N инструкция обслуживания

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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

Идти на страницу of

Хорошее руководство по эксплуатации

Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации IBM EM78P312N. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции IBM EM78P312N или обучающее видео для пользователей. Условием остается четкая и понятная форма.

Что такое руководство?

Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции IBM EM78P312N можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.

К сожалению немного пользователей находит время для чтения инструкций IBM EM78P312N, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.

Из чего должно состоять идеальное руководство по эксплуатации?

Прежде всего в инструкции IBM EM78P312N должна находится:
- информация относительно технических данных устройства IBM EM78P312N
- название производителя и год производства оборудования IBM EM78P312N
- правила обслуживания, настройки и ухода за оборудованием IBM EM78P312N
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам

Почему мы не читаем инструкций?

Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск IBM EM78P312N это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок IBM EM78P312N и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта IBM, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания IBM EM78P312N, как это часто бывает в случае бумажной версии.

Почему стоит читать инструкции?

Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства IBM EM78P312N, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.

После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции IBM EM78P312N. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.

Содержание руководства

  • Страница 1

    EM78P312N 8- B IT Microc ont roller Green Product Specification D OC . V ERSION 1.0 ELAN MICROELECTRONICS CORP. October 2006[...]

  • Страница 2

    T radem ark Acknowledgments: IBM is a registered trademark and PS/2 is a trademark of IBM. W indows is a trademark of Microsoft Corpora tion. ELAN and ELAN logo are trademarks of EL AN Micr oelectronics Corporation. Copy ri ght © 2006 by ELAN Mic ro electr onics Corporation All Rights Reserved Pr i nte d in T aiw a n The contents of t his specific[...]

  • Страница 3

    Contents Product Specif icatio n (V1.0) 10.0 3.2 006 • iii Contents 1 General Description ..... ...... .... ..... ...... ..... .... ....... .... .... ....... .... ....... .... .... ....... .... ..... ...... ... 1 2 Features ...... .... ..... ...... ..... .... ....... .... ...... ..... .... ....... .... ..... ...... .... ..... ...... ..... ...... [...]

  • Страница 4

    Contents iv • Produ ct Specification ( V1.0) 10.03.20 06 5.14 Reset and Wake-up ........... .... ...... ..... .... ....... .... ....... .... .... ....... .... ....... .... ..... ...... ... 42 5.14.1 Reset .......... ...... ...... ......... ..... ...... ......... ...... ...... ......... ..... ...... ......... ...... ...... ........ 42 5.14.2 Wake [...]

  • Страница 5

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 1 (This specification is subject to change without further notice) 1 Gene ral Description The EM78P312N i s an 8- bit micropr ocessor with low -power, high-speed C MOS technolog y and high noise immunit y . It has an on-chip 4K×13-bits Electrical One Time Prog[...]

  • Страница 6

    EM78P312N 8-Bit Microcontroller 2 • Produ ct Specific ation (V1.0) 10.03. 2006 (This specification is subject to change without further notice) 4 Pin D escription Table 1 Sy mbol Pin No. Ty pe Function VDD 28 − Power supply OSCI 2 I Crysta l ty pe: Cr ysta l input termin al RC type: RC oscillator inp ut pin OSCO 1 I/O Crystal t ype : Output t e[...]

  • Страница 7

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 3 (This specification is subject to change without further notice) 5 Func t ion De scri pt ion 5.1 Functional Block Diagram ROM R3 Status Reg. ACC Instruct ion Decoder Instruct ion Regist er ALU PC Interru pt Circ uit 8-level stac k ( 13 bi t) Interru pt Contro[...]

  • Страница 8

    EM78P312N 8-Bit Microcontroller 4 • Produ ct Specific ation (V1.0) 10.03. 2006 (This specification is subject to change without further notice) 5.2 Oper ating Registers 05 06 07 08 09 0A 0B 0C 0D 0E 0F 04 03 02 01 10 : 1F 20 : 3F R3 (7, 6) = (0, 1) Addr ess Register Bank 0 00 R0/ IA R R1/ TCC R2/ PC R3/ SR R4/ RSR SCR Port 6 Port 7 Port 8 Port 9 [...]

  • Страница 9

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 5 (This specification is subject to change without further notice) R0 (Indir ect Addressi ng Register) R0 is n ot a p hysical ly im plemen ted re giste r. Its major f unct ion is to ac t as an i ndirec t addre ssing po inte r. Any instr uct ion us ing R0 a s a [...]

  • Страница 10

    EM78P312N 8-Bit Microcontroller 6 • Produ ct Specific ation (V1.0) 10.03. 2006 (This specification is subject to change without further notice) A1 1 A1 0 A9 A 8 A7 ~ A0 R5 CALL RET RETL RETI 000 : PAGE0 0000 ~03F F 001 : PAGE1 0400 ~07F F 010 : PAGE2 0800 ~0BF F PC Stack Le vel 1 Stack Le vel 2 Stack Le vel 3 Stack Le vel 4 Stack Le vel 5 Rese t [...]

  • Страница 11

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 7 (This specification is subject to change without further notice) Bit 3 (P): Po wer dow n bi t. Set to “1” du ring po wer on or by a "W DTC" command and rese t to “0” by a "SLEP " comm and. Bit 2 (Z): Zero fla g. Set to "1"[...]

  • Страница 12

    EM78P312N 8-Bit Microcontroller 8 • Produ ct Specific ation (V1.0) 10.03. 2006 (This specification is subject to change without further notice) R6 (Port 6 I/O Data Register) Bit 7 Bi t 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 P67 P66 P65 P64 P63 P62 P61 P60 Bit 7 ~ Bit 0 ( P6 7 ~ P60 ) : 8-b it Port 6 I/ O dat a re gister Use r can use IOC6 regi ste[...]

  • Страница 13

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 9 (This specification is subject to change without further notice) Bit 4 ~ Bit 2 ( TC4CK2 ~ TC4CK 0 ) : Time r/Coun ter 4 Cl ock Source Selec t TC4CK2 TC4CK1 TC4CK0 Clock Source ( Norma l, Idle ) Resolution ( Fosc =8 M ) Ma x . Tim e ( Fosc= 8M ) 0 0 0 Fc/2 11 [...]

  • Страница 14

    EM78P312N 8-Bit Microcontroller 10 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) RE (Interr upt Status Flag Register 1 ) Bit 7 Bit 6 Bi t 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 E XIF 5 T CIF 2 A DI F 0 EXI F3 T CI F 4 SP IF TCI F 3 Bit 7 ( EXIF5 ) : Exte rna l Int errupt Flag ( /IN T5), f [...]

  • Страница 15

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 11 (This specification is subject to change without further notice) z IS FR2 c an be cl eared by inst ructio n, but cann ot be se t by ins truc tion z IMR2 is th e in terr upt ma sk regi ster z No te that rea ding ISFR2 wi ll obta in the res ult of th e ISFR2 &[...]

  • Страница 16

    EM78P312N 8-Bit Microcontroller 12 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) Bank 1 R8 TC2CR/ ADDL (Tim er/Counter 2 C ontrol Register, A D Low 2 bits Data Buffer) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bi t 2 Bit 1 Bi t 0 ADD1 ADD0 0 TC2M TC2S TC2CK2 TC2 CK1 TC2CK0 Bit 7 ~ Bit 6 ( A DD1[...]

  • Страница 17

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 13 (This specification is subject to change without further notice) Bi t 6 ( AD RUN ) : AD Conv ersio n start ADRUN = “0” : Reset on comp letio n of t he conv ersion by har dw are, th is bit canno t be r ese t by soft war e. ADRUN = “1” : Conver sion s [...]

  • Страница 18

    EM78P312N 8-Bit Microcontroller 14 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) Bank 1 RE TBKTC (TBT/Keytone Control) Bit 7 Bit 6 Bi t 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 TEN TCK1 TCK0 0 TBTEN TBTCK2 TBTCK1 TBTCK0 Bit 7 ( TEN ) : Keytone ena ble co ntro l TEN = “0” : Disable TEN = [...]

  • Страница 19

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 15 (This specification is subject to change without further notice) Bit 4 ~ B it 2 ( BRATE2 ~ BRA TE1 ) : T ransmi t Bau d Ra te S ele ct BRATE2 BRATE1 BRATE 0 Baud Rate e.g. Fc =8 MH z 0 0 0 Fc/13 38400 0 0 1 Fc/26 19200 0 1 0 Fc/52 9600 0 1 1 Fc/104 4800 1 0 [...]

  • Страница 20

    EM78P312N 8-Bit Microcontroller 16 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) Bit 6 ( EVEN ) : S ele ct par it y c he ck EVEN = “0” : Odd par it y EVEN = “1” : Even par it y Bit 5 ( PRE ) : Enab le p arity a ddit ion PRE = “0” : Disabl e PRE = “1” : Enabl e Bit 4 [...]

  • Страница 21

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 17 (This specification is subject to change without further notice) In usi ng the ext ernal clock, da ta input sample is fixed at the m iddle of data ou tput time. Bit 6 ( DCOL ) : SPI Da ta col lision. DCO L = “0 ” : No occ urren ce of Da ta co llision DCO[...]

  • Страница 22

    EM78P312N 8-Bit Microcontroller 18 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) Bit 2 ~ Bit 1 ( SPIM1 ~ SPIM0) : SPI Transfer Mod e Select TC2CK1 TC2CK0 Tr an sf er M od e 0 0 8-bit Tra nsmit/ Receive mode 0 1 8-bit Transmi t mode 1 0 8-bit Rece ive mod e 1 1 Reser ved Bit 0 ( RBF [...]

  • Страница 23

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 19 (This specification is subject to change without further notice) Bank 3 RC PHC2 (Pull Hi gh Control Register 2 ) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 - - - - /PH E73 /PH E72 / PHE7 1 /PH E70 Bit 3 ~ 0 ( /PHE73 ~ /PHE 70 ) : Bi ts 3 ~ 0 of Por t 7 [...]

  • Страница 24

    EM78P312N 8-Bit Microcontroller 20 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) Bit 2 ( PSR2 ) ~ Bit 0 ( PSR0 ) : TCC pr escaler bits PSR 2 PSR1 PSR0 Oper ating M ode 0 0 0 1:2 0 0 1 1:4 0 1 0 1:8 0 1 1 1:16 1 0 0 1:32 1 0 1 1:64 1 1 0 1:128 1 1 1 1:256 IOC6 ~ IOC9 − I/O Po rt Co[...]

  • Страница 25

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 21 (This specification is subject to change without further notice) Exte rna l In terr upt INT Pin S econ d ar y Function Pin Enable Condit ion Edge Digital Noise Reject /INT0 P 60 ENI + IN T0EN ( IOCB) Falling - INT1 P61 ENI + EXIE1 (IMR 2) Ri sing or Falling [...]

  • Страница 26

    EM78P312N 8-Bit Microcontroller 22 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) Bit 1 ( SPIE ) : SPI In terrupt e nable bi t. SP I E = “0 ” : dis able SPIF int errup t SP I E = “1 ” : en able SPIF i nterr upt Bit 0 ( TCIE3 ) : Timer/C ounter 3 Interru pt enable bi t. TC IE3[...]

  • Страница 27

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 23 (This specification is subject to change without further notice) 5.4 CPU O p era tion Mode Regist ers f or CPU Oper atio n Mode R_ BA NK Ad dr es s NAME Bit 7 Bit 6 Bit 5 Bit 4 Bi t 3 Bi t 2 Bit 1 Bi t 0 Bank 0 0X 05 SCR 0 PS2 PS1 PS0 0 1 SIS REM − − −[...]

  • Страница 28

    EM78P312N 8-Bit Microcontroller 24 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) In Sleep m ode, the inte rnal oscillator is turned off and all system operation is halted. Sleep mode is released by /SLEEP pin (level sensitive or e dge sensitive c an be set by System Control Regist e[...]

  • Страница 29

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 25 (This specification is subject to change without further notice) 8 to 1 Ana lo g swi t c h ADC (Successiv e A pproximation ) A D7 (P 97) A D6 (P 96) A D5 (P 95) A D4 (P 94) A D3 (P 93) A D2 (P 92) A D1 (P 91) A D0 (P 90) 7 - 0 2 1 0 4 to 1 MUX 5 4 Fosc/4 Fos[...]

  • Страница 30

    EM78P312N 8-Bit Microcontroller 26 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) 5.6 Time Base T imer and Keyton e Generat or Regi ster s for A D Con vert er Circ uit R_ BA NK Addres s Name Bit 7 Bi t 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 TEN TCK1 TCK0 0 TB TE N TB TCK 2 TB TC K 1 T[...]

  • Страница 31

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 27 (This specification is subject to change without further notice) MUX Fosc/2 Fosc/2 Fosc/2 Fosc/2 Fosc/2 Fosc/2 Fosc/2 Fosc/2 23 21 16 14 13 12 11 9 TBKTC TBTCK2:0 3 Falling Edge Dete cto r TBT Inte rrup t TBTE N Fi g. 5-8 T BT Co nf ig ur at io n The T ime B[...]

  • Страница 32

    EM78P312N 8-Bit Microcontroller 28 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) 5.7 U ART (Universal As ynchronous Receiver/T ransmitter) Registe rs for UART Circu it R_ BANK A ddress Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 URTD8 U MODE1 UMODE0 BRATE2 BRATE1 BRATE0 UT [...]

  • Страница 33

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 29 (This specification is subject to change without further notice) The figure below shows the gener al for mat of on e charac ter sen t or rec eived. Th e comm unica tion cha nnel is normal ly held in the ma rked s tate ( high). C harac ter transm issi on or r[...]

  • Страница 34

    EM78P312N 8-Bit Microcontroller 30 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) 3. Start tra nsmi tti ng. 4. Ser ial ly tran smit ted da ta ar e tra nsmitt ed i n the fo llo wing order from the T X pin. 5. Start bit : one “0” bi t is ou tput. 6. Transmit da ta: 7, 8 or 9 bit s [...]

  • Страница 35

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 31 (This specification is subject to change without further notice) 5.8 SPI (Seri al Periphera l Interf ace) Regist ers f or the SPI Circui t R_ BANK A ddress Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bi t 0 SMP D COL BRS2 BRS 1 BRS0 EDS DOR D W BE Bank 3 [...]

  • Страница 36

    EM78P312N 8-Bit Microcontroller 32 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) 5.8.1 Seri al Clock Six inte rnal cl ocks ca n be se lect ed by s etting BRS 0 ~ BR S2 and the cl ock o utput to the outsi de from /SCK (P70) pin . The Ex ternal clock ca n also be used and c onnect ed [...]

  • Страница 37

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 33 (This specification is subject to change without further notice) (b) 8-bit Rece ive Mo d e Setting SPIM0 ~ SPIM1 to r eceive mode a nd setti ng SPIS to “1” to start recei ving. The d ata are in put se quential ly fr om the S I pin in sy nch ronous with t[...]

  • Страница 38

    EM78P312N 8-Bit Microcontroller 34 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) SPI S RB F WBE SPI F re a d d a ta s h i f t s ta rt s h i f t s ta rt /S C K p i n SI p i n c0 c1 c2 c3 c4 c 5 c6 c7 a SPI D d0 d1 d2 d3 d4 d 5 d6 d7 r ead d at a d s h ift fin is h SO p i n a0 a1 a2 a[...]

  • Страница 39

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 35 (This specification is subject to change without further notice) 5.9 T imer/Counter 2 Regi ster s for Ti mer /Coun te r 2 Circui t R_BANK Ad dr es s Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ADD1 ADD0 0 TC2M TC2S T C2CK2 TC2C K1 TC2CK 0 Bank 1 0X0[...]

  • Страница 40

    EM78P312N 8-Bit Microcontroller 36 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) 5.9.1 Ti mer Mode In Timer m ode, count ing up is pe rforme d us ing the inter nal clo ck. Whe n the cont ent s of the up-cou nter mat che d wit h th e T CR2 ( TCR2 H+T CR2L) , t hen inter rupt is gen e[...]

  • Страница 41

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 37 (This specification is subject to change without further notice) 01 2 n - 3 n- 1 n 1 23 In t e r n a l c lo c k U p- c ount er n-2 T C2 pi n TC 2 i nte rr u p t 0 n ma t ch count e r c l ear TC R 2 Fig. 5-21 Win dow Mo de Timing Chart 5.10 Time r/C ou n te r[...]

  • Страница 42

    EM78P312N 8-Bit Microcontroller 38 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) 8-bit Up-cou nter Comparator TCR3 B TC3 CR MUX INT 3ES TC3 pin TC2 CK TC3 S 2 TC3 Interrupt TCR3A fc/ 2 12 fc/ 2 10 fc/ 2 7 Edge Det ect or Capture Control TC3 M Capture Capture CAP Inhibit Rising Falli[...]

  • Страница 43

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 39 (This specification is subject to change without further notice) of the TC 3 pin input, th e cont ents of the cou nter are loa ded into TCR3 A, count er is cleare d and inter rupt is ge ner ated ag ain . If an over flow befor e the ed ge is det ected , the F[...]

  • Страница 44

    EM78P312N 8-Bit Microcontroller 40 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) 8-bit Up-counter Comparator TCR4 TC4CR MUX TC4 pin TC4CK TC4S 3 TC4 Interrupt fc/2 11 fc/2 7 fc/2 3 Clea r TC4M (1, 1) TC4M (1,*) TC4FF Toggle Set Clear /PWM, /PDO Pin Overflow Match F/F Q Fig. 5-24 Ti [...]

  • Страница 45

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 41 (This specification is subject to change without further notice) 5.11.4 P WM Mod e In Pulse W idth Modulat ion ( PWM) Output mod e, coun ting up is perfor med u sing the intern al clock . The co nte nts of the T CR4 are co mpa red w ith the conten ts of t he[...]

  • Страница 46

    EM78P312N 8-Bit Microcontroller 42 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) 5.13 I/O Ports The I/O regis ters, Por t 6, Po rt 7, P ort 8, and P ort 9 ar e bi- direction al tri -stat e I/O port s. Each I /O pin c an be de fined a s “inp ut” or “output” pin by the I/O c o[...]

  • Страница 47

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 43 (This specification is subject to change without further notice)  The W atchdog t imer an d pr esca ler are cleare d.  Upon pow er on, the up per t w o bits of R 3 are c leare d.  Upon pow er on, the up per t w o bits of R 4 are c leare d.  Upon [...]

  • Страница 48

    EM78P312N 8-Bit Microcontroller 44 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) Tabl e 6. Summary of the Initia liz ed Values for Re gisters Address Name Reset Type Bit 7 Bit 6 Bi t 5 Bit 4 Bi t 3 Bit 2 Bit 1 Bit 0 Bit Na me C67 C66 C65 C64 C63 C62 C61 C60 Power-on 1 1 1 1 1 1 1 1 [...]

  • Страница 49

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 45 (This specification is subject to change without further notice) Regis ter Bank 0 Address Name Reset T ype Bit 7 Bit 6 Bi t 5 Bi t 4 Bit 3 Bit 2 Bi t 1 Bit 0 Bit Name X X X PS0 X X SIS RE M Power-o n U 0 0 0 U U 0 0 /RESET and WDT time out U 0 0 0 U U 0 0 0x[...]

  • Страница 50

    EM78P312N 8-Bit Microcontroller 46 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) Regis ter Bank 1 Addr es s Nam e Reset Typ e Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bi t 1 Bi t 0 Bit Name TC3 CAP TC 3S TC3CK 1 TC3 CK 0 TC3M X X X Power-on 0 0 0 0 0 U U U /RESET and WDT time out 0 0 0 0[...]

  • Страница 51

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 47 (This specification is subject to change without further notice) Regis ter Bank 2 Address Name R ese t Type Bi t 7 Bit 6 Bit 5 Bit 4 Bit 3 Bi t 2 Bi t 1 Bi t 0 Bit Name URTD8 UMODE 1 UMOD E0 BRAT E2 BRATE1 BRATE0 UTBE TXE Power- on U 0 0 0 0 0 0 0 /RESET and[...]

  • Страница 52

    EM78P312N 8-Bit Microcontroller 48 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) Gene ral Purp os e Reg ist ers Address Nam e Reset Ty pe Bi t 7 Bit 6 Bit 5 Bit 4 Bit 3 Bi t 2 Bi t 1 Bi t 0 Bit Na me - - - - - - - - Po wer-on U U U U U U U U /RESET and WDT time out P P P P P P P P 0[...]

  • Страница 53

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 49 (This specification is subject to change without further notice) Voltage Detector Power-on Reset WDTE Setup Time VDD DQ CLK CLR CLK RESET WDT Timeou t WDT /RESET Oscillator F i g. 5- 2 8 C ont r o ll er Re s et Bl o ck Di agr am 5.15 Inter rup t The EM78P312[...]

  • Страница 54

    EM78P312N 8-Bit Microcontroller 50 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) The flag (e xcept ICIF bit) in the Interrup t Status Register ( ISFR 2) is se t regar dless of the sta tus of it s mask bit o r the ex ec ution of E NI. Th e RE TI ins truc tio n end s the inte rrupt ro[...]

  • Страница 55

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif icatio n (V1 . 0) 10. 0 3 .2 0 06 • 51 (This specification is subject to change without further notice) OSCI OSCO EM78P809N Ext. Cl ock Fig. 5-2 9 Crys tal/Res onator C irc uit C1 C2 XTAL RS OSCI OSCO EM78 P809N Fig. 5-30 Crys tal/Reso nat or Circ uit Table 12. Cap acitor Sele ction Gu ide for Cr[...]

  • Страница 56

    EM78P312N 8-Bit Microcontroller 52 • Pr oduct S pecification ( V1.0) 10. 03.2006 (This specification is subject to change without further notice) 740 4 4.7 K 10 K XTA L 740 4 C1 Vdd 10 K C2 OSCI EM78P8 09N F i g. 5 -3 2 Cr y s t al/ R es o nat or -P a r al le l M od e Ci r c ui t 5.16.3 Extern al RC Oscill ato r Mode For applic atio ns th at do n[...]

  • Страница 57

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif i cati on (V 1 . 0) 10 . 0 3 .2 0 06 • 53 (This specification is subject to change without further notice) Table 13. RC Osc illato r Frequen cies Cext Rext Average Fosc 5V, 25 ° C Aver age Fosc 3 V, 25 ° C 3.3k 4.3 2 MHz 3.5 6 MHz 5.1k 2.8 3 M Hz 2.8 M Hz 10k 1.62 MHz 1.5 7 MHz 20 pF 100k 184kH[...]

  • Страница 58

    EM78P312N 8-Bit Microcontroller 54 • Pr oduct S pecification ( V1.0) 10.03. 2006 (This specification is subject to change without further notice) Bit 4 (OSC) : Oscillator type sele ction OSC = “0 ” : RC t y pe OSC = “1 ” : Crysta l t ype B it 3 (HL P) : P ower select ion HLP = “ 0” : Low pow er HLP = “ 1” : High pow er Bit 2~0 ( P[...]

  • Страница 59

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif i cati on (V 1 . 0) 10 . 0 3 .2 0 06 • 55 (This specification is subject to change without further notice) EM 78P809N /RESET Vd d D R Rin C Fig. 5 -34 Exte rnal P owe r-Up Reset Circu it 5.18.2 Resid ue-Vol tage P rotectio n W hen batter y is re place d, de vice pow er ( V DD ) is tak en off but [...]

  • Страница 60

    EM78P312N 8-Bit Microcontroller 56 • Pr oduct S pecification ( V1.0) 10.03. 2006 (This specification is subject to change without further notice) 5.19 Instructi on Set Each in stru ction in the instr uction set i s a 13- bit wor d d ivided i nto an O P co de and one or more op era nds. No rmall y, all i nstr uction s are e xecute d withi n on e s[...]

  • Страница 61

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif i cati on (V 1 . 0) 10 . 0 3 .2 0 06 • 57 (This specification is subject to change without further notice) Binary Instruc t ion Hex Mnemonic Oper at io n Status Affected 0 0000 0 1rr rrrr 00rr MOV R, A A → R None 0 0000 100 0 0000 008 0 CLRA 0 → A Z 0 0000 1 1rr rrrr 00rr CLR R 0 → R Z 0 00[...]

  • Страница 62

    EM78P312N 8-Bit Microcontroller 58 • Pr oduct S pecification ( V1.0) 10.03. 2006 (This specification is subject to change without further notice) 6 A b solute Max imu m Rating s 6.1 Absolute Maximum Ratings Items Rat ing Temperatur e under bias -40 ° C to 8 5 ° C Storage tem perature -65 ° C to 15 0 ° C Input v oltage -0.3V to +6.0V Outpu t v[...]

  • Страница 63

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif i cati on (V 1 . 0) 10 . 0 3 .2 0 06 • 59 (This specification is subject to change without further notice) 7 Electrica l Characteristics 7.1 DC El ectrical Charac te ristics Ta = 25 ° C, V DD= 5.0V ± 5%, VSS= 0 V Sy mbol Parameter Condition Min. Typ. Max. Unit Fc Cry stal: 4 .5 V to VD D Two cy[...]

  • Страница 64

    EM78P312N 8-Bit Microcontroller 60 • Pr oduct S pecification ( V1.0) 10.03. 2006 (This specification is subject to change without further notice) Ta = 25 ° C, V DD= 3.0V ± 5%, VSS= 0 V Symbol Paramete r Cond ition Min. Ty p. Max. Unit Fc Cryst al: 2 .5 V to VDD Two cy cle a with two clo cks 1 − 4 MHz ERC ERC: VDD = 3V R: 5.1K Ω , C: 100 pF 6[...]

  • Страница 65

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif i cati on (V 1 . 0) 10 . 0 3 .2 0 06 • 61 (This specification is subject to change without further notice) A/D Con verte r Char acter ist ic (Vdd =2 .5V t o 5.5V, Vss=0V, Ta = -4 0 to 85° C) Sy mbo l Parameter Condition Mi n. Typ . Max. Unit VAREF 2.5 − V DD V VASS Analog reference volt age VA[...]

  • Страница 66

    EM78P312N 8-Bit Microcontroller 62 • Pr oduct S pecification ( V1.0) 10.03. 2006 (This specification is subject to change without further notice) 7.2 AC Ele ct rical Characte ristic Ta=- 40 ° C ~ 8 5 ° C, V DD= 5V ± 5%, VSS =0V Symbol Paramete r Condit ions Min Ty p Max Unit Dclk Input CLK dut y cycle − 45 50 55 % Cr ys ta l t yp e ( hig h f[...]

  • Страница 67

    EM7 8 P3 12 N 8-Bit Microcontroller Product Specif i cati on (V 1 . 0) 10 . 0 3 .2 0 06 • 63 (This specification is subject to change without further notice) 7.3 T iming Diagram RES ET Timing ( CLK="0") CLK / RESET NOP I nstr ucti on 1 Executed Tdr h TCC I nput Ti m ing ( CLK S="0") CLK TCC Ttc c Ti ns AC Te st i ng : I nput i[...]

  • Страница 68

    EM78P312N 8-Bit Microcontroller 64 • Pr oduct S pecification ( V1.0) 10.03. 2006 (This specification is subject to change without further notice) A PPENDIX A Pack age Types : OTP MCU Pac kage T ype Pin Count Package Size EM78P312NP DIP 28 600 mil EM78P312NK SDIP 28 400 m il EM78P312NAK SDIP 28 300 mil EM78P312NM S OP 28 300 mil EM78P312NS SSOP 28[...]