Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X 데이터 시트

제품 코드
DK-TM4C129X
다운로드
페이지 2182
28.2
Signal Description
The following table lists the external signals of the PWM module and describes 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 Mux/Pin Assignment" lists the possible
GPIO pin placements for these PWM signals. The
AFSEL
bit in the GPIO Alternate Function Select
(GPIOAFSEL) register (page 801) should be set to choose the PWM function. The number in
parentheses is the encoding that must be programmed into the
PMCn
field in the GPIO Port Control
(GPIOPCTL) register (page 818) to assign the PWM signal to the specified GPIO port pin. For more
information on configuring GPIOs, see “General-Purpose Input/Outputs (GPIOs)” on page 771.
Table 28-1. PWM Signals (212BGA)
Description
Buffer Type
Pin Type
Pin Mux / Pin
Assignment
Pin Number
Pin Name
Motion Control Module 0 PWM Fault 0.
TTL
I
PF4 (6)
PS0 (6)
V7
D12
M0FAULT0
Motion Control Module 0 PWM Fault 1.
TTL
I
PK6 (6)
PS1 (6)
V16
D13
M0FAULT1
Motion Control Module 0 PWM Fault 2.
TTL
I
PK7 (6)
PS2 (6)
W16
B14
M0FAULT2
Motion Control Module 0 PWM Fault 3.
TTL
I
PL0 (6)
PS3 (6)
G16
A14
M0FAULT3
Motion Control Module 0 PWM 0. This signal is
controlled by Module 0 PWM Generator 0.
TTL
O
PF0 (6)
PR0 (6)
U6
N5
M0PWM0
Motion Control Module 0 PWM 1. This signal is
controlled by Module 0 PWM Generator 0.
TTL
O
PF1 (6)
PR1 (6)
V6
N4
M0PWM1
Motion Control Module 0 PWM 2. This signal is
controlled by Module 0 PWM Generator 1.
TTL
O
PF2 (6)
PR2 (6)
W6
N2
M0PWM2
Motion Control Module 0 PWM 3. This signal is
controlled by Module 0 PWM Generator 1.
TTL
O
PF3 (6)
PR3 (6)
T7
V8
M0PWM3
Motion Control Module 0 PWM 4. This signal is
controlled by Module 0 PWM Generator 2.
TTL
O
PG0 (6)
PR4 (6)
N15
P3
M0PWM4
Motion Control Module 0 PWM 5. This signal is
controlled by Module 0 PWM Generator 2.
TTL
O
PG1 (6)
PR5 (6)
T14
P2
M0PWM5
Motion Control Module 0 PWM 6. This signal is
controlled by Module 0 PWM Generator 3.
TTL
O
PK4 (6)
PR6 (6)
U19
W9
M0PWM6
Motion Control Module 0 PWM 7. This signal is
controlled by Module 0 PWM Generator 3.
TTL
O
PK5 (6)
PR7 (6)
V17
R10
M0PWM7
28.3
Functional Description
28.3.1
Clock Configuration
The PWM has two clock source options:
■ The System Clock
■ A predivided System Clock
The clock source is selected by programming the
USEPWM
bit in the PWM Clock Configuration
(PWMCC) register. The
PWMDIV
bitfield specifies the divisor of the System Clock that is used to
create the PWM Clock.
December 13, 2013
1934
Texas Instruments-Advance Information
Pulse Width Modulator (PWM)