Renesas M16C/26A Series Hardware Manual page 139

16-bit single-chip microcomputer m16c family / m16c/tiny series
Hide thumbs Also See for M16C/26A Series:
Table of Contents

Advertisement

M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
6
Three-phase PWM control register 1
b7 b6 b5 b4 b3 b2 b1 b0
0
NOTES:
1. Write to this register after setting the PRC1 bit in the PRCR register to "1" (write enable). Note also that this register
can only be rewritten when timers A1, A2, A4 and B2 are idle.
2. A start trigger is generated by writing to the TB2 register only while timer B2 stops.
3. The effects of the INV11 bit are described in the table below.
Mode
TA11, TA21, TA41 registers
INV00 bit, INV01 bit
INV13 bit
4. If the INV06 bit is set to "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).
5. The INV13 bit is effective only when the INV06 bit is set to "0" (triangular wave modulation mode) and the INV11 bit is
set to "1" (three-phase mode 1).
6. 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 set to "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 by the
falling edge of one-shot pulse).
Figure 12.3.3. INVC1 Register
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
6
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
f o
3
2
9
C
2 /
6
) T
(1)
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
(3)
1: Three-phase mode 1
0 : f
or f
1
1 : f
divided by 2 or f
1
0: Timer A1 reload control signal is "0"
1: Timer A1 reload control signal is "1"
(5)
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
(2)
(4)
2
divided by 2
2
(6)
INV11=1
Three-phase mode 1
Used
Effect
Effective when INV11 bit is set to "1"
and INV06 bit is set to "0"
12. Timer
RW
RW
RW
RW
RO
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents