MC68HC908LB8CPE Freescale Semiconductor, MC68HC908LB8CPE Datasheet - Page 152

no-image

MC68HC908LB8CPE

Manufacturer Part Number
MC68HC908LB8CPE
Description
IC MCU 8K FLASH 8MHZ 20DIP
Manufacturer
Freescale Semiconductor
Series
HC08r
Datasheet

Specifications of MC68HC908LB8CPE

Core Processor
HC08
Core Size
8-Bit
Speed
8MHz
Peripherals
LVR, POR, PWM
Number Of I /o
18
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 7x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC908LB8CPE
Manufacturer:
IR
Quantity:
10
Pulse Width Modulator with Fault Input (PWM)
15.6 Initialization and the PWMEN Bit
For proper operation, all registers should be initialized and the LDOK bit should be set before enabling
the PWM via the PWMEN bit. When the PWMEN bit is first set, a reload will occur immediately, setting
the PWMF flag and generating an interrupt if PWMINT is set.
When PWMEN is set, the PWM pins change from high impedance to outputs. At this time, assuming no
fault condition is present, the PWM pins will drive according to the PWM values and polarity. See the
timing diagram in
When the PWMEN bit is cleared, this will occur:
When PWMEN is cleared, all fault circuitry remains active.
15.7 PWM Operation in Low-Power Modes
15.7.1 Wait Mode
When the microcontroller is put in low-power wait mode via the WAIT instruction, all clocks to the PWM
module will continue to run. If an interrupt is issued from the PWM module (via a reload or a fault), the
microcontroller will exit wait mode.
152
PWM pins will be three-stated
PWM counter is cleared and will not be clocked
Internally, the PWM generator will force its outputs to 0 to avoid glitches when the PWMEN is set
again
CPU CLOCK
PWM PINS
If the LDOK bit is not set when PWMEN is set after a RESET, the prescaler
and PWM values will be 0, but the modulus will be unknown. If the LDOK
bit is not set after the PWMEN bit has been cleared then set (without a
RESET), the modulus value that was last loaded will be used.
Because of the equals-comparator architecture of this PWM, the modulus =
0 case is considered illegal. Therefore, the modulus register is not reset,
and a modulus value of 0 will result in waveforms inconsistent with the other
modulus waveforms. See
The PWMF flag and pending CPU interrupts are NOT cleared when
PWMEN = 0.
PWMEN
Figure
15-13.
PORT FUNCTION
Figure 15-13. PWMEN and PWM Pins
MC68HC908LB8 Data Sheet, Rev. 1
15.8.2 PWM Counter Modulo
NOTE
NOTE
DRIVE ACCORDING TO PWM
VALUE AND POLARITY
Registers.
PORT FUNCTION
Freescale Semiconductor

Related parts for MC68HC908LB8CPE