Download Print this page

Renesas M16C/50 Series User Manual page 362

Advertisement

M16C/5L Group, M16C/56 Group
17.3.2
Triangular Wave Modulation Three-Phase Mode 0
Triangular wave modulation uses the timer B2 cycle as a reference cycle. Table 17.8 lists Three-Phase
Mode 0 Specifications, and Figure 17.6 shows Example of Three-Phase Mode 0 Operation.
Table 17.8
Three-Phase Mode 0 Specifications
Item
Carrier wave cycle
Three-phase PWM output width n: Setting value of the TAi register, 0001h to FFFFh
Reference cycle
Timer B2 reload timing
Three-phase PWM
waveform control
Timer B2 interrupt
Detection of a carrier
wave cycle
(first half or last half)
i = 1, 2, 4
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
(
) 2
×
m
1
+
---------------------------- -
fi
m: Setting value of the TB2 register, 0000h to FFFFh
fi: Count source frequency (f1TIMAB, f2TIMAB, f8TIMAB, f32TIMAB,
f64TIMAB, fOCO-F, fOCO-S, fC32)
×
n 2
------------
fi
fi: Count source frequency (f1TIMAB, f2TIMAB, f8TIMAB, f32TIMAB,
f64TIMAB, fOCO-F, fOCO-S, fC32)
Timer B2 cycle (one-half cycle of the carrier wave)
Timer B2 underflow
Counts the value of the TAi register every time a timer Ai start trigger is
generated (the TAi1 register is not used).
When the setting value in the ICTB2 register is n, a timer B2 interrupt
request is generated every nth time of timer B2 underflow (not influenced
by bits INV00 and INV01 in the INVC0 register).
Not detected (the INV13 bit in the INVC1 register is disabled).
17. Three-Phase Motor Control Timer Function
Specification
Page 325 of 803

Advertisement

loading