
Advanced-control timer (TIM1)
RM0453
756/1454
RM0453 Rev 2
Figure 166. Combined PWM mode on channel 1 and 3
25.3.14 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
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 OC5REF is combined. The
resulting signals, OCxREFC, are made of an AND logical combination of two reference
PWMs:
–
If GC5C1 is set, OC1REFC is controlled by TIMx_CCR1 and TIMx_CCR5
–
If GC5C2 is set, OC2REFC is controlled by TIMx_CCR2 and TIMx_CCR5
–
If GC5C3 is set, OC3REFC is controlled by TIMx_CCR3 and TIMx_CCR5
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].
MS31094V1
OC1REF
OC2REF
OC1REF’
OC2REF’
OC1REFC
OC1REFC’
OC1REFC = OC1REF AND OC2REF
OC1REFC’ = OC1REF’ OR OC2REF’
OC1
OC2
OC1’
OC2’