MCBSTM32EXL Keil, MCBSTM32EXL Datasheet - Page 283

no-image

MCBSTM32EXL

Manufacturer Part Number
MCBSTM32EXL
Description
BOARD EVALUATION FOR STM32F103ZE
Manufacturer
Keil
Datasheets

Specifications of MCBSTM32EXL

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
RM0008
13.3.14
6-step PWM generation
When complementary outputs are used on a channel, preload bits are available on the
OCxM, CCxE and CCxNE bits. The preload bits are transferred to the shadow bits at the
COM commutation event. Thus you can program in advance the configuration for the next
step and change the configuration of all the channels at the same time. COM can be
generated by software by setting the COM bit in the TIMx_EGR register or by hardware (on
TRGI rising edge).
A flag is set when the COM event occurs (COMIF bit in the TIMx_SR register), which can
generate an interrupt (if the COMIE bit is set in the TIMx_DIER register) or a DMA request
(if the COMDE bit is set in the TIMx_DIER register).
The
occurs, in 3 different examples of programmed configurations.
Figure 90. 6-step generation, COM example (OSSR=1)
Figure 90
Example 1
Example 2
Example 3
counter (CNT)
COM event
OCxREF
describes the behavior of the OCx and OCxN outputs when a COM event
OCx
OCxN
OCx
OCxN
OCx
OCxN
(CCRx)
CCxE=1
CCxNE=0
OCxM=100 (forced inactive)
CCxE=1
CCxNE=0
OCxM=100 (forced inactive)
CCxE=1
CCxNE=0
OCxM=100 (forced inactive)
Doc ID 13902 Rev 9
write OCxM to 100
write CCxNE to 0
and OCxM to 100
Write CCxNE to 1
and OCxM to 101
Advanced-control timers (TIM1&TIM8)
Write COM to 1
CCxE=1
CCxNE=0
OCxM=100
CCxE=0
CCxNE=1
OCxM=101
CCxE=1
CCxNE=0
OCxM=100
ai14910
283/995

Related parts for MCBSTM32EXL