English
Language : 

MC9S12E64CFUE Datasheet, PDF (359/606 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 11 Pulse Width Modulator with Fault Protection (PMF15B6CV2)
In an edge-aligned operation, the PWM counter is an up counter. The PWM output resolution is one bus
clock cycle.
PWM period = PWM modulus × PWM clock period
COUNT
1234
UP COUNTER
MODULUS = 4
PWM CLOCK PERIOD
PWM PERIOD = 4 x PWM CLOCK PERIOD
Figure 11-44. Edge-Aligned PWM Period
11.4.3.3 Duty Cycle
The signed 16-bit number written to the PMF value registers is the pulse width in PWM clock periods of
the PWM generator output.
Duty cycle = M----P--O--M---D--F---U-V---L--A--U--L---S-- × 100
NOTE
A PWM value less than or equal to zero deactivates the PWM output for the
entire PWM period. A PWM value greater than or equal to the modulus
activates the PWM output for the entire PWM period.
Table 11-46. PWM Value and Underflow Conditions
PMFVALx
$0000–$7FFF
$8000–$FFFF
Condition
Normal
Underflow
PWM Value Used
Value in registers
$0000
MC9S12E128 Data Sheet, Rev. 1.07
Freescale Semiconductor
359