www.ti.com
Register Mapping
Figure 1-3. ePWM Submodules and Critical Internal Signal Interconnects
|
|
| Sync |
|
| |||
|
|
|
|
|
|
| ||
TBPRD shadow (16) |
|
|
| in/out |
| EPWMxSYNCO | ||
|
|
|
|
| select |
| ||
TBPRD active (16) |
|
|
|
|
| |||
|
|
| MUX |
|
| |||
|
|
|
|
|
|
| ||
|
| CTR_PRD |
| S0 | S1 |
|
| |
16 |
|
|
|
| TBCTL[SWFSYNC] |
| EPWMxSYNCI | |
Counter |
|
|
|
|
|
|
|
|
UP/DWN | TBCTL[PHSEN] |
|
|
|
|
| ||
(16 bit) | CTR = ZERO |
|
| TBCTL[SWFSYNC] (software | ||||
TBCTR |
|
| ||||||
|
|
|
|
| forced sync) | |||
active | CTR_Dir |
|
|
| ||||
|
|
|
|
|
| |||
(16) |
|
|
|
|
|
|
|
|
16 |
| Phase |
| CTR = PRD |
|
|
| |
TBPHS active (16) |
|
|
| EPWMxINT | ||||
control |
| CTR = ZERO |
|
| ||||
|
|
| Event |
|
| |||
|
|
|
|
|
|
|
| |
|
|
|
| CTR = CMPA | trigger and | EPWMxSOCA | ||
|
|
|
| CTR = CMPB | interrupt |
|
| |
Counter compare (CC) |
|
| (ET) |
| EPWMxSOCB | |||
|
|
| CTR_Dir |
| ||||
|
|
|
|
|
|
|
| |
16 |
|
|
|
|
|
|
|
|
| CTR = CMPA |
|
|
|
|
|
| |
16 |
|
|
|
|
|
|
|
|
|
|
| Action |
|
|
|
|
|
CMPA active (16) |
| qualifier |
|
|
|
| EPWMxA | |
| (AQ) |
|
|
|
|
| ||
|
|
|
| PWM |
|
|
| |
CMPA shadow (16) |
|
| Dead |
|
|
| ||
|
| band | chopper |
|
|
| ||
|
|
|
|
|
|
| ||
16 |
|
|
| (DB) | (PC) | Trip |
|
|
|
|
|
|
|
| zone | EPWMxB | |
| CTR = CMPB |
|
|
| (TZ) | |||
16 |
|
|
|
|
| |||
|
|
|
|
|
|
|
| |
CMPB active (16) |
|
| EPWMxTZINT |
|
|
| ||
|
|
|
|
|
| TZ1 to TZ6 | ||
|
|
|
| CTR=ZERO |
|
| ||
CMPB shadow (16) |
|
|
|
|
| |||
|
|
|
|
|
|
|
Figure 1-3 also shows the key internal submodule interconnect signals. Each submodule is described in detail in its respective section.
1.3Register Mapping
The complete ePWM module control and status register set is grouped by submodule as shown in Table
Introduction | 17 |