Z86E30/E31/E40
Z8 4K OTP Microcontroller
Zilog
32
P R E L I M I N A R Y
DS97Z8X0500
FUNCTIONAL DESCRIPTION
The MCU incorporates the following special functions to
enhance the standard Z8 architecture to provide the user
with increased design flexibility.
RESET.
The device is reset in one of three ways:
1.
Power-On Reset
2.
Watch-Dog Timer
3.
STOP-Mode Recovery Source
Note:
Having the Auto Power-on Reset circuitry built-in,
the MCU does not need to be connected to an external
power-on reset circuit. The reset time is 5 ms (typical). The
MCU does not re-initialize WDTMR, SMR, P2M, and P3M
registers to their reset values on a STOP-Mode Recovery
operation.
Note:
The device V
CC
must rise up to the operating V
CC
specification before the TPOR expires.
Program Memory.
The MCU can address up to 4 KB of
Internal Program Memory (Figure 22). The first 12 bytes of
program memory are reserved for the interrupt vectors.
These locations contain six 16-bit vectors that correspond
to the six available interrupts. For EPROM mode, byte 12
(000CH) to address 4095 (0FFFH) consists of program-
mable EPROM. After reset, the program counter points at
the address 000CH, which is the starting address of the
user program.
In ROMless mode, the Z86E40 can address up to 64 KB
of External Program Memory. The ROM/ROMless option
is only available on the 44-pin devices.
Figure 22. Program Memory Map
(ROMless Z86E40 Only)
12
11
10
9
8
7
6
5
4
3
2
1
0
External
ROM and RAM
Location of
First Byte of
Instruction
Executed
After RESET
Interrupt
Vector
(Lower Byte)
Interrupt
Vector
(Upper Byte)
IRQ5
IRQ4
IRQ4
IRQ3
IRQ3
IRQ2
IRQ2
IRQ1
IRQ1
IRQ0
IRQ0
IRQ5
On-Chip One Time PROM
External
ROM and RAM
IRQ5
IRQ4
IRQ4
IRQ3
IRQ3
IRQ2
IRQ2
IRQ1
IRQ1
IRQ0
IRQ0
IRQ5
65535
EPROM
ROMless
4096
4095