APPENDIX D LIST OF CAUTIONS
User’s Manual U16898EJ3V0UD
390
(4/17)
Chapter
Classification
Function Details
of
Function
Cautions Page
Always set data to PRM00 after stopping the timer operation.
pp. 92,
117
Soft
If the valid edge of the TI000 pin is to be set as the count clock, do not set the
clear/start mode and the capture trigger at the valid edge of the TI000 pin.
pp. 92,
119
In the following cases, note with caution that the valid edge of the TI0n0 pin is
detected.
<1> Immediately after a system reset, if a high level is input to the TI0n0 pin, the
operation of the 16-bit timer counter 00 (TM00) is enabled
→
If the rising edge or both rising and falling edges are specified as the valid edge
of the TI0n0 pin, a rising edge is detected immediately after the TM00
operation is enabled.
<2> If the TM00 operation is stopped while the TI0n0 pin is high level, TM00
operation is then enabled after a low level is input to the TI0n0 pin
→
If the falling edge or both rising and falling edges are specified as the valid
edge of the TI0n0 pin, a falling edge is detected immediately after the TM00
operation is enabled.
<3> If the TM00 operation is stopped while the TI0n0 pin is low level, TM00
operation is then enabled after a high level is input to the TI0n0 pin
→
If the rising edge or both rising and falling edges are specified as the valid edge
of the TI0n0 pin, a rising edge is detected immediately after the TM00
operation is enabled.
pp. 92,
121
The sampling clock used to eliminate noise differs when a TI000 valid edge is
used as the count clock and when it is used as a capture trigger. In the former
case, the count clock is f
XP
, and in the latter case the count clock is selected by
prescaler mode register 00 (PRM00). The capture operation is not performed
until the valid edge is sampled and the valid level is detected twice, thus
eliminating noise with a short pulse width.
pp. 92,
121
Hard
PRM00:
Prescaler mode
register 00
When using P31 as the input pin (TI010) of the valid edge, it cannot be used as a
timer output (TO00). When using P31 as the timer output pin (TO00), it cannot be
used as the input pin (TI010) of the valid edge.
pp. 92,
121
Interval timer
Changing the CR000 setting during TM00 operation may cause a malfunction. To
change the setting, refer to 6.5 Cautions Related to 16-Bit Timer/Event Counter
00 (17) Changing compare register during timer operation.
p. 93
External event
counter
When reading the external event counter count value, TM00 should be read.
pp. 97,
121
To use two capture registers, set the TI000 and TI010 pins.
pp. 98,
119
pp. 99,
Pulse width
measurement
The measurable pulse width in this operation example is up to 1 cycle of the timer
counter.
101, 102,
104
Square-wave
output
Changing the CR000 setting during TM00 operation may cause a malfunction. To
change the setting, refer to 6.5 Cautions Related to 16-Bit Timer/Event Counter
00 (17) Changing compare register during timer operation.
p. 106
Changing the CRC0n0 setting during TM00 operation may cause a malfunction.
To change the setting, refer to 6.5 Cautions Related to 16-Bit Timer/Event
Counter 00 (17) Changing compare register during timer operation.
p. 108
Chapter 6
Soft
16-bit
timer/
event
counters
00
PPG output
Values in the following range should be set in CR000 and CR010.
0000H < CR010 < CR000
≤
FFFFH
pp. 109,
121