English
Language : 

Z86K13 Datasheet, PDF (18/24 Pages) Zilog, Inc. – CMOS Z8 8-Bit MCU Keyboard Controllers
Z86K13/K14/K15/K16/K17/K18
CMOS Z8® 8-Bit MCU Keyboard Controllers
PIN FUNCTIONS (Continued)
Power-On-Reset (POR). A timer circuit is triggered by the
system oscillator and is used for the Power-On Reset
(POR) timer function. The POR time allows VCC and the os-
cillator circuit to stabilize before instruction execution be-
gins. POR period is defined as:
POR (ms) =
589824
f(Hz)
The POR timer circuit is a one-shot timer triggered by one
of two conditions:
1. Power fail to Power OK status
2. Stop-Mode Recovery
The POR time is a nominal 147 ms ±10%. At 4 MHz the
POR timer is bypassed after Stop-Mode Recovery.
HALT. HALT turns off the internal CPU clock, but not the
RC oscillator. The counter/timer and external interrupts
IRQ0, IRQ1, IRQ2, and IRQ3 remain active. The Z86K15
is recovered by interrupts, either externally or internally
(Figure 19).
STOP. This instruction turns off the internal clock and os-
cillator. It reduces the standby current to less than 10 µA.
The STOP Mode is terminated by a reset only or external
reset. This causes the processor to restart the application
program at address 000C (HEX) or the active external in-
terrupt vector. In order to enter STOP (or HALT) Mode, it
is necessary to first flush the instruction pipeline to avoid
suspending execution in mid-instruction. To do this, the
user must execute a NOP (Opcode=FFH) immediately be-
fore the appropriate sleep instruction, such as:
Zilog
FF
NOP
6F
STOP
FF
NOP
7F
HALT
; clear the pipeline
; enter STOP Mode
or
; clear the pipeline
; enter HALT Mode
R250 IRQ
D7 D6 D5 D4 D3 D2 D1 D0
* On RESET
IRQ0 = P32 Input
IRQ1 = P33 Input
IRQ2 = P31 Input
IRQ3 = P30 Input
IRQ4 = TO
WDT during HALT
0 OFF *
1 ON
Stop Flag
0 POR/WDT*
1 Stop Recovery
WDT Hot Bit (Read Only)
0 POR*
1 WDT Timeout
Figure 19. IRQ Register
The Bit 6 of IRQ Registers are flags for STOP Mode Re-
covery (Figure 20).
Cold or Warm Start (D6). This bit is set upon entering
STOP Mode. A 0 (cold) indicates that the device is awak-
ened by a POR/WDT RESET. A 1 (warm) indicates that
the device is awakened by a SMR source. This bit is reset
when read.
Negative transition on any of the designated row input pins
or host data line will recover Z86KXX from STOP Mode.
P20-P26,
P30-P33
To Internal
RESET
Figure 20. Stop-Mode Recovery Source
18
PRELIMINARY
DS97KEY0204