English
Language : 

RM0316 Datasheet, PDF (541/1141 Pages) STMicroelectronics – This reference manual targets application developers
RM0316
Advanced-control timers (TIM1/TIM8/TIM20)
Note:
Combined PWM mode can be selected independently on two channels (one OCx output per
pair of CCR registers) by writing ‘1100’ (Combined PWM mode 1) or ‘1101’ (Combined PWM
mode 2) in the OCxM bits in the TIMx_CCMRx register.
When a given channel is used as combined PWM channel, its complementary channel must
be configured in the opposite PWM mode (for instance, one in Combined PWM mode 1 and
the other in Combined PWM mode 2).
The OCxM[3:0] bit field is split into two parts for compatibility reasons, the most significant
bit is not contiguous with the 3 least significant ones.
Figure 177 represents an example of signals that can be generated using Asymmetric PWM
mode, obtained with the following configuration:
– Channel 1 is configured in Combined PWM mode 2,
– Channel 2 is configured in PWM mode 1,
– Channel 3 is configured in Combined PWM mode 2,
– Channel 4 is configured in PWM mode 1.
Figure 177. Combined PWM mode on channel 1 and 3
2&¶
2&¶
2&
2&
2&5()
2&5()
2&5()¶
2&5()¶
2&5()&
2&5()&¶
2&5()& 2&5()$1'2&5()
2&5()&¶ 2&5()¶252&5()¶
069
20.3.13
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
DocID022558 Rev 5
541/1141
601