APPENDIX D LIST OF CAUTIONS
User’s Manual U16898EJ3V0UD
392
(6/17)
Chapter
Classification
Function Details
of
Function
Cautions Page
CR80: compare
register 80
When changing the value of CR80, be sure to stop the timer operation. If the
value of CR80 is changed with the timer operation enabled, a match interrupt
request signal is generated immediately and the timer may be cleared.
p. 124
Be sure to set TMC80 after stopping the timer operation.
p. 125
TMC80: 8-bit
timer mode
control register
80
Be sure to clear bits 0 and 6 to 0.
p. 125
When changing the value of CR80, be sure to stop the timer operation. If the
value of CR80 is changed with the timer operation enabled, a match interrupt
request signal may be generated immediately.
p. 126
Soft
Iterval timer
If the count clock of TMC80 is set and the operation of TM80 is enabled at the
same time by using an 8-bit memory manipulation instruction, the error of one
cycle after the timer is started may be 1 clock or more (refer to 7.5 (1) Error when
timer starts). Therefore, be sure to follow the above sequence when using TM80
as an interval timer.
p. 126
Hard
Error when
timer start
The time from starting the timer to generation of the match signal includes an
error of up to 1.5 clocks. This is because, if the timer is started while the count
clock is high, the rising edge may be immediately detected and the counter may
be incremented (refer to Figure 7-6).
p. 128
CR80: compare
register 80
8-bit compare register 80 (CR80) can be set to 00H.
p. 128
Chapter 7
Soft
8-bit timer
80
Stting STOP
mode
Before executing the STOP instruction, be sure to stop the timer operation
(TCE80 = 0).
p. 128
CMP01: 8-bit
timer H
compare
register 01
CMP01 cannot be rewritten during timer count operation.
p. 131
CMP11: 8-bit
timer H
compare
register 11
In the PWM output mode, be sure to set CMP11 when starting the timer count
operation (TMHE1 = 1) after the timer count operation was stopped (TMHE1 = 0)
(be sure to set again even if setting the same value to CMP11).
p. 131
When TMHE1 = 1, setting the other bits of the TMHMD1 register is prohibited.
p. 133
Soft
TMHMD1: 8-bit
timer H mode
register 1
In the PWM output mode, be sure to set 8-bit timer H compare register 11
(CMP11) when starting the timer count operation (TMHE1 = 1) after the timer
count operation was stopped (TMHE1 = 0) (be sure to set again even if setting
the same value to the CMP11 register).
p. 133
Hard
In PWM output mode, the setting value for the CMP11 register can be changed
during timer count operation. However, three operation clocks (signal selected
using the CKS12 to CKS10 bits of the TMHMD1 register) or more are required to
transfer the register value after rewriting the CMP11 register value.
p. 139
Be sure to set the CMP11 register when starting the timer count operation
(TMHE1 = 1) after the timer count operation was stopped (TMHE1 = 0) (be sure
to set again even if setting the same value to the CMP11 register).
p. 139
Chapter 8
Soft
8-bit timer
H1
PWM output
Make sure that the CMP11 register setting value (M) and CMP01 register setting
value (N) are within the following range.
00H
≤
CMP11 (M) < CMP01 (N)
≤
FFH
p. 140