SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
The EPWM modules provide synchronization signals to allow them to be synchronized to other modules or events. In this device, these signals are connected in a daisy-chain fashion for EPWM0-EPWM8 as shown in Figure 12-2230. For EPWM3, EPWM4, EPWM5 and for EPWM6, EPWM7, EPWM8, the EPWM modules can be synchronized to a separate external event (routed through the SoC Sync mux3 and SoC Sync mux 6). Note that the EPWM0_SYNCIN, EPWM3_SYNCIN, and EPWM6_SYNCIN pins and the ICSSG interrupts that source the EPWMSYNCI inputs require synchronization. Also note that there can be no extra delay (synchronization or pipelining) between the EPWMSYNCOUT of one EPWM module and the EPWMSYNCI of the next, because this will induce a slight phase shift between the counters of the EPWM peripherals. The connections from the time sync and compare event routers are intended to reset the EPWM timebase counters for synchronization of the PWM output period to (some multiple of) an external synchronization pulse (for example: from a time synchronized network).
The EPWM0 EPWM0SYNCI signal (device EHRPWM0_SYNCI input signal) triggers the event of the EPWM0 Phase Register being loaded into the Counter register (TBPHS -> TBCNT). This event is synchronous to the EPWM0 time-base clock (TBCLK).
The EPWM0 EPWM0SYNCO (device EHRPWM0_SYNCO output signal) is implicitly synchronous to the time-base clock, as this signal has a programmable source of event (in the EPWM_TBCTL[5-4] SYNCOSEL bit field) triggered synchronously to the EPWM0 TBCLK.