Renesas M16C/29 Series Hardware Manual page 140

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group
Three-phase PWM control register 1
b7 b6 b5 b4 b3 b2 b1 b0
0
Note 1: Write to this register after setting the PRC1 bit of PRCR register to "1" (write enable). Note also that this
register can only be rewritten when timers A1, A2, A4 and B2 are idle.
Note 2: The effects of the INV11 bit are described in the table below.
Mode
TA11, TA21, TA41 registers
INV00 bit, INV01 bit
INV13 bit
Note 3: If the INV06 bit is "1" (sawtooth wave modulation mode), set this bit to "0" (three-phase mode 0). Also, if the
INV11 bit is "0", set the PWCON bit to "0" (timer B2 reloaded by a timer B2 underflow).
Note 4: The INV13 bit is effective only when the INV06 bit is "0" (triangular wave modulation mode) and the INV11 bit
is "1" (three-phase mode 1).
Note 5: If all of the following conditions hold true, set the INV16 bit to "1" (dead time timer triggered by the rising edge
of three-phase output shift register output)
• The INV15 bit is "0" (dead time timer enabled)
• When the INV03 bit is set to "1" (three-phase motor control timer output enabled), the Dij bit and DiBj bit (i:U,
V, or W, j: 0 to 1) have always different values (the positive-phase and negative-phase always output
different levels during the period other than dead time).
Conversely, if either one of the above conditions holds false, set the INV16 bit to "0" (dead time timer triggered
Figure 12.3.3. INVC1 Register
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
(Note 1)
Symbol
INVC1
Bit symbol
Timer A1, A2, A4 start
INV10
trigger signal select bit
Timer A1-1, A2-1, A4-1
INV11
control bit
Dead time timer count
INV12
source select bit
Carrier wave detect flag
INV13
INV14
Output polarity control bit
INV15
Dead time invalid bit
Dead time timer trigger
select bit
INV16
Reserved bit
(b7)
Item
Three-phase mode 0
Not used
Has no effect. ICTB2 counted every time
timer B2 underflows regardless of
whether the INV00 to INV01 bits are set.
Has no effect
page 120 of 402
12.3 Three-phase Motor Control Timer Function
Address
After reset
0349
00
16
16
Bit name
0: Timer B2 underflow
1: Timer B2 underflow and write to the
TB2 register
0: Three-phase mode 0
(Note 2)
1: Three-phase mode 1
0 : f
or f
1
1 : f
divided by 2 or f
1
0: Timer A output at even-numbered occ-
urrences (TA11, TA21, TA41 register
(Note 4)
value counted)
1: Timer A output at odd-numbered occ-
urrences (TA1, TA2, TA4 register
value counted)
0 : Output waveform "L" active
1 : Output waveform "H" active
0: Dead time timer enabled
1: Dead time timer disabled
0: Falling edge of timer A4, A1 or A2
one-shot pulse
1: Rising edge of three-phase output shift
register (U, V or W phase) output
This bit should be set to "0"
INV11=0
Description
(Note 3)
2
divided by 2
2
(Note 5)
INV11=1
Three-phase mode 1
Used
Effect
Effective when INV11 bit is "1" and
INV06 bit is "0"
RW
RW
RW
RW
RO
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents