English
Language : 

K60P100M100SF2RM Datasheet, PDF (523/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
23.4.2 Byte Test
Chapter 23 Watchdog Timer (WDOG)
The byte test implements more thorough a test of the watchdog timer. In this test, the
timer is split up into its constituent byte-wide stages that are run independently and tested
for time-out against the corresponding byte of the time-out value register. The following
figure explains the splitting concept:
Modulus Register
(Time-out Value)
Byte 1
WDOG
Test
32-bit Timer
Byte
Stage 1
Reset Value (Hardwired)
Byte 2
Byte 3
Equality Comparison
Byte
en Stage 2
Byte
en Stage 3
Byte 4
Byte
en Stage 4
WDOG
Reset
Mod = = Timer?
CLK
Nth Stage Overflow Enables N + 1th Stage
Figure 23-2. Watchdog Timer Byte Splitting
Each stage is an 8-bit synchronous counter followed by combinational logic that
generates an overflow signal. The overflow signal acts as an enable to the N + 1th stage.
In the test mode, when an individual byte, N, is tested, byte N – 1 is loaded forcefully
with 0xFF, and both these bytes are allowed to run off the clock source. By doing so the
overflow signal from stage N – 1 is generated immediately, enabling counter stage N.
The Nth stage runs and compares with the Nth byte of the time-out value register. In this
way, the byte N is also tested along with the link between it and the preceding stage. No
other stages, N – 2, N – 3... and N + 1, N + 2... are enabled for the test on byte N. These
disabled stages (except the most significant stage of the counter) are loaded with a value
of 0xFF.
These two testing schemes achieve the overall aim of testing the counter functioning and
the compare and reset logic.
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
523