Chapter 14 Pulse Width Modulator with Fault Protection (PMF15B6CV3)
MC9S12ZVM Family Reference Manual Rev. 1.3
Freescale Semiconductor
523
14.4
Functional Description
14.4.1
Block Diagram
A block diagram of the PMF is shown in
The MTG bit allows the use of multiple PWM
generators (A, B, and C) or just a single generator (A). PWM0 and PWM1 constitute Pair A, PWM2 and
PWM3 constitute Pair B, and PWM4 and PWM5 constitute Pair C.
depicts Pair A signal paths of PWM0 and PWM1. Pairs B and C have the same structure.
Figure 14-41. Detail of PWM0 and PWM1 Signal Paths
NOTE
It is possible to have both channels of a complementary pair to be high. For
example, if the TOPNEGA (negative polarity for PWM0), BOTNEGA
(negative polarity for PWM1), MSK0 and MSK1 bits are set, both the PWM
complementary outputs of generator A will be high. See
“PMF Configure 1 Register (PMFCFG1)”
for the description of TOPNEG
and BOTNEG bits, and
Section 14.3.2.3, “PMF Configure 2 Register
for the description of the MSK0 and MSK1 bits.
INDEPA
1
OUTF0
OUT0
Fault4-5
Detect
OUTCTL0
1
1
CINV0
Gen. 0
0 0 0
0 0 1
1 0 x
x 1 x
PECA
in
deadtime
Fault0-3
Detect
MSK0
TOPNEGA
PWM0
1
OUTF1
OUT1
OUTCTL1
1
1
CINV1
Gen. 1
MSK1
PWM1
(OUTCTL1 & PWMENA)
| (~OUTCTL1 & OUT1)
COMP
SRCA
BOTNEGA
Fault4-5
Detect
PINVA
Complementary Mode
Independent Mode
Softw. Output Control
Generated PWM
Softw. Output Control
Generated PWM
= Functional Block
= Configuration Register Bit
ICCA
1
IPOLA
Count
direction
1X
ISENS
00
01
IS0
0
(A)
(A)
Correction
MODA
VAL1
VAL0
DTMA
Deadtime Dist. Correction
and Asymmetric PWM