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.
求助专家解答
我在调用电机库出现下面一个提示
warning #16002-D: build attribute vendor section TI missing in "../math/IQmath/v15b/lib/IQmath.lib<IQ24div.obj>":compatibility cannot be determined
warning #16002-D: build attribute vendor section TI missing in "../math/IQmath/v15b/lib/IQmath.lib<IQmathTables.obj>":
TI的论坛上介绍说是IQmath是老版本编译的,现在我这个CCS5.3过新还不能支持老的lib,这个问题忽略就OK了。
我debug程序的时候是出问题的。
我用的IQMATH是controlsute里面的IQmathV15b版本(V160也用过同样的问题)
Motor_control 里面的F2803X_v2.0和其目录下的math_blocks的V4.2。
我调用math_blocks里面的speed_pr.h按照使用步骤调用后出现,就有的上面一个警告。
speed1.TimeStamp = VirtualTimer;
SPEED_PR_MACRO(speed1) ; //有问题
nSpeed=speed1.SpeedRpm;
自断里面调用上面程序后,进入调试界面出现,resume是灰色的reset cpu后resume出现了rastar后resume就又变灰色了,在测试程序的结果还是出问题的。
把上面那句去掉后那程序后, 程序运行的结果正常了,进入后resume是正常的绿色,按restar resume变绿色。
请教专家这个是什么一个原因,调用speed_pr.h为什么会出现这样的问题。