MC68HC912B32CFU8 Freescale Semiconductor, MC68HC912B32CFU8 Datasheet - Page 125

no-image

MC68HC912B32CFU8

Manufacturer Part Number
MC68HC912B32CFU8
Description
IC MCU 32K FLASH 8MHZ 80-QFP
Manufacturer
Freescale Semiconductor
Series
HC12r
Datasheet

Specifications of MC68HC912B32CFU8

Core Processor
CPU12
Core Size
16-Bit
Speed
8MHz
Connectivity
SCI, SPI
Peripherals
POR, PWM, WDT
Number Of I /o
63
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Eeprom Size
768 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
80-QFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC912B32CFU8
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
MC68HC912B32CFU8
Manufacturer:
FREESCALE
Quantity:
20 000
Chapter 11
Pulse-Width Modulator (PWM)
11.1 Introduction
The pulse-width modulator (PWM) subsystem provides four independent 8-bit PWM waveforms or two
16-bit PWM waveforms or a combination of one 16-bit and two 8-bit PWM waveforms. Each waveform
channel has a programmable period and a programmable duty cycle as well as a dedicated counter. A
flexible clock select scheme allows four different clock sources to be used with the counters. Each of the
modulators can create independent, continuous waveforms with software-selectable duty rates from 0
percent to 100 percent. The PWM outputs can be programmed as left-aligned outputs or center-aligned
outputs. See
Figure
11-1,
Figure
11-2, and
Figure
11-3.
The period and duty registers are double buffered so that if they change while the channel is enabled, the
change does not take effect until the counter rolls over or the channel is disabled. If the channel is not
enabled, then writes to the period and/or duty register go directly to the latches as well as the buffer, thus
ensuring that the PWM output is always either the old waveform or the new waveform, not some variation
in between.
A change in duty or period can be forced into immediate effect by writing the new value to the duty and/or
period registers and then writing to the counter. This causes the counter to reset and the new duty and/or
period values to be latched. In addition, since the counter is readable it is possible to know where the
count is with respect to the duty value and software can be used to make adjustments by turning the
enable bit off and on.
The four PWM channel outputs share general-purpose port P pins. Enabling PWM pins takes precedence
over the general-purpose port. When PWM outputs are not in use, the port pins may be used for discrete
input/output.
M68HC12B Family Data Sheet, Rev. 9.1
Freescale Semiconductor
125

Related parts for MC68HC912B32CFU8