The Time-Base submodule is responsible for the PWM
frequency and synchronization between EPWM or MCPWM modules. This section details
differences between the Time-Base Submodule in EPWM and MCPWM.
The feature differences of the MCPWM Time-Base
submodule when compared to EPWM are as follows:
- Addition of memory mapped Time-Base Period shadow
register (TBPRDS). When shadow loading is enabled, this register must be written
to directly instead of the active register (TBPRD).
- Clock divider and high speed clock divider
combined into single divider (TBCTL.CLKDIV) on MCPWM
- One-shot sync feature removed on MCPWM
- Down-Count mode removed on MCPWM
- CTRMAX flag removed
- Up to 3 PWM pairs share the same counter
(phase-shifting between PWM pairs must be implemented via Counter-Compare
Submodule)