SLAU846B June 2023 – November 2024 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G1519 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3519
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 27.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 27.2.7.
Configure two center-aligned PWMs as described in Section 27.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 27.2.2.5.
Figure 27-31 shows an example of asymmetric PWM configuration using CCP channel 0 of TIMA0 and TIMA1.