SLAU893B October 2023 – July 2024 MSPM0C1103 , MSPM0C1103-Q1 , MSPM0C1104 , MSPM0C1104-Q1
In TIMA only, asymmetric PWMs can be generated by generating two synchronized center-aligned PWM signals with a controlled phase shift. To generate the asymmetric PWM signals, the phase load feature is used as described in Section 15.2.2.5.
Asymmetric PWM Configuration
To generate asymmetric PWMs using compare match events from the counter:
Synchronize TIMA0 and TIMA1 using a cross trigger as described in Section 15.2.7.
Configure two center-aligned PWMs as described in Section 15.2.5.2.2 using TIMA0 and TIMA1. TIMA0 and TIMA1 should have the same load value (TIMA.LOAD) and compare value (TIMA.CC_xy[0/1]) to generate the same PWM frequency and duty cycle.
Add a phase shift value for TIMA0 or TIMA1 by configuring the phase load value TIMA.PL as described in Section 15.2.2.5.
Figure 15-31 shows an example of asymmetric PWM configuration using CCP channel 0 of TIMA0 and TIMA1.