4.2.5.1 Implementing a Simple Buck Converter
In this example, the PWM requirements for SYSCLKOUT = 80 MHz are:
• PWM frequency = 800 kHz (TBPRD = 100 )
• PWM mode = asymmetrical, up-count
• Resolution = 12.7 bits (with a MEP step size of 150 ps)
show the required PWM waveform. As explained previously, configuration for the
ePWM1 module is almost identical to the normal case except that the appropriate MEP options need to be
enabled/selected.
EPWM1A
V
in1
V
out1
Buck
Figure 4-11. Simple Buck Controlled Converter Using a Single PWM
Z
CA
Z
CA
Z
T
pwrr
EPWM1A
Figure 4-12. PWM Waveform Generated for Simple Buck Controlled Converter
The example code shown consists of two main parts:
• Initialization code (executed once)
• Run time code (typically executed within an ISR)
High-Resolution Pulse Width Modulator (HRPWM)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
393
Copyright © 2022 Texas Instruments Incorporated
Summary of Contents for TMS320 2806 Series
Page 2: ......