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.
我要做电机控制,由于F28027没有QEP电路,能不能用GPIO替代?
Fangqiang,
用GPIO肯定是不能替代的,不然就不会有QEQ外设了。
Timer2可以用来进行脉冲计数,就是使用外部脉冲作为它的时钟源,可以计算速度。另外eCAP的捕获功能也可以利用一下。
不过现在很多电机控制都采用无传感器的控制方法,建议采用无传感控制,ControlSUITE中有很多这方面的例程。
Eric