This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28035: TMS320F28035

Part Number: TMS320F28035


Dear all,

I am using tms320f28035 and dealing with CLA processor

I have set the register to make CLA processor synchronized to ePWM timer base module.

i have programmed in the way that CLA processor should run at the point that the counter of ePWM1 is matched to '0',

i have set for '0' compare match interrupt to be generated on every 100 us so task1 ISR of CLA should operate on every 100 us

to see the time period whether the instruction in CLA task1 ISR is executed on every 100 us, I have written codes as below.

__interrupt void Cla1Task1 ( void )

{

    GpioDataRegs.GPATOGGLE.bit.GPIO2 = 1;
    __mdebugstop();

    fResult = fVal;

    if(fResult == 56000.0f)

    fResult = 0.0f;
}

I have expected the GpioDataRegs set would show me the square wave of '100 us of high state and then 100 us of low state' but any signal isn't generated on GPIO2 pin than signal 'low'

could you guys give me any help?

kind regard.