Figure 245. Output Redirection - STMicroelectronics STM32WLEx Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

RM0461
The following procedure must be followed to re-arm the protection after a break event:
The BKDSRM bit must be set to release the output control
The software must wait until the system break condition disappears (if any) and clear
the SBIF status flag (or clear it systematically before re-arming)
The software must poll the BKDSRM bit until it is cleared by hardware (when the
application break condition disappears)
From this point, the break circuitry is armed and active, and the MOE bit can be set to re-
enable the PWM outputs.
Other break inputs
Bidirectional
Break I/O
25.3.13
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 one 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
tim_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
Figure 246
event occurs, in 3 different examples of programmed configurations.

Figure 245. Output redirection

Peripheral
break sources
AF input
AF
(active low)
controller
AF output
(open drain)
Vss
MOE
describes the behavior of the tim_ocx and tim_ocxn outputs when a COM
General-purpose timers (TIM16/TIM17)
System break request
BKIN inputs from
Application break requests
AF controller
Bidirectional
mode control logic
BKBID
BKBDSRM
RM0461 Rev 5
SBIF flag
Software break
requests: BG
BKE
BKP
System break request
BRK request
BIF flag
BRK
request
MSv50984V1
813/1306
841

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WLEx and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents