English
Language : 

MC908JL3ECPE Datasheet, PDF (124/180 Pages) Freescale Semiconductor, Inc – Microcontrollers
Computer Operating Properly (COP)
The COP counter is a free-running 6-bit counter preceded by the 12-bit system integration module (SIM)
counter. If not cleared by software, the COP counter overflows and generates an asynchronous reset after
262,128 or 8176 2OSCOUT cycles; depending on the state of the COP rate select bit, COPRS, in
configuration register 1. With a 262,128 2OSCOUT cycle overflow option, a 8MHz crystal gives a COP
timeout period of 32.766 ms. Writing any value to location $FFFF before an overflow occurs prevents a
COP reset by clearing the COP counter and stages 12 through 5 of the SIM counter.
NOTE
Service the COP immediately after reset and before entering or after exiting
stop mode to guarantee the maximum time before the first COP counter
overflow.
A COP reset pulls the RST pin low for 32 × 2OSCOUT cycles and sets the COP bit in the reset status
register (RSR). (See 5.7.2 Reset Status Register (RSR).).
NOTE
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.
13.3 I/O Signals
The following paragraphs describe the signals shown in Figure 13-1.
13.3.1 2OSCOUT
2OSCOUT is the oscillator output signal. 2OSCOUT frequency is equal to the crystal frequency or the
RC-oscillator frequency.
13.3.2 COPCTL Write
Writing any value to the COP control register (COPCTL) (see 13.4 COP Control Register) clears the COP
counter and clears bits 12 through 5 of the SIM counter. Reading the COP control register returns the low
byte of the reset vector.
13.3.3 Power-On Reset
The power-on reset (POR) circuit in the SIM clears the SIM counter 4096 × 2OSCOUT cycles after
power-up.
13.3.4 Internal Reset
An internal reset clears the SIM counter and the COP counter.
13.3.5 Reset Vector Fetch
A reset vector fetch occurs when the vector address appears on the data bus. A reset vector fetch clears
the SIM counter.
13.3.6 COPD (COP Disable)
The COPD signal reflects the state of the COP disable bit (COPD) in the configuration register (CONFIG).
(See Chapter 3 Configuration Registers (CONFIG).)
MC68HC908JL3E Family Data Sheet, Rev. 4
124
Freescale Semiconductor