Tool/software: Code Composer Studio
EPWM1, 2,3 are defined and initialized in CPU1, and ePWM1 interrupt configuration is conducted in CPU2. CPU2 cannot enter ePWM interrupt.
That's what it says in the manual:
{
InitSysCtrl();
IFR = 0x0000;
EALLOW;
EDIS;
PieCtrlRegs.PIEIER3.bit.INTx1 = 1;
EINT;
ERTM;
IPCLtoRFlagSet(IPC_FLAG17);同步CPU1;
while(1);
}