LM3S315 Luminary Micro, Inc., LM3S315 Datasheet - Page 321

no-image

LM3S315

Manufacturer Part Number
LM3S315
Description
Microcontroller
Manufacturer
Luminary Micro, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S315-EQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S315-EQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S315-IGZ25-C2
Manufacturer:
TI
Quantity:
86
Part Number:
LM3S315-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
135
Part Number:
LM3S315-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S315-IQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
15.2.2
April 27, 2007
The timers output three signals that are used in the PWM generation process: the direction signal
(this is always Low in Count-Down mode, but alternates between Low and High in Count-Up/Down
mode), a single-clock-cycle-width High pulse when the counter is zero, and a
single-clock-cycle-width High pulse when the counter is equal to the load value. Note that in
Count-Down mode, the zero pulse is immediately followed by the load pulse.
PWM Comparators
There are two comparators in the PWM generator that monitor the value of the counter; when
either match the counter, they output a single-clock-cycle-width High pulse. When in Count-Up/
Down mode, these comparators match both when counting up and when counting down; they are
therefore qualified by the counter direction signal. These qualified pulses are used in the PWM
generation process. If either comparator match value is greater than the counter load value, then
that comparator never outputs a High pulse.
Figure 15-2 shows the behavior of the counter and the relationship of these pulses when the
counter is in Count-Down mode. Figure 15-3 shows the behavior of the counter and the
relationship of these pulses when the counter is in Count-Up/Down mode.
Figure 15-2. PWM Count-Down Mode
CompA
CompB
Load
Load
Zero
Zero
Dir
A
B
ADown
BDown
Preliminary
LM3S315 Data Sheet
321

Related parts for LM3S315