Pulse 280 Specifications

Browse online or download Specifications for Fitness, gymnastics & weight training Pulse 280. Pulse 280 Specifications User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 42
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
TMS320x280x, 2801x, 2804x High Resolution
Pulse Width Modulator (HRPWM)
Reference Guide
Literature Number: SPRU924F
April 2005 Revised October 2011
Page view 0
1 2 3 4 5 6 ... 41 42

Summary of Contents

Page 1 - Reference Guide

TMS320x280x, 2801x, 2804x High ResolutionPulse Width Modulator (HRPWM)Reference GuideLiterature Number: SPRU924FApril 2005– Revised October 2011

Page 2

TBPHSHR (8) Reserved (8)TBPHS (16)0x00020x0003Reserved (8)TBPHSHR (8)TBPHS (16)31 16 15 8 7 0Single 32 bit writeReserved (8)CMPA (16)CMPAHR (8)0x00080

Page 3 - Contents

CTR=PRDTBPRD shadow (16)TBPRD active (16)Counterup/down(16 bit)TBCNTactive (16)TBCTL[PHSEN]TBCTL[SWFSYNC](software forced sync)EPWMxSYNCICTR=ZEROCTR_D

Page 4

Operational Description of HRPWMwww.ti.com2.3 Principle of OperationThe MEP logic is capable of placing an edge in one of 255 (8 bits) discrete time s

Page 5 - Read This First

Tpwm=800ns324ns30 31 32 33 3410nssteps37.5%38.8%40.0%41.3%42.5%Demandedduty(40.5%)EPWM1A0 79www.ti.comOperational Description of HRPWM2.3.1 Edg

Page 6

Operational Description of HRPWMwww.ti.comTable 4. CMPA vs Duty (left), and [CMPA:CMPAHR] vs Duty (right)CMPA (count)(1) (2) (3)DUTY High CMPA CMPAHR

Page 7

www.ti.comOperational Description of HRPWMAssumptions for this example:System clock , SYSCLKOUT = 10 ns (100 MHz)PWM frequency = 1.25 MHz (1/800 ns)Re

Page 8 - Introduction

T =1000nsPWMEPWM1A0 10060ns30ns(F =1MHz)PWM3 6SYSCLKOUT =TBCLK=100MHzOperational Description of HRPWMwww.ti.comNOTE: The MEP scale factor (MEP

Page 9

www.ti.comOperational Description of HRPWMTable 5. Duty Cycle Range Limitation for 3 and 6 SYSCLK/TBCLK CyclesPWM Frequency(1)3 Cycles 6 Cycles SYSCLK

Page 10 - Shadowed Description

Tpwm = 1000 nsEPWM1A010060 ns30 ns(Fpwm = 1 MHz)3 6SYSCLKOUT = 100 MHzOperational Description of HRPWMwww.ti.comFigure 7. High % Duty Cycle Range Limi

Page 11 - 2.2 Configuring the HRPWM

www.ti.comOperational Description of HRPWMTable 6. SFO Library Routines (continued)Function DescriptionMEP steps per TBCLK = MEP_ScaleFactor[n] * (100

Page 12 - 2.3 Principle of Operation

2SPRU924F– April 2005– Revised October 2011Submit Documentation FeedbackCopyright © 2005–2011, Texas Instruments Incorporated

Page 13 - Submit Documentation Feedback

Operational Description of HRPWMwww.ti.comWhile using HRPWM feature with no SFO diagnostics, HRPWM logic will not be active for the first 3TBCLK cycle

Page 14 - (1) (2) (3)

www.ti.comOperational Description of HRPWMTable 7. Factor ValuesSoftware function calls Functional description Updated VariableMEP_ScaleFactor[5](1)SF

Page 15

Operational Description of HRPWMwww.ti.comExample 3. Initializing With a Scale Factor Value (continued)while (MEP_ScaleFactor[3] == 0) SFO_MepDis(3);

Page 16

www.ti.comOperational Description of HRPWMExample 4. SFO Function Callsmain(){// User code// Case1: ePWM1,2,3,4 are running in HRPWM modeSFO_MepEn(1);

Page 17 - SYSCLKOUT

EPWM1AVin1Vout1BuckZ CA Z CA ZTpwrrEPWM1AOperational Description of HRPWMwww.ti.comExample 5. #Defines for HRPWM Header Files//-----------------------

Page 18

www.ti.comOperational Description of HRPWMThe example code shown consists of two main parts:• Initialization code (executed once)• Run time code (typi

Page 19

EPWM1AVOUT1LPFEPWM1ACATPWM= 2.5 µsZCAZZOperational Description of HRPWMwww.ti.comExample 7. HRPWM Buck Converter Run-Time Code (continued)MPYU ACC,T,@

Page 20

www.ti.comOperational Description of HRPWMExample 8. PWM DAC Function Initialization Codevoid HrPwmDacDrvCnf(void) {// Config for conventional PWM fir

Page 21

Operational Description of HRPWMwww.ti.comExample 9. PWM DAC Function Run-Time CodeEPWM1_BASE .set 0x6800CMPAHR1 .set EPWM1_BASE+0x8;=================

Page 22

www.ti.comHRPWM Register Descriptions3 HRPWM Register DescriptionsThis section describes the applicable HRPWM registers3.1 Register SummaryA summary o

Page 23

ContentsPreface ...

Page 24 - Z CA Z CA Z

HRPWM Register Descriptionswww.ti.com3.2 Registers and Field DescriptionsFigure 12. HRPWM Configuration Register (HRCNFG)15 8ReservedR-07 4 3 2 1 0Res

Page 25

www.ti.comHRPWM Register DescriptionsTable 11. TB Phase High Resolution Register (TBPHSHR) Field DescriptionsBit Field Value Description15-8 TBPHSH Ti

Page 26 - = 2.5 µs

32High-Resolution Pulse Width Modulator (HRPWM) SPRU924F– April 2005– Revised October 2011Submit Documentation FeedbackCopyright © 2005–2011, Texas In

Page 27

www.ti.comAppendix AAppendix A SFO Library Software - SFO_TI_Build_V5.libThis appendix includes a detailed description of the software routines in SFO

Page 28

SFO Library Version Comparisonwww.ti.comTable 13. SFO V5 Library RoutinesFunction Descriptionint SFO_MepDis_V5(n) Scale Factor Optimizer V5 with MEP D

Page 29 - 3.1 Register Summary

www.ti.comSFO Library Version ComparisonTable 13. SFO V5 Library Routines (continued)Function DescriptionConstraints when using this function:• This r

Page 30 - HRPWM Register Descriptions

Software Usagewww.ti.comTable 13. SFO V5 Library Routines (continued)Function DescriptionIf it returns a 2, the MEP_ScaleFactor for the channel has fi

Page 31

www.ti.comSoftware UsageStep 1. Add "Include" FilesThe SFO_V5.h file needs to be included as follows. This include file is mandatory when us

Page 32

Software Usagewww.ti.com&EPwm8Regs, &EPwm9Regs, &EPwm10Regs, &EPwm11Regs, &EPwm12Regs, &EPwm13Regs, &EPwm14Regs, &EPwm

Page 33 - Appendix A

www.ti.comSoftware UsageStep 4. MEP_ScaleFactorAfter power up, the SFO_MepEn_V5(n) function needs a typical scale factor starting seed value inMEP_Sca

Page 34

www.ti.comList of Figures1 Resolution Calculations for Conventionally Generated PWM... 72 Operat

Page 35

Software Usagewww.ti.comfor(i=1; i<(PWM_CH-1); i++) //update scale factors for ePWM 1-15{MEP_ScaleFactor[i] = MEP_ScaleFactor[16];}NOTE: See the hr

Page 36 - A.2 Software Usage

www.ti.comAppendix B Revision HistoryThis document was revised and lists only revisions made in this most recent version. The scope of therevisions wa

Page 37 - Software Usage

IMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improveme

Page 38

PrefaceSPRU924F– April 2005– Revised October 2011Read This FirstAbout This ManualThis document describes the operation of the high-resolution extensio

Page 39

Related Documentation From Texas Instrumentswww.ti.comSPRU566 — TMS320x28xx, 28xxx DSP Peripheral Reference Guide describes the peripheralreference gu

Page 40

PWMtTPWMTSYSCLKPWMresolution(%)=F /F x100%PWM SYSCLKOUTPWMresolution(bits)=Log (T /T )2 PWM SYSCLKOUTReference GuideSPRU924F– April 2005– Rev

Page 41 - Appendix B Revision History

Introductionwww.ti.comTable 1. Resolution for PWM and HRPWM (continued)PWM Freq Regular Resolution (PWM) High Resolution (HRPWM)(kHz)Bits % Bits %150

Page 42 - IMPORTANT NOTICE

For MEP range and rounding adjustment (0x0180 in Q8 format)[+1.5]www.ti.comOperational Description of HRPWM2 Operational Description of HRPWMThe HRPWM

Comments to this Manuals

No comments