Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

S9S08QD2CSC Datasheet(PDF) 52 Page - Freescale Semiconductor, Inc

Part # S9S08QD2CSC
Description  HCS08 Microcontrollers
PDF  198 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

S9S08QD2CSC Datasheet(HTML) 52 Page - Freescale Semiconductor, Inc

Back Button S9S08QD2CSC Datasheet HTML 48Page - Freescale Semiconductor, Inc S9S08QD2CSC Datasheet HTML 49Page - Freescale Semiconductor, Inc S9S08QD2CSC Datasheet HTML 50Page - Freescale Semiconductor, Inc S9S08QD2CSC Datasheet HTML 51Page - Freescale Semiconductor, Inc S9S08QD2CSC Datasheet HTML 52Page - Freescale Semiconductor, Inc S9S08QD2CSC Datasheet HTML 53Page - Freescale Semiconductor, Inc S9S08QD2CSC Datasheet HTML 54Page - Freescale Semiconductor, Inc S9S08QD2CSC Datasheet HTML 55Page - Freescale Semiconductor, Inc S9S08QD2CSC Datasheet HTML 56Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 52 / 198 page
background image
Chapter 5 Resets, Interrupts, and General System Control
MC9S08QD4 Series MCU Data Sheet, Rev. 6
52
Freescale Semiconductor
5.4
Computer Operating Properly (COP) Watchdog
The COP watchdog is intended to force a system reset when the application software fails to execute as
expected. To prevent a system reset from the COP timer (when it is enabled), application software must
reset the COP counter periodically. If the application program gets lost and fails to reset the COP counter
before it times out, a system reset is generated to force the system back to a known starting point.
After any reset, the COPE becomes set in SOPT1 enabling the COP watchdog (see Section 5.8.5, “System
Options Register 2 (SOPT2),” for additional information). If the COP watchdog is not used in an
application, it can be disabled by clearing COPE. The COP counter is reset by writing any value to the
address of SRS. This write does not affect the data in the read-only SRS. Instead, the act of writing to this
address is decoded and sends a reset signal to the COP counter.
The COPCLKS bit in SOPT2 (see Section 5.8.5, “System Options Register 2 (SOPT2),” for additional
information) selects the clock source used for the COP timer. The clock source options are either the bus
clock or an internal 32 kHz clock source. With each clock source, there is an associated short and long
time-out controlled by COPT in SOPT1. Table 5-1 summaries the control functions of the COPCLKS and
COPT bits. The COP watchdog defaults to operation from the 32 kHz clock source and the associated long
time-out (28 cycles).
Even if the application will use the reset default settings of COPE, COPCLKS and COPT, the user must
write to the write-once SOPT1 and SOPT2 registers during reset initialization to lock in the settings. That
way, they cannot be changed accidentally if the application program gets lost. The initial writes to SOPT1
and SOPT2 will reset the COP counter.
The write to SRS that services (clears) the COP counter must not be placed in an interrupt service routine
(ISR) because the ISR could continue to be executed periodically even if the main application program
fails.
In Background debug mode, the COP counter will not increment.
When the bus clock source is selected, the COP counter does not increment while the system is in stop
mode. The COP counter resumes once the MCU exits stop mode.
When the 32 kHz clock source is selected, the COP counter is re-initialized to zero upon entry to stop
mode. The COP counter begins from zero once the MCU exits stop mode.
Table 5-1. COP Configuration Options
Control Bits
Clock Source
COP Overflow Count
COPCLKS
COPT
00
~32 kHz
210 cycles (32 ms)1
1 Values are shown in this column based on t
RTI =1 ms. See tRTI in the Section A.8.1,
“Control Timing,” for the tolerance of this value.
01
~32 kHz
213 cycles (256 ms)1
10
Bus
213 cycles
11
Bus
218 cycles



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com