SPRUHM9H October 2014 – May 2024 TMS320F28075 , TMS320F28075-Q1 , TMS320F28076
Main operating highlights of the APWM section:
Figure 15-10 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 15-11 Time-Base Frequency and Period Calculation