English
Language : 

RM0316 Datasheet, PDF (542/1141 Pages) STMicroelectronics – This reference manual targets application developers
Advanced-control timers (TIM1/TIM8/TIM20)
RM0316
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].
Figure 178. 3-phase combined PWM signals with multiple trigger pulses per period
$55
2&
2&
2&
2&
2&
2&
&RXQWHU
2&UHI
2&UHI&
2&UHI&
2&UHI&
3UHORDG 
$FWLYH
2&UHI
2&UHI
75*2
[[[

[[[

069
The TRGO2 waveform shows how the ADC can be synchronized on given 3-phase PWM
signals. Please refer to Section 20.3.25: ADC synchronization for more details.
20.3.14
Complementary outputs and dead-time insertion
The advanced-control timers (TIM1/TIM8/TIM20) can output two complementary signals
and manage the switching-off and the switching-on instants of the outputs.
This time is generally known as dead-time and you have to adjust it depending on the
devices you have connected to the outputs and their characteristics (intrinsic delays of level-
shifters, delays due to power switches...)
542/1141
DocID022558 Rev 5