Datasheet

Section 12 16-Bit Duty Period Measurement Timer (TDP)
Rev. 3.00 Sep. 28, 2009 Page 354 of 910
REJ09B0350-0300
12.6.5 Conflict between Edge Detection in Cycle Measurement Mode and TDPMDS Bit
Clearing
When the TDPMDS bit in TDPCR1 is cleared in cycle measurement mode while the CST bit in
TDPCR1 is 1 and the edge of TDPCYI is detected at the same time, the detected edge signal will
cause the timer to continue to operate in cycle measurement mode. The timer enters timer mode
when the next edge is detected. Therefore, ensure that the CST bit is cleared to 0 in cycle
measurement mode.
Figure 12.17 shows the timing of this conflict.
N + 1NH'0000M
NML
φ
TDPCYI
TDPCNT cleared
at the first rising edge TDPCNT is not cleared
Input capture
signal
TDPCNT
TDPICR
Internal write
signal
TDPMDS
Figure 12.17 Conflict between Edge Detection and TDPMDS Bit Clearing (In Switching
from Cycle Measurement Mode to Timer Mode)
12.6.6 Settings for TDPCKI and TDPMCI
TDPCKI and TDPMCI are multiplexed on the same pin of this LSI. Therefore, the selected
external clock and the TDPMCI signal cannot be used at the same time. Do not make the settings
CKS2 to CKS0 = B'111 and PMMS = B'1.
12.6.7 Setting for Module Stop Mode
The module-stop control register can be used to specify whether to continue or stop TDP
operation. The default setting is for the TDP operation to stop. The TDP registers become
accessible on release from module stop mode. For details, see section 24, Power-Down Modes.