Texas Instruments 28xxx manual ∙ Up-down-count mode used to generate a symmetrical PWM waveform

Models: 28xxx TMS320x28xx

1 119
Download 119 pages 2.85 Kb
Page 35
Image 35
∙Up-down-count mode: used to generate a symmetrical PWM waveform.

www.ti.com

Counter-Compare (CC) Submodule

Up-down-count mode: used to generate a symmetrical PWM waveform.

To best illustrate the operation of the first three modes, the timing diagrams in Figure 2-13through Figure 2-16show when events are generated and how the EPWMxSYNCI signal interacts.

Figure 2-13. Counter-Compare Event Waveforms in Up-Count Mode

TBCTR[15:0]

0xFFFF

TBPRD

(value)

CMPA

(value)

CMPB

(value)

TBPHS

(value)

0x0000

EPWMxSYNCI

CTR￿=￿CMPA

CTR￿=￿CMPB

NOTE: An EPWMxSYNCI external synchronization event can cause a discontinuity in the TBCTR count sequence. This can lead to a compare event being skipped. This skipping is considered normal operation and must be taken into account.

Figure 2-14. Counter-Compare Events in Down-Count Mode

TBCTR[15:0]

0xFFFF

TBPRD

(value)

CMPA

(value)

CMPB

(value)

TBPHS

(value)

0x0000

EPWMxSYNCI

CTR￿=￿CMPA

CTR￿=￿CMPB

SPRU791D–November 2004–Revised October 2007

ePWM Submodules

35

Submit Documentation Feedback

Page 35
Image 35
Texas Instruments 28xxx ∙ Up-down-count mode used to generate a symmetrical PWM waveform, Counter-Compare CC Submodule