MC9S12E32CFU FREESCALE [Freescale Semiconductor, Inc], MC9S12E32CFU Datasheet - Page 370

no-image

MC9S12E32CFU

Manufacturer Part Number
MC9S12E32CFU
Description
HCS12 Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC9S12E32CFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Chapter 11 Pulse Width Modulator with Fault Protection (PMF15B6CV2)
11.4.6
Setting output control enable bit, OUTCTLx, enables software to drive the PWM outputs rather than the
PWM generator. In an independent mode, with OUTCTLx = 1, the output bit OUTx, controls the PWMx
channel. In a complementary channel operation the even OUTCTL bit is used to enable software output
control for the pair. But the OUTCTL bits must be switched in pairs for proper operation. The OUTCTLx
and OUTx bits are in the PWM output control register.
In independent PWM operation, setting or clearing the OUTx bit activates or deactivates the PWMx
output.
In complementary channel operation, the even-numbered OUTx bits replace the PWM generator outputs
as inputs to the deadtime generators. Complementary channel pairs still cannot be active simultaneously,
and the deadtime generators continue to insert deadtime in both channels of that pair, whenever an even
OUTx bit toggles. Even OUTx bits control the top PWM signals while the odd OUTx bits control the
bottom PWM signals with respect to the even OUTx bits. Setting the odd OUTx bit makes its
corresponding PWMx the complement of its even pair, while clearing the odd OUTx bit deactivates the
odd PWMx.
370
Software Output Control
NEGATIVE POLARITY
POSITIVE POLARITY
CENTER-ALIGNED
CENTER-ALIGNED
During software output control, TOPNEG and BOTNEG still control output
polarity. It will take upto 3 clock cycles to see the effect of output control on
the PWM output pins.
UP/DOWN COUNTER
UP/DOWN COUNTER
MODULUS = 4
MODULUS = 4
PWM = 0
PWM = 1
PWM = 2
PWM = 3
PWM = 4
PWM = 0
PWM = 1
PWM = 2
PWM = 3
PWM = 4
MC9S12E128 Data Sheet, Rev. 1.07
Figure 11-61. PWM Polarity
NOTE
NEGATIVE POLARITY
POSITIVE POLARITY
EDGE-ALIGNED
EDGE-ALIGNED
MODULUS = 4
UP COUNTER
MODULUS = 4
UP COUNTER
PWM = 0
PWM = 1
PWM = 2
PWM = 3
PWM = 4
PWM = 0
PWM = 1
PWM = 2
PWM = 3
PWM = 4
Freescale Semiconductor

Related parts for MC9S12E32CFU