Z86L79/80
Low-Voltage Microcontroller Zilog
3-40 P R E L I M I N A R Y DS97LVO0601
FUNCTIONAL DESCRIPTION (Continued)
The crystal should be connected across XTAL1 and
XTAL2 using the suppliers recommended capacitors from
each pin to ground. The RC oscillator configuration is an
external resistor connected from XTAL1 to XTAL2, with a
frequency-setting capacitor from XTAL1 to ground (Figure
32).
Power-On Reset (POR). A timer circuit clocked by a ded-
icated on-board RC oscillator is used for the Power-On Reset (POR) timer function. The POR time allows VCC and
the oscillator circuit to stabilize before instruction execution begins.
The POR timer circuit is a one-shot timer triggered by one
of three conditions:
1. Power Fail to Power OK status including waking up
from Low Voltage standby mode.
2. Stop-Mode Recovery (if D5 of SMR = 1).
3. WDT Time-Out.
The POR time is a nominal 5 ms. Bit 7 of the Stop-Mode
Register determines whether the POR timer is bypassed
after Stop-Mode Recovery (typical for external clock, RC,
LC oscillators).
HALT. HALT turns off the internal CPU clock, but not the
XTAL oscillation. The counter/timers and external interrupts IRQ0, IRQ1, IRQ2, IRQ3, and IRQ4 remain active.
The devices are recovered by interrupts, either externally
or internally generated. An interrupt request must be executed (enabled) to exit HALT mode. After the interrupt service routine, the program continues from the instruction after the HALT.
STOP. This instruction turns off the internal clock and external crystal oscillation and reduces the standby current
to 10 µA (typical) or less. STOP mode is terminated only
by a reset, such as WDT time-out, POR, SMR, or external
reset. This causes the processor to restart the application
program at address 000CH. 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 before the appropriate sleep instruction, i.e.,
FF NOP ; clear the pipeline
6F STOP ; enter STOP mode
or
FF NOP ; clear the pipeline
7F HALT ; enter HALT mode
Note: A WDT time-out during STOP mode will have the
same effect like a recovery from any programmed STOP
mode recovery source except the reset delay of TPOR will
occur.
Note: The comparators are disabled in STOP mode.
Port Configuration Register (PCON). The PCON regis-
ter configures the comparator output on Port 3. It is located in the expanded register file at Bank F, location 00 (Figure 33).
Figure 32. Oscillator Configuration
XTAL1
XTAL2
C1
C2
C1
C2
C1
XTAL1
XTAL2
XTAL1
XTAL2
XTAL1
XTAL2
Ceramic Resonator or Crystal
C1, C2 = 47 pF TYP *
f = 8 MHz
LC
C1, C2 = 22 pF
L = 130 µH *
f = 3 MHz *
RC
@ 3V VCC (TYP)
C1 = 33 pF *
R = 1K *
External Clock
L
R
* Preliminary value including pin parasitics
C1
32 kHz XTAL
C1 = 20 pF, C = 33 pF
Rd = 56 - 470K
Rf =10 M
Rf
C2 Rd
XTAL1
XTAL2