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: About CLA of F28035

Genius 3095 points

Part Number: TMS320F28035

Dear team:

I use F28035 chip. The program in Task1 of CLA written in assembly can run, but the inner program of CNTL_2P2Z_CLA function (assembler in library) that it calls cannot run.

The main.c file defines:

#pragma DATA_SECTION(test_cla1, "Cla1ToCpuMsgRAM");
volatile long test_cla1;
;----------------------------------------
在cla运行的task1中:

.ref _test_cla1
;==============================
.sect "Cla1Prog:_Cla1Task1"
.align 2
.global _Cla1Task1

_Cla1Task1:

MMOVIZ MR0,#0 ;//1
MMOVXI MR0,#123 ;//2
MMOV16 @_test_cla1, MR0 ;//3

CNTL_2P2Z_CLA 1

_Cla1Task1End:

By moving the statements 1-3 above into the CNTL_2P2Z_CLA function, it is found that the value of test_cla 1 is still the initial value, not 123.

May I ask what the problem is? Thank you!