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.

TMS320F28379D 例程 cla_sqrt_cpu01

Other Parts Discussed in Thread: C2000WARE

cla_sqrt_cpu01这个例程跑的结果不正确,

程序会停留在
Cla1ForceTask1andWait();这个语句。

从窗口看Cla1Regs.MIRUN.bit.INT1 = 1;

void CLA_runTest(void)
{
fVal = 2;

Cla1ForceTask1andWait();

if(fResult < 1.4143 && fResult > 1.4141)
{
pass++;
}
else
{
fail++;
}

#if 0
Cla1ForceTask2andWait();
WAITSTEP;

Cla1ForceTask3andWait();
WAITSTEP;

Cla1ForceTask4andWait();
WAITSTEP;

Cla1ForceTask5andWait();
WAITSTEP;

Cla1ForceTask6andWait();
WAITSTEP;

Cla1ForceTask7andWait();
WAITSTEP;
#endif
}