
M451
May. 4, 2018
Page
461
of
1006
Rev.2.08
M4
51
S
E
RI
E
S
T
E
CH
NICA
L RE
F
E
R
E
NC
E
M
A
NU
A
L
Among the above described brake sources, the brake source coming from system fail can still be
specified to several different system fail conditions. These conditions include clock fail, Brown-out
detect, SRAM parity check error and Cortex
TM
-M4 lockup. Figure 6.9-34 shows that by setting
corresponding enable bits, the enabled system fail condition can be one of the sources to issue
the Brake system fail to the PWM brake.
BRKLTRG0 (PWM_SWBRK[8])
ACMP0_O
ACMP1_O
BRKP0EEN (PWM_BRKCTL0[4])
Brake Noise Filter
BRKP1EEN (PWM_BRKCTL0[5])
CPO0EBEN (PWM_BRKCTL0[0])
CPO1EBEN (PWM_BRKCTL0[1])
PWM1_BRAKE0
Brake Noise Filter
PWM0_BRAKE1
Brake
Function
Brake
Function
Edge Detect
Brake Source
Level Detect
Brake Source
Brake System Fail
SYSEBEN (PWM_BRKCTL0[7])
ACMP0_O
ACMP1_O
BRKP0LEN (PWM_BRKCTL0[12])
Brake Noise Filter
BRKP1LEN (PWM_BRKCTL0[13])
CPO0LBEN (PWM_BRKCTL0[8])
CPO1LBEN (PWM_BRKCTL0[9])
Brake Noise Filter
Brake System Fail
SYSLBEN (PWM_BRKCTL0[15])
BRKETRG0 (PWM_SWBRK[0])
(
M45xD/M45xC
Only)
0
1
BK0SRC
(PWM_BNF[16])
0
1
BK1SRC
(PWM_BNF[24])
PWM0_BRAKE0
(
M45xD/M45xC
Only)
(
M45xD/M45xC
Only)
PWM1_BRAKE1
Figure 6.9-33 Brake Source Block Diagram
CSSBRKEN (PWM_FAILBRK[0])
Clock Fail
BODBRKEN (PWM_FAILBRK[1])
Brown-Out Detect
RAMBRKEN (PWM_FAILBRK[2])
SRAM Parity Error
CORBRKEN (PWM_FAILBRK[3])
Cortex-M4 Lockup
Brake Source
Brake System
Fail
Figure 6.9-34 Brake System Fail Block Diagram
Polarity Control
6.9.5.24
Each PWM port, from PWM_CH0 to PWM_CH5, has an independent polarity control module to
configure the polarity of the active state of the PWM output. By default, the PWM output is active