Download Pulse 280 Specifications
Transcript
Operational Description of HRPWM www.ti.com Example 3. Initializing With a Scale Factor Value (continued) while (MEP_ScaleFactor[3] == 0) SFO_MepDis(3); //SFO for HRPWM3 while (MEP_ScaleFactor[4] == 0) SFO_MepDis(4); //SFO for HRPWM4 // Initialize a common seed variable MEP_ScaleFactor[0] // required for all SFO functions MEP_ScaleFactor[0] = MEP_ScaleFactor[1]; // Common variable for SFOMepEn(n) function Step 4. Application Code While the application is running, fluctuations in both device temperature and supply voltage may be expected. To be sure that optimal Scale Factors are used for each ePWM module, the SFO function should be re-run periodically as part of a slower back-ground loop. Some examples of this are shown here. NOTE: See the HRPWM_SFO example in the C280x C/C++ Header Files and Peripheral Examples (SPRC191) available from the TI website. 22 High-Resolution Pulse Width Modulator (HRPWM) SPRU924F – April 2005 – Revised October 2011 Submit Documentation Feedback Copyright © 2005–2011, Texas Instruments Incorporated