mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 384

no-image

mc9s12xd256

Manufacturer Part Number
mc9s12xd256
Description
Hcs12x Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAG
Manufacturer:
FREESCALE
Quantity:
1 540
Part Number:
mc9s12xd256CAG
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Chapter 8 Pulse-Width Modulator (S12PWM8B8CV1)
8.4.2
The main part of the PWM module are the actual timers. Each of the timer channels has a counter, a period
register and a duty register (each are 8-bit). The waveform output period is controlled by a match between
the period register and the value in the counter. The duty is controlled by a match between the duty register
and the counter value and causes the state of the output to change during the period. The starting polarity
of the output is also selectable on a per channel basis. Shown below in
for the PWM timer.
8.4.2.1
Each PWM channel has an enable bit (PWMEx) to start its waveform output. When any of the PWMEx
bits are set (PWMEx = 1), the associated PWM output signal is enabled immediately. However, the actual
PWM waveform is not available on the associated PWM output until its clock source begins its next cycle
due to the synchronization of PWMEx and the clock source. An exception to this is when channels are
concatenated. Refer to
384
Clock Source
PWMEx
(Clock Edge
PWM Channel Timers
PWM Enable
Sync)
Gate
The first PWM cycle after enabling the channel can be irregular.
Up/Down
Section 8.4.2.7, “PWM 16-Bit Functions”
8-Bit Counter
Figure 8-19. PWM Timer Channel Block Diagram
PWMCNTx
Q
Q
Reset
T
R
MC9S12XDP512 Data Sheet, Rev. 2.17
NOTE
8-bit Compare =
8-bit Compare =
PWMDTYx
PWMPERx
CAEx
for more detail.
Figure 8-19
T
R
Q
Q
PPOLx
From Port PWMP
M
Data Register
U
X
is the block diagram
Freescale Semiconductor
M
U
X
To Pin
Driver

Related parts for mc9s12xd256