MC9S12VRP Family Reference Manual Rev. 1.3
NXP Semiconductors
271
Chapter 9
Pulse-Width Modulator (S12PWM8B8CV2)
9.1
Introduction
The Version 2 of S12 PWM module is a channel scalable and optimized implementation of S12
PWM8B8C Version 1. The channel is scalable in pairs from PWM0 to PWM7 and the available channel
number is 2, 4, 6 and 8. The shutdown feature has been removed and the flexibility to select one of four
clock sources per channel has improved. If the corresponding channels exist and shutdown feature is not
used, the Version 2 is fully software compatible to Version 1.
9.1.1
Features
The scalable PWM block includes these distinctive features:
•
Up to eight independent PWM channels, scalable in pairs (PWM0 to PWM7)
•
Available channel number could be 2, 4, 6, 8 (refer to device specification for exact number)
•
Programmable period and duty cycle for each channel
•
Dedicated counter for each PWM channel
•
Programmable PWM enable/disable for each channel
•
Software selection of PWM duty pulse polarity for each channel
•
Period and duty cycle are double buffered. Change takes effect when the end of the effective period
is reached (PWM counter reaches zero) or when the channel is disabled.
•
Programmable center or left aligned outputs on individual channels
•
Up to eight 8-bit channel or four 16-bit channel PWM resolution
•
Four clock sources (A, B, SA, and SB) provide for a wide range of frequencies
•
Programmable clock select logic
9.1.2
Modes of Operation
There is a software programmable option for low power consumption in wait mode that disables the input
clock to the prescaler.
Table 9-1. Revision History
Revision
Number
Revision Date
Sections
Affected
Description of Changes
v02.00
Feb. 20, 2009
All
Initial revision of scalable PWM. Started from pwm_8b8c (v01.08).
Summary of Contents for MC9S12VRP64
Page 16: ...MC9S12VRP Family Reference Manual Rev 1 3 16 NXP Semiconductors ...
Page 46: ...Device Overview S12VRP Series MC9S12VRP Family Reference Manual Rev 1 3 46 NXP Semiconductors ...
Page 236: ...S12S Debug Module S12DBGV2 MC9S12VRP Family Reference Manual Rev 1 3 236 NXP Semiconductors ...
Page 244: ...Interrupt Module S12SINTV1 MC9S12VRP Family Reference Manual Rev 1 3 244 NXP Semiconductors ...
Page 358: ...Timer Module TIM16B2CV3 MC9S12VRP Family Reference Manual Rev 1 3 358 NXP Semiconductors ...
Page 436: ...Supply Voltage Sensor BATSV2 MC9S12VRP Family Reference Manual Rev 1 3 436 NXP Semiconductors ...
Page 528: ...NVM Electrical Parameters MC9S12VRP Family Reference Manual Rev 1 3 528 NXP Semiconductors ...
Page 530: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 530 NXP Semiconductors ...
Page 531: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 NXP Semiconductors 531 ...
Page 532: ...Package Information MC9S12VRP Family Reference Manual Rev 1 3 532 NXP Semiconductors ...