EasyManuals Logo

Texas Instruments C2000 Workshop Guide And Lab Manual

Texas Instruments C2000
342 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 #146 background imageLoading...
Page #146 background image
ePWM
7 - 20 C2000 Microcontroller Workshop - Control Peripherals
PWM Computation Example
Symmetric PWM Computation Example
Determine TBPRD and CMPA for 90 kHz, 25% duty
symmetric PWM from a 90 MHz time base clock
CMPA = (100% - duty cycle)*TBPRD = 0.75*500 = 375
TBPRD =
f
TBCLK
f
PWM
2
2
11
90 kHz
90 MHz
..
= 500=
Counter
Compare
Period
PWM Pin
f
TBCLK
= 90 MHz
CA
CA
.
.
f
PWM
= 90 kHz
(T
PWM
= 11.1 µs)
(T
TBCLK
= 11.1 ns)
Asymmetric PWM Computation Example
Determine TBPRD and CMPA for 90 kHz, 25% duty
asymmetric PWM from a 90 MHz time base clock
CMPA = (100% - duty cycle)*(TBPRD+1) - 1 = 0.75*(999+1) - 1 = 749
TBPRD =
f
TBCLK
f
PWM
90 kHz
90 MHz
- 1 = 999- 1 =
Counter
Compare
Period
PWM Pin
P
CA
f
TBCLK
= 90 MHz
.
.
f
PWM
= 90 kHz
(T
PWM
= 11.1 µs)
(T
TBCLK
= 11.1 ns)

Table of Contents

Other manuals for Texas Instruments C2000

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments C2000 Specifications

General IconGeneral
BrandTexas Instruments
ModelC2000
CategoryMicrocontrollers
LanguageEnglish

Related product manuals