www.ti.com
2.2.4 Phase Locking the Time-Base Clocks of Multiple ePWM Modules
The TBCLKSYNC bit can be used to globally synchronize the
1.Enable the individual ePWM module clocks. This is described in the specific device version of the System Control and Interrupts Reference Guide listed in Section 1.
2.Set TBCLKSYNC = 0. This will stop the
3.Configure the prescaler values and desired ePWM modes.
4.Set TBCLKSYNC = 1.
2.2.5Time-base Counter Modes and Timing Waveforms
The
∙
∙
∙
∙Frozen where the
To illustrate the operation of the first three modes, the following timing diagrams show when events are generated and how the
Figure 2-7. Time-Base Up-Count Mode Waveforms
| TBCTR[15:0] |
|
| 0xFFFF |
|
| TBPRD |
|
| (value) |
|
| TBPHS |
|
| (value) |
|
| 0000 |
|
| EPWMxSYNCI |
|
| CTR_dir |
|
| CTR = zero |
|
| CTR = PRD |
|
| CNT_max |
|
30 | ePWM Submodules |