Hi,
I have a problem with accessing EPwm peripherial from CLA (with TMX28075). (The same thing worked well with F28035.)
Here is the CLA code:
interrupt void Cla1Task4(void)
{
__meallow();
EPwm3Regs.CMPA.bit.CMPA = 125;
CLA2 = EPwm3Regs.CMPA.bit.CMPA;
__medis();
CLA3++;
}
Here are my observations:
- CLA3 is incremented periodically (can be observed with the CCS debugger)
- EPwm3Regs.CMPA.bit.CMPA value is where it has been initialized by the CPU after startup (Read by the CCS debugger). Writing into the CMPA is not effective from the CLA code.
- CLA2 value is 0.
Additional investigation results:
- AccessProtectionRegs.NMAVFLG is 0, ie. no access write error occured.
- CpuSysRegs.SECMSEL = 0, ie. bus arbiter is associated to CLA.
Still our problem that we cannot access the EPwm periperial from our CLA code.
Could someone please help us?
thank you,