Advanced-control timers (TIM1&TIM8)
OCxREF
Figure 121. Dead-time waveforms with delay greater than the negative pulse.
OCxREF
Figure 122. Dead-time waveforms with delay greater than the positive pulse.
OCxREF
The dead-time delay is the same for each of the channels and is programmable with the
DTG bits in the TIMx_BDTR register. Refer to
time register (TIMx_BDTR) on page 576
Re-directing OCxREF to OCx or OCxN
In output mode (forced, output compare or PWM), OCxREF can be re-directed to the OCx
output or to OCxN output by configuring the CCxE and CCxNE bits in the TIMx_CCER
register.
This allows you to send a specific waveform (such as PWM or static active level) on one
output while the complementary remains at its inactive level. Other alternative possibilities
are to have both outputs at inactive level or both outputs active and complementary with
dead-time.
Note:
When only OCxN is enabled (CCxE=0, CCxNE=1), it is not complemented and becomes
active as soon as OCxREF is high. For example, if CCxNP=0 then OCxN=OCxRef. On the
other hand, when both OCx and OCxN are enabled (CCxE=CCxNE=1) OCx becomes
active when OCxREF is high whereas OCxN is complemented and becomes active when
OCxREF is low.
538/1731
Figure 120. Complementary output with dead-time insertion.
OCx
OCxN
OCx
OCxN
OCx
OCxN
DocID018909 Rev 11
delay
Section 17.4.18: TIM1&TIM8 break and dead-
for delay calculation.
RM0090
delay
delay
delay
Need help?
Do you have a question about the STM32F405 and is the answer not in the manual?