Advanced-control timer (TIM1)
Figure 140. 3-phase combined PWM signals with multiple trigger pulses per period
ARR
OC5
OC6
OC1
OC4
OC2
OC3
Counter
OC5ref
OC1refC
OC2refC
OC3refC
Preload
Active
OC4ref
OC6ref
TRGO2
The TRGO2 waveform shows how the ADC can be synchronized on given 3-phase PWM
signals. Refer to
21.3.15
Complementary outputs and dead-time insertion
The advanced-control timers (TIM1) 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 it has to be adjusted depending on the
devices that are connected to the outputs and their characteristics (intrinsic delays of level-
shifters, delays due to power switches...)
The polarity of the outputs (main output OCx or complementary OCxN) can be selected
independently for each output. This is done by writing to the CCxP and CCxNP bits in the
TIMx_CCER register.
The complementary signals OCx and OCxN are activated by a combination of several
control bits: the CCxE and CCxNE bits in the TIMx_CCER register and the MOE, OISx,
OISxN, OSSI and OSSR bits in the TIMx_BDTR and TIMx_CR2 registers. Refer to
Table 116: Output control bits for complementary OCx and OCxN channels with break
feature on page 604
switching to the idle state (MOE falling down to 0).
558/1390
100
001
Section 21.3.27: ADC synchronization
for more details. In particular, the dead-time is activated when
RM0444 Rev 5
xxx
for more details.
RM0444
xxx
100
MS33102V1
Need help?
Do you have a question about the STM32G0 1 Series and is the answer not in the manual?
Questions and answers