RM0440
CCR2
CCR1
tim_oc1ref
tim_oc2ref
tim_oc1refc
CCR2
CCR1
tim_oc1ref
tim_oc2ref
tim_oc1refc
27.3.16
Combined 3-phase PWM mode
Combined 3-phase PWM mode allows one to three center-aligned PWM signals to be
generated with a single programmable signal ANDed in the middle of the pulses. The
tim_oc5ref signal is used to define the resulting combined signal. The 3-bits GC5C[3:1] in
the TIMx_CCR5 allow selection on which reference signal the tim_oc5ref is combined. The
resulting signals, tim_ocxrefc, are made of an AND logical combination of two reference
PWMs:
–
–
–
Combined 3-phase PWM mode can be selected independently on channels 1 to 3 by setting
at least one of the 3-bits GC5C[3:1].
Figure 307. Combined PWM mode on channel 1 and 3
tim_oc1refc = tim_oc1ref AND tim_oc2ref
tim1_oc1refc = tim1_oc1ref OR tim1_oc2ref
If GC5C1 is set, tim_oc1refc is controlled by TIMx_CCR1 and TIMx_CCR5
If GC5C2 is set, tim_oc2refc is controlled by TIMx_CCR2 and TIMx_CCR5
If GC5C3 is set, tim_oc3refc is controlled by TIMx_CCR3 and TIMx_CCR5
Advanced-control timers (TIM1/TIM8/TIM20)
RM0440 Rev 1
MSv62330V1
1083/2083
1181
Need help?
Do you have a question about the STM32G4 Series and is the answer not in the manual?