SPRUJD3A July 2025 – October 2025 F28E120SB , F28E120SC
The frequency of PWM events is controlled by the time-base period (TBPRD) register and the mode of the time-base counter. Figure 15-5 shows the period (Tpwm) and frequency (Fpwm) relationships for the up-count and up-down-count time-base counter modes when the period is set to 4 (TBPRD = 4). The time increment for each step is defined by the time-base clock (TBCLK) which is a prescaled version of the MCPWM clock (MCPWMCLK).
The time-base counter has two modes of operation selected by the time-base control register (TBCTL.CTRMODE):
Figure 15-5 Time-Base
Frequency and Period