EM78P258N
8-Bit Microprocessor with OTP ROM
6.12 Code Option
EM78P258N has two CODE option words and one Customer ID word that are not a
part of the normal program memory.
Word 0
Word1
Word 2
Bit12 ~ Bit0
Bit12 ~ Bit0
Bit12 ~ Bit0
6.12.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
–
–
–
TYP
CLKS ENWDTB OSC2 OSC1 OSC0
HLP
PR2
PR1
PR0
Bit 12 ~ 10:
Not used (reserved). These bits are set to “1” all the time
Type selection.
Bit 9 (TYPE):
1 = EM78P258N (default)
The bit is set to “1” all the time
Bit 8 (CLKS):
Instruction period option bit
0 = two oscillator periods
1 = four oscillator periods (default)
Refer to the Section 6.15 for Instruction Set
Bit 7 (ENWDTB): Watchdog timer enable bit
0 = Enable
1 = Disable (default)
Bit 6, 5 & 4 (OSC2, OSC1 & OSC0): Oscillator Modes Selection bits
Oscillator Modes
OSC2 OSC1 OSC0
ERC1 (External RC oscillator mode); P70/OSCO acts as P70
ERC1 (External RC oscillator mode); P70/OSCO acts as OSCO
IRC2 (Internal RC oscillator mode); P70/OSCO acts as P70
IRC2 (Internal RC oscillator mode); P70/OSCO acts as OSCO
LXT3 (Low XTAL oscillator mode)
0
0
0
0
1
1
0
0
1
1
1
1
0
1
0
1
0
1
HXT3 High XTAL oscillator mode) (default)
1 Under ERC mode, OSCI is used as oscillator pin. OSCO/P70 is defined by code
option WORD0 Bit6 ~ Bit4.
2 Under IRC mode, P55 is normal I/O pin. OSCO/P70 is defined by code
option WORD0 Bit6 ~ Bit4.
3 Under LXT and HXT modes; OSCI and OSCO are used as oscillator pins. These
pins and cannot and should not be defined as normal I/O pins.
NOTE
The transient point of system frequency between HXT and LXY is around 400 KHz.
62 •
Product Specification (V1.0) 06.16.2005
(This specification is subject to change without further notice)