4283 Group
➁ In this case, the following is set;
• To expand “H” interval of carrier wave is invalid (V23 = “0”),
• Timer 2 carrier wave generation function is valid (V22=“1”),
• Count source XIN/2 selected (V21=“1”),
• “L” interval (0316) of carrier wave is set to reload register R2L
• “H” interval (0216) of carrier wave is set to reload register R2H
Timer 2 count start timing
Machine cycle Mi
Mi + 1
Mi + 2
TV2A instruction execution cycle (V20) ←1
Instruction clock
=f(XIN)/8
XIN
XIN/2
(Count source selected)
Register V20
0316
0216 0116 0016 0216 0116 0016 0316 0216
Timer 2 count value
(Reload register)
(R2L)
(R2H)
(R2L)
Timer 2 underflow signal
CARRYD
Timer 2 count start timing
Timer 2 count stop timing
Machine cycle Mi
Mi + 1
Mi + 2
TV2A instruction execution cycle (V20)←0
Instruction clock
=f(XIN)/8
XIN
XIN/2
(Count source selected)
Register V20
Timer 2 count value
(Reload register)
0016 0316 0216 0116 0016 0216 0116 0016 0316 0216 0116 0016 0216
(R2L)
(R2H)
(R2L)
(R2H)
Timer 2 underflow signal
(Note 1)
CARRYD
Timer 2 count stop timing
Notes 1: When the carrier wave generation function is vaild (V22=“1”), avoid a timing
when timer 2 underflows to stop timer 2. When the timer 2 count stop occurs
at the same timing with the timer 2 underflows, hazard may occur in the carrier
wave output waveform.
2: When the timer 2 is stopped during “H” output of carrier wave while the carrier
wave generation function is valid, it is stopped after the “H” interval set by
reload register R2H is output.
Fig. 17 Timer 2 count start/stop timing
Rev.1.01 Mar 20, 2006 page 16 of 62
REJ03B0109-0101