Manual IBM EM78P312N

68 pages 0.65 mb
Download

Go to site of 68

Summary
  • IBM EM78P312N - page 1

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

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 3

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

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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" ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 & ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 = ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 − − − ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

  • IBM EM78P312N - page 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 ...

Manufacturer IBM Category Network Card

Documents that we receive from a manufacturer of a IBM EM78P312N can be divided into several groups. They are, among others:
- IBM technical drawings
- EM78P312N manuals
- IBM product data sheets
- information booklets
- or energy labels IBM EM78P312N
All of them are important, but the most important information from the point of view of use of the device are in the user manual IBM EM78P312N.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals IBM EM78P312N, service manual, brief instructions and user manuals IBM EM78P312N. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product IBM EM78P312N.

Similar manuals

A complete manual for the device IBM EM78P312N, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use IBM EM78P312N by users. Manuals are usually written by a technical writer, but in a language understandable to all users of IBM EM78P312N.

A complete IBM manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual IBM EM78P312N - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the IBM EM78P312N, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the IBM EM78P312N, that we can find in the current document
3. Tips how to use the basic functions of the device IBM EM78P312N - which should help us in our first steps of using IBM EM78P312N
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with IBM EM78P312N
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of IBM EM78P312N in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning IBM EM78P312N?

Use the form below

If you did not solve your problem by using a manual IBM EM78P312N, ask a question using the form below. If a user had a similar problem with IBM EM78P312N it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)