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.

280049C CLA2背景任务被中断之后执行结果异常

Other Parts Discussed in Thread: C2000WARE

在例程“cla_ex4_pwm_control”的基础上修改的程序:

CPUTimer0运行在50KHz:1.CPUTimer0中端处理程序生成一个50Hz交流信号,传递给CLA。之后再使能CLA task3。

  2.CPUTimer0触发CLA background任务,接收从CPU传来的交流信号,执行锁相环(中途会被task3打断)。

CLA 背景任务不被中断的话执行结果正常:

CLA背景任务被task3中断之后运行结果异常:

cla_ex4_pwm_control__.zip