SPRUIU1D July 2020 – December 2024 DRA821U , DRA821U-Q1
Main operating highlights of the APWM section:
Figure 12-2576 PWM Waveform Details of ECAP APWM Mode OperationThe behavior of APWM active-high mode (APWMPOL == 0) is:
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 periodThe behavior of APWM active-low mode (APWMPOL == 1) is:
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