Renesas M16C/6NK Hardware Manual page 159

16-bit single-chip microcomputer m16c family / m16c/60 series
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
Three-Phase PWM Control Register 1
b7
b6
b5
b4
b3
b2
0
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.
Item
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 14.3 INVC1 Register
Rev.2.00
Nov 28, 2005
REJ09B0124-0200
b1
b0
Symbol
INVC1
Bit
Bit Name
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
Carrier Wave Detect
INV13
(4)
Flag
Output Polarity Control
INV14
Bit
INV15
Dead Time Disable Bit
Dead Time Timer
INV16
Trigger Select Bit
-
Reserved Bit
(b7)
Three-phase mode 0
Not used
Disabled. The ICTB2 counter is
incremented whenever the timer B2
underflows
Disabled
page 141 of 378
14. Three-Phase Motor Control Timer Function
(1)
Address
01C9h
0: Timer B2 underflow
1: Timer B2 underflow and write to
the timer B2
0: Three-phase mode 0
(2)
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"
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
(3)
RW
RW
RO
RW
RW
(5)
RW
RW
INV11 = 1

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6nm

Table of Contents