
MC68HC908SR12MC68HC08SR12 — Rev. 5.0
Data Sheet
Freescale Semiconductor
Computer Operating Properly (COP)
351
Data Sheet — MC68HC908SR12MC68HC08SR12
Section 21. Computer Operating Properly (COP)
21.1 Contents
21.2
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .351
21.3
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .352
21.4
21.4.1
21.4.2
21.4.3
21.4.4
21.4.5
21.4.6
21.4.7
21.4.8
I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .353
ICLK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .353
STOP Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .353
COPCTL Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .353
Power-On Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .353
Internal Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .354
Reset Vector Fetch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .354
COPD (COP Disable). . . . . . . . . . . . . . . . . . . . . . . . . . . . .354
COPRS (COP Rate Select) . . . . . . . . . . . . . . . . . . . . . . . .354
21.5
COP Control Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .355
21.6
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .355
21.7
Monitor Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .355
21.8
21.8.1
21.8.2
Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .355
Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .356
Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .356
21.9
COP Module During Break Mode. . . . . . . . . . . . . . . . . . . . . .356
21.2 Introduction
The computer operating properly (COP) module contains a free-running
counter that generates a reset if allowed to overflow. The COP module
helps software recover from runaway code. Prevent a COP reset by
clearing the COP counter periodically. The COP module can be disabled
through the COPD bit in the configuration register 1 (CONFIG1).