Other Parts Discussed in Thread: CONTROLSUITE
Dear All,
About the PiccoloB CLA Configure register, it can only access at the c2000 CPU. I think to modify the CLA register at the PIE(INT11).
I have one experience what can not into PIE(CLA1_INTx ISR) when CLA Task(EPWM) completes.
My code CLA1_INT1 source is from EPWM1. I testified that the CLA Task1 had come in. But can not in to the (as below)breakpointer of the INT11.1 when the Task1 complete. Anyone have this happened to you?
PS:The controlSUITE example project "Example_2803xClaAdcFir" CLA1_INT7 from ADC. This can run to "interrupt void cla1_isr7()" when the CLA Task7 completes.
My Initialize :
EALLOW;
PieVectTable.CLA1_INT2 = &cla1_isr1;
EDIS;
EALLOW;
PieCtrlRegs.PIEIER11.bit.INTx1 = 1;
EPwm1Regs.CMPA.half.CMPA = 62;
EPwm1Regs.ETSEL.bit.INTSEL = ET_CTR_ZERO;
EPwm1Regs.ETSEL.bit.INTEN = 1;
EPwm1Regs.ETPS.bit.INTPRD = ET_1ST;
EPwm1Regs.ETCLR.bit.INT = 1;
Cla1Regs.MPISRCSEL1.bit.PERINT1SEL = CLA_INT1_EPWM1INT;
IER |= M_INT11;
EINT;
ERTM;
EDIS;
interrupt void cla1_isr1()
{
PieCtrlRegs.PIEACK.all = PIEACK_GROUP11; /* set breakpointer here*/
}
Eric