SPRUIW9C October 2021 – March 2024 TMS320F280033 , TMS320F280034 , TMS320F280034-Q1 , TMS320F280036-Q1 , TMS320F280036C-Q1 , TMS320F280037 , TMS320F280037-Q1 , TMS320F280037C , TMS320F280037C-Q1 , TMS320F280038-Q1 , TMS320F280038C-Q1 , TMS320F280039 , TMS320F280039-Q1 , TMS320F280039C , TMS320F280039C-Q1
Main operating highlights of the APWM section:
Figure 21-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 21-11 Time-Base Frequency and Period Calculation