Download Print this page

Renesas M16C/50 Series User Manual page 367

Advertisement

M16C/5L Group, M16C/56 Group
17.3.3
Triangular Wave Modulation Three-Phase Mode 1
Triangular wave modulation uses twice the cycles of timer B2 as a reference cycle. Table 17.11 lists
Three-Phase Mode 1 Specifications, and Figure 17.7 shows Example of Three-Phase Mode 1
Operation.
Table 17.11
Three-Phase Mode 1 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)
Twice the cycle of timer B2 (cycle of the carrier wave)
Select either of the following:
Timer B2 underflow
Timer A output at an odd number of times
Counts the values of registers TAi and TAi1 alternately every time a
timer Ai start trigger is generated
Select a count timing for the ICTB2 register by bits INV01 to INV00 in
the INVC0 register:
Timer B2 underflow (each time)
Timer B2 underflow when the INV13 bit in the INVC1 register is 0
Timer B2 underflow when the INV13 bit is 1
When the setting value in the ICTB2 register is n, a timer B2 interrupt
request is generated every nth time of the timing selected by setting bits
INV01 to INV00.
Detected
(The INV13 bit in the INVC1 register is enabled.)
17. Three-Phase Motor Control Timer Function
Specification
Page 330 of 803

Advertisement

loading