Pulse 280 Specifications Page 24

  • Download
  • Add to my manuals
  • Print
  • Page
    / 42
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 23
Z CA Z CA Z
T
pwrr
EPWM1A
Operational Description of HRPWM
www.ti.com
Example 5. #Defines for HRPWM Header Files
//--------------------------------
// HRPWM (High Resolution PWM)
//================================
// HRCNFG
#define HR_Disable 0x0
#define HR_REP 0x1 // Rising Edge position
#define HR_FEP 0x2 // Falling Edge position
#define HR_BEP 0x3 // Both Edge position
#define HR_CMP 0x0 // CMPAHR controlled
#define HR_PHS 0x1 // TBPHSHR controlled
#define HR_CTR_ZERO 0x0 // CTR = Zero event
#define HR_CTR_PRD 0x1 // CTR = Period event
2.5.1 Implementing a Simple Buck Converter
In this example, the PWM requirements are:
PWM frequency = 1 MHz (i.e., TBPRD = 100 )
PWM mode = asymmetrical, up-count
Resolution = 12.7 bits (with a MEP step size of 150 ps)
Figure 8 and Figure 9 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.
Figure 8. Simple Buck Controlled Converter Using a Single PWM
Figure 9. PWM Waveform Generated for Simple Buck Controlled Converter
24
High-Resolution Pulse Width Modulator (HRPWM) SPRU924F April 2005 Revised October 2011
Submit Documentation Feedback
Copyright © 20052011, Texas Instruments Incorporated
Page view 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 41 42

Comments to this Manuals

No comments