NOTE:
20.4 I/O Signals
20.4.1 CGMXCLK
20.4.2 STOP Instruction
20.4.3 COPCTL Write
20.4.4 Power-On Reset
MC68HC908AB32
Rev. 1.0
—
MOTOROLA
A COP reset pulls the RST pin low for 32 CGMXCLK cycles and sets the
COP bit in the SIM reset status register (SRSR).
In monitor mode, the COP is disabled if the RST pin or the IRQ is held
at V
During the break state, V
TST
Place COP clearing instructions in the main program and not in an
interrupt subroutine. Such an interrupt subroutine could keep the COP
from generating a reset even while the main program is not working
properly.
The following paragraphs describe the signals shown in
CGMXCLK is the crystal oscillator output signal. CGMXCLK frequency
is equal to the crystal frequency.
The STOP instruction clears the COP prescaler.
Writing any value to the COP control register (COPCTL)
Control
Register) clears the COP counter and clears bits 12 through 5
of the prescaler. Reading the COP control register returns the low byte
of the reset vector.
The power-on reset (POR) circuit clears the COP prescaler 4096
CGMXCLK cycles after power-up.
Computer Operating Properly (COP)
Computer Operating Properly (COP)
on the RST pin disables the COP.
TST
I/O Signals
Figure
20-1.
(see 20.5 COP
Technical Data
355