
R01UH0336EJ0102 Rev.1.02
Page 837 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 15 TSG2 (TSG20)
Figure 15-42
Example of Dead Time Control between TSG2nO1 and TSG2nO2 Outputs
(2/2)
During (1), the dead time counter starts counting at the falling edge of the
TSG2nO1 output. Even after the 16-bit counter reaches 0000
H
and the match
occurs between the 16-bit counter an
d TSnCMP4, the TSG2nO2 output stays inactive because the dead time
counter is still operating. Moreover, since the TSnCMP3 register compare
match occurs before the operation of the dead time counter ends, the
TSG2nO2 output stays inactive.
T TSnDTC1
≥
T TSnCMP2 (TSG2nO2 stays
inactive)
T TSnDTC0
≥
T TSnCMP1 (TSG2nO1 stays
inactive)
At (2), the INTTSG2nIER interrupt occurs because the TSnCMP2 register and
the TSnCMP4 register are set so that the TSG2nO1 and TSG2nO2 outputs
rise simultaneously. Here, the TSG2nO1 output and the TSG2nO2 output are
inactive.
At (3), compare match with the TSnCMP4 register generates an
INTTSG2nIER interrupt and both TSG2nO1 and TSG2nO2 outputs become
inactive.
At (4), the falling edge (inactive) of the TSG2nO1 output is caused by the
simultaneous active state detected and the dead time counter starts counting.
After the end of the dead time counter operation, the TSG2nO2 output
becomes active.
Note 1.
TSG2nO1 and TSG2nO2 are set to active high.
Note 2.
The TSG2nO3 to TSG2nO6 pin outputs behave similarly.
16-bit counter
TSG2nO1 pin
TSG2nO2 pin
(2)
INTTSG2nIER interrupt
(3)
TSnCMP2
TSnCMP1
TSnCMP0
TSnCMP4
TSnCMP1
TSnCMP2
TSnCMP3
TSnCMP4
TSnCMP2
TSnDTC1
(1)
TSnDTC0
(4)
TSnCMP1
TSnCMP3
TSnCMP3
TSnCMP1
TSnCMP4
TSnCMP2