SDAA032 July 2025 TDA4VE-Q1
Always enable shadow loading of CMPA compare register to defer updates until the start or end of the PWM period by configuring EPWM_CMPCTL.LOADAMODE = 0, and this makes sure the CMPA register is updated deterministically at a specific event such as TBCNT = 0 or TBCNT = TBPRD.