10
10-137
MULTIJUNCTION TIMERS
10.6 TML (Input-Related 32-Bit Timer)
32180 Group User’s Manual (Rev.1.0)
(2) Precautions on using TML measure input
The following describes precautions to be observed when using TML measure input.
• If measure event input and write to the counter occur in the same clock period, the write value is set in the
counter, whereas the up-count value (before being rewritten) is latched into the measure register.
• If clock bus 1 is selected and any clock other than BCLK/2 is used for the timer, the counter cannot be
written normally. Therefore, when using any clock other than BCLK/2, do not write to the counter.
• If clock bus 1 is selected and any clock other than BCLK/2 is used for the timer, the value captured into the
measure register is one count larger the counter value. During the count clock to BCLK/2 period interval,
however, the captured value is exactly the counter value.
The diagram below shows the relationship between counter operation and the valid data that can be cap-
tured.
Counter
BACDE
F
ABCDE
• When BCLK/2 is selected
BCLK/2
Captured
Counter
BA
C
• When clock bus 1 is selected
BCLK/2
Count clock
Captured
BCD
F
Figure 10.6.3 Mistimed Counter Value and the Captured Value