English
Language : 

LM3S1439_16 Datasheet, PDF (558/699 Pages) Texas Instruments – Stellaris LM3S1439 Microcontroller
Pulse Width Modulator (PWM)
Figure 16-2. PWM Module Block Diagram
PWM Generator Block
Interrupts /
Triggers
Control
PWMnCTL
Timer
zero
load
dir
PWMnLOAD
PWMnCOUNT
PWM Clock
Comparators
PWMnCMPA
PWMnCMPB
cmp A
cmp B
Interrupt and
Trigger
Generator
PWMnINTEN
PWMnRIS
PWMnISC
Signal
Generator
PWMnGENA
PWMnGENB
Fault
Condition
PWMnFLTSRC0
PWMnMINFLTPER
PWMnFLTSEN
PWMnFLTSTAT0
Fault(s)
PWMn_Fault
Dead-Band
Generator
PWMnDBCTL
PWMnDBRISE
PWMnDBFALL
PWMn_A
PWMn_B
16.2
Signal Description
Table 16-1 on page 558 and Table 16-2 on page 558 list the external signals of the PWM module and
describe the function of each. The PWM controller signals are alternate functions for some GPIO
signals and default to be GPIO signals at reset. The column in the table below titled "Pin Assignment"
lists the possible GPIO pin placements for these PWM signals. The AFSEL bit in the GPIO Alternate
Function Select (GPIOAFSEL) register (page 304) should be set to choose the PWM function. For
more information on configuring GPIOs, see “General-Purpose Input/Outputs (GPIOs)” on page 281.
Table 16-1. PWM Signals (100LQFP)
Pin Name
Pin Number Pin Type Buffer Typea Description
Fault
99
I
TTL
PWM Fault.
PWM0
10
O
TTL
PWM 0. This signal is controlled by PWM Generator 0.
PWM1
11
O
TTL
PWM 1. This signal is controlled by PWM Generator 0.
PWM2
86
O
TTL
PWM 2. This signal is controlled by PWM Generator 1.
PWM3
85
O
TTL
PWM 3. This signal is controlled by PWM Generator 1.
PWM4
60
O
TTL
PWM 4. This signal is controlled by PWM Generator 2.
PWM5
59
O
TTL
PWM 5. This signal is controlled by PWM Generator 2.
a. The TTL designation indicates the pin has TTL-compatible voltage levels.
Table 16-2. PWM Signals (108BGA)
Pin Name
Fault
PWM0
PWM1
PWM2
Pin Number
F2
G1
G2
C9
Pin Type
I
O
O
O
Buffer Typea Description
TTL
PWM Fault.
TTL
PWM 0. This signal is controlled by PWM Generator 0.
TTL
PWM 1. This signal is controlled by PWM Generator 0.
TTL
PWM 2. This signal is controlled by PWM Generator 1.
558
July 15, 2014
Texas Instruments-Production Data