SWCU194 March 2023 CC1314R10 , CC1354P10 , CC1354R10 , CC2674P10 , CC2674R10
This channel action continuously does the following:
The channel generates an edge-aligned PWM waveform when AUX_TIMER2:CTL.MODE = UP_PER.
The channel copies a new value written in AUX_TIMER2:CHnPCC to AUX_TIMER2:CHnCC when AUX_TIMER2:CNTR becomes 0. This prevents jitter on the edges of the generated PWM signal. Similarly, the timer copies a new value written in AUX_TIMER2:SHDWTARGET to AUX_TIMER2:TARGET when AUX_TIMER2:CNTR becomes 0. This avoids period-jitter in PWM applications with time-varying period.
For further description, see the description of the AUX_TIMER2:CHnEVCFG.CCACT, Section 20.8.7.
The following example illustrates edge-aligned PWM generation by channel 0 (see Figure 20-27). The waveform is synthesized on event output 0. The timer period is kept static, and the target value is set to period minus 1. Configure as follows:
The duty-cycle of the generated PWM waveform is controlled by AUX_TIMER2:CH0PCC updates. Waveform generation on event output 0 continues until stopped by the user.