EMC EM78P154NP

EM78P154N
Product
Specification
DOC. VERSION 1.0
ELAN MICROELECTRONICS CORP.
Trademark Acknowledgments:
IBM is a registered trademark and PS/2 is a trademark of IBM.
Windows is a trademark of Microsoft Corporation.
ELAN and ELAN logo
are trademarks of ELAN Microelectronics Corporation.
2006 by ELAN Microelectronics Corporation
All Rights Reserved
Copyright
Printed in Taiwan
The contents of this specification are subject to change without further notice. ELAN Microelectronics assumes
no responsibility concerning the accuracy, adequacy, or completeness of this specification. ELAN
Microelectronics makes no commitment to update, or to keep current the information and material contained in
this specification. Such information and material may change to conform to each confirmed order.
In no event shall ELAN Microelectronics be made responsible for any claims attributed to errors, omissions, or
other inaccuracies in the information or material contained in this specification. ELAN Microelectronics shall not
be liable for direct, indirect, special incidental, or consequential damages arising from the use of such information
or material.
The software (if any) described in this specification is furnished under a license or nondisclosure agreement, and
may be used or copied only in accordance with the terms of such agreement.
ELAN Microelectronics products are not intended for use in life support appliances, devices, or systems. Use of
ELAN Microelectronics product in such applications is not supported and is prohibited.
NO PART OF THIS SPECIFICATION MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR BY
ANY MEANS WITHOUT THE EXPRESSED WRITTEN PERMISSION OF ELAN MICROELECTRONICS.
Headquarters:
Hong Kong:
USA:
No. 12, Innovation Road 1
Hsinchu Science Park
Hsinchu, Taiwan 30077
Tel: +886 3 563-9977
Fax: +886 3 563-9966
http://www.emc.com.tw
Elan (HK) Microelectronics
Corporation, Ltd.
Elan Information
Technology Group (USA)
Rm. 1005B, 10/F Empire Centre
68 Mody Road, Tsimshatsui
Kowloon , HONG KONG
Tel: +852 2723-3376
Fax: +852 2723-7780
[email protected]
1821 Saratoga Ave., Suite 250
Saratoga, CA 95070
USA
Tel: +1 408 366-8225
Fax: +1 408 366-8220
Europe:
Shenzhen:
Shanghai:
Elan Microelectronics Corp.
(Europe)
Elan Microelectronics
Shenzhen, Ltd.
Elan Microelectronics
Shanghai, Ltd.
Siewerdtstrasse 105
8050 Zurich, SWITZERLAND
Tel: +41 43 299-4060
Fax: +41 43 299-4079
http://www.elan-europe.com
SSMEC Bldg., 3F, Gaoxin S. Ave.
Shenzhen Hi-Tech Industrial Park
Shenzhen, Guandong, CHINA
Tel: +86 755 2601-0565
Fax: +86 755 2601-0500
23/Bldg. #115 Lane 572, Bibo Road
Zhangjiang Hi-Tech Park
Shanghai, CHINA
Tel: +86 21 5080-3866
Fax: +86 21 5080-4600
Contents
1
General Description .................................................................................................. 1
2
Features ..................................................................................................................... 1
3
Pin Assignments and Descriptions ......................................................................... 3
4
Function Description ................................................................................................ 4
Product Specification (V1.0) 03.10.2006
iii
Contents
5
Absolute Maximum Ratings ................................................................................... 36
6
Electrical Characteristics ....................................................................................... 36
APPENDIX
A
Package Types......................................................................................................... 38
B
Package Information ............................................................................................... 38
C
Quality Assurance and Reliability ......................................................................... 40
Specification Revision History
Doc. Version
iv
Revision Description
Date
Product Specification (V1.0) 03.10.2006
EM78P154N
8-Bit Microcontroller with OTP ROM
1
General Description
1.1
Comparison between EM78P154N, EM78P159N, and
EM78P157N
AN-001
2
EM78P154N/159N introduction and comparison with EM78P157N
Features
:
:
:
:
:
:
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
1
EM78P154N
8-Bit Microcontrollerwith OTP ROM
:
:
:
:
:
2
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
3
Pin Assignments and Descriptions
1
14
P51
2
13
P50
P54/TCC
3
/RESET
4
Vss
5
P60/INT
6
P61
7
EM78P154NP
EM78P154NM
P52
P53
12
P56/OSCI
11
P55/OSCO
10
VDD
9
P67
8
P66
Figure3-1a EM78P154NP/M Pin Assignments
3.1
Symbol
EM78P154NP and EM78P154NM Pin Description
Pin No.
Type
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
Function
3
EM78P154N
8-Bit Microcontrollerwith OTP ROM
4
Function Description
OSCO
/RESET
OSCI
TCC
WDT timer
/INT
Oscillator/Timing
Control
R2
ROM
Prescaler
Stack
IOCA
Interrupt
Controller
RAM
R4
ALU
Instruction
Register
R3
R1(TCC)
Instruction
Decoder
ACC
DATA & CONTROL BUS
IOC6
R6
I/O
PORT 6
P62
P63
P64
P65
P60//INT
P61
IOC5
R5
P66
P67
I/O
PORT 5
P50
P51
P52
P53
P54
P55
P56
Figure 4-1 Function Block Diagram
4.1
Operational Registers
4.1.1 R0 (Indirect Addressing Register)
4.1.2 R1 (Time Clock /Counter)
4
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
4.1.3 R2 (Program Counter) & Stack
On-chip Program
Memory
Figure 4-2 Program Counter Organization
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
5
EM78P154N
8-Bit Microcontrollerwith OTP ROM
Address
R PAGE Registers
IOC PAGE Registers
4.1.4 R3 (Status Register)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 0 (C):
Bit 1 (DC):
Bit 2 (Z):
Bit 3 (P):
Bit 4 (T):
Bit 5 ~7 (GP0 ~ 2):
6
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
4.1.5 R4 (RAM Select Register)
Bits 0 ~ 5:
:
Bits 6 ~ 7:
4.1.6 R5 ~ R6 (Port 5 ~ Port 6)
R6
R5
Port 5
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 7:
Port 6
Bit 7
Bits 2 ~ 5:
4.1.7 RD (Manual Calibration Register)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
EM78P154N
ICE159N Simulator, C3 ~ C0
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
7
EM78P154N
8-Bit Microcontrollerwith OTP ROM
Bit 3 ~ Bit 0 (C3 ~ C0):
C3
C2
C1
C0
Cycle Time (ns)
Frequency (MHz)
NOTES:
1. Frequency values shown are theoretical and taken from an instance of a high
frequency mode. Hence they are shown for reference only. Definite values will
depend on the actual process.
2. Similar way of calculation is also applicable to Low Frequency mode.
Bits 4 ~ 7:
4.1.8 RE (Wake Up Control Register)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bits 0:
Bit 1 (ICWE):
0
1
Bits 2 ~ 7:
8
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
4.1.9
RF (Interrupt Status Register)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 0 (TCIF):
Bit 1 (ICIF):
Bit 2 (EXIF):
Bits 3 ~ 7:
NOTE
The result of reading RF is the "logic AND" of RF and IOCF.
4.1.10 R10 ~ R3F
4.2 Special Purpose Registers
4.2.1 A (Accumulator)
4.2.2 CONT (Control Register)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 0 (PSR0) ~ Bit 2 (PSR2):
PSR2
PSR1
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
PSR0
TCC Rate
9
EM78P154N
8-Bit Microcontrollerwith OTP ROM
Bit 3 (PSRE):
0
1
Bit 4 (TE):
0
1
Bit 5 (TS):
0
1
Bit 6 (/INT):
0
1
Bit 7:
4.2.3 IOC5 ~ IOC6 (I/O Port Control Register)
Port 5
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 7
Port 6
Bit 7
Bits 2 ~ 5
4.2.4 IOCA (Prescaler Counter Register)
10
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
4.2.5 IOCB (Pull-Down Control Register)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 2
Bit 1
Bit 0
Bit 2
Bit 1
Bit 0
Bit 0 (/PD0):
0
1
Bit 1 (/PD1):
Bit 2 (/PD2):
Bit 3 (/PD3):
Bit 4 (/PD4):
Bit 5 (/PD5):
Bits 6 ~ 7:
4.2.6 IOCC (Open-Drain Control Register)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 0 (OD0):
0
1
Bit 1 (OD1):
Bit 6 (OD6):
Bit 7 (OD7):
Bits 2~5:
4.2.7 IOCD (Pull-High Control Register)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 0 (/PH0):
0
1
Bit 1 (/PH1):
Bit 6 (/PH6):
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
11
EM78P154N
8-Bit Microcontrollerwith OTP ROM
Bit 7 (/PH7):
Bits 2~5:
4.2.8 IOCE (WDT Control Register)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 7 (WDTE):
0
1
Bit 6 (EIS):
0
1
Bit 5:
Bit 4 (ROC):
Bit 3 (PSWE):
0
:
1
Bit 2 (PSW2) ~ Bit 0 (PSW0):
PSW2
12
PSW1
PSW0
WDT Rate
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
4.2.9 IOCF (Interrupt Mask Register)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 0 (TCIE):
0
1
Bit 1 (ICIE):
0
1
Bit 2 (EXIE):
0
1
Bits 3~7:
4.3 TCC/WDT & Prescaler
1
1
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
13
EM78P154N
8-Bit Microcontrollerwith OTP ROM
4.4 I/O Ports
PC RD
Q
_
Q
PO R T
Q
_
Q
P
R
C
L
P
R
C
L
D
PC W R
C LK
IO D
D
C LK
PD W R
PD RD
0
1
M
U
X
Figure 4-3 I/O Port and I/O Control Register for Port 5 Circuit
NOTE
Pull-down is not shown in the figure.
14
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
PC R D
Q
_
Q
P D
R
C LK
C
L
PC W R
Q
_
Q
P
R D
C LK
C
L
PD W R
P 6 0 /I N T
PO R T
B it 6 o f I O C E
P
R
C LK
C
L
D
0
Q
M
U
X
1
_
Q
IO D
T 10
PD R D
P
R
C LK
C
L
D
Q
_
Q
IN T
Figure 4-4a I/O Port and I/O Control Register for P60 (/INT) Circuit
NOTE
Pull-high (down) and Open-drain are not shown in the figure.
PCRD
P61~P67
PORT
0
1
Q
_
Q
P
R D
CLK
C
L
PCWR
Q
_
Q
P
R D
CLK
C
L
PDWR
IOD
M
U
X
PDRD
P
R
CLK
C
L
D
TIN
Q
_
Q
Figure 4-4b I/O Port and I/O Control Register for P61~P67 Circuit
NOTE
Pull-high (down) and Open-drain are not shown in the figure.
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
15
EM78P154N
8-Bit Microcontrollerwith OTP ROM
IOCE.1
D
P
R
Q
Interrupt
CLK
_
C Q
L
RE.1
ENI Instruction
P
D R
T10
T11
Q
CLK
_
C Q
L
P
Q R D
CLK
_
Q C
L
T17
DISI Instruction
Interrupt
(Wake-up from SLEEP)
/SLEP
Next Instruction
(Wake-up from SLEEP)
Figure 4-4c I/O Port 6 with Input Change Interrupt/Wake-up Block Diagram
4.4.1 Usage of Port 6 Input Change Wake-up/Interrupt Function
Usage of Port 6 Input Status Changed Wake-up/Interrupt
4. Enable wake-up bit (Set RE ICWE =1)
4. Enable wake-up bit (Set RE ICWE =1)
5. Enable interrupt (Set IOCF ICIE =1)
Enable interrupt (Set IOCF0 ICIE =1)
16
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
PCRD
VCC
ROC
Q
P
R
Q
C
L
Q
P
R
Q
C
L
Weakly
Pull-up
PORT
D
CLK
PCWR
D
IOD
PDWR
PDRD
0
1
Rex*
M
U
X
*The Rex is 430K ohm external resistor
Figure 4-5 I/O Port with R-option (P50,P51) Circuit
4.5 RESET and Wake-up
4.5.1 RESET
2
:
2
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
17
EM78P154N
8-Bit Microcontrollerwith OTP ROM
[a]
[b]
Interrupt
18
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
MOV A, @xx000110b
; Select internal TCC clock
CONTW
CLR R1
; Clear TCC and prescaler
MOV A, @xxxx1110b
; Select WDT prescaler
CONTW
WDTC
; Clear WDT and prescaler
MOV A, @0xxxxxxxb
;Disable WDT
IOW RE
MOV R6, R6
; Read Port 6
BS RE,1
; Enable wake up control bit
MOV A, @00000x1xb
; Enable Port 6 input change interrupt
IOW RF
ENI (or DISI)
; Enable (or disable) global interrupt
SLEP
;Sleep
NOP
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
19
EM78P154N
8-Bit Microcontrollerwith OTP ROM
4.5.2 The Summary of the Initialized Values for Registers
Address
20
Name
Reset Type
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
*
*
*
*
*
*
*
*
**
**
**
**
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
Address
Name
Reset Type
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
* ump to address 0x08, or execute the instruction next to the “SLEP” instruction.
** Refer to tables provided under next section (Section 4.5.3).
Legend:
X:
U:
P:
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
21
EM78P154N
8-Bit Microcontrollerwith OTP ROM
4.5.3 The Status of RST, T, and P of STATUS Register
The Values of RST, T, and P after RESET
Reset Type
T
P
*
*
*
* P: Previous status before reset
The Status of T and P Being Affected by Events
Event
T
P
*
* P: Previous status before reset
VDD
D
CLK
Oscillator
Q
CLK
CLR
Power-on
Reset
Voltage
Detector
WDTE
WDT
WDT Timeout
Setup Time
RESET
/RESET
Figure 4-6 Controller Reset Block Diagram
22
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
4.6 Interrupt
:
VCC
D
/IR Q n
P
R
CLK
C
L
Q
IR Q n
IN T
_
Q
RFRD
IR Q m
RF
E N I /D IS I
Q
IO C F
_
Q
P
R
C
L
IO D
D
CLK
IO C F W R
/R E S E T
IO C F R D
RFW R
Figure 4-7 Interrupt Input Circuit
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
23
EM78P154N
8-Bit Microcontrollerwith OTP ROM
4.7 Oscillator
4.7.1 Oscillator Modes
Oscillator Modes Defined by OSC
Mode
OSC2 OSC1 OSC0
(default)
NOTE
The transient point of system frequency between HXT and LXY is around 400 KHz.
Summary of Maximum Operating Speeds
Conditions
24
VDD
Max Freq. (MHz)
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
4.7.2 Crystal Oscillator/Ceramic Resonators (XTAL)
Figure 4-8a External Clock Input Circuit
Figure 4-8b Crystal/Resonator Circuit
Capacitor Selection Guide for Crystal Oscillator or Ceramic Resonator
Oscillator Type
Frequency Mode
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
Frequency
C1(pF)
C2(pF)
25
EM78P154N
8-Bit Microcontrollerwith OTP ROM
NOTE
The values of capacitors C1 & C2 are for reference only.
4.7.3 External RC Oscillator Mode
Vcc
Rext
Cext
Figure 4-9 External RC Oscillator Mode Circuit
26
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
RC Oscillator Frequencies
Cext
Average Fosc
5V, 25 C
Rext
Average Fosc
3V, 25 C
NOTE
1. Measured on DIP packages.
2. The values are for design reference only.
3. The frequency drift is about 30%
4.7.4 Internal RC Oscillator Mode
Internal RC Drift Rate (Ta=25
Internal
RC Frequency
, VDD=3.9V 5%, VSS=0V)
Drift Rate
Temperature
(-40 ~ +85 )
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
Voltage
(2.3V ~ 5.5V)
Process
Total
27
EM78P154N
8-Bit Microcontrollerwith OTP ROM
Calibration Selection for Internal RC Mode
C3
C2
C1
C0
Cycle Time (ns)
Frequency (MHz)
4.8 CODE Option Register
Code Option Register and Customer ID Register Arrangement Distribution:
Word 0
Word 1
Word 2
4.8.1 Code Option Register (Word 0)
WORD 0
Bit 12 Bit 11 Bit 10 Bit 9 Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 0 ~ Bit 2 (PR0 ~ PR2):
:
PR2
28
PR1
PR0
Protect
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
Bit 3 (HLP):
0
1
Bit 4 ~ Bit 6 (OSC0 ~ OSC2):
Mode
OSC2 OSC1 OSC0
(default)
NOTE
The transient point of system frequency between HXT and LXY is around 400 KHz.
Bit 7 (ENWDTB):
0
1
Bit 8 (CLKS0):
Word 0
CLK0
(default)
Instruction Set
Bit 9 ~ Bit 12:
4.8.2 Customer ID Register (Word 1)
WORD 0
Bit12 Bit11 Bit10
Bit9
Bit8
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
Bit 0 ~ Bit 1 ( RCM0 ~ RCM1):
RCM 1
RCM 0
Frequency (MHz)
Bit 2 ~ Bit 5:
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
29
EM78P154N
8-Bit Microcontrollerwith OTP ROM
Bit 6 (CYES):
0
1
Bit 7 ~ Bit 10:
Bits 11 (RCOUT):
0
1
Bit 12:
4.8.3 Customer ID Register (Word 2)
WORD 0
Bit12 Bit11 Bit10
Bit9
Bit8
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
Bit 0 ~ Bit 12:
4.9 Power-On Considerations
4.10 External Power-On Reset Circuit
R
/
D
Rin
C
Figure 4-10 External Power-Up Reset Circuit
30
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
4.11 Residue-Voltage Protection
Figure 4-11a Residue Voltage Protection Circuit (1)
Vdd
Vdd
R1
EM78P154N
Q1
RESET
40K
R2
Figure 4-11b Residue Voltage Protection Circuit (2)
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
31
EM78P154N
8-Bit Microcontrollerwith OTP ROM
4.12 Instruction Set
:
A
B
:
:
R
b
K
32
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
Instruction Binary
Hex
Mnemonic
Operation
Status Affected
0 0000 0000 0000
0 0000 0000 0001
0 0000 0000 0010
0 0000 0000 0011
0 0000 0000 0100
0 0000 0000 rrrr
Note1
0 0000 0001 0000
0 0000 0001 0001
0 0000 0001 0010
0 0000 0001 0011
0 0000 0001 0100
0 0000 0001 rrrr
Note1
0 0000 01rr rrrr
0 0000 1000 0000
0 0000 11rr rrrr
0 0001 00rr rrrr
0 0001 01rr rrrr
0 0001 10rr rrrr
0 0001 11rr rrrr
0 0010 00rr rrrr
0 0010 01rr rrrr
0 0010 10rr rrrr
0 0010 11rr rrrr
0 0011 00rr rrrr
0 0011 01rr rrrr
0 0011 10rr rrrr
0 0011 11rr rrrr
0 0100 00rr rrrr
0 0100 01rr rrrr
0 0100 10rr rrrr
0 0100 11rr rrrr
0 0101 00rr rrrr
0 0101 01rr rrrr
0 0101 10rr rrrr
0 0101 11rr rrrr
0 0110 00rr rrrr
0 0110 01rr rrrr
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
33
EM78P154N
8-Bit Microcontrollerwith OTP ROM
Instruction Binary
Hex
Mnemonic
Operation
Status Affected
0 0110 10rr rrrr
0 0110 11rr rrrr
0 0111 00rr rrrr
0 0111 01rr rrrr
0 0111 10rr rrrr
0 0111 11rr rrrr
0 100b bbrr rrrr
Note2
0 101b bbrr rrrr
Note3
0 110b bbrr rrrr
0 111b bbrr rrrr
1 00kk kkkk kkkk
1 01kk kkkk kkkk
1 1000 kkkk kkkk
1 1001 kkkk kkkk
1 1010 kkkk kkkk
1 1011 kkkk kkkk
1 1100 kkkk kkkk
1 1101 kkkk kkkk
1 1110 0000 0001
1 1111 kkkk kkkk
Note 1:
Note 2:
Note 3:
34
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
4.13 Timing Diagrams
AC Test Input/Output Waveform
VDD-0.5V
0.75VDD
TEST POINTS
0.25VDD
0.75VDD
0.25VDD
GND+0.5V
AC Testing : Input is driven at VDD-0.5V for logic "1",and GND+0.5V for logic "0".Timing
measurements are made at 0.75VDD for logic "1",and 0.25VDD for logic "0".
RESET Timing (CLK="0")
NOP
Instruction 1
Executed
CLK
/RESET
Tdrh
TCC Input Timing (CLKS="0")
Tins
CLK
TCC
Ttcc
Figure 4-12 EM78P154N Timing Diagrams
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
35
EM78P154N
8-Bit Microcontrollerwith OTP ROM
5
Absolute Maximum Ratings
EM78P154N
Items
6
Rating
Electrical Characteristics
6.1 DC Electrical Characteristic
(Ta=25 C, VDD=5V 5%, VSS=0V)
Symbol
36
Parameter
Condition
Min
Typ
Max
Unit
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
Symbol
Parameter
Condition
Min
Typ
Max
Unit
6.2 AC Electrical Characteristic
(Ta=25 C, VDD=5V 5%, VSS=0V)
Symbol
Parameter
Conditions
Min
Typ
Max
Unit
*
*
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
37
EM78P154N
8-Bit Microcontrollerwith OTP ROM
APPENDIX
A Package Types
OTP MCU
Package Type
Pin Count
Package Size
B Package Information
Figure B-1a EM78P154N 14-Lead PDIP Package Type
38
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
Figure B-1b EM78P154N 14-Lead SOP Package Type
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
39
EM78P154N
8-Bit Microcontrollerwith OTP ROM
C Quality Assurance and Reliability
C.1 Reliability Test
Test Category
Test Conditions
Remarks
:
:
:
:
40
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
EM78P154N
8-Bit Microcontroller with OTP ROM
C.2 Power-On Reset and Vdd Voltage Drop/Rise Timing Test
et
Symbol
Parameter
Condition
Min.
Typ.
Max.
Unit
*
**
* Tvd is the period of Vdd voltage lower than POR voltage.
** Tvr is the period of Vdd voltage higher than 5.5V.
Figure C-1 EM78P154N Power-On Reset and Vdd Voltage Drop/Rise Timing Test Timing Diagram
C.3 Address Trap Detect
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)
41
EM78P154N
8-Bit Microcontrollerwith OTP ROM
42
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)