Datasheet
Table Of Contents
- List of Sections
- Table of Contents
- General Description
- Central Processing Unit (CPU)
- Pinout and Signal Description
- System Configuration
- Registers
- Operating Modes
- Resource Mapping
- Bus Control and Input/Output
- Resets and Interrupts
- Voltage Regulator (VREG)
- Flash EEPROM 256K
- EEPROM 4K
- Port Integration Module
- Clocks and Reset Generator (CRG)
- Pulse Width Modulator (PWM)
- Enhanced Capture Timer (ECT)
- Serial Communications Interface (SCI)
- Serial Peripheral Interface (SPI)
- Inter-IC Bus (IIC)
- MSCAN
- Analog to Digital Converter
- Byte Data Link Controller Module
- Contents
- Overview
- Features
- Block Diagram
- Register Map
- Functional Description
- Register Descriptions
- External Pin Descriptions
- Reset Initialization/Basic Operation
- Transmitting A Message
- Receiving A Message
- Transmitting An In-Frame Response (IFR)
- Receiving An In-Frame Response (IFR)
- Special BDLC Operations
- Modes of Operation
- Interrupt Operation
- Low Power Options
- Background Debug Module (BDM)
- Breakpoint (BKP) Module
- Revision History
- Glossary
- Literature Updates

Pulse Width Modulator (PWM)
MC9S12DP256 — Revision 1.1
Pulse Width Modulator (PWM)
Functional Description
PWM Clock Select There are four available clocks called clock A, clock B, clock SA (Scaled
A), and clock SB (Scaled B). These four clocks are based on the clock,
E Clock which runs at the same frequency as the IP bus clock
ipg_clock
.
NOTE:
All E Clock (E) references within this document are used to refer only to
the frequency and do not suggest that this clock is actually used in
implementation.
For the MC9S12DP256, E clock is same as the ipg_clk. So all reference
to E clock in this document are to be read as ipg_clk.
Clock A and B can be software selected to be E, E/2, E/4, E/8,..., E/64,
E/128. Clock SA uses clock A as an input and divides it further with a
reloadable counter. Similarly, Clock SB uses clock B as an input and
divides it further with a reloadable counter. The rates available for clock
SA are software selectable to be clock A divided by 2, 4, 6, 8, ..., or 512
in increments of divide by 2. Similar rates are available for clock SB.
Each PWM channel has the capability of selecting one of two clocks,
either the pre-scaled clock (clock A or B) or the scaled clock (clock SA
or SB).
The block diagram in Figure 46 shows the four different clocks and how
the scaled clocks are created.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...