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.

HVPM_Sensored LEVEL3/4 qep1.ElecTheta参数波形



LEVEL4:

DlogCh1 = (int16)_IQtoIQ15(qep1.ElecTheta);
DlogCh2 = (int16)_IQtoIQ15(rg1.Out);
DlogCh3 = (int16)_IQtoIQ15(clarke1.As);
DlogCh4 = (int16)_IQtoIQ15(clarke1.Bs);

这个qep1.ElecTheta为什么不是_IQ的格式呢,不行和所读完全不同,为什么会出现这样呢,qep1.ElecTheta应该是锯齿波才对啊

LEVEL3和4的问题都是处在这个qep1.ElecTheta这里,怎样才能正确读取它。而且上面这个波形是我做LEVEL2时Ta的波形,但是我已经重新编译了啊,不可能在停留在上一个程序的。我甚至重启CCS了。

其余三个波形正常,未看出明显错误。