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.

TMS320F28388D: CUP2使用SFO计算的MEP_ScaleFactor 始终为0

Part Number: TMS320F28388D

int MEP_ScaleFactor = 0;

while(Status == SFO_INCOMPLETE)
{
    Status = SFO();
   if(Status == SFO_ERROR)
  {
      error();
  }
}

两个CPU分别调用SFO运行了上述代码

在CPU1中运行的结果MEP_ScaleFactor = 31

但是 在CPU2中运行MEP_ScaleFactor 始终为0,请问是哪个的配置有问题?

#include "sfo_v8.h"

头文件、库文件均正常添加

功能框图显示CPU1和CPU2都能使用HRPWM,那么SFO这个函数应该也是能使用的吧