Table 177. Break Protection Disarming Conditions; Figure 175. Output Redirection (Brk2 Request Not Represented) - STMicroelectronics STM32WL5 Series Reference Manual

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

Advertisement

RM0453
Arming and re-arming break circuitry
The break circuitry (in input or bidirectional mode) is armed by default (peripheral reset
configuration).
The following procedure must be followed to re-arm the protection after a break (break2)
event:
The BKDSRM (BK2DSRM) 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 (BK2DSRM) 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

Table 177. Break protection disarming conditions

MOE
(BK2DIR)
0
0
0
1

Figure 175. Output redirection (BRK2 request not represented)

Peripheral
break sources
AF input
AF
(active low)
controller
AF output
(open drain)
Vss
BKDIR
(BK2DSRM)
0
1
1
X
System break request
BKF[3:0]
Filter
BKIN inputs from
AF controller
Bidirectional
mode control logic
MOE
BKBID
BKBDSRM
RM0453 Rev 5
Advanced-control timer (TIM1)
BKDSRM
Break protection state
X
0
1
X
SBIF flag
Software break
requests: BG
BKE
BKP
Application break requests
System break request
BRK request
Armed
Armed
Disarmed
Armed
BIF flag
BRK
request
MSv42028V2
765/1450
821

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32wl55 seriesStm32wl54 series

Table of Contents