English
Language : 

M16C65 Datasheet, PDF (414/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
19. Three-Phase Motor Control Timer Function
19.3.1.2 Three-Phase PWM Wave Control
Timer A4 controls U- and U-phase waveforms, timer A1 controls V- and V-phase waveforms, and
timer A2 controls W- and W-phase waveforms. Timer Ai (i = 1, 2, 4) starts counting by a trigger
selected by the INV10 bit in the INVC1 register, and generates a one-shot pulse (internal signal). The
output signal of each phase changes at the falling edge of the one-shot pulse.
Triangular wave modulation three-phase mode 1 counts values in the TAi1 register and TAi register
alternately, and generates a one-shot pulse.
19.3.1.3 Dead Time Control
Due to delays in the transistors turning off, the upper and lower transistors are turned on
simultaneously. To prevent this, there are three 8-bit dead time timers, one in each phase. The reload
resistor is shared. When the INV15 bit in the INVC1 register is 0 (dead time enabled), the dead time
set in the DTT register is valid. When the INV15 bit is 1 (dead time disabled), no dead time is set.
Select a count source for the dead time timer by the INV12 bit in the INVC1 register.
A trigger for the dead time timer can be selected by the INV16 bit in the INVC1 register.
When both conditions below are met, set the INV16 bit to 1 (the rising edge of the three-phase output
shift register is a trigger for the dead time timer).
• The INV15 bit is 0 (dead time enabled).
• The Dij bit and DiBj bit have different values whenever the INV03 bit is set to 1 (three-phase motor
control timer output enabled) (i = U, V or W; j = 0, 1). (During the period except dead time, the high-
and low-side output signals always output opposite level signals.)
If either of the conditions above is not met, set the INV16 bit to 0 (a trigger for the dead time timer is
the falling edge of one-shot pulse of the timer).
In sawtooth wave modulation mode, the generation of a transfer trigger causes a trigger for the dead
time timer.
19.3.1.4 Output Level of Three-Phase PWM Output Pins
Set a value in registers IDB0 and IDB1 to select the state of each high- or low-side output signal
(either active (on) or not active (off)). The values of registers IDB0 and IDB1 are transferred to the
three-phase output shift register by a transfer trigger. After a transfer trigger is generated, the value
set in the IDB0 register becomes the first output signal of each phase (internal signal), and then at
the falling edge of one-shot pulse of timer A1, A2, or A4 (internal signal), the value set in the IDB1
register becomes the output signal of each phase.
A transfer trigger is generated under any of the following conditions:
• At the first timer B2 underflow after registers IDB0 and IDB1 are written (in triangular wave
modulation mode)
• Each time timer B2 underflows (in sawtooth wave modulation mode)
• Writing to the TB2 register (when the INV10 bit in the INVC1 register is 1)
• Setting the INV07 bit in the INVC0 register to 1 (software trigger)
The active level can be selected by the INV14 bit in the INVC1 register.
Table 19.6 Output Level of Three-Phase PWM Output Pins
Value Set in Registers
IDB0 and IDV1
Output Signal of Each
Phase (Internal Signal)
Value Set in INV14 Bit in INVC1 Register
0 (active, low level)
1 (active, high level)
0 (active (on))
0
Low
High
1 (not active (off))
1
High
Low
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 379 of 791