Figure 10-74: Timer Output Example When Trnce = 1 Is Set (Initial) (Pwm Mode With Dead Time) - NEC V850E/PH2 User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

Figure 10-74: Timer Output Example When TRnCE = 1 Is Set (Initial)
Sub-counter
TRnCE
TRnCCR0
TRnDTC0
TRnDTC1
[TRnCCR1 = 0000H]
[TRnCCR1 = 0001H]
[TRnCCR1 = 0002H]
[TRnCCR1 = 0003H]
[TRnCCR1 = 0004H]
[TRnCCR1 = 0005H]
[TRnCCR1 = 0007H]
[TRnCCR1 = 0009H]
[TRnCCR1 = 000AH]
(5)
Dead time control in PWM mode with dead time
In the PWM mode with dead time, compare registers (TRnCCR1 to TRnCCR3) are used as the
duty setting registers, and another compare register (TRnCCR0) is used as the cycle setting
register. Through the use of these four registers, a variable duty 6-phase PWM waveform is
output. To realize dead time control, three 10-bit down counters that operate in synchronization
with the counter's count clock, and dead time setting registers (TRnDTC0, TRnDTC1) are
provided. The TRnDTC0 register is used to set the dead time from when the inverted phase
becomes inactive to when the normal phase becomes active, and the TRnDTC1 register is used
to set the dead time from when the normal phase becomes inactive to when the inverted phase
becomes active.
The following figure shows an output example when TRnDTC0 = x, TRnDTC1 = y.
454
Chapter 10 16-bit Inverter Timer/Counter R
(PWM mode with Dead Time)
Counter
0000 000100020003000400050006 00070000000100020003 0004
FFFF
000800090002 00030004 000500060007000800090002 00030004
FFFF
"L"
TORn1
TORn2
"H"
TORn1
"L"
TORn2
"L"
TORn1
TORn2
TORn1
TORn2
TORn1
TORn2
TORn1
TORn2
TORn1
"L"
TORn2
TORn1
"L"
TORn2
TORn1
"L"
TORn2
User's Manual U16580EE3V1UD00
0007H (for cycle setting)
002H (for dead time setting)
002H (for dead time setting)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mupd70f3187

Table of Contents