SPRUJB6B November 2024 – May 2025 AM2612
Main operating highlights of the APWM section:
Figure 7-299 PWM Waveform Details Of APWM Mode Operation
The behavior of APWM active high mode (APWMPOL == 0) is as follows:
CMP = 0x00000000, output low for duration of period (0% duty)CMP = 0x00000001, output high 1 cycleCMP = 0x00000002, output high 2 cyclesCMP = PERIOD, output high except for 1 cycle (<100% duty)CMP = PERIOD+1, output high for complete period (100% duty)CMP > PERIOD+1, output high for complete period
The behavior of APWM active low mode (APWMPOL == 1) is as follows:
CMP = 0x00000000, output high for duration of period (0% duty)CMP = 0x00000001, output low 1 cycleCMP = 0x00000002, output low 2 cyclesCMP = PERIOD, output low except for 1 cycle (<100% duty)CMP = PERIOD+1, output low for complete period (100% duty)CMP > PERIOD+1, output low for complete period
Figure 7-300 Time-Base Frequency and Period Calculation