mc9s12xf512 Freescale Semiconductor, Inc, mc9s12xf512 Datasheet - Page 931

no-image

mc9s12xf512

Manufacturer Part Number
mc9s12xf512
Description
S12x Microcontrollers 16-bit Automotive Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12xf512MLH
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xf512MLM
Manufacturer:
FREESCALE
Quantity:
201
Part Number:
mc9s12xf512MLM
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xf512MLM
Manufacturer:
FREESCALE/NXP
Quantity:
20 000
The 12-bit value written to this register is the number of PWM clock cycles in complementary channel
operation. A reset sets the PWM deadtime register to a default value of 0x0FFF, selecting a deadtime of
4096-PWM clock cycles minus one bus clock cycle.
20.4
20.4.1
A block diagram of the PMF is shown in
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.
20.4.2
To permit lower PWM frequencies, the prescaler produces the PWM clock frequency by dividing the bus
clock frequency by one, two, four, and eight. Each PWM generator has its own prescaler divisor. Each
prescaler is buffered and will not be used by its PWM generator until the corresponding Load OK bit is set
and a new PWM reload cycle begins.
20.4.3
Each PWM generator contains a 15-bit up/down PWM counter producing output signals with software-
selectables:
Freescale Semiconductor
Alignment — The logic state of each pair EDGE bit determines whether the PWM pair outputs are
edge-aligned or center-aligned
Period — The value written to each pair PWM counter modulo register is used to determine the
PWM pair period. The period can also be varied by using the prescaler
With edge-aligned output, the modulus is the period of the PWM output in clock cycles
With center-aligned output, the modulus is one-half of the PWM output period in clock cycles
Pulse width — The number written to the PWM value register determines the pulse width duty
cycle of the PWM output in clock cycles
— With center-aligned output, the pulse width is twice the value written to the PWM value register
— With edge-aligned output, the pulse width is the value written to the PWM value register
Functional Description
Block Diagram
Prescaler
PWM Generator
Deadtime is affected by changes to the prescaler value. The deadtime
duration is determined as follows: DT = P × PMFDTMC – 1, where DT is
deadtime, P is the prescaler value, PMFDTMC is the programmed value of
dead time. For example: if the prescaler is programmed for a divide-by-two
and the PMFDTMC is set to five, then P = 2 and the deadtime value is equal
to DT = 2 × 5 – 1 = 9 IPbus clock cycles. A special case exists when the
P = 1, then DT = PMFDTMC.
MC9S12XF - Family Reference Manual, Rev.1.19
Figure
Chapter 20 Pulse Width Modulator with Fault Protection (PMF15B6C) Module
20-1. The MTG bit allows the use of multiple PWM
NOTE
931

Related parts for mc9s12xf512