LM3S316 Luminary Micro, Inc., LM3S316 Datasheet - Page 356
LM3S316
Manufacturer Part Number
LM3S316
Description
Microcontroller
Manufacturer
Luminary Micro, Inc.
Datasheet
1.LM3S316.pdf
(421 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
LM3S316-EQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S316-EQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S316-IGZ25-C2
Manufacturer:
TI
Quantity:
84
Company:
Part Number:
LM3S316-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S316-IQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
- Current page: 356 of 421
- Download datasheet (3Mb)
Pulse Width Modulator (PWM)
16
16.1
16.2
16.2.1
356
PWM Clock
Pulse Width Modulator (PWM)
Pulse width modulation (PWM) is a powerful technique for digitally encoding analog signal levels.
High-resolution counters are used to generate a square wave, and the duty cycle of the square
wave is modulated to encode an analog signal. Typical applications include switching power
supplies and motor control.
The LM3S316 PWM module consists of two PWM generator blocks and a control block. Each
PWM generator block contains one timer (16-bit down or up/down counter), two comparators, a
PWM signal generator, a dead-band generator, and an interrupt/ADC-trigger selector. The control
block determines the polarity of the PWM signals, and which signals are passed through to the
pins.
Each PWM generator block produces two PWM signals that can either be independent signals
(other than being based on the same timer and therefore having the same frequency) or a single
pair of complementary signals with dead-band delays inserted. The output of the PWM generation
blocks are managed by the output control block before being passed to the device pins.
The LM3S316 PWM module provides a great deal of flexibility. It can generate simple PWM
signals, such as those required by a simple charge pump. It can also generate paired PWM
signals with dead-band delays, such as those required by a half-H bridge driver.
Block Diagram
Figure 16-1 provides a block diagram of a Stellaris PWM module. The LM3S316 controller
contains two generator blocks (PWM0 and PWM1) and generates four independent PWM signals
or two paired PWM signals with dead-band delays inserted.
Figure 16-1. PWM Module Block Diagram
Functional Description
PWM Timer
The timer in each PWM generator runs in one of two modes: Count-Down mode or Count-Up/
Down mode. In Count-Down mode, the timer counts from the load value to zero, goes back to the
load value, and continues counting down. In Count-Up/Down mode, the timer counts from zero up
to the load value, back down to zero, back up to the load value, and so on. Generally, Count-Down
PWMnCOUNT
16
PWMnLOAD
Timer
Comparator A
Comparator B
PWMnCMPA
PWMnCMPB
zero
load
dir
cmpA
cmpB
Preliminary
Trigger Generate
Interrupt and
PWMnGENA
PWMnINTEN
PWMnGENB
Generator
PWMnISC
PWMnRIS
PWM
pwma
pwmb
PWM Generator Block
PWMnDBRISE
PWMnDBFALL
PWMnDBCTL
Dead-Band
Generator
Fault
Interrupt
ADC Trigger
PWM Output
PWMENABLE
PWMINVERT
PWMFAULT
Control
April 27, 2007
Related parts for LM3S316
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet:
Part Number:
Description:
Microcontroller
Manufacturer:
Luminary Micro, Inc.
Datasheet: