Renesas M16C/62P Hardware Manual page 161

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for M16C/62P:
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
Three-Phase PWM Control Register 1
b7
b6
b5
b4
NOTES:
1. Rewrite the INVC1 register after the PRC1 bit in the PRCR register is set to "1" (write enable).
The timers A1, A2, A4, and B2 must be stopped during rewrite.
2. The following table lists how the INV11 bit works.
Mode
TA11, TA21 and TA41 Registers
INV00 and INV01 Bit
INV13 Bit
3. When the INV06 bit is set to "1" (sawtooth wave modulation mode), set the INV11 bit to "0" (three-
phase mode 0). Also, when the INV11 bit is set to "0", set the PWCON bit in the TB2SC register to "0"
(timer B2 is reloaded when the timer B2 underflows).
4. The INV13 bit is enabled only when the INV06 bit is set to "0" (Triangular wave modulation mode) and
the INV11 bit to "1" (three-phase mode 1).
5. If the following conditions are all met, set the INV16 bit to "1" (rising edge of the three-phase output
shift register).
• The INV15 bit is set to "0" (dead time timer enabled)
• The Dij bit (i=U, V or W, j=0, 1) and DiBj bit always have different values when the INV03 bit
is set to "1". (The positive-phase and negative-phase always output opposite level signals.)
If above conditions are not met, set the INV16 bit to "0" (falling edge of a one-shot pulse of the timer
A1, A2, A4).
Figure 16.3 INVC1 Register
R
e
. v
2
3 .
0
S
e
p
0
, 1
2
0
0
4
R
E
J
0
9
B
0
1
8
5
0 -
2
3
0
Z
b3
b2
b1
b0
Symbol
INVC1
Bit
Symbol
Timer A1, A2 and A4
INV10
Start Trigger Select Bit
Timer A1-1, A2-1, A4-1
INV11
Control Bit
Dead Time Timer
INV12
Count Source Select Bit
INV13
Carrier Wave Detect Flag
Output Polarity Control Bit
INV14
Dead Time Disable Bit
INV15
Dead Time Timer Trigger
INV16
Select Bit
Reserved Bit
(b7)
Item
Three-phase mode 0
Not used
Disabled. The ICTB2 counter is
incremented whenever the timer B2
underflows
Disabled
page 147
f o
3
6
4
16. Three-Phase Motor Control Timer Function
(1)
Address
0349h
Bit Name
0: Timer B2 underflow
1: Timer B2 underflow and write to
the timer B2
0: Three-phase mode 0
(2, 3)
1: Three-phase mode 1
0 : f1 or f2
1 : f1 divided-by-2 or f2 divided-by-2
0: Timer A1 reload control signal is "0"
(4)
1: Timer A1 reload control signal is "1"
0 : Active "L" of an output waveform
1 : Active "H" of an output waveform
0: Enables dead time
1: Disables dead time
0: Falling edge of a one-shot pulse of
the timer A1, A2, A4
1: Rising edge of the three-phase output
shift register (U-, V-, W-phase)
Set to "0"
INV11 = 0
Three-phase mode 1
Used
Enabled
Enabled when INV11=1 and INV06=0
After Reset
00h
Function
RW
RW
RW
RW
RO
RW
RW
(5)
RW
RW
INV11 = 1

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pt

Table of Contents