Part Number: TMS320F28375D
I need to use EPWM6, EPWM7, EPWM8, and EPWM11 and synchronize them. (Because the 100 pin package does not have all of the PWMs available.). How can I do this? I was thinking of using EPWM4 to synchronize everything by
configuring EPWM4 and enable its interrupt.
configuring EPWM10 and enable its interrupt.
configure EPWM6, EPWM7, EPWM8, and EPWM11
then do
//EPWM4->EWPM7
SysCtl_setSyncInputConfig(SYSCTL_SYNC_IN_EPWM7,
SYSCTL_SYNC_IN_SRC_EPWM4SYNCOUT);
//EPWM4->EWPM10
SysCtl_setSyncInputConfig(SYSCTL_SYNC_IN_EPWM10,
SYSCTL_SYNC_IN_SRC_EPWM4SYNCOUT);
Make ISRs for EPWM4, EPWM7, and EPWM10 to acknowledge the interrupt (is this necessary?)
Do I also need to configure EPWM5 so the synch signal from EPWM4 goes to EPWM6? Is there anything else I have to do to make this work?
