Chapter 25 FlexPWM
MPC5602P Microcontroller Reference Manual, Rev. 4
700
Freescale Semiconductor
Figure 25-49. Output logic section
25.8.12 Fault protection
Fault protection can control any combination of PWM output pins. Faults are generated by a logic one on
any of the FAULTx pins. This polarity can be changed via the FLVL bits. Each FAULTx pin can be mapped
arbitrarily to any of the PWM outputs. When fault protection hardware disables PWM outputs, the PWM
generator continues to run, only the output pins are forced to logic 0, logic 1, or tristated depending the
values of the PWMxFS bits.
The fault decoder disables PWM pins selected by the fault logic and the disable mapping register
(DISMAP). See
for an example of the fault disable logic. Each bank of bits in DISMAP
control the mapping for a single PWM pin. Refer to
.
The fault protection is enabled even when the PWM module is not enabled; therefore, a fault will be
latched in and must be cleared in order to prevent an interrupt when the PWM is enabled.
from Deadtime
logic
1
0
PWMAFS[0]
PWMA
PWMA Disable
POLA
PWMAFS[1]
PWMA output
PWMA_EN
1
0
PWMBFS[0]
PWMB
PWMB Disable
POLB
PWMBFS[1]
PWMB output
PWMB_EN