
R01UH0336EJ0102 Rev.1.02
Page 842 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 15 TSG2 (TSG20)
(2)
List of HT-PWM Mode Operations
Note
• The values written to TSnCMPU, TSnCMPV, and TSnCMPW registers are
set to both the lower and upper 16-bits of the respective TSnCMP1W
(TSnCMP1, TSnCMP2), TSnCMP5W (TSnCMP5, TSnCMP6), and
TSnCMP9W (TSnCMP9, TSnCMP10) registers.
•
Please refer to (8) (a) TSnDTC0 and TSnDTC1 Rewriting, on how to rewrite
the TSnDTC0 and TSnDTC1.
Table 15-55
Counter Function in HT-PWM Mode
Operation
Setting Condition
16-bit
counter
Start
TSnTRG0.TSnTS = 0
→
1 (up count from TSnDTC0)
Up count
Compare match of TSnDTC0 buffer register and 16-bit counter
Down count
Compare match of T TSnDTC0 and 16-bit counter
Clear
-
Stop
TSnTRG1.TSnTT = 0
→
1
16-bit sub-
counter
Start
TSnTRG0.TSnTS = 0
→
1 (down count from TSnDTC0)
Up count
Underflow
Down count
Compare match of T T TSnDTC1 buffer register and 16-bit
sub-counter
Load
•
T TSnDTC0: When value of 16-bit counter matches the value of
buffer register T TSnDTC0
•
TSnDTC0: When value of 16-bit counter matches the value of the buffer register
TSnDTC0
Clear
-
Stop
TSnTRG1.TSnTT = 0
→
1
Table 15-56
Compare Register and Dead Time Setting Register Functions in HT-PWM
Mode
Register
Rewrite Method
Rewrite during
Operation
Function
TSnCMP0
Reload/Anytime rewrite
Possible
Setting period
TSnCMPU
-
Possible
PWM control for U phase
TSnCMP1W
(TSnCMP1, TSnCMP2)
Reload/Anytime rewrite
TSnCMPV
-
Possible
PWM control for V phase
TSnCMP5W
(TSnCMP5, TSnCMP6)
Reload/Anytime rewrite
TSnCMPW
-
Possible
PWM control for W phase
TSnCMP9W
(TSnCMP9, TSnCMP10)
Reload/Anytime rewrite
TSnDCMP0W, TSnDCMP2
Reload/Anytime rewrite
Possible
Diagnostic signal output or
A/D conversion trigger
TSnDTC0, TSnDTC1
Reload
Possible
conditionally
Period and dead time
setting