SPRUJ53C April 2024 – February 2025 TMS320F28P550SG , TMS320F28P550SJ , TMS320F28P559SG-Q1 , TMS320F28P559SJ-Q1
Main operating highlights of the APWM section:
Figure 20-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 20-11 Time-Base Frequency and Period Calculation