EasyManuals Logo

Texas Instruments TMS320F2837 D Series Workshop Guide And Lab Manual

Texas Instruments TMS320F2837 D Series
324 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #173 background imageLoading...
Page #173 background image
ePWM
TMS320F2837xD Microcontroller Workshop - Control Peripherals 7 - 23
PWM Computation Example
Symmetric PWM Computation Example
Determine TBPRD and CMPA for 100 kHz, 25% duty
symmetric PWM from a 100 MHz time base clock
CMPA = (100% - duty cycle)*TBPRD = 0.75*500 = 375
TBPRD =
f
TBCLK
f
PWM
2
2
11
100 kHz
100 MHz
..
= 500=
Counter
Compare
Period
PWM Pin
f
TBCLK
= 100 MHz
CA
CA
.
.
f
PWM
= 100 kHz
(T
PWM
= 10 ms)
(T
TBCLK
= 10 ns)
Asymmetric PWM Computation Example
Determine TBPRD and CMPA for 100 kHz, 25% duty
asymmetric PWM from a 100 MHz time base clock
CMPA = (100% - duty cycle)*(TBPRD+1) - 1 = 0.75*(999+1) - 1 = 749
TBPRD =
f
TBCLK
f
PWM
100 kHz
100 MHz
- 1 = 999- 1 =
Counter
Compare
Period
PWM Pin
P
CA
f
TBCLK
= 100 MHz
.
.
f
PWM
= 100 kHz
(T
PWM
= 10 ms)
(T
TBCLK
= 10 ns)

Table of Contents

Other manuals for Texas Instruments TMS320F2837 D Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS320F2837 D Series and is the answer not in the manual?

Texas Instruments TMS320F2837 D Series Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320F2837 D Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals