MOTOROLA
52
MC68HC11KA4
MC68HC11KA4TS/D
10 Main Timer
The timing system is based on a free-running 16-bit counter with a four-stage programmable prescaler.
A timer overflow function allows software to extend the system's timing capability beyond the counter's
16-bit range.
The timer has three channels of input capture, four channels of output compare, and one channel that
can be configured as a fourth input capture or a fifth output compare. In addition, the timing system in-
cludes pulse accumulator and real-time interrupt (RTI) functions, as well as a clock monitor function,
which can be used to detect clock failures that are not detected by the COP.
Refer to
11 Pulse Accumulator
and
10.1 Real-Time Interrupt
for further information about these func-
tions. Refer to the following table for a summary of the crystal-related frequencies and periods.
Table 9 Timer Summary
XTAL Frequencies
12.0 MHz
3.0 MHz
333 ns
Main Timer Count Rates
8.0 MHz
2.0 MHz
500 ns
16.0 MHz
4.0 MHz
250 ns
Other Rates
(E)
(1/E)
Control
Bits
PR[1:0]
0 0
1 count —
overflow —
500 ns
32.768 ms
333 ns
21.845 ms
250 ns
16.384 ms
(E/1)
(E/2
16)
0 1
1 count —
overflow —
2.0
μ
s
131.07 ms
1.333
μ
s
87.381 ms
1.0
μ
s
65.536 ms
(E/4)
(E/2
18
)
1 0
1 count —
overflow —
4.0
μ
s
262.14 ms
2.667
μ
s
174.76 ms
2.0
μ
s
131.07 ms
(E/8)
(E/2
19
)
1 1
1 count —
overflow —
8.0
μ
s
524.29 ms
5.333
μ
s
349.52 ms
4.0
μ
s
262.14 ms
(E/16)
(E/2
20
)
RTR[1:0]
0 0
0 1
1 0
1 1
Periodic (RTI) Interrupt Rates
2.731 ms
5.461 ms
10.923 ms
21.845 ms
4.096 ms
8.192 ms
16.384 ms
32.768 ms
2.048 ms
4.096 ms
8.192 ms
16.384 ms
(E/2
13)
(E/214
)
(E/2
15
)
(E/2
16
)
CR[1:0]
0 0
0 1
1 0
1 1
COP Watchdog Time-out Rates
10.923 ms
43.691 ms
174.76 ms
699.05 ms
16.384 ms
65.536 ms
262.14 ms
1.049 s
8.192 ms
32.768 ms
131.07 ms
524.28 ms
(E/2
15)
(E/217
)
(E/2
19
)
(E/2
21
)
Time-out Tolerance
(–0 ms/+...)
16.4 ms
10.9 ms
8.192 ms
(E/2
15
)