MPC555
/
MPC556
TIME PROCESSOR UNIT 3
MOTOROLA
USER’S MANUAL
Rev. 15 October 2000
17-7
Figure 17-3 TCR1 Prescaler Control
17.3.9 Prescaler Control for TCR2
Timer count register 2 (TCR2), like TCR1, is clocked from the output of a prescaler.
The T2CG (TCR2 clock/gate control) bit and the T2CSL (TCR2 counter clock edge) bit
in TPUMCR determine T2CR2 pin functions. Refer to
The function of the T2CG bit is shown in
When T2CG is set, the external T2CLK pin functions as a gate of the DIV8 clock (the
TPU3 IMB clock divided by eight). In this case, when the external TCR2 pin is low, the
DIV8 clock is blocked, preventing it from incrementing TCR2. When the external TCR2
pin is high, TCR2 is incremented at the frequency of the DIV8 clock. When T2CG is
cleared, an external clock from the TCR2 pin, which has been synchronized and fed
through a digital filter, increments TCR2. The duration between active edges on the
T2CLK clock pin must be at least nine IMB clocks.
The TCR2PSCK2 bit in TPUMCR3 determines whether the clock source is divided by
two before it is fed into the TCR2 prescaler. The TCR2 field in TPUMCR specifies the
value of the prescaler: 1, 2, 4, or 8. Channels using TCR2 have the capability to re-
Table 17-3 TCR2 Counter Clock Source
T2CSL
T2CG
TCR2 Clock
0
0
Rise transition T2CLK
0
1
Gated IMB clock
1 0
Fall
transition
T2CLK
1
1
Rise & fall transition T2CLK
IMB
Clock
Prescaler
PSCK
MUX
TCR1
PRESCALER
TCR1
DIV2
2,4,6,...64
Prescaler
32 / 4
1,2,4,8
EPSCKE
Enhanced
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..