www.ti.com
Counter-Compare (CC) Submodule
Figure 2-10. Time-Base Up-Down Count Waveforms, TBCTL[PHSDIR = 1] Count Up On Synchronization
Event
TBCNT[15:0] |
|
|
0xFFFF |
|
|
TBPRD (value) |
|
|
TBPHS (value) |
|
|
0x0000 |
|
|
EPWMxSYNCI |
|
|
UP | UP | UP |
CTR_dir |
|
|
DOWN | DOWN | DOWN |
CTR = zero |
|
|
CTR = PRD |
|
|
CNT_max |
|
|
2.3Counter-Compare (CC) Submodule
Figure 2-11 illustrates the counter-compare submodule within the ePWM.
Figure 2-11. Counter-Compare Submodule
EPWMxSYNCI
EPWMxSYNCO
(TB)
Counter
Compare
(CC)
CTR = PRD
CTR = 0
CTR_Dir
CTR = CMPA
CTR = CMPB
Action
Qualifier
(AQ)
EPWMxA
EPWMxB
| CTR = PRD | Event | |
| CTR = 0 | ||
| Trigger | ||
CTR = CMPA | |||
and | |||
| CTR = CMPB | Interrupt | |
| CTR_Dir | (ET) | |
|
|
|
Dead | PWM- | Trip |
Band | chopper | Zone |
(DB) | (PC) | (TZ) |
| CTR = 0 |
|
PIE | EPWMxTZINT |
|
|
|
EPWMxINT
EPWMxSOCA
EPWMxSOCB
EPWMxA
EPWMxB
TZ1 to TZ6
PIE
ADC
GPIO MUX