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: CLA debugging with MDEBUGSTOP 'delay'

Part Number: TMS320F28035


Hello TI family,

I am trying to understand the reason behind the behavior I am observing while working with piccolo TMS320F28035 and the CLA.

I have coded CLA task 1 to run with ADCINT_1 at 40kHz and trigger CLA1_ISR upon completion. I have verified correct operation with a scope by outputting a signal with a GPIO.

Now, when I add a MDEBUGSTOP to the task, I can observed that the CLA task executes several times (a lot) before actually stopping at the MDEBUGSTOP instruction. It happens several cycles afterwards.

One attempt I did to see what is going on: I put a breakpoint on the CPU just before forcing task 1 to run (I removed ADCINT_1 as trigger source). If I step in, then the CLA actually stops in this first execution.

I am not able to find a precise explanation on datasheets and forum threads. Anyone with knowledge on this? I am just trying to understand this delay with the debugger.

Some info that perhaps is needed:

CCS 6.1.3

JTAG with XDS100v2

Thanks,

Matias