SPRUJ17H March 2022 – October 2024 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
The CONTROLSS_CTRL.EPWM_CLKSYNC register has bits corresponding to each instance of ePWM. When EPWM_CLKSYNC = 0, the time-base clock of all corredsponding ePWM modules are stopped (default). When EPWM_CLKSYNC = 1, all corresponding ePWMs time-base clocks are started with the rising edge of TBCLK aligned. For perfectly synchronized TBCLKs, the prescaler bits in the TBCTL register of each ePWM module must be set identically.
The EPWM_CLKSYNC bit can be used to globally synchronize the time-base clocks of all enabled ePWM modules on a device. These bits are part of the CONTROLSS_CTRL register. When EPWM_CLKSYNC = 0, the time-base clock of all corresponding ePWM modules are stopped (default). When EPWM_CLKSYNC = 1, all corresponding ePWM modules' time-base clocks are started with the rising edge of TBCLK aligned. For perfectly synchronized TBCLKs, the prescaler bits in the TBCTL register of each ePWM module must be set identically. The proper procedure for enabling the ePWM clocks is: