English
Language : 

MC68HC11P2 Datasheet, PDF (187/268 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Resets and Interrupts
Resets
The state of the NOCOP bit in the CONFIG register determines whether
the COP system is enabled or disabled. To change the enable status of
the COP system, change the contents of the CONFIG register and then
perform a system reset. In the special test and bootstrap operating
modes, the COP system is initially inhibited by the disable resets (DISR)
control bit in the TEST1 register. The DISR bit can subsequently be
written to zero to enable COP resets.
The COP timer rate control bits CR[1:0] in the OPTION register
determine the COP timeout period. The system E clock is divided by 215
and then further scaled by a factor shown in Table 10-1. After reset,
these bits are zero, which selects the shortest timeout period. In normal
operating modes, these bits can only be written once within 64 bus
cycles after reset.
Table 10-1. COP timer rate select
Divide XTAL = 8MHz: XTAL = 12MHz: XTAL = 16MHz:
CR[1:0] E/215 by
timeout(1)
timeout(1)
timeout(1)
00
1
16.384 ms
10.923 ms
8.192 ms
01
4
65.536 ms
43.691 ms
32.768 ms
10
16
262.14 ms
174.76 ms
131.07 ms
11
64
1.049 sec
699.05 ms
524.29 ms
E=
2.0 MHz
3.0 MHz
4.0 MHz
1. The timeout period has a tolerance of –0/+one cycle of the E/215 clock due to the
asynchronous implementation of the COP circuitry. For example, with XTAL = 8MHz,
the uncertainty is –0/+16.384ms. See also the M68HC11 Reference Manual,
(M68HC11RM/AD).
10.3.4 COPRST — Arm/reset COP timer circuitry register
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
COP timer arm/reset (COPRST) $003A (bit 7) (6)
(5)
(4)
(3)
(2)
(1)
(bit 0)
not
affected
Complete the following reset sequence to service the COP timer. Write
$55 to COPRST to arm the COP timer clearing mechanism. Then write
$AA to COPRST to clear the COP timer. Executing instructions between
MC68HC11P2 — Rev 1.0
Resets and Interrupts
For More Information On This Product,
Go to: www.freescale.com
Technical Data